@component-hook/create-app 1.4.1 → 1.4.2

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@component-hook/create-app",
3
3
  "type": "module",
4
- "version": "1.4.1",
4
+ "version": "1.4.2",
5
5
  "description": "Scaffolding a basic typescript project",
6
6
  "author": "Tzuyi",
7
7
  "license": "MIT",
@@ -45,7 +45,6 @@
45
45
  "@types/react-dom": "^19.2.3",
46
46
  "@vitejs/plugin-react-swc": "^4.2.2",
47
47
  "@vitest/coverage-v8": "^4.0.16",
48
- "autoprefixer": "^10.4.23",
49
48
  "cssnano": "^7.1.2",
50
49
  "eslint": "^9.39.2",
51
50
  "fast-glob": "^3.3.3",
@@ -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
  };
@@ -44,7 +44,6 @@
44
44
  "@vitejs/plugin-vue": "^6.0.3",
45
45
  "@vitest/coverage-v8": "^4.0.16",
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",