@storm-software/workspace-tools 1.117.0 → 1.119.0
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/README.md +43 -8
- package/executors.json +5 -0
- package/index.js +11902 -5321
- package/meta.json +1 -1
- package/package.json +3 -1
- package/packages/config/src/schema.d.ts +2 -2
- package/packages/workspace-tools/index.d.ts +2 -0
- package/packages/workspace-tools/src/base/base-executor.d.ts +2 -4
- package/packages/workspace-tools/src/executors/clean-package/constants.d.ts +4 -0
- package/packages/workspace-tools/src/executors/clean-package/executor.d.ts +8 -0
- package/packages/workspace-tools/src/executors/clean-package/types.d.ts +8 -0
- package/packages/workspace-tools/src/executors/clean-package/utils.d.ts +4 -0
- package/packages/workspace-tools/src/executors/rolldown/executor.d.ts +1 -3
- package/packages/workspace-tools/src/executors/tsup/executor.d.ts +1 -3
- package/packages/workspace-tools/src/executors/tsup-browser/executor.d.ts +1 -3
- package/packages/workspace-tools/src/executors/tsup-neutral/executor.d.ts +1 -3
- package/packages/workspace-tools/src/executors/tsup-node/executor.d.ts +1 -3
- package/packages/workspace-tools/src/executors/typia/executor.d.ts +1 -3
- package/packages/workspace-tools/src/executors/unbuild/executor.d.ts +1 -3
- package/packages/workspace-tools/src/plugins/typescript/project-config.d.ts +1 -1
- package/src/base/index.js +4 -2
- package/src/executors/clean-package/executor.js +80083 -0
- package/src/executors/clean-package/schema.d.ts +10 -0
- package/src/executors/clean-package/schema.json +41 -0
- package/src/executors/rolldown/executor.js +4 -2
- package/src/executors/tsup/executor.js +4 -2
- package/src/executors/tsup-browser/executor.js +4 -2
- package/src/executors/tsup-neutral/executor.js +4 -2
- package/src/executors/tsup-node/executor.js +4 -2
- package/src/executors/typia/executor.js +4 -2
- package/src/executors/unbuild/executor.js +4 -2
- package/src/generators/browser-library/generator.js +2 -1
- package/src/generators/config-schema/generator.js +2 -1
- package/src/generators/neutral-library/generator.js +2 -1
- package/src/generators/node-library/generator.js +2 -1
- package/src/generators/preset/files/.github/CODEOWNERS +3 -1
- package/src/generators/preset/files/.github/dependabot.yml +49 -9
- package/src/generators/preset/files/.github/labels.yml +3 -0
- package/src/generators/preset/files/.github/renovate.json +4 -0
- package/src/generators/preset/files/.github/workflows/dependabot-update.yml +32 -0
- package/src/generators/preset/generator.js +2 -1
- package/src/generators/release-version/generator.js +2 -1
- package/src/plugins/rust/index.js +38 -7
- package/src/plugins/typescript/index.js +27 -1
- package/src/utils/index.js +2 -1
- package/src/generators/preset/files/.eslintignore +0 -21
- package/src/generators/preset/files/.github/workflows/dependabot-approve.yml +0 -24
- package/src/generators/preset/files/.prettierignore +0 -30
- package/src/generators/preset/files/.prettierrc.cjs +0 -9
package/src/utils/index.js
CHANGED
|
@@ -65395,7 +65395,7 @@ var init_schema = __esm({
|
|
|
65395
65395
|
ci: z2.boolean().default(true).describe(
|
|
65396
65396
|
"An indicator specifying if the current environment is a CI environment"
|
|
65397
65397
|
),
|
|
65398
|
-
workspaceRoot: z2.string().trim().
|
|
65398
|
+
workspaceRoot: z2.string().trim().default("").describe("The root directory of the workspace"),
|
|
65399
65399
|
packageDirectory: z2.string().trim().optional().describe("The root directory of the package"),
|
|
65400
65400
|
externalPackagePatterns: z2.array(z2.string()).default([]).describe(
|
|
65401
65401
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
@@ -68041,6 +68041,7 @@ var init_create_storm_config = __esm({
|
|
|
68041
68041
|
...config.colors
|
|
68042
68042
|
}
|
|
68043
68043
|
});
|
|
68044
|
+
result.workspaceRoot ??= defaultConfig.workspaceRoot ? defaultConfig.workspaceRoot : findWorkspaceRoot(workspaceRoot3);
|
|
68044
68045
|
} else {
|
|
68045
68046
|
result = _static_cache;
|
|
68046
68047
|
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
**/package.json/**
|
|
2
|
-
**/.wrangler/**
|
|
3
|
-
**/tamagui.css
|
|
4
|
-
**/workbox*.js
|
|
5
|
-
**/sw*.js
|
|
6
|
-
**/service-worker.js
|
|
7
|
-
**/fallback*.js
|
|
8
|
-
**/node_modules/**
|
|
9
|
-
**/dist/**
|
|
10
|
-
**/ios/**
|
|
11
|
-
**/.git/**
|
|
12
|
-
**/.android/**
|
|
13
|
-
**/.DS_Store/**
|
|
14
|
-
**/Thumbs.db/**
|
|
15
|
-
**/.tamagui*
|
|
16
|
-
.next/**
|
|
17
|
-
CODEOWNERS
|
|
18
|
-
dist/**
|
|
19
|
-
coverage/**
|
|
20
|
-
.nx/cache/**
|
|
21
|
-
**/src/generators/**/files/**/*
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# https://stackoverflow.com/q/70664840/590396
|
|
2
|
-
name: Dependabot auto-approve
|
|
3
|
-
on: pull_request_target
|
|
4
|
-
|
|
5
|
-
permissions:
|
|
6
|
-
contents: write
|
|
7
|
-
pull-requests: write
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
dependabot:
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]' || github.actor == 'Stormie-Bot' }}
|
|
13
|
-
steps:
|
|
14
|
-
- name: Approve a PR
|
|
15
|
-
run: gh pr review --approve "$PR_URL"
|
|
16
|
-
env:
|
|
17
|
-
PR_URL: ${{github.event.pull_request.html_url}}
|
|
18
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
19
|
-
|
|
20
|
-
- name: Enable auto-merge for Dependabot PRs
|
|
21
|
-
run: gh pr merge --auto --squash "$PR_URL"
|
|
22
|
-
env:
|
|
23
|
-
PR_URL: ${{github.event.pull_request.html_url}}
|
|
24
|
-
GITHUB_TOKEN: ${{ secrets.STORM_BOT_GITHUB_TOKEN }}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
.alexignore
|
|
2
|
-
.prettierignore
|
|
3
|
-
npm-lock.json
|
|
4
|
-
pnpm-lock.json
|
|
5
|
-
yarn.lock.json
|
|
6
|
-
npm-lock.yml
|
|
7
|
-
pnpm-lock.yml
|
|
8
|
-
yarn.lock.yml
|
|
9
|
-
npm-lock.yaml
|
|
10
|
-
pnpm-lock.yaml
|
|
11
|
-
yarn.lock.yaml
|
|
12
|
-
bun.lockb
|
|
13
|
-
|
|
14
|
-
**/.git/**
|
|
15
|
-
**/.docusaurus/**
|
|
16
|
-
**/dist/**
|
|
17
|
-
**/dotnet/**
|
|
18
|
-
**/node_modules/**
|
|
19
|
-
**/.next/**
|
|
20
|
-
**/tools/docker/**
|
|
21
|
-
**/__snapshots__/**
|
|
22
|
-
**/catalog-package/**
|
|
23
|
-
**/*.hbs
|
|
24
|
-
**/CODEOWNERS
|
|
25
|
-
**/CODE_OF_CONDUCT.md
|
|
26
|
-
**/CONTRIBUTING.md
|
|
27
|
-
**/LICENSE
|
|
28
|
-
**/LICENSE.md
|
|
29
|
-
**/LICENSE.txt
|
|
30
|
-
**/src/generators/**/files/**/*
|