create-packer 1.43.5 → 1.43.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-packer",
3
- "version": "1.43.5",
3
+ "version": "1.43.6",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/kevily/create-packer",
6
6
  "author": "1k <bug_zero@163.com>",
@@ -52,6 +52,8 @@
52
52
  "format": "pnpm -r run format",
53
53
  "clean:pkg": "pnpm -r exec rimraf node_modules",
54
54
  "commit": "git add . && cz",
55
- "push": "pnpm run commit && git push"
55
+ "push": "pnpm run commit && git push",
56
+ "up:rsbuild": "pnpm -r up @rsbuild/* -L",
57
+ "up:vite": "pnpm -r up vite @vitejs/* vite-plugin-* -L"
56
58
  }
57
59
  }
@@ -1,45 +1,45 @@
1
- {
2
- "name": "react-lib",
3
- "version": "1.0.0",
4
- "description": "",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "sideEffects": [
8
- "*.css",
9
- "*.scss"
10
- ],
11
- "scripts": {
12
- "lint": "tsc --noEmit -p tsconfig.lint.json",
13
- "test": "echo \"Error: no test specified\" && exit 1",
14
- "storybook": "storybook dev -p 6006",
15
- "build-storybook": "storybook build",
16
- "up:storybook": "pnpm up storybook eslint-plugin-storybook @storybook/* -L"
17
- },
18
- "files": [
19
- "dist"
20
- ],
21
- "keywords": [],
22
- "author": "",
23
- "license": "ISC",
24
- "peerDependencies": {
25
- "react": "18.2.0",
26
- "react-dom": "18.2.0"
27
- },
28
- "devDependencies": {
29
- "@types/react": "18.3.3",
30
- "@types/react-dom": "18.3.0",
31
- "eslint": "9.17.0",
32
- "eslint-import-resolver-typescript": "3.7.0",
33
- "eslint-plugin-import": "2.31.0",
34
- "eslint-plugin-react": "7.37.2",
35
- "eslint-plugin-react-hooks": "5.1.0",
36
- "eslint-plugin-storybook": "0.11.1",
37
- "globals": "15.12.0",
38
- "prettier": "3.2.5",
39
- "react": "18.2.0",
40
- "react-dom": "18.2.0",
41
- "stylelint": "16.10.0",
42
- "stylelint-config-standard": "36.0.1",
43
- "typescript": "5.8.2"
44
- }
45
- }
1
+ {
2
+ "name": "react-lib",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "sideEffects": [
8
+ "*.css",
9
+ "*.scss"
10
+ ],
11
+ "scripts": {
12
+ "lint": "tsc --noEmit -p tsconfig.lint.json",
13
+ "test": "echo \"Error: no test specified\" && exit 1",
14
+ "storybook": "storybook dev -p 6006",
15
+ "build-storybook": "storybook build",
16
+ "up:storybook": "pnpm up storybook eslint-plugin-storybook @storybook/* -L"
17
+ },
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "keywords": [],
22
+ "author": "",
23
+ "license": "ISC",
24
+ "peerDependencies": {
25
+ "react": "18.2.0",
26
+ "react-dom": "18.2.0"
27
+ },
28
+ "devDependencies": {
29
+ "@types/react": "18.3.3",
30
+ "@types/react-dom": "18.3.0",
31
+ "eslint": "9.17.0",
32
+ "eslint-import-resolver-typescript": "3.7.0",
33
+ "eslint-plugin-import": "2.31.0",
34
+ "eslint-plugin-react": "7.37.2",
35
+ "eslint-plugin-react-hooks": "5.1.0",
36
+ "eslint-plugin-storybook": "0.11.1",
37
+ "globals": "15.12.0",
38
+ "prettier": "3.2.5",
39
+ "react": "18.2.0",
40
+ "react-dom": "18.2.0",
41
+ "stylelint": "16.10.0",
42
+ "stylelint-config-standard": "36.0.1",
43
+ "typescript": "5.8.2"
44
+ }
45
+ }
@@ -1,2 +1,3 @@
1
+ export { default as startApp } from './startApp'
1
2
  export * from './app.model'
2
3
  export * from './components'
@@ -0,0 +1,6 @@
1
+ import { createRoot } from 'react-dom/client'
2
+ import { App } from '@/domain/app'
3
+
4
+ export default function () {
5
+ createRoot(document.getElementById('root') as HTMLElement).render(<App.Root />)
6
+ }
@@ -1,4 +1,3 @@
1
- import { createRoot } from 'react-dom/client'
2
- import { App } from '@/domain/app'
1
+ import { startApp } from '@/domain/app'
3
2
 
4
- createRoot(document.getElementById('root') as HTMLElement).render(<App.Root />)
3
+ startApp()
@@ -37,7 +37,7 @@
37
37
  "@commitlint/config-conventional": "17.6.1",
38
38
  "@commitlint/cz-commitlint": "17.5.0",
39
39
  "@eslint/js": "9.15.0",
40
- "@rsbuild/core": "1.2.15",
40
+ "@rsbuild/core": "1.2.19",
41
41
  "@rsbuild/plugin-eslint": "1.1.1",
42
42
  "@rsbuild/plugin-react": "1.1.1",
43
43
  "@rsbuild/plugin-styled-components": "1.2.1",
@@ -1,2 +1,3 @@
1
+ export { default as startApp } from './startApp'
1
2
  export * from './app.model'
2
3
  export * from './components'
@@ -0,0 +1,6 @@
1
+ import { createRoot } from 'react-dom/client'
2
+ import { App } from '@/domain/app'
3
+
4
+ export default function () {
5
+ createRoot(document.getElementById('root') as HTMLElement).render(<App.Root />)
6
+ }
@@ -1,4 +1,3 @@
1
- import { createRoot } from 'react-dom/client'
2
- import { App } from '@/domain/app'
1
+ import { startApp } from '@/domain/app'
3
2
 
4
- createRoot(document.getElementById('root') as HTMLElement).render(<App.Root />)
3
+ startApp()
@@ -34,10 +34,10 @@
34
34
  "@commitlint/cz-commitlint": "17.5.0",
35
35
  "@eslint/js": "9.15.0",
36
36
  "@faker-js/faker": "8.4.1",
37
- "@rsbuild/core": "1.2.15",
37
+ "@rsbuild/core": "1.2.19",
38
38
  "@rsbuild/plugin-eslint": "1.1.1",
39
39
  "@rsbuild/plugin-type-check": "1.2.1",
40
- "@rsbuild/plugin-vue": "1.0.6",
40
+ "@rsbuild/plugin-vue": "1.0.7",
41
41
  "@rsdoctor/rspack-plugin": "0.4.13",
42
42
  "@tailwindcss/postcss": "4.0.9",
43
43
  "@types/lodash-es": "4.17.12",