create-packer 1.35.25 → 1.36.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/README.md +1 -1
- package/package.json +1 -1
- package/template/lib/workspace/.storybook/main.ts +1 -3
- package/template/lib/workspace/scripts/build.ts +2 -2
- package/template/web-app/{react-rspack → react-rsbuild}/package.json +2 -2
- /package/template/web-app/{react-rspack → react-rsbuild}/.editorconfig +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/.env +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/.env.development +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/.eslintignore +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/.eslintrc +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/.gitignore +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/.husky/commit-msg +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/.husky/pre-commit +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/.stylelintignore +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/.stylelintrc +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/.vscode/extensions.json +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/.vscode/settings.json +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/README.md +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/biome.json +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/commitlint.config.cjs +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/domain/app/app.model.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/domain/app/app.styled.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/domain/app/components/app-context.tsx +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/domain/app/components/app.tsx +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/domain/app/components/index.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/domain/app/index.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/domain/router/home/ids.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/domain/router/home/index.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/domain/router/home/routes.tsx +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/domain/router/ids.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/domain/router/index.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/domain/router/router.tsx +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/domain/router/router.types.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/env.d.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/index.html +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/main.tsx +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/pages/home/home.styled.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/pages/home/home.tsx +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/pages/home/index.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/pages/index.tsx +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/pages/not-found.tsx +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/postcss.config.cjs +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/public/rsbuild-logo.svg +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/rsbuild.config.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/scripts/createChunks.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/scripts/index.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/assets/react.svg +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/components/index.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/constant/index.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/hooks/defineRouter/defineRouter.types.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/hooks/defineRouter/deineRouter.tsx +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/hooks/defineRouter/index.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/hooks/index.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/hooks/useInterval.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/hooks/useLoadingAction.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/hooks/useLowPriorityState.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/hooks/useSyncState.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/hooks/useVisible.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/service/api.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/service/home.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/service/index.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/service/request.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/theme/index.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/theme/theme.styled.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/tools/componentInstance.tsx +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/tools/index.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/types/index.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/shared/types/utils.ts +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/tsconfig.json +0 -0
- /package/template/web-app/{react-rspack → react-rsbuild}/tsconfig.node.json +0 -0
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ pnpx create-packer <. || dirname>
|
|
|
16
16
|
- web-app/vue: Based on [vite(4.x)](https://cn.vitejs.dev/), [vue3](https://vuejs.org/).
|
|
17
17
|
- web-app/react-vite: Based on [vite(4.x)](https://cn.vitejs.dev/), [react18](https://reactjs.org/).
|
|
18
18
|
- web-app/react-webpack: Based on [webpack(5.x)](https://webpack.js.org/), [react18](https://reactjs.org/).
|
|
19
|
-
- web-app/react-
|
|
19
|
+
- web-app/react-rsbuild: Based on [rsbuild(1.x)](https://rsbuild.dev/), [react18](https://reactjs.org/).
|
|
20
20
|
- lib/workspace: Quickly Building a Private Library Infrastructure. Based on [pnpm-workspace](https://pnpm.io/pnpm-workspace_yaml).
|
|
21
21
|
- cli: template-cli
|
|
22
22
|
- web-extension: Web browser extension template. Support HMR.
|
package/package.json
CHANGED
|
@@ -20,9 +20,7 @@ const config: StorybookConfig = {
|
|
|
20
20
|
options: {}
|
|
21
21
|
},
|
|
22
22
|
async viteFinal(config) {
|
|
23
|
-
config.plugins!.unshift(
|
|
24
|
-
svgr({ svgo: false, titleProp: true, ref: true, icon: '1em' }) as any
|
|
25
|
-
)
|
|
23
|
+
config.plugins!.unshift(svgr({ svgo: false, titleProp: true, ref: true }) as any)
|
|
26
24
|
return config
|
|
27
25
|
},
|
|
28
26
|
docs: {
|
|
@@ -3,7 +3,7 @@ import { Engine, rollup, tsc } from '1k-tasks'
|
|
|
3
3
|
|
|
4
4
|
async function build(lib: string) {
|
|
5
5
|
const root = path.join(process.cwd(), 'packages', lib)
|
|
6
|
-
const ignore = ['**/*.{dts,test,types}.ts', '**/*.stories.*']
|
|
6
|
+
const ignore = ['**/*.{dts,test,types,type}.ts', '**/*.stories.*']
|
|
7
7
|
const workDir = 'src'
|
|
8
8
|
const dest = 'dist'
|
|
9
9
|
const task = new Engine()
|
|
@@ -15,7 +15,7 @@ async function build(lib: string) {
|
|
|
15
15
|
ignore
|
|
16
16
|
})
|
|
17
17
|
task.registry('tsc', tsc, { root })
|
|
18
|
-
task.run({ tip: `buliding ${lib}...` })
|
|
18
|
+
task.run({ sync: true, tip: `buliding ${lib}...` })
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
build('ts')
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "react-
|
|
2
|
+
"name": "react-rsbuild",
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"type": "module",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@commitlint/cli": "17.6.1",
|
|
40
40
|
"@commitlint/config-conventional": "17.6.1",
|
|
41
41
|
"@commitlint/cz-commitlint": "17.5.0",
|
|
42
|
-
"@rsbuild/core": "1.0.
|
|
42
|
+
"@rsbuild/core": "1.0.13",
|
|
43
43
|
"@rsbuild/plugin-eslint": "1.0.4",
|
|
44
44
|
"@rsbuild/plugin-react": "1.0.3",
|
|
45
45
|
"@rsbuild/plugin-styled-components": "1.0.1",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/template/web-app/{react-rspack → react-rsbuild}/domain/app/components/app-context.tsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/template/web-app/{react-rspack → react-rsbuild}/shared/hooks/defineRouter/deineRouter.tsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/template/web-app/{react-rspack → react-rsbuild}/shared/hooks/useLowPriorityState.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|