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

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.
@@ -1 +1 @@
1
- {"name":"commander","version":"6.2.1","author":"TJ Holowaychuk <tj@vision-media.ca>","license":"MIT","_lastModified":"2024-01-03T06:21:52.466Z"}
1
+ {"name":"commander","version":"6.2.1","author":"TJ Holowaychuk <tj@vision-media.ca>","license":"MIT","_lastModified":"2024-01-30T03:01:07.926Z"}
@@ -1 +1 @@
1
- {"name":"mustache","version":"4.2.0","author":"mustache.js Authors <http://github.com/janl/mustache.js>","license":"MIT","_lastModified":"2024-01-03T06:21:52.534Z"}
1
+ {"name":"mustache","version":"4.2.0","author":"mustache.js Authors <http://github.com/janl/mustache.js>","license":"MIT","_lastModified":"2024-01-30T03:01:07.996Z"}
@@ -1,3 +1,5 @@
1
+ const { join } = require('path');
2
+
1
3
  const {
2
4
  getYolkConfig,
3
5
  getEsLintConfigPath,
@@ -26,15 +28,26 @@ const defaultIgnore = [
26
28
  const yolkConfig = getYolkConfig();
27
29
  const isStrict = yolkConfig.strict !== false;
28
30
 
29
- const prettierCLI = 'prettier --write';
31
+ const prettierCLI =
32
+ 'prettier --write --cache --cache-strategy=content --loglevel=error';
30
33
  const eslintCLI = `eslint --fix ${
31
34
  isStrict ? '--no-inline-config' : ''
32
- } --no-error-on-unmatched-pattern --config ${getEsLintConfigPath()} ${defaultIgnore
35
+ } --no-error-on-unmatched-pattern --cache --cache-location=${join(
36
+ process.cwd(),
37
+ 'node_modules',
38
+ '.cache',
39
+ '.eslintcache',
40
+ )} --cache-strategy=content --config ${getEsLintConfigPath()} ${defaultIgnore
33
41
  .map((i) => `--ignore-pattern ${i}`)
34
42
  .join(' ')}`;
35
43
  const stylelintCLI = `stylelint --fix ${
36
44
  isStrict ? '--ignore-disables' : ''
37
- } '--allow-empty-input' --config ${getStyleLintConfigPath()} ${defaultIgnore
45
+ } --allow-empty-input --cache --cache-location=${join(
46
+ process.cwd(),
47
+ 'node_modules',
48
+ '.cache',
49
+ '.stylelintcache',
50
+ )} --cache-strategy=content --config ${getStyleLintConfigPath()} ${defaultIgnore
38
51
  .map((i) => `--ignore-pattern ${i}`)
39
52
  .join(' ')}`;
40
53
 
@@ -1,3 +1,5 @@
1
+ const { join } = require('path');
2
+
1
3
  const {
2
4
  getYolkConfig,
3
5
  getEsLintConfigPath,
@@ -26,15 +28,26 @@ const defaultIgnore = [
26
28
  const yolkConfig = getYolkConfig();
27
29
  const isStrict = yolkConfig.strict !== false;
28
30
 
29
- const prettierCLI = 'prettier --write';
31
+ const prettierCLI =
32
+ 'prettier --write --cache --cache-strategy=content --loglevel=error';
30
33
  const eslintCLI = `eslint --fix ${
31
34
  isStrict ? '--no-inline-config' : ''
32
- } --no-error-on-unmatched-pattern --config ${getEsLintConfigPath()} ${defaultIgnore
35
+ } --no-error-on-unmatched-pattern --cache --cache-location=${join(
36
+ process.cwd(),
37
+ 'node_modules',
38
+ '.cache',
39
+ '.eslintcache',
40
+ )} --cache-strategy=content --config ${getEsLintConfigPath()} ${defaultIgnore
33
41
  .map((i) => `--ignore-pattern ${i}`)
34
42
  .join(' ')}`;
35
43
  const stylelintCLI = `stylelint --fix ${
36
44
  isStrict ? '--ignore-disables' : ''
37
- } '--allow-empty-input' --config ${getStyleLintConfigPath()} ${defaultIgnore
45
+ } --allow-empty-input --cache --cache-location=${join(
46
+ process.cwd(),
47
+ 'node_modules',
48
+ '.cache',
49
+ '.stylelintcache',
50
+ )} --cache-strategy=content --config ${getStyleLintConfigPath()} ${defaultIgnore
38
51
  .map((i) => `--ignore-pattern ${i}`)
39
52
  .join(' ')}`;
40
53
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baic/yolk-cli",
3
- "version": "2.1.0-alpha.187",
3
+ "version": "2.1.0-alpha.188",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/303394539/yolk.git"
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "cc695ef86e33814dc8a8a0da5e7711edc21f8ee6"
55
+ "gitHead": "371582a2e348ba72458f5a3426b023d6e84e96ff"
56
56
  }