@component-hook/create-app 1.4.1 → 1.4.3

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/dist/index.mjs CHANGED
@@ -207,7 +207,7 @@ With no arguments, start the CLI in interactive mode.
207
207
 
208
208
  Options:
209
209
  -t, --template [name] Choose a framework template
210
- -c, --ci [name] Choose CI/CD (options: github-actions, gitlab-ci, none). Defaults to "none".
210
+ -c, --ci [name] Choose CI/CD (options: github-actions, gitlab-ci, none)
211
211
  -h, --help Display this help message
212
212
 
213
213
  Available templates:
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@component-hook/create-app",
3
3
  "type": "module",
4
- "version": "1.4.1",
4
+ "version": "1.4.3",
5
5
  "description": "Scaffolding a basic typescript project",
6
6
  "author": "Tzuyi",
7
7
  "license": "MIT",
8
8
  "homepage": "https://github.com/tzuyi0817/component-hook/tree/master/packages/create-app#readme",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/tzuyi0817/component-hook.git",
11
+ "url": "git+https://github.com/tzuyi0817/component-hook.git",
12
12
  "directory": "packages/create-app"
13
13
  },
14
14
  "bugs": {
@@ -29,7 +29,7 @@
29
29
  "art-template": "^4.13.4",
30
30
  "fs-extra": "^11.3.3",
31
31
  "minimist": "^1.2.8",
32
- "ora": "^9.0.0",
32
+ "ora": "^9.3.0",
33
33
  "picocolors": "^1.1.1",
34
34
  "prompts": "^2.4.2"
35
35
  },
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "version": "0.0.0",
5
5
  "private": true,
6
- "packageManager": "pnpm@10.27.0",
6
+ "packageManager": "pnpm@10.29.2",
7
7
  "scripts": {
8
8
  "dev": "vite",
9
9
  "dev:mock": "MOCK=true vite",
@@ -18,49 +18,48 @@
18
18
  "preview": "vite preview"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^1.13.2",
22
- "i18next": "^25.7.4",
23
- "react": "^19.2.3",
24
- "react-dom": "^19.2.3",
25
- "react-i18next": "^16.5.1",
26
- "react-router-dom": "^7.12.0",
27
- "zustand": "^5.0.9"
21
+ "axios": "^1.13.5",
22
+ "i18next": "^25.8.4",
23
+ "react": "^19.2.4",
24
+ "react-dom": "^19.2.4",
25
+ "react-i18next": "^16.5.4",
26
+ "react-router-dom": "^7.13.0",
27
+ "zustand": "^5.0.11"
28
28
  },
29
29
  "optionalDependencies": {
30
- "@commitlint/cli": "^20.3.1",
31
- "@commitlint/config-conventional": "^20.3.1",
30
+ "@commitlint/cli": "^20.4.1",
31
+ "@commitlint/config-conventional": "^20.4.1",
32
32
  "husky": "^9.1.7",
33
33
  "lint-staged": "^16.2.7"
34
34
  },
35
35
  "devDependencies": {
36
- "@component-hook/eslint-plugin": "^1.3.2",
37
- "@playwright/test": "^1.57.0",
36
+ "@component-hook/eslint-plugin": "^1.4.2",
37
+ "@playwright/test": "^1.58.2",
38
38
  "@tailwindcss/vite": "^4.1.18",
39
39
  "@testing-library/jest-dom": "^6.9.1",
40
- "@testing-library/react": "^16.3.1",
40
+ "@testing-library/react": "^16.3.2",
41
41
  "@testing-library/user-event": "^14.6.1",
42
- "@tsconfig/node24": "^24.0.3",
43
- "@types/node": "^22.19.3",
44
- "@types/react": "^19.2.7",
42
+ "@tsconfig/node24": "^24.0.4",
43
+ "@types/node": "^22.19.11",
44
+ "@types/react": "^19.2.13",
45
45
  "@types/react-dom": "^19.2.3",
46
- "@vitejs/plugin-react-swc": "^4.2.2",
47
- "@vitest/coverage-v8": "^4.0.16",
48
- "autoprefixer": "^10.4.23",
46
+ "@vitejs/plugin-react-swc": "^4.2.3",
47
+ "@vitest/coverage-v8": "^4.0.18",
49
48
  "cssnano": "^7.1.2",
50
49
  "eslint": "^9.39.2",
51
50
  "fast-glob": "^3.3.3",
52
51
  "jsdom": "^27.4.0",
53
- "msw": "^2.12.7",
52
+ "msw": "^2.12.10",
54
53
  "postcss": "^8.5.6",
55
- "postcss-preset-env": "^10.6.0",
54
+ "postcss-preset-env": "^11.1.3",
56
55
  "postcss-pxtorem": "^6.1.0",
57
- "prettier": "^3.7.4",
56
+ "prettier": "^3.8.1",
58
57
  "prettier-plugin-tailwindcss": "^0.7.2",
59
58
  "tailwindcss": "^4.1.18",
60
59
  "typescript": "^5.9.3",
61
60
  "vite": "^7.3.1",
62
61
  "vite-plugin-svg-icons": "^2.0.1",
63
- "vitest": "^4.0.16"
62
+ "vitest": "^4.0.18"
64
63
  },
