create-zephyr-apps 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/pull_request.yml +56 -0
- package/.vscode/settings.json +75 -0
- package/biome.json +37 -0
- package/dist/index.cjs +135 -89
- package/dist/index.mjs +133 -87
- package/dist/package/utils/constants.d.ts +1 -1
- package/dist/package/utils/end.d.ts +1 -1
- package/package/index.ts +178 -113
- package/package/utils/constants.ts +64 -58
- package/package/utils/end.ts +19 -13
- package/package/utils/types.ts +1 -1
- package/package.json +33 -20
- package/rslib.config.ts +36 -37
- package/tsconfig.json +1 -2
- package/vite-mf/host/README.md +0 -50
- package/vite-mf/host/eslint.config.js +0 -25
- package/vite-mf/host/index.html +0 -13
- package/vite-mf/host/package.json +0 -31
- package/vite-mf/host/public/vite.svg +0 -1
- package/vite-mf/host/src/App.css +0 -42
- package/vite-mf/host/src/App.tsx +0 -37
- package/vite-mf/host/src/assets/react.svg +0 -1
- package/vite-mf/host/src/bootstrap.tsx +0 -10
- package/vite-mf/host/src/index.css +0 -68
- package/vite-mf/host/src/main.tsx +0 -8
- package/vite-mf/host/src/vite-env.d.ts +0 -1
- package/vite-mf/host/tsconfig.app.json +0 -24
- package/vite-mf/host/tsconfig.json +0 -4
- package/vite-mf/host/tsconfig.node.json +0 -22
- package/vite-mf/host/vite.config.ts +0 -40
- package/vite-mf/image.png +0 -0
- package/vite-mf/package.json +0 -12
- package/vite-mf/pnpm-lock.yaml +0 -9440
- package/vite-mf/pnpm-workspace.yaml +0 -2
- package/vite-mf/readme.md +0 -17
- package/vite-mf/remote/eslint.config.js +0 -25
- package/vite-mf/remote/index.html +0 -13
- package/vite-mf/remote/package.json +0 -31
- package/vite-mf/remote/public/vite.svg +0 -1
- package/vite-mf/remote/src/App.css +0 -38
- package/vite-mf/remote/src/App.tsx +0 -24
- package/vite-mf/remote/src/Button.css +0 -9
- package/vite-mf/remote/src/Button.tsx +0 -20
- package/vite-mf/remote/src/assets/react.svg +0 -1
- package/vite-mf/remote/src/bootstrap.tsx +0 -10
- package/vite-mf/remote/src/index.css +0 -68
- package/vite-mf/remote/src/main.tsx +0 -10
- package/vite-mf/remote/src/vite-env.d.ts +0 -1
- package/vite-mf/remote/tsconfig.app.json +0 -24
- package/vite-mf/remote/tsconfig.json +0 -4
- package/vite-mf/remote/tsconfig.node.json +0 -22
- package/vite-mf/remote/vite.config.ts +0 -25
- package/vite-mf/rspack/.babelrc +0 -6
- package/vite-mf/rspack/compilation.config.js +0 -31
- package/vite-mf/rspack/package.json +0 -32
- package/vite-mf/rspack/postcss.config.js +0 -6
- package/vite-mf/rspack/rspack.config.js +0 -110
- package/vite-mf/rspack/src/App.tsx +0 -21
- package/vite-mf/rspack/src/Image.tsx +0 -18
- package/vite-mf/rspack/src/assets/rspack-logo.png +0 -0
- package/vite-mf/rspack/src/global.d.ts +0 -4
- package/vite-mf/rspack/src/index.css +0 -7
- package/vite-mf/rspack/src/index.html +0 -12
- package/vite-mf/rspack/src/index.tsx +0 -1
- package/vite-mf/rspack/tailwind.config.js +0 -11
- package/vite-mf/rspack/tsconfig.json +0 -29
- package/vite-mf/webpack/.babelrc +0 -13
- package/vite-mf/webpack/compilation.config.js +0 -31
- package/vite-mf/webpack/package.json +0 -46
- package/vite-mf/webpack/postcss.config.js +0 -6
- package/vite-mf/webpack/src/App.tsx +0 -16
- package/vite-mf/webpack/src/Image.tsx +0 -18
- package/vite-mf/webpack/src/assets/webpack-logo.png +0 -0
- package/vite-mf/webpack/src/global.d.ts +0 -4
- package/vite-mf/webpack/src/index.html +0 -12
- package/vite-mf/webpack/src/index.scss +0 -7
- package/vite-mf/webpack/src/index.ts +0 -1
- package/vite-mf/webpack/tailwind.config.js +0 -11
- package/vite-mf/webpack/tsconfig.json +0 -29
- package/vite-mf/webpack/webpack.config.js +0 -91
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"useDefineForClassFields": true,
|
|
5
|
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
6
|
-
"module": "ESNext",
|
|
7
|
-
"skipLibCheck": true,
|
|
8
|
-
|
|
9
|
-
/* Bundler mode */
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
"allowImportingTsExtensions": true,
|
|
12
|
-
"isolatedModules": true,
|
|
13
|
-
"moduleDetection": "force",
|
|
14
|
-
"noEmit": true,
|
|
15
|
-
"jsx": "react-jsx",
|
|
16
|
-
|
|
17
|
-
/* Linting */
|
|
18
|
-
"strict": true,
|
|
19
|
-
"noUnusedLocals": true,
|
|
20
|
-
"noUnusedParameters": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true
|
|
22
|
-
},
|
|
23
|
-
"include": ["src"]
|
|
24
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2022",
|
|
4
|
-
"lib": ["ES2023"],
|
|
5
|
-
"module": "ESNext",
|
|
6
|
-
"skipLibCheck": true,
|
|
7
|
-
|
|
8
|
-
/* Bundler mode */
|
|
9
|
-
"moduleResolution": "bundler",
|
|
10
|
-
"allowImportingTsExtensions": true,
|
|
11
|
-
"isolatedModules": true,
|
|
12
|
-
"moduleDetection": "force",
|
|
13
|
-
"noEmit": true,
|
|
14
|
-
|
|
15
|
-
/* Linting */
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noUnusedLocals": true,
|
|
18
|
-
"noUnusedParameters": true,
|
|
19
|
-
"noFallthroughCasesInSwitch": true
|
|
20
|
-
},
|
|
21
|
-
"include": ["vite.config.ts"]
|
|
22
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vite';
|
|
2
|
-
import react from '@vitejs/plugin-react';
|
|
3
|
-
import { withZephyr } from 'vite-plugin-zephyr';
|
|
4
|
-
|
|
5
|
-
const mfConfig = {
|
|
6
|
-
name: 'vite-host',
|
|
7
|
-
filename: 'remoteEntry.js',
|
|
8
|
-
remotes: {
|
|
9
|
-
'vite-remote': {
|
|
10
|
-
name: 'vite-remote',
|
|
11
|
-
entry: 'http://localhost:5174/remoteEntry.js',
|
|
12
|
-
type: 'module',
|
|
13
|
-
},
|
|
14
|
-
vite_webpack: {
|
|
15
|
-
name: 'vite_webpack',
|
|
16
|
-
entry: 'http://localhost:8080/remoteEntry.js',
|
|
17
|
-
type: 'var',
|
|
18
|
-
},
|
|
19
|
-
vite_rspack: {
|
|
20
|
-
name: 'vite_rspack',
|
|
21
|
-
entry: 'http://localhost:8081/remoteEntry.js',
|
|
22
|
-
type: 'var',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
shared: {
|
|
26
|
-
react: {
|
|
27
|
-
singleton: true,
|
|
28
|
-
},
|
|
29
|
-
'react-dom': {
|
|
30
|
-
singleton: true,
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export default defineConfig({
|
|
36
|
-
plugins: [react(), withZephyr({ mfConfig })],
|
|
37
|
-
build: {
|
|
38
|
-
target: 'chrome89',
|
|
39
|
-
},
|
|
40
|
-
});
|
package/vite-mf/image.png
DELETED
|
Binary file
|
package/vite-mf/package.json
DELETED