@yarn-tool/static-file 1.0.81 → 1.0.85
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 +44 -0
- package/file/eslintignore +6 -0
- package/file/github/workflows/coverage.yml +3 -2
- package/file/gitignore +2 -2
- package/file/jest.config.js +10 -3
- package/file/test/__root.d.ts +1 -0
- package/file/test/__root.js +2 -1
- package/file/test/__root.js.map +1 -1
- package/file/test/__root.ts +2 -0
- package/file/ws-root/__root_ws.d.ts +1 -0
- package/file/ws-root/__root_ws.js +2 -1
- package/file/ws-root/__root_ws.js.map +1 -1
- package/file/ws-root/__root_ws.ts +5 -0
- package/package.json +2 -2
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.85](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.84...@yarn-tool/static-file@1.0.85) (2021-12-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### 🔖 Miscellaneous
|
|
10
|
+
|
|
11
|
+
* . ([07e4c35](https://github.com/bluelovers/ws-yarn-workspaces/commit/07e4c3538ae75e01c6c275d64ddf80a05472a90b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [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)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### 🔖 Miscellaneous
|
|
21
|
+
|
|
22
|
+
* . ([3c3445a](https://github.com/bluelovers/ws-yarn-workspaces/commit/3c3445a7b9302a8f4bc39bf8f3b023ac32351533))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [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)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### 🐛 Bug Fixes
|
|
32
|
+
|
|
33
|
+
* update setting for ci ([e54a152](https://github.com/bluelovers/ws-yarn-workspaces/commit/e54a15216b3c62ae42e84e9b4c56230f7a75f5fc))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## [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)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### 🐛 Bug Fixes
|
|
43
|
+
|
|
44
|
+
* Error: file not exists. `file\ws-root\__root_ws.ts` ([b472cef](https://github.com/bluelovers/ws-yarn-workspaces/commit/b472cefbce11fa67ade3f4c2922e1ec3e2c27dc6))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
6
50
|
## [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)
|
|
7
51
|
|
|
8
52
|
|
package/file/eslintignore
CHANGED
|
@@ -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
|
-
|
|
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"
|
package/file/gitignore
CHANGED
package/file/jest.config.js
CHANGED
|
@@ -81,6 +81,11 @@ module.exports = {
|
|
|
81
81
|
//"jest-extended",
|
|
82
82
|
//"jest-extended-extra",
|
|
83
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',
|
|
84
89
|
],
|
|
85
90
|
transform: {
|
|
86
91
|
'.(ts|tsx|mts|cts)$': _requireResolve('ts-jest'),
|
|
@@ -94,9 +99,11 @@ module.exports = {
|
|
|
94
99
|
collectCoverage: false,
|
|
95
100
|
coveragePathIgnorePatterns: [
|
|
96
101
|
'/node_modules/',
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
'**/
|
|
102
|
+
'/__snapshots__/',
|
|
103
|
+
'/__tests__/',
|
|
104
|
+
//'**/node_modules/',
|
|
105
|
+
//'**/__snapshots__/',
|
|
106
|
+
//'**/__tests__/',
|
|
100
107
|
],
|
|
101
108
|
/**
|
|
102
109
|
* https://github.com/facebook/jest/issues/9771#issuecomment-872764344
|
package/file/test/__root.d.ts
CHANGED
package/file/test/__root.js
CHANGED
|
@@ -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
|
package/file/test/__root.js.map
CHANGED
|
@@ -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"]}
|
package/file/test/__root.ts
CHANGED
|
@@ -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"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yarn-tool/static-file",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.85",
|
|
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": "
|
|
34
|
+
"gitHead": "1e6163c54a28b6fcc9adba88f1b227707bc4634c"
|
|
35
35
|
}
|