@adbayb/stack 3.0.3 → 3.1.0-next-71c9741
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/configs/oxlint/index.ts +1 -0
- package/dist/configs/oxlint.d.ts +1 -0
- package/dist/configs/oxlint.js +1 -0
- package/dist/index.js +4 -4
- package/package.json +8 -8
- package/templates/multi-projects/.changeset/config.json +2 -4
- package/templates/multi-projects/.github/workflows/continuous_delivery.yml +6 -7
- package/templates/multi-projects/libraries/{{projectName}}/src/index.test.ts +2 -0
- package/templates/multi-projects/package.json +1 -1
- package/templates/multi-projects/pnpm-workspace.yaml +2 -0
- package/templates/single-project/.changeset/config.json +2 -4
- package/templates/single-project/.github/workflows/continuous_delivery.yml +6 -7
- package/templates/single-project/package.json +1 -1
- package/templates/single-project/pnpm-workspace.yaml +2 -0
- package/templates/single-project/{{projectName}}/src/index.test.ts +2 -0
package/configs/oxlint/index.ts
CHANGED
|
@@ -268,6 +268,7 @@ const config = defineConfig({
|
|
|
268
268
|
"node/no-process-env": "off",
|
|
269
269
|
"node/no-sync": "off",
|
|
270
270
|
"node/no-top-level-await": ["error", { ignoreBin: true }],
|
|
271
|
+
"one-var": "off",
|
|
271
272
|
"oxc/no-async-endpoint-handlers": "off",
|
|
272
273
|
"perfectionist/sort-imports": "off", // Already supported by Oxfmt
|
|
273
274
|
"perfectionist/sort-named-imports": "off", // Already supported by eslint/sort-imports
|
package/dist/configs/oxlint.d.ts
CHANGED
package/dist/configs/oxlint.js
CHANGED
|
@@ -276,6 +276,7 @@ const config = defineConfig({
|
|
|
276
276
|
"node/no-process-env": "off",
|
|
277
277
|
"node/no-sync": "off",
|
|
278
278
|
"node/no-top-level-await": ["error", { ignoreBin: true }],
|
|
279
|
+
"one-var": "off",
|
|
279
280
|
"oxc/no-async-endpoint-handlers": "off",
|
|
280
281
|
"perfectionist/sort-imports": "off",
|
|
281
282
|
"perfectionist/sort-named-imports": "off",
|
package/dist/index.js
CHANGED
|
@@ -442,7 +442,7 @@ const PRESERVE_FILES = ["node_modules"];
|
|
|
442
442
|
|
|
443
443
|
//#endregion
|
|
444
444
|
//#region package.json
|
|
445
|
-
var version = "3.0
|
|
445
|
+
var version = "3.1.0-next-71c9741";
|
|
446
446
|
|
|
447
447
|
//#endregion
|
|
448
448
|
//#region src/commands/create.ts
|
|
@@ -766,8 +766,8 @@ const createReleaseCommand = (program) => {
|
|
|
766
766
|
name: "empty-log",
|
|
767
767
|
description: "Add an empty changelog entry"
|
|
768
768
|
}).option({
|
|
769
|
-
key: "
|
|
770
|
-
name: "
|
|
769
|
+
key: "increment",
|
|
770
|
+
name: "increment",
|
|
771
771
|
description: "Bump the package(s) version"
|
|
772
772
|
}).option({
|
|
773
773
|
key: "publish",
|
|
@@ -790,7 +790,7 @@ const createReleaseCommand = (program) => {
|
|
|
790
790
|
helpers.message("Bumping the package(s) version\n");
|
|
791
791
|
await changeset("changeset version");
|
|
792
792
|
},
|
|
793
|
-
skip: ifNotEqualTo("
|
|
793
|
+
skip: ifNotEqualTo("increment")
|
|
794
794
|
}).task({
|
|
795
795
|
async handler() {
|
|
796
796
|
helpers.message("Publishing package(s) to the registry\n");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adbayb/stack",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0-next-71c9741",
|
|
4
4
|
"description": "My opinionated JavaScript-based toolchain",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"development",
|
|
@@ -51,18 +51,18 @@
|
|
|
51
51
|
"registry": "https://registry.npmjs.org"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@changesets/changelog-github": "^0.
|
|
55
|
-
"@changesets/cli": "^
|
|
56
|
-
"@commitlint/cli": "^21.2.
|
|
57
|
-
"@commitlint/config-conventional": "^21.2.
|
|
54
|
+
"@changesets/changelog-github": "^1.0.0",
|
|
55
|
+
"@changesets/cli": "^3.0.1",
|
|
56
|
+
"@commitlint/cli": "^21.2.2",
|
|
57
|
+
"@commitlint/config-conventional": "^21.2.2",
|
|
58
58
|
"@e18e/eslint-plugin": "^0.8.0",
|
|
59
59
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
60
60
|
"eslint-plugin-perfectionist": "^5.10.1",
|
|
61
|
-
"oxfmt": "^0.
|
|
62
|
-
"oxlint": "^1.
|
|
61
|
+
"oxfmt": "^0.64.0",
|
|
62
|
+
"oxlint": "^1.79.0",
|
|
63
63
|
"oxlint-tsgolint": "^7.0.2001",
|
|
64
64
|
"termost": "^1.9.2",
|
|
65
|
-
"turbo": "^2.10.
|
|
65
|
+
"turbo": "^2.10.11",
|
|
66
66
|
"typescript": "^6.0.3"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
"changelog": ["@changesets/changelog-github", { "repo": "{{repoId}}" }],
|
|
6
6
|
"commit": false,
|
|
7
7
|
"ignore": ["@examples/*"],
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
"version": true
|
|
11
|
-
},
|
|
8
|
+
"format": false,
|
|
9
|
+
"privatePackages": true,
|
|
12
10
|
"updateInternalDependencies": "patch",
|
|
13
11
|
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
|
|
14
12
|
"onlyUpdatePeerDependentsWhenOutOfRange": true,
|
|
@@ -34,11 +34,10 @@ jobs:
|
|
|
34
34
|
node -e "const fs=require('fs'),pkg=JSON.parse(fs.readFileSync('package.json'));pkg.version=pkg.version+'-next-${GITHUB_SHA::7}';fs.writeFileSync('package.json',JSON.stringify(pkg,null,2)+'\n');"
|
|
35
35
|
pnpm --filter="!." --filter="!./applications/*" --filter="!./examples/*" --filter="!./tools/*" --recursive exec pnpm publish --tag next --no-git-checks
|
|
36
36
|
- name: Publish stable version(s)
|
|
37
|
-
uses: changesets/action@
|
|
37
|
+
uses: changesets/action@8488615a623b1b9c987934bb89eae8af6a946ac1 # v2.1.1
|
|
38
38
|
with:
|
|
39
|
-
commit: "chore: release package(s)"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
publish: pnpm release:publish
|
|
43
|
-
|
|
44
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
39
|
+
commit-message: "chore: release package(s)"
|
|
40
|
+
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
41
|
+
pr-title: "chore: release package(s)"
|
|
42
|
+
publish-script: pnpm release:publish
|
|
43
|
+
version-script: pnpm release:version
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"install": "stack install",
|
|
12
12
|
"release:log": "stack release --log",
|
|
13
13
|
"release:publish": "stack release --publish",
|
|
14
|
-
"release:version": "stack release --
|
|
14
|
+
"release:version": "stack release --increment",
|
|
15
15
|
"start": "stack start",
|
|
16
16
|
"test": "stack test",
|
|
17
17
|
"watch": "stack watch"
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
"changelog": ["@changesets/changelog-github", { "repo": "{{repoId}}" }],
|
|
6
6
|
"commit": false,
|
|
7
7
|
"ignore": ["@examples/*"],
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
"version": true
|
|
11
|
-
},
|
|
8
|
+
"format": false,
|
|
9
|
+
"privatePackages": true,
|
|
12
10
|
"updateInternalDependencies": "patch",
|
|
13
11
|
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
|
|
14
12
|
"onlyUpdatePeerDependentsWhenOutOfRange": true,
|
|
@@ -34,11 +34,10 @@ jobs:
|
|
|
34
34
|
node -e "const fs=require('fs'),pkg=JSON.parse(fs.readFileSync('package.json'));pkg.version=pkg.version+'-next-${GITHUB_SHA::7}';fs.writeFileSync('package.json',JSON.stringify(pkg,null,2)+'\n');"
|
|
35
35
|
pnpm --filter="!." --filter="!./applications/*" --filter="!./examples/*" --filter="!./tools/*" --recursive exec pnpm publish --tag next --no-git-checks
|
|
36
36
|
- name: Publish stable version(s)
|
|
37
|
-
uses: changesets/action@
|
|
37
|
+
uses: changesets/action@8488615a623b1b9c987934bb89eae8af6a946ac1 # v2.1.1
|
|
38
38
|
with:
|
|
39
|
-
commit: "chore: release package(s)"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
publish: pnpm release:publish
|
|
43
|
-
|
|
44
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
39
|
+
commit-message: "chore: release package(s)"
|
|
40
|
+
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
41
|
+
pr-title: "chore: release package(s)"
|
|
42
|
+
publish-script: pnpm release:publish
|
|
43
|
+
version-script: pnpm release:version
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"install": "stack install",
|
|
12
12
|
"release:log": "stack release --log",
|
|
13
13
|
"release:publish": "stack release --publish",
|
|
14
|
-
"release:version": "stack release --
|
|
14
|
+
"release:version": "stack release --increment",
|
|
15
15
|
"start": "stack start",
|
|
16
16
|
"test": "stack test",
|
|
17
17
|
"watch": "stack watch"
|