@yarn-tool/static-file 1.0.100 → 2.0.1

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,93 @@
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
+ ## [2.0.1](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@2.0.0...@yarn-tool/static-file@2.0.1) (2022-07-11)
7
+
8
+
9
+ ### ✨ Features
10
+
11
+ * Yarn Lock Changes ([0c3f6fc](https://github.com/bluelovers/ws-yarn-workspaces/commit/0c3f6fc1ec95dc310007958008e39b1d09b22e86))
12
+
13
+
14
+ ### 🔖 Miscellaneous
15
+
16
+ * . ([eb33254](https://github.com/bluelovers/ws-yarn-workspaces/commit/eb33254943fd54d5fe54f9c36989670ec0e44d1b))
17
+ * . ([9bf581b](https://github.com/bluelovers/ws-yarn-workspaces/commit/9bf581bf4951c76d9556e04f3c8c84989b217ba4))
18
+
19
+
20
+
21
+
22
+
23
+ # [2.0.0](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.103...@yarn-tool/static-file@2.0.0) (2022-07-07)
24
+
25
+
26
+ ### ✨ Features
27
+
28
+ * add `.yarnrc.yml` ([e611e7c](https://github.com/bluelovers/ws-yarn-workspaces/commit/e611e7ccf502b603b47a630d6266c56084875e81))
29
+
30
+
31
+
32
+
33
+
34
+ ## [1.0.103](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.100...@yarn-tool/static-file@1.0.103) (2022-06-28)
35
+
36
+
37
+ ### 🐛 Bug Fixes
38
+
39
+ * coverage.yml ([dc21ac9](https://github.com/bluelovers/ws-yarn-workspaces/commit/dc21ac92c237a00246ef0afcc795626764c748c6))
40
+
41
+
42
+ ### ✨ Features
43
+
44
+ * update config ([c9add90](https://github.com/bluelovers/ws-yarn-workspaces/commit/c9add90cb2a68d9f7345e4362d5187a2f82a9dc3))
45
+
46
+
47
+ ### 🔖 Miscellaneous
48
+
49
+ * . ([80be3f2](https://github.com/bluelovers/ws-yarn-workspaces/commit/80be3f28b36c30cad697d291a26b4c4fa523efc5))
50
+ * . ([a28d30b](https://github.com/bluelovers/ws-yarn-workspaces/commit/a28d30bbb9879efbf0483c362b56eb6fd1f1108b))
51
+
52
+
53
+
54
+
55
+
56
+ ## [1.0.102](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.100...@yarn-tool/static-file@1.0.102) (2022-06-28)
57
+
58
+
59
+ ### 🐛 Bug Fixes
60
+
61
+ * coverage.yml ([dc21ac9](https://github.com/bluelovers/ws-yarn-workspaces/commit/dc21ac92c237a00246ef0afcc795626764c748c6))
62
+
63
+
64
+ ### ✨ Features
65
+
66
+ * update config ([c9add90](https://github.com/bluelovers/ws-yarn-workspaces/commit/c9add90cb2a68d9f7345e4362d5187a2f82a9dc3))
67
+
68
+
69
+ ### 🔖 Miscellaneous
70
+
71
+ * . ([a28d30b](https://github.com/bluelovers/ws-yarn-workspaces/commit/a28d30bbb9879efbf0483c362b56eb6fd1f1108b))
72
+
73
+
74
+
75
+
76
+
77
+ ## [1.0.101](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.100...@yarn-tool/static-file@1.0.101) (2022-06-28)
78
+
79
+
80
+ ### 🐛 Bug Fixes
81
+
82
+ * coverage.yml ([dc21ac9](https://github.com/bluelovers/ws-yarn-workspaces/commit/dc21ac92c237a00246ef0afcc795626764c748c6))
83
+
84
+
85
+ ### ✨ Features
86
+
87
+ * update config ([c9add90](https://github.com/bluelovers/ws-yarn-workspaces/commit/c9add90cb2a68d9f7345e4362d5187a2f82a9dc3))
88
+
89
+
90
+
91
+
92
+
6
93
  ## [1.0.100](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@1.0.99...@yarn-tool/static-file@1.0.100) (2022-05-11)
7
94
 
8
95
 
@@ -0,0 +1,91 @@
1
+ ## Git Commit Message Convention
2
+
3
+ > This is adapted from [bluelovers's commit convention](https://github.com/bluelovers/conventional-changelog-bluelovers).
4
+
5
+ ### TL;DR:
6
+
7
+ 提交信息必須滿足以下正則表達式:
8
+
9
+ ```js
10
+ /^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip|dep)(\(.+\))?: .{1,50}/
11
+ ```
12
+
13
+ ### Changelog
14
+
15
+ 後續會從 commit 信息自動生成 changelog
16
+
17
+ - feat: 新增/修改功能 (feature)。
18
+ - fix: 修補 bug (bug fix)。
19
+ - docs: 文件 (documentation)。
20
+ - style: 格式 (不影響程式碼運行的變動 white-space, formatting, missing semi colons, etc)。
21
+ - refactor: 重構 (既不是新增功能,也不是修補 bug 的程式碼變動)。
22
+ - perf: 改善效能 (A code change that improves performance)。
23
+ - test: 增加測試 (when adding missing tests)。
24
+ - chore: 建構程序或輔助工具的變動 (maintain)。
25
+ - revert: 撤銷回覆先前的 commit 例如:revert: type(scope): subject (回覆版本:xxxx)。
26
+
27
+ #### 注意
28
+
29
+ - 如果一次修改涉及到多個類型,選擇最貼切的。
30
+ - 對於涉及到某個或多個 issue 的修改,請在提交信息中附帶 `close #1234` 格式的標註。
31
+
32
+ ## Examples
33
+
34
+ ### 包含描述以及頁腳有重大變更的提交說明
35
+
36
+ ```conventionalcommit
37
+ feat: allow provided config object to extend other configs
38
+
39
+ BREAKING CHANGE: `extends` key in config file is now used for extending other config files
40
+ ```
41
+
42
+ ### 包含用以提示重大變更的 `!` 的提交說明
43
+
44
+ ```conventionalcommit
45
+ feat!: send an email to the customer when a product is shipped
46
+ ```
47
+
48
+ ### 包含作用範圍和提示重大變更的 `!` 的提交說明
49
+
50
+ ```conventionalcommit
51
+ feat(api)!: send an email to the customer when a product is shipped
52
+ ```
53
+
54
+ ### 包含 `!` 以及頁腳有重大變更的提交說明
55
+
56
+ ```conventionalcommit
57
+ chore!: drop support for Node 6
58
+
59
+ BREAKING CHANGE: use JavaScript features not available in Node 6.
60
+ ```
61
+
62
+ ### 不包含正文的提交說明
63
+
64
+ ```conventionalcommit
65
+ docs: correct spelling of CHANGELOG
66
+ ```
67
+
68
+ ### 包含作用範圍的提交說明
69
+
70
+ ```conventionalcommit
71
+ feat(lang): add polish language
72
+ ```
73
+
74
+ ### 正文有多段落以及有多個頁腳的提交說明
75
+
76
+ ```conventionalcommit
77
+ fix: prevent racing of requests
78
+
79
+ Introduce a request id and a reference to latest request. Dismiss
80
+ incoming responses other than from latest request.
81
+
82
+ Remove timeouts which were used to mitigate the racing issue but are
83
+ obsolete now.
84
+
85
+ Reviewed-by: Z
86
+ Refs: #123
87
+ ```
88
+
89
+ ## Reference
90
+
91
+ - https://www.conventionalcommits.org/zh-hant
@@ -14,6 +14,8 @@ on:
14
14
  - main
15
15
  - next
16
16
  - canary
17
+ paths:
18
+ - yarn.lock
17
19
 
18
20
  jobs:
19
21
  build:
@@ -38,7 +38,7 @@ jobs:
38
38
  # threshold: 80 # optional parameter
39
39
  test-script: npx jest --silent --ci --coverage=false --coverageReporters="text" --coverageReporters="text-summary"
40
40
  - name: Upload coverage to Codecov
41
- uses: codecov/codecov-action@master
42
- with:
43
- token: ${{ secrets.CODECOV_TOKEN }}
44
- verbose: true
41
+ uses: codecov/codecov-action@master
42
+ with:
43
+ token: ${{ secrets.CODECOV_TOKEN }}
44
+ verbose: true
@@ -0,0 +1,30 @@
1
+ name: Yarn Lock Changes
2
+ on:
3
+ pull_request:
4
+ paths:
5
+ - yarn.lock
6
+ # push:
7
+ # paths:
8
+ # - yarn.lock
9
+
10
+ jobs:
11
+ yarn_lock_changes:
12
+ runs-on: ubuntu-latest
13
+ # Permission overwrite is required for Dependabot PRs, see "Common issues" below.
14
+ permissions:
15
+ pull-requests: write
16
+ steps:
17
+ -
18
+ name: Checkout
19
+ uses: actions/checkout@v3
20
+ -
21
+ name: Yarn Lock Changes
22
+ # Please use `main` as version before the stable release will be published as `v1`.
23
+ uses: Simek/yarn-lock-changes@main
24
+ with:
25
+ token: ${{ secrets.GITHUB_TOKEN }}
26
+ # Optional inputs, can be deleted safely if you are happy with default values.
27
+ collapsibleThreshold: 25
28
+ failOnDowngrade: false
29
+ path: yarn.lock
30
+ updateComment: true
package/file/gitignore CHANGED
@@ -213,3 +213,5 @@ jest.config.js.map
213
213
  _snowpack
214
214
  web_modules
215
215
  tsc-multi.json.tpl
216
+
217
+ dist/*.umd.*.*s
package/file/npmignore CHANGED
@@ -122,3 +122,6 @@ tsc-multi.json.tpl
122
122
  tsc-multi.json
123
123
 
124
124
  changelog-option.js
125
+
126
+ bin/tsconfig.json
127
+ bin/tsconfig.*.json
@@ -0,0 +1,2 @@
1
+ #npmRegistryServer: "https://registry.npmjs.org/"
2
+ nodeLinker: node-modules
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "extends": "../tsconfig.json",
3
3
  "compilerOptions": {
4
- "module": "node12",
4
+ "module": "NodeNext",
5
5
  "noEmit": true,
6
6
  "declaration": false,
7
7
  "noUnusedParameters": false,
package/lib/const.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { IStaticFilesMapArray } from './types';
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" | "tsc-multi.json.tpl" | "changelog-option.js.tpl">;
3
- export declare const defaultCopyStaticFilesRootOnly: IStaticFilesMapArray<"tsconfig.json" | ".eslintrc.json" | "changelog-option.js" | "lerna.json.tpl" | "pnpm-workspace.yaml.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" | "tsc-multi.json.tpl">;
3
+ export declare const defaultCopyStaticFilesRootOnly: IStaticFilesMapArray<"tsconfig.json" | ".eslintrc.json" | "lerna.json.tpl" | "pnpm-workspace.yaml.tpl" | ".yarnrc.yml.tpl">;
4
4
  export declare const defaultCopyStaticFilesWsRootOnly: IStaticFilesMapArray<"tsc-multi.json.tpl">;
package/lib/const.js CHANGED
@@ -23,7 +23,7 @@ const _defaultCopyStaticFiles = [
23
23
  ['tsc-multi.json.tpl', 'file/tsc-multi.json.tpl', 'tsc-multi.json'],
24
24
  ['test/__root.ts', 'file/test/__root.ts'],
25
25
  ['.editorconfig.tpl', 'file/tpl.editorconfig'],
26
- ['changelog-option.js.tpl', 'file/changelog-option.js', 'changelog-option.js'],
26
+ //['changelog-option.js.tpl', 'file/changelog-option.js', 'changelog-option.js'],
27
27
  ];
28
28
  const _defaultCopyStaticFilesRootOnly = [
29
29
  ['lerna.json.tpl', 'file/lerna.json.tpl', 'lerna.json'],
@@ -31,9 +31,12 @@ const _defaultCopyStaticFilesRootOnly = [
31
31
  ['.github/workflows/coverage.yml', 'file/github/workflows/coverage.yml'],
32
32
  ['.github/workflows/action-yarnlock-dedupe.yml', 'file/github/workflows/action-yarnlock-dedupe.yml'],
33
33
  ['.github/workflows/build.yml', 'file/github/workflows/build.yml'],
34
+ ['.github/workflows/yarn-lock-changes.yml', 'file/github/workflows/yarn-lock-changes.yml'],
35
+ ['.github/commit-convention.md', 'file/github/commit-convention.md'],
34
36
  ['tsconfig.json', 'file/tsconfig.json.tpl', 'tsconfig.json'],
35
37
  ['.eslintrc.json', 'file/eslintrc.json.tpl', '.eslintrc.json'],
36
- ['changelog-option.js', 'file/changelog-option.js', 'changelog-option.js.tpl'],
38
+ //['changelog-option.js', 'file/changelog-option.js', 'changelog-option.js.tpl'],
39
+ ['.yarnrc.yml.tpl', 'file/root/yarnrc.yml', '.yarnrc.yml'],
37
40
  ];
38
41
  const _defaultCopyStaticFilesWsRootOn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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,6BAA6B,EAAE,iCAAiC,CAAC;IAElE,CAAC,eAAe,EAAE,wBAAwB,EAAE,eAAe,CAAC;IAE5D,CAAC,gBAAgB,EAAE,wBAAwB,EAAE,gBAAgB,CAAC;IAE9D,CAAC,qBAAqB,EAAE,0BAA0B,EAAE,yBAAyB,CAAC;CAErE,CAAC;AAEX,MAAM,iCAAiC,GAAG;IAEzC,CAAC,gBAAgB,EAAE,qBAAqB,CAAC;IAEzC,CAAC,qBAAqB,EAAE,0BAA0B,CAAC;IAEnD,CAAC,eAAe,EAAE,wBAAwB,CAAC;IAE3C,CAAC,oBAAoB,EAAE,yBAAyB,EAAE,gBAAgB,CAAC;IAEnE,CAAC,cAAc,EAAE,2BAA2B,CAAC;CAEpC,CAAC;AAEE,QAAA,sBAAsB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAsE,CAAC;AAErI,QAAA,8BAA8B,GAAG,MAAM,CAAC,MAAM,CAAC,+BAA+B,CAA8E,CAAC;AAE7J,QAAA,gCAAgC,GAAG,MAAM,CAAC,MAAM,CAAC,iCAAiC,CAAgF,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\t['tsc-multi.json.tpl', 'file/tsc-multi.json.tpl', 'tsc-multi.json'],\n\n\t['test/__root.ts', 'file/test/__root.ts'],\n\n\t['.editorconfig.tpl', 'file/tpl.editorconfig'],\n\n\t['changelog-option.js.tpl', 'file/changelog-option.js', 'changelog-option.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['.github/workflows/build.yml', 'file/github/workflows/build.yml'],\n\n\t['tsconfig.json', 'file/tsconfig.json.tpl', 'tsconfig.json'],\n\n\t['.eslintrc.json', 'file/eslintrc.json.tpl', '.eslintrc.json'],\n\n\t['changelog-option.js', 'file/changelog-option.js', 'changelog-option.js.tpl'],\n\n] as const;\n\nconst _defaultCopyStaticFilesWsRootOnly = [\n\n\t['lerna.json.tpl', 'file/lerna.json.tpl'],\n\n\t['pnpm-workspace.yaml', 'file/pnpm-workspace.yaml'],\n\n\t['tsconfig.json', 'file/tsconfig.json.tpl'],\n\n\t['tsc-multi.json.tpl', 'file/tsc-multi.json.tpl', 'tsc-multi.json'],\n\n\t['__root_ws.ts', 'file/ws-root/__root_ws.ts'],\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\nexport const defaultCopyStaticFilesWsRootOnly = Object.freeze(_defaultCopyStaticFilesWsRootOnly) as any as IStaticFilesMapArray<_Key<typeof _defaultCopyStaticFilesWsRootOnly>>;\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,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A,8BAA8B,GAAG,MAAM,CAAC,MAAM,CAAC,+BAA+B,CAA8E,CAAC;AAE7J,QAAA,gCAAgC,GAAG,MAAM,CAAC,MAAM,CAAC,iCAAiC,CAAgF,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\t['tsc-multi.json.tpl', 'file/tsc-multi.json.tpl', 'tsc-multi.json'],\n\n\t['test/__root.ts', 'file/test/__root.ts'],\n\n\t['.editorconfig.tpl', 'file/tpl.editorconfig'],\n\n\t//['changelog-option.js.tpl', 'file/changelog-option.js', 'changelog-option.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['.github/workflows/build.yml', 'file/github/workflows/build.yml'],\n\n\t['.github/workflows/yarn-lock-changes.yml', 'file/github/workflows/yarn-lock-changes.yml'],\n\n\t['.github/commit-convention.md', 'file/github/commit-convention.md'],\n\n\t['tsconfig.json', 'file/tsconfig.json.tpl', 'tsconfig.json'],\n\n\t['.eslintrc.json', 'file/eslintrc.json.tpl', '.eslintrc.json'],\n\n\t//['changelog-option.js', 'file/changelog-option.js', 'changelog-option.js.tpl'],\n\n\t['.yarnrc.yml.tpl', 'file/root/yarnrc.yml', '.yarnrc.yml'],\n\n] as const;\n\nconst _defaultCopyStaticFilesWsRootOnly = [\n\n\t['lerna.json.tpl', 'file/lerna.json.tpl'],\n\n\t['pnpm-workspace.yaml', 'file/pnpm-workspace.yaml'],\n\n\t['tsconfig.json', 'file/tsconfig.json.tpl'],\n\n\t['tsc-multi.json.tpl', 'file/tsc-multi.json.tpl', 'tsc-multi.json'],\n\n\t['__root_ws.ts', 'file/ws-root/__root_ws.ts'],\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\nexport const defaultCopyStaticFilesWsRootOnly = Object.freeze(_defaultCopyStaticFilesWsRootOnly) as any as IStaticFilesMapArray<_Key<typeof _defaultCopyStaticFilesWsRootOnly>>;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yarn-tool/static-file",
3
- "version": "1.0.100",
3
+ "version": "2.0.1",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/bluelovers/ws-yarn-workspaces/tree/master/packages/@yarn-tool/static-file#readme",
6
6
  "bugs": {
@@ -31,5 +31,5 @@
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "58acad356d9aeaa8fcdf2455741991b89b38a751"
34
+ "gitHead": "0a462dc70d1d9db42c7df96540249bf05a93f283"
35
35
  }