create-packer 1.48.0 → 1.50.0
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/bin/{index.js → src/index.js} +0 -0
- package/package.json +3 -3
- package/template/docusaurus/package.json +1 -1
- package/template/electron-react/eslint.config.mjs +2 -1
- package/template/electron-react/package.json +97 -97
- package/template/electron-react/tsconfig.json +4 -11
- package/template/electron-vue/eslint.config.mjs +2 -1
- package/template/electron-vue/package.json +87 -87
- package/template/electron-vue/tsconfig.json +10 -8
- package/template/lib/workspace/eslint.config.mjs +2 -1
- package/template/lib/workspace/node_modules/.pnpm/node_modules/react-lib/.gitignore +26 -0
- package/template/lib/workspace/node_modules/.pnpm/node_modules/ts-lib/.gitignore +25 -0
- package/template/lib/workspace/package.json +15 -18
- package/template/lib/workspace/packages/react/package.json +2 -10
- package/template/lib/workspace/packages/react/tsconfig.json +2 -2
- package/template/lib/workspace/packages/ts/package.json +2 -8
- package/template/lib/workspace/packages/ts/tsconfig.json +3 -7
- package/template/lib/workspace/scripts/build.ts +21 -16
- package/template/lib/workspace/tsconfig.json +4 -17
- package/template/web-app/react-rsbuild/eslint.config.js +2 -1
- package/template/web-app/react-rsbuild/package.json +11 -11
- package/template/web-app/react-rsbuild/rsbuild.config.ts +9 -11
- package/template/web-app/react-rsbuild/{domain → src}/components/app-context.tsx +1 -1
- package/template/web-app/react-rsbuild/{domain → src}/components/app.tsx +2 -2
- package/template/web-app/react-rsbuild/{shared → src}/components/index.ts +1 -0
- package/template/web-app/{react-vite/shared → react-rsbuild/src}/hooks/useLazyRender.ts +1 -1
- package/template/web-app/react-rsbuild/{main.tsx → src/main.tsx} +2 -2
- package/template/web-app/{react-vite → react-rsbuild/src}/pages/home/view.tsx +1 -1
- package/template/web-app/react-rsbuild/{pages → src/pages}/index.tsx +1 -1
- package/template/web-app/{react-vite/domain → react-rsbuild/src}/router/components/route-layout.tsx +2 -1
- package/template/web-app/react-rsbuild/{domain → src}/router/components/sub-route-outlet.tsx +2 -1
- package/template/web-app/react-rsbuild/{domain → src}/router/router.tsx +1 -1
- package/template/web-app/react-rsbuild/src/router/router.types.ts +3 -0
- package/template/web-app/react-rsbuild/tsconfig.json +5 -10
- package/template/web-app/react-vite/eslint.config.js +2 -1
- package/template/web-app/react-vite/index.html +2 -2
- package/template/web-app/react-vite/package.json +78 -78
- package/template/web-app/react-vite/scripts/createCodeSplitting.ts +30 -0
- package/template/web-app/react-vite/scripts/index.ts +1 -1
- package/template/web-app/react-vite/{domain → src}/components/app-context.tsx +1 -1
- package/template/web-app/react-vite/{domain → src}/components/app.tsx +3 -3
- package/template/web-app/react-vite/{shared → src}/components/index.ts +1 -0
- package/template/web-app/react-vite/{main.tsx → src/main.tsx} +2 -2
- package/template/web-app/react-vite/{pages → src/pages}/home/view.mock.ts +1 -1
- package/template/web-app/{react-rsbuild → react-vite/src}/pages/home/view.tsx +1 -1
- package/template/web-app/react-vite/{pages → src/pages}/index.tsx +1 -1
- package/template/web-app/{react-rsbuild/domain → react-vite/src}/router/components/route-layout.tsx +1 -1
- package/template/web-app/react-vite/{domain → src}/router/components/sub-route-outlet.tsx +1 -1
- package/template/web-app/react-vite/{domain → src}/router/router.tsx +1 -1
- package/template/web-app/react-vite/src/router/router.types.ts +3 -0
- package/template/web-app/react-vite/tsconfig.json +2 -8
- package/template/web-app/react-vite/tsconfig.node.json +2 -2
- package/template/web-app/react-vite/vite.config.ts +11 -9
- package/template/web-app/vue/eslint.config.js +2 -1
- package/template/web-app/vue/index.html +2 -2
- package/template/web-app/vue/package.json +72 -72
- package/template/web-app/vue/scripts/createCodeSplitting.ts +30 -0
- package/template/web-app/vue/scripts/index.ts +1 -1
- package/template/web-app/{vue-rsbuild/domain → vue/src}/components/app.vue +1 -1
- package/template/web-app/vue/src/main.css +1 -0
- package/template/web-app/vue/{main.ts → src/main.ts} +3 -3
- package/template/web-app/vue/{pages → src/pages}/home/view.mock.ts +1 -1
- package/template/web-app/vue/{pages → src/pages}/home/view.vue +1 -1
- package/template/web-app/vue/tsconfig.json +10 -7
- package/template/web-app/vue/tsconfig.node.json +2 -2
- package/template/web-app/vue/vite.config.ts +11 -6
- package/template/web-app/vue-rsbuild/eslint.config.js +1 -0
- package/template/web-app/vue-rsbuild/package.json +77 -77
- package/template/web-app/vue-rsbuild/rsbuild.config.ts +8 -11
- package/template/web-app/vue-rsbuild/scripts/index.ts +1 -1
- package/template/web-app/{vue/domain → vue-rsbuild/src}/components/app.vue +1 -1
- package/template/web-app/vue-rsbuild/{main.ts → src/main.ts} +3 -3
- package/template/web-app/vue-rsbuild/{pages → src/pages}/home/view.vue +1 -1
- package/template/web-app/vue-rsbuild/tsconfig.json +10 -8
- package/template/web-extension/.wxt/eslint-auto-imports.mjs +57 -56
- package/template/web-extension/.wxt/types/imports-module.d.ts +20 -20
- package/template/web-extension/.wxt/types/imports.d.ts +51 -50
- package/template/web-extension/eslint.config.js +2 -1
- package/template/web-extension/package.json +85 -85
- package/template/web-extension/tsconfig.json +0 -2
- package/template/web-extension/wxt.config.ts +27 -25
- package/template/electron-react/tsconfig.node.json +0 -10
- package/template/electron-vue/tsconfig.node.json +0 -10
- package/template/lib/workspace/packages/react/tsconfig.lint.json +0 -21
- package/template/lib/workspace/packages/ts/.eslintrc +0 -72
- package/template/lib/workspace/packages/ts/src/sum.test.ts +0 -6
- package/template/lib/workspace/packages/ts/tsconfig.lint.json +0 -21
- package/template/lib/workspace/tsconfig.node.json +0 -23
- package/template/web-app/react-rsbuild/domain/components/index.ts +0 -1
- package/template/web-app/react-rsbuild/domain/router/router.types.ts +0 -3
- package/template/web-app/react-rsbuild/tsconfig.node.json +0 -10
- package/template/web-app/react-vite/domain/components/index.ts +0 -1
- package/template/web-app/react-vite/domain/router/router.types.ts +0 -3
- package/template/web-app/react-vite/scripts/createChunks.ts +0 -27
- package/template/web-app/vue/scripts/createChunks.ts +0 -27
- package/template/web-app/vue/shared/constant/index.ts +0 -0
- package/template/web-app/vue/shared/tools/index.ts +0 -0
- package/template/web-app/vue-rsbuild/tsconfig.node.json +0 -10
- /package/bin/{createTemp.d.ts → src/createTemp.d.ts} +0 -0
- /package/bin/{createTemp.js → src/createTemp.js} +0 -0
- /package/bin/{index.d.ts → src/index.d.ts} +0 -0
- /package/bin/{utils → src/utils}/index.d.ts +0 -0
- /package/bin/{utils → src/utils}/index.js +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/assets/react.svg +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/components/componentInstance.tsx +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/constant/index.ts +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/hooks/defineRouter/defineRouter.types.ts +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/hooks/defineRouter/deineRouter.tsx +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/hooks/defineRouter/index.ts +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/hooks/index.ts +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/hooks/useDebounceFn.ts +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/hooks/useInterval.ts +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/hooks/useLowPriorityState.ts +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/hooks/useSyncState.ts +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/hooks/useVisible.ts +0 -0
- /package/template/web-app/react-rsbuild/{domain → src}/models/app.ts +0 -0
- /package/template/web-app/react-rsbuild/{domain → src}/models/index.ts +0 -0
- /package/template/web-app/react-rsbuild/{pages → src/pages}/home/index.ts +0 -0
- /package/template/web-app/react-rsbuild/{pages → src/pages}/home/view.module.css +0 -0
- /package/template/web-app/react-rsbuild/{pages → src/pages}/not-found.tsx +0 -0
- /package/template/web-app/react-rsbuild/{domain → src}/router/components/index.ts +0 -0
- /package/template/web-app/react-rsbuild/{domain → src}/router/home/ids.ts +0 -0
- /package/template/web-app/react-rsbuild/{domain → src}/router/home/index.ts +0 -0
- /package/template/web-app/react-rsbuild/{domain → src}/router/home/routes.tsx +0 -0
- /package/template/web-app/react-rsbuild/{domain → src}/router/ids.ts +0 -0
- /package/template/web-app/react-rsbuild/{domain → src}/router/index.ts +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/service/api.ts +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/service/home.ts +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/service/index.ts +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/service/request.ts +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/styles/theme.css +0 -0
- /package/template/web-app/react-rsbuild/{shared → src}/tools/index.ts +0 -0
- /package/template/web-app/react-vite/{shared/assets/react.svg → src/assets/favicon.svg} +0 -0
- /package/template/web-app/react-vite/{shared → src}/components/componentInstance.tsx +0 -0
- /package/template/web-app/react-vite/{shared → src}/constant/index.ts +0 -0
- /package/template/web-app/react-vite/{shared → src}/hooks/defineRouter/defineRouter.types.ts +0 -0
- /package/template/web-app/react-vite/{shared → src}/hooks/defineRouter/deineRouter.tsx +0 -0
- /package/template/web-app/react-vite/{shared → src}/hooks/defineRouter/index.ts +0 -0
- /package/template/web-app/react-vite/{shared → src}/hooks/index.ts +0 -0
- /package/template/web-app/react-vite/{shared → src}/hooks/useDebounceFn.ts +0 -0
- /package/template/web-app/react-vite/{shared → src}/hooks/useInterval.ts +0 -0
- /package/template/web-app/{react-rsbuild/shared → react-vite/src}/hooks/useLazyRender.ts +0 -0
- /package/template/web-app/react-vite/{shared → src}/hooks/useLowPriorityState.ts +0 -0
- /package/template/web-app/react-vite/{shared → src}/hooks/useSyncState.ts +0 -0
- /package/template/web-app/react-vite/{shared → src}/hooks/useVisible.ts +0 -0
- /package/template/web-app/react-vite/{mockUtils.ts → src/mockUtils.ts} +0 -0
- /package/template/web-app/react-vite/{domain → src}/models/app.ts +0 -0
- /package/template/web-app/react-vite/{domain → src}/models/index.ts +0 -0
- /package/template/web-app/react-vite/{pages → src/pages}/home/index.ts +0 -0
- /package/template/web-app/react-vite/{pages → src/pages}/home/view.module.css +0 -0
- /package/template/web-app/react-vite/{pages → src/pages}/not-found.tsx +0 -0
- /package/template/web-app/react-vite/{domain → src}/router/components/index.ts +0 -0
- /package/template/web-app/react-vite/{domain → src}/router/home/ids.ts +0 -0
- /package/template/web-app/react-vite/{domain → src}/router/home/index.ts +0 -0
- /package/template/web-app/react-vite/{domain → src}/router/home/routes.tsx +0 -0
- /package/template/web-app/react-vite/{domain → src}/router/ids.ts +0 -0
- /package/template/web-app/react-vite/{domain → src}/router/index.ts +0 -0
- /package/template/web-app/react-vite/{shared → src}/service/api.ts +0 -0
- /package/template/web-app/react-vite/{shared → src}/service/home.ts +0 -0
- /package/template/web-app/react-vite/{shared → src}/service/index.ts +0 -0
- /package/template/web-app/react-vite/{shared → src}/service/request.ts +0 -0
- /package/template/web-app/react-vite/{shared → src}/styles/theme.css +0 -0
- /package/template/web-app/react-vite/{shared → src}/tools/index.ts +0 -0
- /package/template/web-app/vue/{shared/assets/vue.svg → src/assets/favicon.svg} +0 -0
- /package/template/web-app/vue/{domain → src}/components/createComponentInstance.ts +0 -0
- /package/template/web-app/vue/{domain → src}/components/index.ts +0 -0
- /package/template/web-app/{vue-rsbuild/shared/tools → vue/src/constant}/index.ts +0 -0
- /package/template/web-app/vue/{shared → src}/hooks/index.ts +0 -0
- /package/template/web-app/vue/{shared → src}/hooks/useList.ts +0 -0
- /package/template/web-app/vue/{shared → src}/hooks/useVisible.ts +0 -0
- /package/template/web-app/vue/{mockUtils.ts → src/mockUtils.ts} +0 -0
- /package/template/web-app/vue/{pages → src/pages}/home/index.ts +0 -0
- /package/template/web-app/vue/{pages → src/pages}/index.ts +0 -0
- /package/template/web-app/vue/{pages → src/pages}/index.vue +0 -0
- /package/template/web-app/vue/{pages → src/pages}/not-found.vue +0 -0
- /package/template/web-app/vue/{domain → src}/router/home/index.ts +0 -0
- /package/template/web-app/vue/{domain → src}/router/home/names.ts +0 -0
- /package/template/web-app/vue/{domain → src}/router/home/routes.ts +0 -0
- /package/template/web-app/vue/{domain → src}/router/index.ts +0 -0
- /package/template/web-app/vue/{domain → src}/router/names.ts +0 -0
- /package/template/web-app/vue/{shared → src}/service/api.ts +0 -0
- /package/template/web-app/vue/{shared → src}/service/home.ts +0 -0
- /package/template/web-app/vue/{shared → src}/service/index.ts +0 -0
- /package/template/web-app/vue/{shared → src}/service/request.ts +0 -0
- /package/template/web-app/vue/{shared → src}/styles/theme.css +0 -0
- /package/template/web-app/vue/{shared/components → src/tools}/index.ts +0 -0
- /package/template/web-app/vue-rsbuild/{shared → src}/assets/vue.svg +0 -0
- /package/template/web-app/vue-rsbuild/{domain → src}/components/createComponentInstance.ts +0 -0
- /package/template/web-app/vue-rsbuild/{domain → src}/components/index.ts +0 -0
- /package/template/web-app/vue-rsbuild/{shared/components → src/constant}/index.ts +0 -0
- /package/template/web-app/vue-rsbuild/{shared → src}/hooks/index.ts +0 -0
- /package/template/web-app/vue-rsbuild/{shared → src}/hooks/useList.ts +0 -0
- /package/template/web-app/vue-rsbuild/{shared → src}/hooks/useVisible.ts +0 -0
- /package/template/web-app/vue-rsbuild/{pages → src/pages}/home/index.ts +0 -0
- /package/template/web-app/vue-rsbuild/{pages → src/pages}/index.ts +0 -0
- /package/template/web-app/vue-rsbuild/{pages → src/pages}/index.vue +0 -0
- /package/template/web-app/vue-rsbuild/{pages → src/pages}/not-found.vue +0 -0
- /package/template/web-app/vue-rsbuild/{domain → src}/router/home/index.ts +0 -0
- /package/template/web-app/vue-rsbuild/{domain → src}/router/home/names.ts +0 -0
- /package/template/web-app/vue-rsbuild/{domain → src}/router/home/routes.ts +0 -0
- /package/template/web-app/vue-rsbuild/{domain → src}/router/index.ts +0 -0
- /package/template/web-app/vue-rsbuild/{domain → src}/router/names.ts +0 -0
- /package/template/web-app/vue-rsbuild/{shared → src}/service/api.ts +0 -0
- /package/template/web-app/vue-rsbuild/{shared → src}/service/home.ts +0 -0
- /package/template/web-app/vue-rsbuild/{shared → src}/service/index.ts +0 -0
- /package/template/web-app/vue-rsbuild/{shared → src}/service/request.ts +0 -0
- /package/template/web-app/vue-rsbuild/{shared → src}/styles/theme.css +0 -0
- /package/template/web-app/vue-rsbuild/{shared/constant → src/tools}/index.ts +0 -0
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vue-vite",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "0.0.0",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"prepare": "husky",
|
|
8
|
-
"dev": "rsbuild dev",
|
|
9
|
-
"build": "rsbuild build",
|
|
10
|
-
"build:analyse": "rsbuild build --env-mode analyse",
|
|
11
|
-
"build:rsdoctor": "cross-env RSDOCTOR=true rsbuild build",
|
|
12
|
-
"preview": "rsbuild preview",
|
|
13
|
-
"up:rsbuild": "pnpm up @rsbuild/* -L",
|
|
14
|
-
"format": "prettier --write \"**/*.{vue,ts,js,tsx,jsx,json,css,scss,less}\"",
|
|
15
|
-
"lint": "vue-tsc --noEmit && eslint --no-error-on-unmatched-pattern && stylelint **/*.{css,scss,less}",
|
|
16
|
-
"lint:fix": "eslint --fix && stylelint **/*.{css,scss,less} --fix",
|
|
17
|
-
"cz": "cz",
|
|
18
|
-
"push": "npm run commit && git push",
|
|
19
|
-
"commit": "git add . && npm run cz",
|
|
20
|
-
"up:vite": "pnpm up vite @vitejs/* vite-plugin-* -L",
|
|
21
|
-
"up:tailwind": "pnpm up tailwindcss @tailwindcss/* -L"
|
|
22
|
-
},
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"axios": "1.
|
|
25
|
-
"es-toolkit": "1.
|
|
26
|
-
"pinia": "3.0.
|
|
27
|
-
"tailwindcss": "4.1.4",
|
|
28
|
-
"type-fest": "
|
|
29
|
-
"vue": "3.5.20",
|
|
30
|
-
"vue-router": "4.5.1"
|
|
31
|
-
},
|
|
32
|
-
"devDependencies": {
|
|
33
|
-
"@commitlint/cli": "17.6.1",
|
|
34
|
-
"@commitlint/config-conventional": "17.6.1",
|
|
35
|
-
"@commitlint/cz-commitlint": "17.5.0",
|
|
36
|
-
"@eslint/js": "9.15.0",
|
|
37
|
-
"@faker-js/faker": "8.4.1",
|
|
38
|
-
"@rsbuild/core": "
|
|
39
|
-
"@rsbuild/plugin-eslint": "1.
|
|
40
|
-
"@rsbuild/plugin-type-check": "1.3.
|
|
41
|
-
"@rsbuild/plugin-vue": "1.2.
|
|
42
|
-
"@rsdoctor/rspack-plugin": "1.
|
|
43
|
-
"@tailwindcss/postcss": "4.1.4",
|
|
44
|
-
"@types/mockjs": "1.0.10",
|
|
45
|
-
"autoprefixer": "10.4.14",
|
|
46
|
-
"commitizen": "4.3.0",
|
|
47
|
-
"cross-env": "7.0.3",
|
|
48
|
-
"cssnano": "6.0.0",
|
|
49
|
-
"eslint": "9.17.0",
|
|
50
|
-
"eslint-import-resolver-typescript": "
|
|
51
|
-
"eslint-plugin-import": "2.31.0",
|
|
52
|
-
"eslint-plugin-vue": "9.32.0",
|
|
53
|
-
"globals": "15.12.0",
|
|
54
|
-
"husky": "9.1.6",
|
|
55
|
-
"inquirer": "8.1.2",
|
|
56
|
-
"postcss": "8.4.38",
|
|
57
|
-
"postcss-html": "1.8.0",
|
|
58
|
-
"postcss-import": "16.1.0",
|
|
59
|
-
"postcss-nesting": "12.1.1",
|
|
60
|
-
"prettier": "3.2.5",
|
|
61
|
-
"rollup-plugin-visualizer": "5.12.0",
|
|
62
|
-
"stylelint": "16.10.0",
|
|
63
|
-
"stylelint-config-standard-scss": "13.1.0",
|
|
64
|
-
"stylelint-webpack-plugin": "5.0.0",
|
|
65
|
-
"typescript": "
|
|
66
|
-
"typescript-eslint": "8.
|
|
67
|
-
"vue-tsc": "3.0.6"
|
|
68
|
-
},
|
|
69
|
-
"config": {
|
|
70
|
-
"commitizen": {
|
|
71
|
-
"path": "@commitlint/cz-commitlint"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"imports": {
|
|
75
|
-
"#theme.css": "./shared/styles/theme.css"
|
|
76
|
-
}
|
|
77
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "vue-vite",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"prepare": "husky",
|
|
8
|
+
"dev": "rsbuild dev",
|
|
9
|
+
"build": "rsbuild build",
|
|
10
|
+
"build:analyse": "rsbuild build --env-mode analyse",
|
|
11
|
+
"build:rsdoctor": "cross-env RSDOCTOR=true rsbuild build",
|
|
12
|
+
"preview": "rsbuild preview",
|
|
13
|
+
"up:rsbuild": "pnpm up @rsbuild/* -L",
|
|
14
|
+
"format": "prettier --write \"**/*.{vue,ts,js,tsx,jsx,json,css,scss,less}\"",
|
|
15
|
+
"lint": "vue-tsc --noEmit && eslint --no-error-on-unmatched-pattern && stylelint **/*.{css,scss,less}",
|
|
16
|
+
"lint:fix": "eslint --fix && stylelint **/*.{css,scss,less} --fix",
|
|
17
|
+
"cz": "cz",
|
|
18
|
+
"push": "npm run commit && git push",
|
|
19
|
+
"commit": "git add . && npm run cz",
|
|
20
|
+
"up:vite": "pnpm up vite @vitejs/* vite-plugin-* -L",
|
|
21
|
+
"up:tailwind": "pnpm up tailwindcss @tailwindcss/* -L"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"axios": "1.16.0",
|
|
25
|
+
"es-toolkit": "1.46.1",
|
|
26
|
+
"pinia": "3.0.4",
|
|
27
|
+
"tailwindcss": "4.1.4",
|
|
28
|
+
"type-fest": "5.6.0",
|
|
29
|
+
"vue": "3.5.20",
|
|
30
|
+
"vue-router": "4.5.1"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@commitlint/cli": "17.6.1",
|
|
34
|
+
"@commitlint/config-conventional": "17.6.1",
|
|
35
|
+
"@commitlint/cz-commitlint": "17.5.0",
|
|
36
|
+
"@eslint/js": "9.15.0",
|
|
37
|
+
"@faker-js/faker": "8.4.1",
|
|
38
|
+
"@rsbuild/core": "2.0.5",
|
|
39
|
+
"@rsbuild/plugin-eslint": "1.3.0",
|
|
40
|
+
"@rsbuild/plugin-type-check": "1.3.4",
|
|
41
|
+
"@rsbuild/plugin-vue": "1.2.8",
|
|
42
|
+
"@rsdoctor/rspack-plugin": "1.5.10",
|
|
43
|
+
"@tailwindcss/postcss": "4.1.4",
|
|
44
|
+
"@types/mockjs": "1.0.10",
|
|
45
|
+
"autoprefixer": "10.4.14",
|
|
46
|
+
"commitizen": "4.3.0",
|
|
47
|
+
"cross-env": "7.0.3",
|
|
48
|
+
"cssnano": "6.0.0",
|
|
49
|
+
"eslint": "9.17.0",
|
|
50
|
+
"eslint-import-resolver-typescript": "4.4.4",
|
|
51
|
+
"eslint-plugin-import": "2.31.0",
|
|
52
|
+
"eslint-plugin-vue": "9.32.0",
|
|
53
|
+
"globals": "15.12.0",
|
|
54
|
+
"husky": "9.1.6",
|
|
55
|
+
"inquirer": "8.1.2",
|
|
56
|
+
"postcss": "8.4.38",
|
|
57
|
+
"postcss-html": "1.8.0",
|
|
58
|
+
"postcss-import": "16.1.0",
|
|
59
|
+
"postcss-nesting": "12.1.1",
|
|
60
|
+
"prettier": "3.2.5",
|
|
61
|
+
"rollup-plugin-visualizer": "5.12.0",
|
|
62
|
+
"stylelint": "16.10.0",
|
|
63
|
+
"stylelint-config-standard-scss": "13.1.0",
|
|
64
|
+
"stylelint-webpack-plugin": "5.0.0",
|
|
65
|
+
"typescript": "6.0.3",
|
|
66
|
+
"typescript-eslint": "8.59.2",
|
|
67
|
+
"vue-tsc": "3.0.6"
|
|
68
|
+
},
|
|
69
|
+
"config": {
|
|
70
|
+
"commitizen": {
|
|
71
|
+
"path": "@commitlint/cz-commitlint"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"imports": {
|
|
75
|
+
"#theme.css": "./shared/styles/theme.css"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -4,7 +4,7 @@ import { pluginEslint } from '@rsbuild/plugin-eslint'
|
|
|
4
4
|
import StylelintWebpackPlugin from 'stylelint-webpack-plugin'
|
|
5
5
|
import { pluginTypeCheck } from '@rsbuild/plugin-type-check'
|
|
6
6
|
import { RsdoctorRspackPlugin } from '@rsdoctor/rspack-plugin'
|
|
7
|
-
import { createChunks } from './scripts'
|
|
7
|
+
import { createChunks } from './scripts/index.js'
|
|
8
8
|
|
|
9
9
|
export default defineConfig(({ envMode, command }) => {
|
|
10
10
|
const { parsed: env } = loadEnv()
|
|
@@ -12,11 +12,11 @@ export default defineConfig(({ envMode, command }) => {
|
|
|
12
12
|
html: {
|
|
13
13
|
template: './index.html',
|
|
14
14
|
title: 'Rsbuild + Vue + TS',
|
|
15
|
-
favicon: './
|
|
15
|
+
favicon: './src/assets/vue.svg'
|
|
16
16
|
},
|
|
17
17
|
source: {
|
|
18
18
|
entry: {
|
|
19
|
-
index: './main.ts'
|
|
19
|
+
index: './src/main.ts'
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
resolve: {
|
|
@@ -53,22 +53,19 @@ export default defineConfig(({ envMode, command }) => {
|
|
|
53
53
|
],
|
|
54
54
|
performance: {
|
|
55
55
|
removeConsole: command === 'build' ? ['log'] : false,
|
|
56
|
-
chunkSplit: {
|
|
57
|
-
strategy: 'custom',
|
|
58
|
-
splitChunks: {
|
|
59
|
-
minChunks: 1,
|
|
60
|
-
cacheGroups: createChunks([{ libs: ['vue', 'vue-router'], name: 'vue' }])
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
56
|
bundleAnalyze: envMode === 'analyse' ? { openAnalyzer: true } : void 0
|
|
64
57
|
},
|
|
58
|
+
splitChunks: {
|
|
59
|
+
minChunks: 1,
|
|
60
|
+
cacheGroups: createChunks([{ libs: ['vue', 'vue-router'], name: 'vue' }])
|
|
61
|
+
},
|
|
65
62
|
server: {
|
|
66
63
|
base: env.PUBLIC_BASE_URL,
|
|
67
64
|
host: '0.0.0.0',
|
|
68
65
|
compress: false,
|
|
69
66
|
proxy: [
|
|
70
67
|
{
|
|
71
|
-
|
|
68
|
+
pathFilter: [env.PUBLIC_API_HOST],
|
|
72
69
|
target: 'http://127.0.0.1:3000'
|
|
73
70
|
}
|
|
74
71
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './createChunks'
|
|
1
|
+
export * from './createChunks.js'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createApp } from 'vue'
|
|
2
2
|
import { createPinia } from 'pinia'
|
|
3
|
-
import { router } from '@/
|
|
4
|
-
import { App } from '@/
|
|
5
|
-
import './
|
|
3
|
+
import { router } from '@/router'
|
|
4
|
+
import { App } from '@/components'
|
|
5
|
+
import './styles/theme.css'
|
|
6
6
|
|
|
7
7
|
createApp(App).use(createPinia()).use(router).mount('#app')
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"baseUrl": ".",
|
|
4
3
|
"target": "ESNext",
|
|
5
4
|
"useDefineForClassFields": true,
|
|
5
|
+
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
6
|
+
"allowJs": false,
|
|
7
|
+
"skipLibCheck": true,
|
|
8
|
+
"allowSyntheticDefaultImports": true,
|
|
9
|
+
"strict": true,
|
|
10
|
+
"forceConsistentCasingInFileNames": true,
|
|
11
|
+
"strictPropertyInitialization": false,
|
|
12
|
+
"strictNullChecks": true,
|
|
6
13
|
"module": "ESNext",
|
|
7
14
|
"moduleResolution": "bundler",
|
|
8
|
-
"strict": true,
|
|
9
15
|
"jsx": "preserve",
|
|
10
16
|
"jsxImportSource": "vue",
|
|
11
17
|
"sourceMap": true,
|
|
12
18
|
"resolveJsonModule": true,
|
|
13
19
|
"isolatedModules": true,
|
|
14
|
-
"strictPropertyInitialization": false,
|
|
15
20
|
"esModuleInterop": true,
|
|
16
|
-
"lib": ["ESNext", "DOM"],
|
|
17
|
-
"skipLibCheck": true,
|
|
18
21
|
"paths": {
|
|
19
|
-
"@/*": ["
|
|
22
|
+
"@/*": ["./src/*"]
|
|
20
23
|
}
|
|
21
24
|
},
|
|
22
25
|
"include": ["**/*.tsx", "**/*.ts", "**/*.vue"],
|
|
23
|
-
"exclude": ["scripts", "rsbuild.config.ts"]
|
|
24
|
-
"references": [{ "path": "./tsconfig.node.json" }]
|
|
26
|
+
"exclude": ["scripts", "rsbuild.config.ts"]
|
|
25
27
|
}
|
|
@@ -1,56 +1,57 @@
|
|
|
1
|
-
const globals = {
|
|
2
|
-
"AutoMount": true,
|
|
3
|
-
"AutoMountOptions": true,
|
|
4
|
-
"Browser": true,
|
|
5
|
-
"ContentScriptAnchoredOptions": true,
|
|
6
|
-
"ContentScriptAppendMode": true,
|
|
7
|
-
"ContentScriptContext": true,
|
|
8
|
-
"ContentScriptInlinePositioningOptions": true,
|
|
9
|
-
"ContentScriptModalPositioningOptions": true,
|
|
10
|
-
"ContentScriptOverlayAlignment": true,
|
|
11
|
-
"ContentScriptOverlayPositioningOptions": true,
|
|
12
|
-
"ContentScriptPositioningOptions": true,
|
|
13
|
-
"ContentScriptUi": true,
|
|
14
|
-
"ContentScriptUiOptions": true,
|
|
15
|
-
"IframeContentScriptUi": true,
|
|
16
|
-
"IframeContentScriptUiOptions": true,
|
|
17
|
-
"InjectScriptOptions": true,
|
|
18
|
-
"IntegratedContentScriptUi": true,
|
|
19
|
-
"IntegratedContentScriptUiOptions": true,
|
|
20
|
-
"InvalidMatchPattern": true,
|
|
21
|
-
"MatchPattern": true,
|
|
22
|
-
"MigrationError": true,
|
|
23
|
-
"ScriptPublicPath": true,
|
|
24
|
-
"ShadowRootContentScriptUi": true,
|
|
25
|
-
"ShadowRootContentScriptUiOptions": true,
|
|
26
|
-
"StopAutoMount": true,
|
|
27
|
-
"StorageArea": true,
|
|
28
|
-
"StorageAreaChanges": true,
|
|
29
|
-
"StorageItemKey": true,
|
|
30
|
-
"WxtAppConfig": true,
|
|
31
|
-
"WxtStorage": true,
|
|
32
|
-
"WxtStorageItem": true,
|
|
33
|
-
"WxtWindowEventMap": true,
|
|
34
|
-
"browser": true,
|
|
35
|
-
"createIframeUi": true,
|
|
36
|
-
"createIntegratedUi": true,
|
|
37
|
-
"createShadowRootUi": true,
|
|
38
|
-
"defineAppConfig": true,
|
|
39
|
-
"defineBackground": true,
|
|
40
|
-
"defineContentScript": true,
|
|
41
|
-
"defineUnlistedScript": true,
|
|
42
|
-
"defineWxtPlugin": true,
|
|
43
|
-
"fakeBrowser": true,
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
1
|
+
const globals = {
|
|
2
|
+
"AutoMount": true,
|
|
3
|
+
"AutoMountOptions": true,
|
|
4
|
+
"Browser": true,
|
|
5
|
+
"ContentScriptAnchoredOptions": true,
|
|
6
|
+
"ContentScriptAppendMode": true,
|
|
7
|
+
"ContentScriptContext": true,
|
|
8
|
+
"ContentScriptInlinePositioningOptions": true,
|
|
9
|
+
"ContentScriptModalPositioningOptions": true,
|
|
10
|
+
"ContentScriptOverlayAlignment": true,
|
|
11
|
+
"ContentScriptOverlayPositioningOptions": true,
|
|
12
|
+
"ContentScriptPositioningOptions": true,
|
|
13
|
+
"ContentScriptUi": true,
|
|
14
|
+
"ContentScriptUiOptions": true,
|
|
15
|
+
"IframeContentScriptUi": true,
|
|
16
|
+
"IframeContentScriptUiOptions": true,
|
|
17
|
+
"InjectScriptOptions": true,
|
|
18
|
+
"IntegratedContentScriptUi": true,
|
|
19
|
+
"IntegratedContentScriptUiOptions": true,
|
|
20
|
+
"InvalidMatchPattern": true,
|
|
21
|
+
"MatchPattern": true,
|
|
22
|
+
"MigrationError": true,
|
|
23
|
+
"ScriptPublicPath": true,
|
|
24
|
+
"ShadowRootContentScriptUi": true,
|
|
25
|
+
"ShadowRootContentScriptUiOptions": true,
|
|
26
|
+
"StopAutoMount": true,
|
|
27
|
+
"StorageArea": true,
|
|
28
|
+
"StorageAreaChanges": true,
|
|
29
|
+
"StorageItemKey": true,
|
|
30
|
+
"WxtAppConfig": true,
|
|
31
|
+
"WxtStorage": true,
|
|
32
|
+
"WxtStorageItem": true,
|
|
33
|
+
"WxtWindowEventMap": true,
|
|
34
|
+
"browser": true,
|
|
35
|
+
"createIframeUi": true,
|
|
36
|
+
"createIntegratedUi": true,
|
|
37
|
+
"createShadowRootUi": true,
|
|
38
|
+
"defineAppConfig": true,
|
|
39
|
+
"defineBackground": true,
|
|
40
|
+
"defineContentScript": true,
|
|
41
|
+
"defineUnlistedScript": true,
|
|
42
|
+
"defineWxtPlugin": true,
|
|
43
|
+
"fakeBrowser": true,
|
|
44
|
+
"getAppConfig": true,
|
|
45
|
+
"injectScript": true,
|
|
46
|
+
"storage": true,
|
|
47
|
+
"useAppConfig": true
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export default {
|
|
51
|
+
name: "wxt/auto-imports",
|
|
52
|
+
languageOptions: {
|
|
53
|
+
globals,
|
|
54
|
+
/** @type {import('eslint').Linter.SourceType} */
|
|
55
|
+
sourceType: "module",
|
|
56
|
+
},
|
|
57
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
// Generated by wxt
|
|
2
|
-
// Types for the #import virtual module
|
|
3
|
-
declare module '#imports' {
|
|
4
|
-
export { browser, Browser } from 'wxt/browser';
|
|
5
|
-
export { storage, StorageArea, WxtStorage, WxtStorageItem, StorageItemKey, StorageAreaChanges, MigrationError } from 'wxt/utils/storage';
|
|
6
|
-
export { useAppConfig } from 'wxt/utils/app-config';
|
|
7
|
-
export { ContentScriptContext, WxtWindowEventMap } from 'wxt/utils/content-script-context';
|
|
8
|
-
export { createIframeUi, IframeContentScriptUi, IframeContentScriptUiOptions } from 'wxt/utils/content-script-ui/iframe';
|
|
9
|
-
export { createIntegratedUi, IntegratedContentScriptUi, IntegratedContentScriptUiOptions } from 'wxt/utils/content-script-ui/integrated';
|
|
10
|
-
export { createShadowRootUi, ShadowRootContentScriptUi, ShadowRootContentScriptUiOptions } from 'wxt/utils/content-script-ui/shadow-root';
|
|
11
|
-
export { ContentScriptUi, ContentScriptUiOptions, ContentScriptOverlayAlignment, ContentScriptAppendMode, ContentScriptInlinePositioningOptions, ContentScriptOverlayPositioningOptions, ContentScriptModalPositioningOptions, ContentScriptPositioningOptions, ContentScriptAnchoredOptions, AutoMountOptions, StopAutoMount, AutoMount } from 'wxt/utils/content-script-ui/types';
|
|
12
|
-
export { defineAppConfig, WxtAppConfig } from 'wxt/utils/define-app-config';
|
|
13
|
-
export { defineBackground } from 'wxt/utils/define-background';
|
|
14
|
-
export { defineContentScript } from 'wxt/utils/define-content-script';
|
|
15
|
-
export { defineUnlistedScript } from 'wxt/utils/define-unlisted-script';
|
|
16
|
-
export { defineWxtPlugin } from 'wxt/utils/define-wxt-plugin';
|
|
17
|
-
export { injectScript, ScriptPublicPath, InjectScriptOptions } from 'wxt/utils/inject-script';
|
|
18
|
-
export { InvalidMatchPattern, MatchPattern } from 'wxt/utils/match-patterns';
|
|
19
|
-
export { fakeBrowser } from 'wxt/testing';
|
|
20
|
-
}
|
|
1
|
+
// Generated by wxt
|
|
2
|
+
// Types for the #import virtual module
|
|
3
|
+
declare module '#imports' {
|
|
4
|
+
export { browser, Browser } from 'wxt/browser';
|
|
5
|
+
export { storage, StorageArea, WxtStorage, WxtStorageItem, StorageItemKey, StorageAreaChanges, MigrationError } from 'wxt/utils/storage';
|
|
6
|
+
export { getAppConfig, useAppConfig } from 'wxt/utils/app-config';
|
|
7
|
+
export { ContentScriptContext, WxtWindowEventMap } from 'wxt/utils/content-script-context';
|
|
8
|
+
export { createIframeUi, IframeContentScriptUi, IframeContentScriptUiOptions } from 'wxt/utils/content-script-ui/iframe';
|
|
9
|
+
export { createIntegratedUi, IntegratedContentScriptUi, IntegratedContentScriptUiOptions } from 'wxt/utils/content-script-ui/integrated';
|
|
10
|
+
export { createShadowRootUi, ShadowRootContentScriptUi, ShadowRootContentScriptUiOptions } from 'wxt/utils/content-script-ui/shadow-root';
|
|
11
|
+
export { ContentScriptUi, ContentScriptUiOptions, ContentScriptOverlayAlignment, ContentScriptAppendMode, ContentScriptInlinePositioningOptions, ContentScriptOverlayPositioningOptions, ContentScriptModalPositioningOptions, ContentScriptPositioningOptions, ContentScriptAnchoredOptions, AutoMountOptions, StopAutoMount, AutoMount } from 'wxt/utils/content-script-ui/types';
|
|
12
|
+
export { defineAppConfig, WxtAppConfig } from 'wxt/utils/define-app-config';
|
|
13
|
+
export { defineBackground } from 'wxt/utils/define-background';
|
|
14
|
+
export { defineContentScript } from 'wxt/utils/define-content-script';
|
|
15
|
+
export { defineUnlistedScript } from 'wxt/utils/define-unlisted-script';
|
|
16
|
+
export { defineWxtPlugin } from 'wxt/utils/define-wxt-plugin';
|
|
17
|
+
export { injectScript, ScriptPublicPath, InjectScriptOptions } from 'wxt/utils/inject-script';
|
|
18
|
+
export { InvalidMatchPattern, MatchPattern } from 'wxt/utils/match-patterns';
|
|
19
|
+
export { fakeBrowser } from 'wxt/testing';
|
|
20
|
+
}
|
|
@@ -1,50 +1,51 @@
|
|
|
1
|
-
// Generated by wxt
|
|
2
|
-
export {}
|
|
3
|
-
declare global {
|
|
4
|
-
const ContentScriptContext: typeof import('wxt/utils/content-script-context').ContentScriptContext
|
|
5
|
-
const InvalidMatchPattern: typeof import('wxt/utils/match-patterns').InvalidMatchPattern
|
|
6
|
-
const MatchPattern: typeof import('wxt/utils/match-patterns').MatchPattern
|
|
7
|
-
const browser: typeof import('wxt/browser').browser
|
|
8
|
-
const createIframeUi: typeof import('wxt/utils/content-script-ui/iframe').createIframeUi
|
|
9
|
-
const createIntegratedUi: typeof import('wxt/utils/content-script-ui/integrated').createIntegratedUi
|
|
10
|
-
const createShadowRootUi: typeof import('wxt/utils/content-script-ui/shadow-root').createShadowRootUi
|
|
11
|
-
const defineAppConfig: typeof import('wxt/utils/define-app-config').defineAppConfig
|
|
12
|
-
const defineBackground: typeof import('wxt/utils/define-background').defineBackground
|
|
13
|
-
const defineContentScript: typeof import('wxt/utils/define-content-script').defineContentScript
|
|
14
|
-
const defineUnlistedScript: typeof import('wxt/utils/define-unlisted-script').defineUnlistedScript
|
|
15
|
-
const defineWxtPlugin: typeof import('wxt/utils/define-wxt-plugin').defineWxtPlugin
|
|
16
|
-
const fakeBrowser: typeof import('wxt/testing').fakeBrowser
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
1
|
+
// Generated by wxt
|
|
2
|
+
export {}
|
|
3
|
+
declare global {
|
|
4
|
+
const ContentScriptContext: typeof import('wxt/utils/content-script-context').ContentScriptContext
|
|
5
|
+
const InvalidMatchPattern: typeof import('wxt/utils/match-patterns').InvalidMatchPattern
|
|
6
|
+
const MatchPattern: typeof import('wxt/utils/match-patterns').MatchPattern
|
|
7
|
+
const browser: typeof import('wxt/browser').browser
|
|
8
|
+
const createIframeUi: typeof import('wxt/utils/content-script-ui/iframe').createIframeUi
|
|
9
|
+
const createIntegratedUi: typeof import('wxt/utils/content-script-ui/integrated').createIntegratedUi
|
|
10
|
+
const createShadowRootUi: typeof import('wxt/utils/content-script-ui/shadow-root').createShadowRootUi
|
|
11
|
+
const defineAppConfig: typeof import('wxt/utils/define-app-config').defineAppConfig
|
|
12
|
+
const defineBackground: typeof import('wxt/utils/define-background').defineBackground
|
|
13
|
+
const defineContentScript: typeof import('wxt/utils/define-content-script').defineContentScript
|
|
14
|
+
const defineUnlistedScript: typeof import('wxt/utils/define-unlisted-script').defineUnlistedScript
|
|
15
|
+
const defineWxtPlugin: typeof import('wxt/utils/define-wxt-plugin').defineWxtPlugin
|
|
16
|
+
const fakeBrowser: typeof import('wxt/testing').fakeBrowser
|
|
17
|
+
const getAppConfig: typeof import('wxt/utils/app-config').getAppConfig
|
|
18
|
+
const injectScript: typeof import('wxt/utils/inject-script').injectScript
|
|
19
|
+
const storage: typeof import('wxt/utils/storage').storage
|
|
20
|
+
const useAppConfig: typeof import('wxt/utils/app-config').useAppConfig
|
|
21
|
+
}
|
|
22
|
+
// for type re-export
|
|
23
|
+
declare global {
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
export type { Browser } from 'wxt/browser'
|
|
26
|
+
import('wxt/browser')
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
export type { StorageArea, WxtStorage, WxtStorageItem, StorageItemKey, StorageAreaChanges, MigrationError } from 'wxt/utils/storage'
|
|
29
|
+
import('wxt/utils/storage')
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
export type { WxtWindowEventMap } from 'wxt/utils/content-script-context'
|
|
32
|
+
import('wxt/utils/content-script-context')
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
export type { IframeContentScriptUi, IframeContentScriptUiOptions } from 'wxt/utils/content-script-ui/iframe'
|
|
35
|
+
import('wxt/utils/content-script-ui/iframe')
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
export type { IntegratedContentScriptUi, IntegratedContentScriptUiOptions } from 'wxt/utils/content-script-ui/integrated'
|
|
38
|
+
import('wxt/utils/content-script-ui/integrated')
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
export type { ShadowRootContentScriptUi, ShadowRootContentScriptUiOptions } from 'wxt/utils/content-script-ui/shadow-root'
|
|
41
|
+
import('wxt/utils/content-script-ui/shadow-root')
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
export type { ContentScriptUi, ContentScriptUiOptions, ContentScriptOverlayAlignment, ContentScriptAppendMode, ContentScriptInlinePositioningOptions, ContentScriptOverlayPositioningOptions, ContentScriptModalPositioningOptions, ContentScriptPositioningOptions, ContentScriptAnchoredOptions, AutoMountOptions, StopAutoMount, AutoMount } from 'wxt/utils/content-script-ui/types'
|
|
44
|
+
import('wxt/utils/content-script-ui/types')
|
|
45
|
+
// @ts-ignore
|
|
46
|
+
export type { WxtAppConfig } from 'wxt/utils/define-app-config'
|
|
47
|
+
import('wxt/utils/define-app-config')
|
|
48
|
+
// @ts-ignore
|
|
49
|
+
export type { ScriptPublicPath, InjectScriptOptions } from 'wxt/utils/inject-script'
|
|
50
|
+
import('wxt/utils/inject-script')
|
|
51
|
+
}
|