@baic/yolk-cli 2.1.0-alpha.188 → 2.1.0-alpha.189

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.
@@ -32,22 +32,22 @@ const prettierCLI =
32
32
  'prettier --write --cache --cache-strategy=content --loglevel=error';
33
33
  const eslintCLI = `eslint --fix ${
34
34
  isStrict ? '--no-inline-config' : ''
35
- } --no-error-on-unmatched-pattern --cache --cache-location=${join(
35
+ } --no-error-on-unmatched-pattern --cache --cache-strategy=content --cache-location=${join(
36
36
  process.cwd(),
37
37
  'node_modules',
38
38
  '.cache',
39
39
  '.eslintcache',
40
- )} --cache-strategy=content --config ${getEsLintConfigPath()} ${defaultIgnore
40
+ )} --config ${getEsLintConfigPath()} ${defaultIgnore
41
41
  .map((i) => `--ignore-pattern ${i}`)
42
42
  .join(' ')}`;
43
43
  const stylelintCLI = `stylelint --fix ${
44
44
  isStrict ? '--ignore-disables' : ''
45
- } --allow-empty-input --cache --cache-location=${join(
45
+ } --allow-empty-input --cache --cache-strategy=content --cache-location=${join(
46
46
  process.cwd(),
47
47
  'node_modules',
48
48
  '.cache',
49
49
  '.stylelintcache',
50
- )} --cache-strategy=content --config ${getStyleLintConfigPath()} ${defaultIgnore
50
+ )} --config ${getStyleLintConfigPath()} ${defaultIgnore
51
51
  .map((i) => `--ignore-pattern ${i}`)
52
52
  .join(' ')}`;
53
53
 
package/es/index.d.ts CHANGED
@@ -1,3 +1 @@
1
1
  #! /usr/bin/env node
2
- import 'v8-compile-cache';
3
- import './yolk';
package/es/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #! /usr/bin/env node
2
- import"v8-compile-cache";import"./yolk";
2
+ require("v8-compile-cache"),require("./yolk");
@@ -32,22 +32,22 @@ const prettierCLI =
32
32
  'prettier --write --cache --cache-strategy=content --loglevel=error';
33
33
  const eslintCLI = `eslint --fix ${
34
34
  isStrict ? '--no-inline-config' : ''
35
- } --no-error-on-unmatched-pattern --cache --cache-location=${join(
35
+ } --no-error-on-unmatched-pattern --cache --cache-strategy=content --cache-location=${join(
36
36
  process.cwd(),
37
37
  'node_modules',
38
38
  '.cache',
39
39
  '.eslintcache',
40
- )} --cache-strategy=content --config ${getEsLintConfigPath()} ${defaultIgnore
40
+ )} --config ${getEsLintConfigPath()} ${defaultIgnore
41
41
  .map((i) => `--ignore-pattern ${i}`)
42
42
  .join(' ')}`;
43
43
  const stylelintCLI = `stylelint --fix ${
44
44
  isStrict ? '--ignore-disables' : ''
45
- } --allow-empty-input --cache --cache-location=${join(
45
+ } --allow-empty-input --cache --cache-strategy=content --cache-location=${join(
46
46
  process.cwd(),
47
47
  'node_modules',
48
48
  '.cache',
49
49
  '.stylelintcache',
50
- )} --cache-strategy=content --config ${getStyleLintConfigPath()} ${defaultIgnore
50
+ )} --config ${getStyleLintConfigPath()} ${defaultIgnore
51
51
  .map((i) => `--ignore-pattern ${i}`)
52
52
  .join(' ')}`;
53
53
 
package/lib/index.d.ts CHANGED
@@ -1,3 +1 @@
1
1
  #! /usr/bin/env node
2
- import 'v8-compile-cache';
3
- import './yolk';
package/lib/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #! /usr/bin/env node
2
- var e=require("v8-compile-cache"),r=require("./yolk");
2
+ require("v8-compile-cache"),require("./yolk");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baic/yolk-cli",
3
- "version": "2.1.0-alpha.188",
3
+ "version": "2.1.0-alpha.189",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/303394539/yolk.git"
@@ -28,12 +28,12 @@
28
28
  "@babel/runtime": "~7.x",
29
29
  "@democrance/imagemin-lint-staged": "~2.4.x",
30
30
  "@types/inquirer": "8.x",
31
- "@types/lint-staged": "~13.3.x",
31
+ "@types/lint-staged": "~13.x",
32
32
  "@types/lodash": "~4.x",
33
33
  "glob": "~10.x",
34
34
  "inquirer": "8.x",
35
35
  "licia": "~1.39.x",
36
- "lint-staged": "~13.2.x",
36
+ "lint-staged": "~15.x",
37
37
  "lodash": "~4.x",
38
38
  "miniprogram-ci": "~1.9.x",
39
39
  "mkdirp": "~3.0.x",
@@ -49,8 +49,11 @@
49
49
  "commander": "6.x",
50
50
  "mustache": "~4.2.x"
51
51
  },
52
+ "engines": {
53
+ "node": ">=16"
54
+ },
52
55
  "publishConfig": {
53
56
  "access": "public"
54
57
  },
55
- "gitHead": "371582a2e348ba72458f5a3426b023d6e84e96ff"
58
+ "gitHead": "812b6bf62d0bfe8e15799ea08fec0511d17d01dc"
56
59
  }