65
64
  "msw": {
66
65
  "workerDirectory": [
@@ -3,10 +3,12 @@
3
3
  "extends": ["config:recommended", "schedule:weekly", "group:allNonMajor"],
4
4
  "labels": ["dependencies"],
5
5
  "rangeStrategy": "bump",
6
+ "ignoreDeps": ["node"],
6
7
  "packageRules": [
7
8
  {
8
- "depTypeList": ["peerDependencies"],
9
+ "matchDepTypes": ["peerDependencies"],
9
10
  "enabled": false
10
11
  }
11
- ]
12
+ ],
13
+ "postUpdateOptions": ["pnpmDedupe"]
12
14
  }
@@ -1,17 +1,15 @@
1
- import autoprefixer from 'autoprefixer';
2
1
  import cssnano from 'cssnano';
3
2
  import postcssPresetEnv from 'postcss-preset-env';
4
3
  import postcssPxtorem from 'postcss-pxtorem';
5
4
 
6
5
  export default {
7
6
  plugins: [
8
- autoprefixer(),
7
+ postcssPresetEnv({ stage: 3 }),
9
8
  postcssPxtorem({
10
9
  rootValue: 16,
11
10
  propList: ['*'],
12
11
  selectorBlackList: ['norem'],
13
12
  }),
14
- postcssPresetEnv({ stage: 3 }),
15
13
  ...(process.env.NODE_ENV === 'production' ? [cssnano({ preset: 'default' })] : []),
16
14
  ],
17
15
  };
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "version": "0.0.0",
5
5
  "private": true,
6
- "packageManager": "pnpm@10.27.0",
6
+ "packageManager": "pnpm@10.29.2",
7
7
  "scripts": {
8
8
  "dev": "vite",
9
9
  "dev:mock": "MOCK=true vite",
@@ -18,50 +18,49 @@
18
18
  "preview": "vite preview"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^1.13.2",
21
+ "axios": "^1.13.5",
22
22
  "pinia": "^3.0.4",
23
23
  "pinia-plugin-persistedstate": "^4.7.1",
24
- "vue": "^3.5.26",
24
+ "vue": "^3.5.28",
25
25
  "vue-i18n": "^11.1.12",
26
- "vue-router": "^4.6.4"
26
+ "vue-router": "^5.0.2"
27
27
  },
28
28
  "optionalDependencies": {
29
- "@commitlint/cli": "^20.3.1",
30
- "@commitlint/config-conventional": "^20.3.1",
29
+ "@commitlint/cli": "^20.4.1",
30
+ "@commitlint/config-conventional": "^20.4.1",
31
31
  "husky": "^9.1.7",
32
32
  "lint-staged": "^16.2.7"
33
33
  },
34
34
  "devDependencies": {
35
- "@component-hook/eslint-plugin": "^1.3.2",
35
+ "@component-hook/eslint-plugin": "^1.4.2",
36
36
  "@intlify/unplugin-vue-i18n": "^11.0.3",
37
- "@playwright/test": "^1.57.0",
37
+ "@playwright/test": "^1.58.2",
38
38
  "@tailwindcss/vite": "^4.1.18",
39
39
  "@testing-library/jest-dom": "^6.9.1",
40
40
  "@testing-library/user-event": "^14.6.1",
41
41
  "@testing-library/vue": "^8.1.0",
42
- "@tsconfig/node24": "^24.0.3",
43
- "@types/node": "^22.19.3",
44
- "@vitejs/plugin-vue": "^6.0.3",
45
- "@vitest/coverage-v8": "^4.0.16",
42
+ "@tsconfig/node24": "^24.0.4",
43
+ "@types/node": "^22.19.11",
44
+ "@vitejs/plugin-vue": "^6.0.4",
45
+ "@vitest/coverage-v8": "^4.0.18",
46
46
  "@vue/tsconfig": "^0.8.1",
47
- "autoprefixer": "^10.4.23",
48
47
  "cssnano": "^7.1.2",
49
48
  "eslint": "^9.39.2",
50
49
  "fast-glob": "^3.3.3",
51
50
  "jsdom": "^27.4.0",
52
- "msw": "^2.12.7",
51
+ "msw": "^2.12.10",
53
52
  "postcss": "^8.5.6",
54
- "postcss-preset-env": "^10.6.0",
53
+ "postcss-preset-env": "^11.1.3",
55
54
  "postcss-pxtorem": "^6.1.0",
56
- "prettier": "^3.7.4",
55
+ "prettier": "^3.8.1",
57
56
  "prettier-plugin-tailwindcss": "^0.7.2",
58
57
  "rollup-plugin-visualizer": "^6.0.5",
59
58
  "tailwindcss": "^4.1.18",
60
59
  "typescript": "^5.9.3",
61
60
  "vite": "^7.3.1",
62
61
  "vite-plugin-svg-icons": "^2.0.1",
63
- "vitest": "^4.0.16",
64
- "vue-tsc": "^3.2.2"
62
+ "vitest": "^4.0.18",
63
+ "vue-tsc": "^3.2.4"
65
64
  },
66
65
  "msw": {
67
66
  "workerDirectory": "public"