@yarn-tool/static-file 1.0.80 → 1.0.84

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/CHANGELOG.md CHANGED
@@ -3,6 +3,50 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.84](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.83...@yarn-tool/static-file@1.0.84) (2021-12-27)
7
+
8
+
9
+ ### 🔖 Miscellaneous
10
+
11
+ * . ([3c3445a](https://github.com/bluelovers/ws-yarn-workspaces/commit/3c3445a7b9302a8f4bc39bf8f3b023ac32351533))
12
+
13
+
14
+
15
+
16
+
17
+ ## [1.0.83](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.82...@yarn-tool/static-file@1.0.83) (2021-12-27)
18
+
19
+
20
+ ### 🐛 Bug Fixes
21
+
22
+ * update setting for ci ([e54a152](https://github.com/bluelovers/ws-yarn-workspaces/commit/e54a15216b3c62ae42e84e9b4c56230f7a75f5fc))
23
+
24
+
25
+
26
+
27
+
28
+ ## [1.0.82](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.81...@yarn-tool/static-file@1.0.82) (2021-12-27)
29
+
30
+
31
+ ### 🐛 Bug Fixes
32
+
33
+ * Error: file not exists. `file\ws-root\__root_ws.ts` ([b472cef](https://github.com/bluelovers/ws-yarn-workspaces/commit/b472cefbce11fa67ade3f4c2922e1ec3e2c27dc6))
34
+
35
+
36
+
37
+
38
+
39
+ ## [1.0.81](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.80...@yarn-tool/static-file@1.0.81) (2021-12-26)
40
+
41
+
42
+ ### 🔖 Miscellaneous
43
+
44
+ * . ([705de2c](https://github.com/bluelovers/ws-yarn-workspaces/commit/705de2ca08334ded6dcab3497ad3a1812c354546))
45
+
46
+
47
+
48
+
49
+
6
50
  ## [1.0.80](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.79...@yarn-tool/static-file@1.0.80) (2021-12-16)
7
51
 
8
52
 
@@ -21,10 +21,11 @@ jobs:
21
21
  node-version: 16
22
22
  - name: install
23
23
  run: |
24
- npm i -g typescript@next ts-jest
25
24
  yarn install --frozen-lockfile
26
- - uses: artiomtr/jest-coverage-report-action@master
25
+ yarn add -W typescript@next jest ts-jest ts-node ynpx lerna
26
+ - uses: artiomtr/jest-coverage-report-action@v2.0-rc.6
27
27
  with:
28
28
  github-token: ${{ secrets.GITHUB_TOKEN }}
29
29
  package-manager: yarn
30
30
  # threshold: 80 # optional parameter
31
+ test-script: npx jest --silent --ci --coverage=false --coverageReporters="text" --coverageReporters="text-summary"
@@ -35,8 +35,12 @@ function _requireResolve(name)
35
35
  const testExt = [
36
36
  'ts',
37
37
  'tsx',
38
+ 'mts',
39
+ 'cts',
38
40
  //'js',
39
41
  //'jsx',
42
+ // 'mjs',
43
+ // 'cjs',
40
44
  ].join('|');
41
45
 
42
46
  /**
@@ -47,8 +51,12 @@ module.exports = {
47
51
  moduleFileExtensions: [
48
52
  'ts',
49
53
  'tsx',
54
+ 'mts',
55
+ 'cts',
50
56
  'js',
51
57
  'jsx',
58
+ 'mjs',
59
+ 'cjs',
52
60
  'json',
53
61
  'node',
54
62
  ],
@@ -73,9 +81,14 @@ module.exports = {
73
81
  //"jest-extended",
74
82
  //"jest-extended-extra",
75
83
  //"jest-num-close-with",
84
+ /**
85
+ * https://medium.com/doctolib/how-to-run-the-same-jest-test-suite-across-several-platforms-jest-os-detection-plugin-included-f8113832482b
86
+ * https://github.com/doctolib/jest-os-detection
87
+ */
88
+ //'jest-os-detection',
76
89
  ],
77
90
  transform: {
78
- '.(ts|tsx)$': _requireResolve('ts-jest'),
91
+ '.(ts|tsx|mts|cts)$': _requireResolve('ts-jest'),
79
92
  },
80
93
  verbose: true,
81
94
  /**
@@ -86,9 +99,11 @@ module.exports = {
86
99
  collectCoverage: false,
87
100
  coveragePathIgnorePatterns: [
88
101
  '/node_modules/',
89
- '**/node_modules/',
90
- '**/__snapshots__/',
91
- '**/__tests__/',
102
+ '/__snapshots__/',
103
+ '/__tests__/',
104
+ //'**/node_modules/',
105
+ //'**/__snapshots__/',
106
+ //'**/__tests__/',
92
107
  ],
93
108
  /**
94
109
  * https://github.com/facebook/jest/issues/9771#issuecomment-872764344
@@ -1 +1,2 @@
1
1
  export declare const __root: string;
2
+ export declare const isWin: boolean;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.__root = void 0;
3
+ exports.isWin = exports.__root = void 0;
4
4
  const path_1 = require("path");
5
5
  exports.__root = (0, path_1.join)(__dirname, '..');
6
+ exports.isWin = process.platform === "win32";
6
7
  //# sourceMappingURL=__root.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"__root.js","sourceRoot":"","sources":["__root.ts"],"names":[],"mappings":";;;AAAA,+BAA4B;AAEf,QAAA,MAAM,GAAG,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,CAAC,CAAC","sourcesContent":["import { join } from \"path\";\n\nexport const __root = join(__dirname, '..');\n"]}
1
+ {"version":3,"file":"__root.js","sourceRoot":"","sources":["__root.ts"],"names":[],"mappings":";;;AAAA,+BAA4B;AAEf,QAAA,MAAM,GAAG,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAE/B,QAAA,KAAK,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC","sourcesContent":["import { join } from \"path\";\n\nexport const __root = join(__dirname, '..');\n\nexport const isWin = process.platform === \"win32\";\n"]}
@@ -1,3 +1,5 @@
1
1
  import { join } from "path";
2
2
 
3
3
  export const __root = join(__dirname, '..');
4
+
5
+ export const isWin = process.platform === "win32";
@@ -1 +1,2 @@
1
1
  export declare const __root_ws: string;
2
+ export declare const isWin: boolean;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.__root_ws = void 0;
3
+ exports.isWin = exports.__root_ws = void 0;
4
4
  const path_1 = require("path");
5
5
  exports.__root_ws = (0, path_1.join)(__dirname);
6
+ exports.isWin = process.platform === "win32";
6
7
  //# sourceMappingURL=__root_ws.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"__root_ws.js","sourceRoot":"","sources":["__root_ws.ts"],"names":[],"mappings":";;;AAAA,+BAA4B;AAEf,QAAA,SAAS,GAAG,IAAA,WAAI,EAAC,SAAS,CAAC,CAAC","sourcesContent":["import { join } from \"path\";\n\nexport const __root_ws = join(__dirname);\n"]}
1
+ {"version":3,"file":"__root_ws.js","sourceRoot":"","sources":["__root_ws.ts"],"names":[],"mappings":";;;AAAA,+BAA4B;AAEf,QAAA,SAAS,GAAG,IAAA,WAAI,EAAC,SAAS,CAAC,CAAC;AAE5B,QAAA,KAAK,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC","sourcesContent":["import { join } from \"path\";\n\nexport const __root_ws = join(__dirname);\n\nexport const isWin = process.platform === \"win32\";\n"]}
@@ -0,0 +1,5 @@
1
+ import { join } from "path";
2
+
3
+ export const __root_ws = join(__dirname);
4
+
5
+ export const isWin = process.platform === "win32";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yarn-tool/static-file",
3
- "version": "1.0.80",
3
+ "version": "1.0.84",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/bluelovers/ws-yarn-workspaces#readme",
6
6
  "bugs": {
@@ -31,5 +31,5 @@
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "ec1ab16bb8e958d833077ded25ddec8f0572531d"
34
+ "gitHead": "00378bc6e02462695f4388c0607915787e011453"
35
35
  }