@yarn-tool/static-file 3.0.3 → 3.0.4
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 +16 -0
- package/file/github/dependabot.yml +39 -0
- package/file/github/workflows/action-yarnlock-dedupe.yml +3 -5
- package/file/github/workflows/build.yml +1 -0
- package/file/github/workflows/cmd-rebase.yml +28 -0
- package/file/github/workflows/codeql-analysis.yml +52 -0
- package/file/github/workflows/coverage.yml +2 -0
- package/file/github/workflows/linter.yml +57 -0
- package/file/github/workflows/yarn-lock-changes.yml +3 -0
- package/file/node-version +1 -0
- package/file/npmrc +2 -0
- package/file/test/temp.ts +4 -0
- package/lib/const.d.ts +3 -3
- package/lib/const.js +12 -0
- package/lib/const.js.map +1 -1
- package/package.json +2 -2
- package/file/test/__root.d.ts +0 -2
- package/file/test/__root.js +0 -7
- package/file/test/__root.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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
|
+
## [3.0.4](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@3.0.3...@yarn-tool/static-file@3.0.4) (2025-09-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### ⚙️ Continuous Integration
|
|
11
|
+
|
|
12
|
+
* comment - Automatic Rebase ([55fc9a2](https://github.com/bluelovers/ws-yarn-workspaces/commit/55fc9a20dbf31883cf36ece29a3dcb64cf2f024e))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### ♻️ Chores
|
|
16
|
+
|
|
17
|
+
* update pnpm config ([7b529b3](https://github.com/bluelovers/ws-yarn-workspaces/commit/7b529b37af6f53550025143a54714fa07013c6a4))
|
|
18
|
+
* add new static files ([994fcef](https://github.com/bluelovers/ws-yarn-workspaces/commit/994fcef7ae3af7d102cfa837bbf0678102b44910))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [3.0.3](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@3.0.2...@yarn-tool/static-file@3.0.3) (2024-05-03)
|
|
7
23
|
|
|
8
24
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# `dependabot.yml` file with updates
|
|
2
|
+
# disabled for Docker and limited for npm
|
|
3
|
+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates#example-disabling-version-updates-for-some-dependencies
|
|
4
|
+
|
|
5
|
+
version: 2
|
|
6
|
+
updates:
|
|
7
|
+
# Configuration for Dockerfile
|
|
8
|
+
- package-ecosystem: "docker"
|
|
9
|
+
directory: "/"
|
|
10
|
+
schedule:
|
|
11
|
+
interval: "weekly"
|
|
12
|
+
# Disable all pull requests for Docker dependencies
|
|
13
|
+
open-pull-requests-limit: 0
|
|
14
|
+
|
|
15
|
+
# Configuration for npm
|
|
16
|
+
- package-ecosystem: "npm"
|
|
17
|
+
directory: "/"
|
|
18
|
+
schedule:
|
|
19
|
+
interval: "weekly"
|
|
20
|
+
ignore:
|
|
21
|
+
# Ignore updates to packages that start with 'aws'
|
|
22
|
+
# Wildcards match zero or more arbitrary characters
|
|
23
|
+
- dependency-name: "aws*"
|
|
24
|
+
# Ignore some updates to the 'express' package
|
|
25
|
+
- dependency-name: "express"
|
|
26
|
+
# Ignore only new versions for 4.x and 5.x
|
|
27
|
+
versions: ["4.x", "5.x"]
|
|
28
|
+
# For all packages, ignore all patch updates
|
|
29
|
+
- dependency-name: "*"
|
|
30
|
+
update-types: ["version-update:semver-patch"]
|
|
31
|
+
open-pull-requests-limit: 0
|
|
32
|
+
-
|
|
33
|
+
package-ecosystem: "mix"
|
|
34
|
+
directory: "/"
|
|
35
|
+
schedule:
|
|
36
|
+
interval: "weekly"
|
|
37
|
+
# Disable version updates for hex dependencies
|
|
38
|
+
open-pull-requests-limit: 0
|
|
39
|
+
|
|
@@ -9,11 +9,6 @@ on:
|
|
|
9
9
|
# - next
|
|
10
10
|
# - canary
|
|
11
11
|
pull_request:
|
|
12
|
-
branches:
|
|
13
|
-
- master
|
|
14
|
-
- main
|
|
15
|
-
- next
|
|
16
|
-
- canary
|
|
17
12
|
paths:
|
|
18
13
|
- yarn.lock
|
|
19
14
|
|
|
@@ -23,6 +18,9 @@ jobs:
|
|
|
23
18
|
#if: "contains(github.event.head_commit.message, '[skip ci]')"
|
|
24
19
|
steps:
|
|
25
20
|
- uses: actions/checkout@v2
|
|
21
|
+
with:
|
|
22
|
+
fetch-depth: 2
|
|
23
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
26
24
|
- name: yarn.lock deduplication
|
|
27
25
|
uses: bluelovers/action-yarnlock-dedupe@v1
|
|
28
26
|
- name: commit yarn.lock
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
name: comment - Automatic Rebase
|
|
2
|
+
on:
|
|
3
|
+
issue_comment:
|
|
4
|
+
types: [ created ]
|
|
5
|
+
jobs:
|
|
6
|
+
rebase:
|
|
7
|
+
name: Rebase
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
if: >-
|
|
10
|
+
github.event.issue.pull_request != '' &&
|
|
11
|
+
(
|
|
12
|
+
contains(github.event.comment.body, '/rebase') ||
|
|
13
|
+
contains(github.event.comment.body, '/autosquash')
|
|
14
|
+
)
|
|
15
|
+
steps:
|
|
16
|
+
-
|
|
17
|
+
name: Checkout the latest code
|
|
18
|
+
uses: actions/checkout@v3
|
|
19
|
+
with:
|
|
20
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
21
|
+
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
|
|
22
|
+
-
|
|
23
|
+
name: Automatic Rebase
|
|
24
|
+
uses: cirrus-actions/rebase@1.8
|
|
25
|
+
with:
|
|
26
|
+
autosquash: ${{ contains(github.event.comment.body, '/autosquash') || contains(github.event.comment.body, '/rebase-autosquash') }}
|
|
27
|
+
env:
|
|
28
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
name: CodeQL
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
pull_request:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
push:
|
|
9
|
+
branches:
|
|
10
|
+
- main
|
|
11
|
+
schedule:
|
|
12
|
+
- cron: '31 7 * * 3'
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
actions: read
|
|
16
|
+
checks: write
|
|
17
|
+
contents: read
|
|
18
|
+
security-events: write
|
|
19
|
+
|
|
20
|
+
jobs:
|
|
21
|
+
analyze:
|
|
22
|
+
name: Analyze
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
|
25
|
+
|
|
26
|
+
strategy:
|
|
27
|
+
fail-fast: false
|
|
28
|
+
matrix:
|
|
29
|
+
language:
|
|
30
|
+
- TypeScript
|
|
31
|
+
|
|
32
|
+
steps:
|
|
33
|
+
- name: Checkout
|
|
34
|
+
id: checkout
|
|
35
|
+
uses: actions/checkout@v4
|
|
36
|
+
with:
|
|
37
|
+
fetch-depth: 2
|
|
38
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
39
|
+
- name: Initialize CodeQL
|
|
40
|
+
id: initialize
|
|
41
|
+
uses: github/codeql-action/init@v3
|
|
42
|
+
with:
|
|
43
|
+
languages: ${{ matrix.language }}
|
|
44
|
+
source-root: src
|
|
45
|
+
|
|
46
|
+
- name: Autobuild
|
|
47
|
+
id: autobuild
|
|
48
|
+
uses: github/codeql-action/autobuild@v3
|
|
49
|
+
|
|
50
|
+
- name: Perform CodeQL Analysis
|
|
51
|
+
id: analyze
|
|
52
|
+
uses: github/codeql-action/analyze@v3
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
name: Lint Codebase
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
pull_request:
|
|
6
|
+
branches:
|
|
7
|
+
- master
|
|
8
|
+
- main
|
|
9
|
+
push:
|
|
10
|
+
branches:
|
|
11
|
+
- master
|
|
12
|
+
- main
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
contents: read
|
|
16
|
+
packages: read
|
|
17
|
+
statuses: write
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
lint:
|
|
21
|
+
name: Lint Codebase
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
if: "0"
|
|
24
|
+
|
|
25
|
+
steps:
|
|
26
|
+
- name: Checkout
|
|
27
|
+
id: checkout
|
|
28
|
+
uses: actions/checkout@v4
|
|
29
|
+
with:
|
|
30
|
+
fetch-depth: 2
|
|
31
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
32
|
+
|
|
33
|
+
- name: Setup Node.js
|
|
34
|
+
id: setup-node
|
|
35
|
+
uses: actions/setup-node@v4
|
|
36
|
+
with:
|
|
37
|
+
node-version-file: .node-version
|
|
38
|
+
cache: npm
|
|
39
|
+
|
|
40
|
+
-
|
|
41
|
+
name: install deps
|
|
42
|
+
run: |
|
|
43
|
+
yarn install --frozen-lockfile
|
|
44
|
+
# yarn run ci:install
|
|
45
|
+
# yarn add -W typescript@next jest ts-jest ts-node ynpx lerna
|
|
46
|
+
|
|
47
|
+
- name: Lint Codebase
|
|
48
|
+
id: super-linter
|
|
49
|
+
uses: super-linter/super-linter/slim@v6
|
|
50
|
+
env:
|
|
51
|
+
DEFAULT_BRANCH: main
|
|
52
|
+
FILTER_REGEX_EXCLUDE: dist/**/*
|
|
53
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
54
|
+
TYPESCRIPT_DEFAULT_STYLE: prettier
|
|
55
|
+
VALIDATE_ALL_CODEBASE: true
|
|
56
|
+
VALIDATE_JAVASCRIPT_STANDARD: false
|
|
57
|
+
VALIDATE_JSCPD: false
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
name: Yarn Lock Changes
|
|
2
2
|
on:
|
|
3
|
+
workflow_dispatch:
|
|
3
4
|
pull_request:
|
|
4
5
|
paths:
|
|
5
6
|
- yarn.lock
|
|
@@ -17,6 +18,8 @@ jobs:
|
|
|
17
18
|
-
|
|
18
19
|
name: Checkout
|
|
19
20
|
uses: actions/checkout@v3
|
|
21
|
+
fetch-depth: 2
|
|
22
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
20
23
|
-
|
|
21
24
|
name: Yarn Lock Changes
|
|
22
25
|
# Please use `main` as version before the stable release will be published as `v1`.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
node
|
package/file/npmrc
CHANGED
package/lib/const.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _Key, IStaticFilesMapArray } from './types';
|
|
2
|
-
declare const _defaultCopyStaticFiles:
|
|
3
|
-
declare const _defaultCopyStaticFilesRootOnly:
|
|
4
|
-
declare const _defaultCopyStaticFilesWsRootOnly:
|
|
2
|
+
declare const _defaultCopyStaticFiles: [[".npmignore", "file/npmignore"], [".gitignore", "file/gitignore"], [".eslintignore", "file/eslintignore"], [".nvmrc", "file/nvmrc"], [".browserslistrc", "file/browserslistrc"], ["tsconfig.json.tpl", "file/tsconfig.json.tpl", "tsconfig.json"], ["test/tsconfig.json.tpl", "file/test/tsconfig.json.tpl", "test/tsconfig.json"], ["tsconfig.esm.json.tpl", "file/tsconfig.esm.json.tpl", "tsconfig.esm.json"], ["tsconfig.tsdx.json.tpl", "file/tsconfig.tsdx.json.tpl", "tsconfig.tsdx.json"], [".eslintrc.json.tpl", "file/eslintrc.json.tpl", ".eslintrc.json"], ["README.md", "file/README.md"], [".nycrc.tpl", "file/nycrc"], [".mocharc.yml.tpl", "file/mocharc.yml"], ["jest.config.js", "file/jest.config.auto.js"], [".nowignore", "file/nowignore"], ["now.json.tpl", "file/now.json.tpl", "now.json"], [".npmrc.tpl", "file/npmrc", ".npmrc"], ["tsdx.config.js.tpl", "file/tsdx.config.js", "tsdx.config.js"], ["tsc-multi.json.tpl", "file/tsc-multi.json.tpl", "tsc-multi.json"], ["test/__root.ts", "file/test/__root.ts"], ["test/fixtures/.gitkeep", "file/test/fixtures/.gitkeep"], ...["test/temp.ts", "file/test/temp.ts"][]];
|
|
3
|
+
declare const _defaultCopyStaticFilesRootOnly: [["lerna.json.tpl", "file/lerna.json.tpl", "lerna.json"], ["pnpm-workspace.yaml.tpl", "file/pnpm-workspace.yaml", "pnpm-workspace.yaml"], [".github/workflows/coverage.yml", "file/github/workflows/coverage.yml"], [".github/workflows/action-yarnlock-dedupe.yml", "file/github/workflows/action-yarnlock-dedupe.yml"], [".github/workflows/build.yml", "file/github/workflows/build.yml"], [".github/workflows/yarn-lock-changes.yml", "file/github/workflows/yarn-lock-changes.yml"], [".github/commit-convention.md", "file/github/commit-convention.md"], ...[".github/dependabot.yml" | ".github/workflows/codeql-analysis.yml" | ".github/workflows/cmd-rebase.yml", "file/github/dependabot.yml" | "file/github/workflows/codeql-analysis.yml" | "file/github/workflows/cmd-rebase.yml"][], [".node-version", "file/node-version"], ["tsconfig.json", "file/tsconfig.json.tpl", "tsconfig.json"], [".eslintrc.json", "file/eslintrc.json.tpl", ".eslintrc.json"], [".yarnrc.yml.tpl", "file/root/yarnrc.yml", ".yarnrc.yml"], ["jest.config.js", "file/jest.config.js"], ["jest.config.js.tpl", "file/jest.config.js"], ["jest.config.auto.js.tpl", "file/jest.config.auto.js"], [".editorconfig.tpl", "file/tpl.editorconfig"], [".editorconfig", "file/tpl.editorconfig"], ["global.tsdx.d.ts", "file/root/global.tsdx.d.ts"]];
|
|
4
|
+
declare const _defaultCopyStaticFilesWsRootOnly: [["lerna.json.tpl", "file/lerna.json.tpl"], ["pnpm-workspace.yaml", "file/pnpm-workspace.yaml"], ["tsconfig.json", "file/tsconfig.json.tpl"], ["tsc-multi.json.tpl", "file/tsc-multi.json.tpl", "tsc-multi.json"], ["__root_ws.ts", "file/ws-root/__root_ws.ts"], ["jest.config.js", "file/ws-root/jest.config.js"], ["jest-preset.js", "file/ws-root/jest-preset.js"], [".run/lerna_publish_yes.run.xml", "file/ws-root/.run/lerna_publish_yes.run.xml"]];
|
|
5
5
|
export declare const defaultCopyStaticFiles: IStaticFilesMapArray<_Key<typeof _defaultCopyStaticFiles>>;
|
|
6
6
|
export declare const defaultCopyStaticFilesRootOnly: IStaticFilesMapArray<_Key<typeof _defaultCopyStaticFilesRootOnly>>;
|
|
7
7
|
export declare const defaultCopyStaticFilesWsRootOnly: IStaticFilesMapArray<_Key<typeof _defaultCopyStaticFilesWsRootOnly>>;
|
package/lib/const.js
CHANGED
|
@@ -24,6 +24,12 @@ const _defaultCopyStaticFiles = [
|
|
|
24
24
|
['tsc-multi.json.tpl', 'file/tsc-multi.json.tpl', 'tsc-multi.json'],
|
|
25
25
|
['test/__root.ts', 'file/test/__root.ts'],
|
|
26
26
|
['test/fixtures/.gitkeep', 'file/test/fixtures/.gitkeep'],
|
|
27
|
+
...([
|
|
28
|
+
'temp.ts',
|
|
29
|
+
].map(file => [
|
|
30
|
+
`test/${file}`,
|
|
31
|
+
`file/test/${file}`
|
|
32
|
+
])),
|
|
27
33
|
//['changelog-option.js.tpl', 'file/changelog-option.js', 'changelog-option.js'],
|
|
28
34
|
];
|
|
29
35
|
const _defaultCopyStaticFilesRootOnly = [
|
|
@@ -34,6 +40,12 @@ const _defaultCopyStaticFilesRootOnly = [
|
|
|
34
40
|
['.github/workflows/build.yml', 'file/github/workflows/build.yml'],
|
|
35
41
|
['.github/workflows/yarn-lock-changes.yml', 'file/github/workflows/yarn-lock-changes.yml'],
|
|
36
42
|
['.github/commit-convention.md', 'file/github/commit-convention.md'],
|
|
43
|
+
...([
|
|
44
|
+
'dependabot.yml',
|
|
45
|
+
'workflows/codeql-analysis.yml',
|
|
46
|
+
'workflows/cmd-rebase.yml',
|
|
47
|
+
].map(file => [`.github/${file}`, `file/github/${file}`])),
|
|
48
|
+
['.node-version', 'file/node-version'],
|
|
37
49
|
['tsconfig.json', 'file/tsconfig.json.tpl', 'tsconfig.json'],
|
|
38
50
|
['.eslintrc.json', 'file/eslintrc.json.tpl', '.eslintrc.json'],
|
|
39
51
|
//['changelog-option.js', 'file/changelog-option.js', 'changelog-option.js.tpl'],
|
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,wBAAwB,EAAE,6BAA6B,EAAE,oBAAoB,CAAC;IAE/E,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,gBAAgB,CAAC;IAElE,CAAC,WAAW,EAAE,gBAAgB,CAAC;IAE/B,CAAC,YAAY,EAAE,YAAY,CAAC;IAE5B,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IACxC,4CAA4C;IAC5C,CAAC,gBAAgB,EAAE,0BAA0B,CAAC;IAE9C,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;IAE/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E,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;IAE7C,CAAC,gBAAgB,EAAE,6BAA6B,CAAC;IACjD,CAAC,gBAAgB,EAAE,6BAA6B,CAAC;IAEjD,CAAC,gCAAgC,EAAE,6CAA6C,CAAC;CAEjC,CAAC;AAErC,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, IStaticFilesMapArrayEntry } 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.tpl', 'file/nycrc'],\n\n\t['.mocharc.yml.tpl', 'file/mocharc.yml'],\n\t//['jest.config.js', 'file/jest.config.js'],\n\t['jest.config.js', 'file/jest.config.auto.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\t['test/fixtures/.gitkeep', 'file/test/fixtures/.gitkeep'],\n\n\t...(([\n\t\t'temp.ts',\n\t] as const).map(file => [\n\t\t`test/${file}`,\n\t\t`file/test/${file}`\n\t] as const satisfies IStaticFilesMapArrayEntry<string>)),\n\n\t//['changelog-option.js.tpl', 'file/changelog-option.js', 'changelog-option.js'],\n\n] as const satisfies IStaticFilesMapArray<string>;\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...(([\n\t\t'dependabot.yml',\n\t\t'workflows/codeql-analysis.yml',\n\t\t'workflows/cmd-rebase.yml',\n\t] as const).map(file => [`.github/${file}`, `file/github/${file}`] as const satisfies IStaticFilesMapArrayEntry<string>)),\n\n\t['.node-version', 'file/node-version'],\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\t['jest.config.js', 'file/jest.config.js'],\n\n\t['jest.config.js.tpl', 'file/jest.config.js'],\n\t['jest.config.auto.js.tpl', 'file/jest.config.auto.js'],\n\n\t['.editorconfig.tpl', 'file/tpl.editorconfig'],\n\t['.editorconfig', 'file/tpl.editorconfig'],\n\n\t['global.tsdx.d.ts', 'file/root/global.tsdx.d.ts'],\n\n] as const satisfies IStaticFilesMapArray<string>;\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\t['jest.config.js', 'file/ws-root/jest.config.js'],\n\t['jest-preset.js', 'file/ws-root/jest-preset.js'],\n\n\t['.run/lerna_publish_yes.run.xml', 'file/ws-root/.run/lerna_publish_yes.run.xml'],\n\n] as const satisfies IStaticFilesMapArray<string>;\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": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "https://github.com/bluelovers/ws-yarn-workspaces/tree/master/packages/@yarn-tool/static-file#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "ca7f14bdac1827ed8e8fe5fd0932ee56a44669dc"
|
|
42
42
|
}
|
package/file/test/__root.d.ts
DELETED
package/file/test/__root.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isWin = exports.__ROOT = void 0;
|
|
4
|
-
const path_1 = require("path");
|
|
5
|
-
exports.__ROOT = (0, path_1.join)(__dirname, '..');
|
|
6
|
-
exports.isWin = process.platform === "win32";
|
|
7
|
-
//# sourceMappingURL=__root.js.map
|
package/file/test/__root.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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"]}
|