From cfc08ba0ac714597f11e2755576247f1fad5ca4f Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 1 Nov 2023 16:32:23 +0100 Subject: [PATCH] remove empty files --- code/renderers/html/src/index.ts | 1 - code/renderers/html/src/public-api.ts | 0 code/renderers/preact/src/index.ts | 1 - code/renderers/preact/src/public-api.ts | 0 code/renderers/react/src/index.ts | 1 - code/renderers/react/src/public-api.test.ts | 19 ------------------- code/renderers/react/src/public-api.tsx | 0 code/renderers/server/src/index.ts | 1 - code/renderers/server/src/public-api.ts | 0 code/renderers/svelte/src/index.ts | 1 - code/renderers/svelte/src/public-api.ts | 0 code/renderers/vue/src/index.ts | 1 - code/renderers/vue/src/public-api.ts | 0 code/renderers/web-components/src/index.ts | 1 - .../web-components/src/public-api.ts | 0 15 files changed, 26 deletions(-) delete mode 100644 code/renderers/html/src/public-api.ts delete mode 100644 code/renderers/preact/src/public-api.ts delete mode 100644 code/renderers/react/src/public-api.test.ts delete mode 100644 code/renderers/react/src/public-api.tsx delete mode 100644 code/renderers/server/src/public-api.ts delete mode 100644 code/renderers/svelte/src/public-api.ts delete mode 100644 code/renderers/vue/src/public-api.ts delete mode 100644 code/renderers/web-components/src/public-api.ts diff --git a/code/renderers/html/src/index.ts b/code/renderers/html/src/index.ts index 0c37ede8d826..145fbf2612ea 100644 --- a/code/renderers/html/src/index.ts +++ b/code/renderers/html/src/index.ts @@ -2,7 +2,6 @@ import './globals'; -export * from './public-api'; export * from './public-types'; // optimization: stop HMR propagation in webpack diff --git a/code/renderers/html/src/public-api.ts b/code/renderers/html/src/public-api.ts deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/code/renderers/preact/src/index.ts b/code/renderers/preact/src/index.ts index 0c37ede8d826..145fbf2612ea 100644 --- a/code/renderers/preact/src/index.ts +++ b/code/renderers/preact/src/index.ts @@ -2,7 +2,6 @@ import './globals'; -export * from './public-api'; export * from './public-types'; // optimization: stop HMR propagation in webpack diff --git a/code/renderers/preact/src/public-api.ts b/code/renderers/preact/src/public-api.ts deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/code/renderers/react/src/index.ts b/code/renderers/react/src/index.ts index ae032e4f06b8..07a118109716 100644 --- a/code/renderers/react/src/index.ts +++ b/code/renderers/react/src/index.ts @@ -2,7 +2,6 @@ import './globals'; -export * from './public-api'; export * from './public-types'; export * from './testing-api'; diff --git a/code/renderers/react/src/public-api.test.ts b/code/renderers/react/src/public-api.test.ts deleted file mode 100644 index c27393afbce4..000000000000 --- a/code/renderers/react/src/public-api.test.ts +++ /dev/null @@ -1,19 +0,0 @@ -import * as api from '.'; - -describe('preview', () => { - afterEach(() => { - jest.resetModules(); - }); - - const isFunction = (value: unknown) => typeof value === 'function'; - - it('should return the client api in a browser environment', () => { - expect(Object.keys(api).length).toBeGreaterThan(0); - expect(Object.values(api).every(isFunction)).toEqual(true); - }); - - it('should return the client api in a node.js environment', () => { - expect(Object.keys(api).length).toBeGreaterThan(0); - expect(Object.values(api).every(isFunction)).toEqual(true); - }); -}); diff --git a/code/renderers/react/src/public-api.tsx b/code/renderers/react/src/public-api.tsx deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/code/renderers/server/src/index.ts b/code/renderers/server/src/index.ts index 0c37ede8d826..145fbf2612ea 100644 --- a/code/renderers/server/src/index.ts +++ b/code/renderers/server/src/index.ts @@ -2,7 +2,6 @@ import './globals'; -export * from './public-api'; export * from './public-types'; // optimization: stop HMR propagation in webpack diff --git a/code/renderers/server/src/public-api.ts b/code/renderers/server/src/public-api.ts deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/code/renderers/svelte/src/index.ts b/code/renderers/svelte/src/index.ts index 0c37ede8d826..145fbf2612ea 100644 --- a/code/renderers/svelte/src/index.ts +++ b/code/renderers/svelte/src/index.ts @@ -2,7 +2,6 @@ import './globals'; -export * from './public-api'; export * from './public-types'; // optimization: stop HMR propagation in webpack diff --git a/code/renderers/svelte/src/public-api.ts b/code/renderers/svelte/src/public-api.ts deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/code/renderers/vue/src/index.ts b/code/renderers/vue/src/index.ts index 0c37ede8d826..145fbf2612ea 100644 --- a/code/renderers/vue/src/index.ts +++ b/code/renderers/vue/src/index.ts @@ -2,7 +2,6 @@ import './globals'; -export * from './public-api'; export * from './public-types'; // optimization: stop HMR propagation in webpack diff --git a/code/renderers/vue/src/public-api.ts b/code/renderers/vue/src/public-api.ts deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/code/renderers/web-components/src/index.ts b/code/renderers/web-components/src/index.ts index 044e7875f24c..dfea3afb488d 100644 --- a/code/renderers/web-components/src/index.ts +++ b/code/renderers/web-components/src/index.ts @@ -7,7 +7,6 @@ import './globals'; const { window, EventSource } = global; export * from './public-types'; -export * from './public-api'; export * from './framework-api'; // TODO: disable HMR and do full page loads because of customElements.define diff --git a/code/renderers/web-components/src/public-api.ts b/code/renderers/web-components/src/public-api.ts deleted file mode 100644 index e69de29bb2d1..000000000000