@yarn-tool/static-file 1.0.72 → 1.0.77

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,74 @@
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.77](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.76...@yarn-tool/static-file@1.0.77) (2021-11-28)
7
+
8
+
9
+ ### ✨ Features
10
+
11
+ * add `tsconfig.tsdx.json.tpl` ([d53c748](https://github.com/bluelovers/ws-yarn-workspaces/commit/d53c748ff24d6c302badf8323acf4bf6a3933d50))
12
+
13
+
14
+
15
+
16
+
17
+ ## [1.0.76](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.75...@yarn-tool/static-file@1.0.76) (2021-10-27)
18
+
19
+
20
+ ### ✨ Features
21
+
22
+ * add ignore snowpack ([336478c](https://github.com/bluelovers/ws-yarn-workspaces/commit/336478c31e1ab17114798589ff7a7f4e72b998f9))
23
+
24
+
25
+
26
+
27
+
28
+ ## [1.0.75](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.73...@yarn-tool/static-file@1.0.75) (2021-10-13)
29
+
30
+
31
+ ### ♻️ Chores
32
+
33
+ * update jest configuration ([a391312](https://github.com/bluelovers/ws-yarn-workspaces/commit/a391312479cf70690fd14406abcadc9ef761c13b))
34
+
35
+
36
+ ### 🔖 Miscellaneous
37
+
38
+ * . ([63e22aa](https://github.com/bluelovers/ws-yarn-workspaces/commit/63e22aa01cf59659e0c5eeecb9b08aa17e83a9b2))
39
+ * . ([07823f6](https://github.com/bluelovers/ws-yarn-workspaces/commit/07823f6759656a40c54a436c3e9b88e97f8d5b8c))
40
+ * . ([209d7d9](https://github.com/bluelovers/ws-yarn-workspaces/commit/209d7d9a18562f2ff201899c728c1fe326d16de6))
41
+
42
+
43
+
44
+
45
+
46
+ ## [1.0.74](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.73...@yarn-tool/static-file@1.0.74) (2021-10-13)
47
+
48
+
49
+ ### ♻️ Chores
50
+
51
+ * update jest configuration ([a391312](https://github.com/bluelovers/ws-yarn-workspaces/commit/a391312479cf70690fd14406abcadc9ef761c13b))
52
+
53
+
54
+ ### 🔖 Miscellaneous
55
+
56
+ * . ([07823f6](https://github.com/bluelovers/ws-yarn-workspaces/commit/07823f6759656a40c54a436c3e9b88e97f8d5b8c))
57
+ * . ([209d7d9](https://github.com/bluelovers/ws-yarn-workspaces/commit/209d7d9a18562f2ff201899c728c1fe326d16de6))
58
+
59
+
60
+
61
+
62
+
63
+ ## [1.0.73](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.72...@yarn-tool/static-file@1.0.73) (2021-08-13)
64
+
65
+
66
+ ### ♻️ Chores
67
+
68
+ * **deps:** update deps ([cc53689](https://github.com/bluelovers/ws-yarn-workspaces/commit/cc53689dadd1334672807d4737c0e6400b15aba0))
69
+
70
+
71
+
72
+
73
+
6
74
  ## [1.0.72](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.71...@yarn-tool/static-file@1.0.72) (2021-07-25)
7
75
 
8
76
 
@@ -1,12 +1,12 @@
1
1
  name: yarn.lock deduplication
2
2
 
3
3
  on:
4
- push:
5
- branches:
6
- - master
7
- - main
8
- - next
9
- - canary
4
+ # push:
5
+ # branches:
6
+ # - master
7
+ # - main
8
+ # - next
9
+ # - canary
10
10
  pull_request:
11
11
  branches:
12
12
  - master
@@ -16,6 +16,13 @@ jobs:
16
16
  CI_JOB_NUMBER: 1
17
17
  steps:
18
18
  - uses: actions/checkout@v1
19
+ - uses: actions/setup-node@master
20
+ with:
21
+ node-version: 16
22
+ - name: install
23
+ run: |
24
+ npm i -g typescript@next ts-jest
25
+ yarn install --frozen-lockfile
19
26
  - uses: artiomtr/jest-coverage-report-action@master
20
27
  with:
21
28
  github-token: ${{ secrets.GITHUB_TOKEN }}
package/file/gitignore CHANGED
@@ -135,3 +135,15 @@ jest.config.js.map
135
135
  .vercel
136
136
  /test/tsconfig.json.tpl
137
137
  /tsconfig.json.tpl
138
+ /report.json
139
+
140
+ .opt-in
141
+ .opt-out
142
+ /gradle
143
+ .gradle
144
+ /out
145
+ /build
146
+
147
+ /_*/
148
+ _snowpack
149
+ web_modules
@@ -1,3 +1,10 @@
1
+ // @ts-check
2
+
3
+ /**
4
+ * @param {string} name
5
+ * @returns {string}
6
+ * @private
7
+ */
1
8
  function _requireResolve(name)
2
9
  {
3
10
  let result;
@@ -25,16 +32,41 @@ function _requireResolve(name)
25
32
  return result || require.resolve(name)
26
33
  }
27
34
 
35
+ const testExt = [
36
+ 'ts',
37
+ 'tsx',
38
+ //'js',
39
+ //'jsx',
40
+ ].join('|');
41
+
28
42
  /**
29
43
  * @type { import('@jest/types').Config.InitialOptions }
30
44
  */
31
45
  module.exports = {
32
46
  clearMocks: true,
33
- moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
47
+ moduleFileExtensions: [
48
+ 'ts',
49
+ 'tsx',
50
+ 'js',
51
+ 'jsx',
52
+ 'json',
53
+ 'node',
54
+ ],
34
55
  testEnvironment: 'node',
35
56
  //testMatch: ['**/*.test.ts', '**/*.spec.ts'],
36
57
  testMatch: void 0,
37
- testRegex: ['\\.(tests?|spec)\\.(ts|tsx)$'],
58
+ testRegex: [
59
+ `\\.(tests?|spec)\\.(${testExt})$`,
60
+ `__tests__\/\.*\\.(${testExt})$`,
61
+ ],
62
+ testPathIgnorePatterns: [
63
+ '/node_modules/',
64
+ '/__fixtures__/',
65
+ '/fixtures/',
66
+ '/__tests__/helpers/',
67
+ '/__tests__/utils/',
68
+ '__mocks__',
69
+ ],
38
70
  //testRunner: 'jest-circus/runner',
39
71
  setupFilesAfterEnv: [
40
72
  //"jest-chain",
@@ -52,6 +84,12 @@ module.exports = {
52
84
  */
53
85
  coverageProvider: 'v8',
54
86
  collectCoverage: false,
87
+ coveragePathIgnorePatterns: [
88
+ '/node_modules/',
89
+ '**/node_modules/',
90
+ '**/__snapshots__/',
91
+ '**/__tests__/',
92
+ ],
55
93
  /**
56
94
  * https://github.com/facebook/jest/issues/9771#issuecomment-872764344
57
95
  */
package/file/npmignore CHANGED
@@ -84,3 +84,11 @@ npm-shrinkwrap.json
84
84
  *.stat
85
85
  .vercel
86
86
  tsdx.config.js
87
+ /report.json
88
+
89
+ /_*/
90
+ _snowpack
91
+
92
+ /snowpack.config.js
93
+ web_modules
94
+ cz-adapter
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": "@bluelovers/tsconfig/tsdx/index.json",
3
+ "compilerOptions": {
4
+ "importHelpers": true,
5
+ }
6
+ }
package/lib/const.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { IStaticFilesMapArray } from './types';
2
- export declare const defaultCopyStaticFiles: IStaticFilesMapArray<"tsconfig.json.tpl" | "test/tsconfig.json.tpl" | "tsconfig.esm.json.tpl" | ".eslintrc.json.tpl" | "now.json.tpl" | ".npmrc.tpl" | "tsdx.config.js.tpl">;
2
+ export declare const defaultCopyStaticFiles: IStaticFilesMapArray<"tsconfig.json.tpl" | "test/tsconfig.json.tpl" | "tsconfig.esm.json.tpl" | "tsconfig.tsdx.json.tpl" | ".eslintrc.json.tpl" | "now.json.tpl" | ".npmrc.tpl" | "tsdx.config.js.tpl">;
3
3
  export declare const defaultCopyStaticFilesRootOnly: IStaticFilesMapArray<"tsconfig.json" | "lerna.json.tpl" | "pnpm-workspace.yaml.tpl">;
package/lib/const.js CHANGED
@@ -10,6 +10,7 @@ const _defaultCopyStaticFiles = [
10
10
  ['tsconfig.json.tpl', 'file/tsconfig.json.tpl', 'tsconfig.json'],
11
11
  ['test/tsconfig.json.tpl', 'file/test/tsconfig.json.tpl', 'test/tsconfig.json'],
12
12
  ['tsconfig.esm.json.tpl', 'file/tsconfig.esm.json.tpl', 'tsconfig.esm.json'],
13
+ ['tsconfig.tsdx.json.tpl', 'file/tsconfig.tsdx.json.tpl', 'tsconfig.tsdx.json'],
13
14
  ['.eslintrc.json.tpl', 'file/eslintrc.json.tpl', '.eslintrc.json'],
14
15
  ['README.md', 'file/README.md'],
15
16
  ['.nycrc', 'file/nycrc'],
package/lib/const.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"const.js","sourceRoot":"","sources":["const.ts"],"names":[],"mappings":";;;AAEA,MAAM,uBAAuB,GAAG;IAE/B,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAChC,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAEhC,CAAC,eAAe,EAAE,mBAAmB,CAAC;IAEtC,CAAC,QAAQ,EAAE,YAAY,CAAC;IACxB,CAAC,iBAAiB,EAAE,qBAAqB,CAAC;IAE1C,CAAC,mBAAmB,EAAE,wBAAwB,EAAE,eAAe,CAAC;IAEhE,CAAC,wBAAwB,EAAE,6BAA6B,EAAE,oBAAoB,CAAC;IAE/E,CAAC,uBAAuB,EAAE,4BAA4B,EAAE,mBAAmB,CAAC;IAE5E,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,gBAAgB,CAAC;IAElE,CAAC,WAAW,EAAE,gBAAgB,CAAC;IAE/B,CAAC,QAAQ,EAAE,YAAY,CAAC;IAExB,CAAC,cAAc,EAAE,kBAAkB,CAAC;IACpC,CAAC,gBAAgB,EAAE,qBAAqB,CAAC;IAEzC,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAEhC,CAAC,cAAc,EAAE,mBAAmB,EAAE,UAAU,CAAC;IAEjD,CAAC,YAAY,EAAE,YAAY,EAAE,QAAQ,CAAC;IAEtC,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,gBAAgB,CAAC;CAEtD,CAAC;AAEX,MAAM,+BAA+B,GAAG;IAEvC,CAAC,gBAAgB,EAAE,qBAAqB,EAAE,YAAY,CAAC;IAEvD,CAAC,yBAAyB,EAAE,0BAA0B,EAAE,qBAAqB,CAAC;IAE9E,CAAC,gCAAgC,EAAE,oCAAoC,CAAC;IAExE,CAAC,8CAA8C,EAAE,kDAAkD,CAAC;IAEpG,CAAC,eAAe,EAAE,wBAAwB,EAAE,eAAe,CAAC;CAEnD,CAAC;AAEE,QAAA,sBAAsB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAsE,CAAC;AAErI,QAAA,8BAA8B,GAAG,MAAM,CAAC,MAAM,CAAC,+BAA+B,CAA8E,CAAC","sourcesContent":["import { _Key, IStaticFilesKey, IStaticFilesMapArray } from './types';\n\nconst _defaultCopyStaticFiles = [\n\n\t['.npmignore', 'file/npmignore'],\n\t['.gitignore', 'file/gitignore'],\n\n\t['.eslintignore', 'file/eslintignore'],\n\n\t['.nvmrc', 'file/nvmrc'],\n\t['.browserslistrc', 'file/browserslistrc'],\n\n\t['tsconfig.json.tpl', 'file/tsconfig.json.tpl', 'tsconfig.json'],\n\n\t['test/tsconfig.json.tpl', 'file/test/tsconfig.json.tpl', 'test/tsconfig.json'],\n\n\t['tsconfig.esm.json.tpl', 'file/tsconfig.esm.json.tpl', 'tsconfig.esm.json'],\n\n\t['.eslintrc.json.tpl', 'file/eslintrc.json.tpl', '.eslintrc.json'],\n\n\t['README.md', 'file/README.md'],\n\n\t['.nycrc', 'file/nycrc'],\n\n\t['.mocharc.yml', 'file/mocharc.yml'],\n\t['jest.config.js', 'file/jest.config.js'],\n\n\t['.nowignore', 'file/nowignore'],\n\n\t['now.json.tpl', 'file/now.json.tpl', 'now.json'],\n\n\t['.npmrc.tpl', 'file/npmrc', '.npmrc'],\n\n\t['tsdx.config.js.tpl', 'file/tsdx.config.js', 'tsdx.config.js'],\n\n] as const;\n\nconst _defaultCopyStaticFilesRootOnly = [\n\n\t['lerna.json.tpl', 'file/lerna.json.tpl', 'lerna.json'],\n\n\t['pnpm-workspace.yaml.tpl', 'file/pnpm-workspace.yaml', 'pnpm-workspace.yaml'],\n\n\t['.github/workflows/coverage.yml', 'file/github/workflows/coverage.yml'],\n\n\t['.github/workflows/action-yarnlock-dedupe.yml', 'file/github/workflows/action-yarnlock-dedupe.yml'],\n\n\t['tsconfig.json', 'file/tsconfig.json.tpl', 'tsconfig.json'],\n\n] as const;\n\nexport const defaultCopyStaticFiles = Object.freeze(_defaultCopyStaticFiles) as any as IStaticFilesMapArray<_Key<typeof _defaultCopyStaticFiles>>;\n\nexport const defaultCopyStaticFilesRootOnly = Object.freeze(_defaultCopyStaticFilesRootOnly) as any as IStaticFilesMapArray<_Key<typeof _defaultCopyStaticFilesRootOnly>>;\n"]}
1
+ {"version":3,"file":"const.js","sourceRoot":"","sources":["const.ts"],"names":[],"mappings":";;;AAEA,MAAM,uBAAuB,GAAG;IAE/B,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAChC,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAEhC,CAAC,eAAe,EAAE,mBAAmB,CAAC;IAEtC,CAAC,QAAQ,EAAE,YAAY,CAAC;IACxB,CAAC,iBAAiB,EAAE,qBAAqB,CAAC;IAE1C,CAAC,mBAAmB,EAAE,wBAAwB,EAAE,eAAe,CAAC;IAEhE,CAAC,wBAAwB,EAAE,6BAA6B,EAAE,oBAAoB,CAAC;IAE/E,CAAC,uBAAuB,EAAE,4BAA4B,EAAE,mBAAmB,CAAC;IAE5E,CAAC,wBAAwB,EAAE,6BAA6B,EAAE,oBAAoB,CAAC;IAE/E,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,gBAAgB,CAAC;IAElE,CAAC,WAAW,EAAE,gBAAgB,CAAC;IAE/B,CAAC,QAAQ,EAAE,YAAY,CAAC;IAExB,CAAC,cAAc,EAAE,kBAAkB,CAAC;IACpC,CAAC,gBAAgB,EAAE,qBAAqB,CAAC;IAEzC,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAEhC,CAAC,cAAc,EAAE,mBAAmB,EAAE,UAAU,CAAC;IAEjD,CAAC,YAAY,EAAE,YAAY,EAAE,QAAQ,CAAC;IAEtC,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,gBAAgB,CAAC;CAEtD,CAAC;AAEX,MAAM,+BAA+B,GAAG;IAEvC,CAAC,gBAAgB,EAAE,qBAAqB,EAAE,YAAY,CAAC;IAEvD,CAAC,yBAAyB,EAAE,0BAA0B,EAAE,qBAAqB,CAAC;IAE9E,CAAC,gCAAgC,EAAE,oCAAoC,CAAC;IAExE,CAAC,8CAA8C,EAAE,kDAAkD,CAAC;IAEpG,CAAC,eAAe,EAAE,wBAAwB,EAAE,eAAe,CAAC;CAEnD,CAAC;AAEE,QAAA,sBAAsB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAsE,CAAC;AAErI,QAAA,8BAA8B,GAAG,MAAM,CAAC,MAAM,CAAC,+BAA+B,CAA8E,CAAC","sourcesContent":["import { _Key, IStaticFilesKey, IStaticFilesMapArray } from './types';\n\nconst _defaultCopyStaticFiles = [\n\n\t['.npmignore', 'file/npmignore'],\n\t['.gitignore', 'file/gitignore'],\n\n\t['.eslintignore', 'file/eslintignore'],\n\n\t['.nvmrc', 'file/nvmrc'],\n\t['.browserslistrc', 'file/browserslistrc'],\n\n\t['tsconfig.json.tpl', 'file/tsconfig.json.tpl', 'tsconfig.json'],\n\n\t['test/tsconfig.json.tpl', 'file/test/tsconfig.json.tpl', 'test/tsconfig.json'],\n\n\t['tsconfig.esm.json.tpl', 'file/tsconfig.esm.json.tpl', 'tsconfig.esm.json'],\n\n\t['tsconfig.tsdx.json.tpl', 'file/tsconfig.tsdx.json.tpl', 'tsconfig.tsdx.json'],\n\n\t['.eslintrc.json.tpl', 'file/eslintrc.json.tpl', '.eslintrc.json'],\n\n\t['README.md', 'file/README.md'],\n\n\t['.nycrc', 'file/nycrc'],\n\n\t['.mocharc.yml', 'file/mocharc.yml'],\n\t['jest.config.js', 'file/jest.config.js'],\n\n\t['.nowignore', 'file/nowignore'],\n\n\t['now.json.tpl', 'file/now.json.tpl', 'now.json'],\n\n\t['.npmrc.tpl', 'file/npmrc', '.npmrc'],\n\n\t['tsdx.config.js.tpl', 'file/tsdx.config.js', 'tsdx.config.js'],\n\n] as const;\n\nconst _defaultCopyStaticFilesRootOnly = [\n\n\t['lerna.json.tpl', 'file/lerna.json.tpl', 'lerna.json'],\n\n\t['pnpm-workspace.yaml.tpl', 'file/pnpm-workspace.yaml', 'pnpm-workspace.yaml'],\n\n\t['.github/workflows/coverage.yml', 'file/github/workflows/coverage.yml'],\n\n\t['.github/workflows/action-yarnlock-dedupe.yml', 'file/github/workflows/action-yarnlock-dedupe.yml'],\n\n\t['tsconfig.json', 'file/tsconfig.json.tpl', 'tsconfig.json'],\n\n] as const;\n\nexport const defaultCopyStaticFiles = Object.freeze(_defaultCopyStaticFiles) as any as IStaticFilesMapArray<_Key<typeof _defaultCopyStaticFiles>>;\n\nexport const defaultCopyStaticFilesRootOnly = Object.freeze(_defaultCopyStaticFilesRootOnly) as any as IStaticFilesMapArray<_Key<typeof _defaultCopyStaticFilesRootOnly>>;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yarn-tool/static-file",
3
- "version": "1.0.72",
3
+ "version": "1.0.77",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/bluelovers/ws-yarn-workspaces#readme",
6
6
  "bugs": {
@@ -26,10 +26,10 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "fs-extra": "^10.0.0",
29
- "tslib": "^2.3.0"
29
+ "tslib": "^2.3.1"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "0cea9254997c15b17c032a07b60f3aac45728020"
34
+ "gitHead": "6fabb75bc28d001babfb3c42a0afbc36384a2a9b"
35
35
  }