@adbayb/stack 2.34.0 → 2.35.0-next-4048dfb
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/dist/index.js
CHANGED
|
@@ -195,8 +195,12 @@ const createBuildCommand = (program)=>{
|
|
|
195
195
|
const checkChangelog = async ()=>{
|
|
196
196
|
try {
|
|
197
197
|
return await helpers.exec("changeset status --since=origin/main");
|
|
198
|
-
} catch
|
|
199
|
-
throw createError("changeset",
|
|
198
|
+
} catch {
|
|
199
|
+
throw createError("changeset", [
|
|
200
|
+
"Some packages have been changed but no changelogs were found.",
|
|
201
|
+
"Run `pnpm stack release --log` to log your change(s).",
|
|
202
|
+
"If the change doesn't require a changelog, you can run `pnpm stack release --empty-log`."
|
|
203
|
+
].join("\n"));
|
|
200
204
|
}
|
|
201
205
|
};
|
|
202
206
|
|
|
@@ -463,7 +467,7 @@ const PRESERVE_FILES = [
|
|
|
463
467
|
"node_modules"
|
|
464
468
|
];
|
|
465
469
|
|
|
466
|
-
var version = "2.
|
|
470
|
+
var version = "2.35.0-next-4048dfb";
|
|
467
471
|
|
|
468
472
|
const createCreateCommand = (program)=>{
|
|
469
473
|
program.command({
|
|
@@ -729,6 +733,10 @@ const createReleaseCommand = (program)=>{
|
|
|
729
733
|
description: "Add a new changelog entry",
|
|
730
734
|
key: "log",
|
|
731
735
|
name: "log"
|
|
736
|
+
}).option({
|
|
737
|
+
description: "Add an empty changelog entry",
|
|
738
|
+
key: "emptyLog",
|
|
739
|
+
name: "empty-log"
|
|
732
740
|
}).option({
|
|
733
741
|
description: "Bump the package(s) version",
|
|
734
742
|
key: "tag",
|
|
@@ -743,6 +751,12 @@ const createReleaseCommand = (program)=>{
|
|
|
743
751
|
await changeset("changeset");
|
|
744
752
|
},
|
|
745
753
|
skip: ifNotEqualTo("log")
|
|
754
|
+
}).task({
|
|
755
|
+
async handler () {
|
|
756
|
+
helpers.message("New empty changelog entry\n");
|
|
757
|
+
await changeset("changeset --empty");
|
|
758
|
+
},
|
|
759
|
+
skip: ifNotEqualTo("emptyLog")
|
|
746
760
|
}).task({
|
|
747
761
|
async handler () {
|
|
748
762
|
helpers.message("Bumping the package(s) version\n");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adbayb/stack",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.35.0-next-4048dfb",
|
|
4
4
|
"description": "My opinionated JavaScript-based toolchain",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stack",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@eslint/compat": "^2.1.0",
|
|
48
48
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
49
49
|
"@vitest/eslint-plugin": "^1.6.17",
|
|
50
|
-
"eslint": "^10.
|
|
50
|
+
"eslint": "^10.4.0",
|
|
51
51
|
"eslint-config-prettier": "^10.1.8",
|
|
52
52
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
53
53
|
"eslint-plugin-depend": "^1.5.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"prettier": "^3.8.3",
|
|
65
65
|
"prettier-plugin-packagejson": "^3.0.2",
|
|
66
66
|
"termost": "^1.9.0",
|
|
67
|
-
"turbo": "^2.9.
|
|
67
|
+
"turbo": "^2.9.14",
|
|
68
68
|
"typescript": "^6.0.3",
|
|
69
69
|
"typescript-eslint": "^8.59.3"
|
|
70
70
|
},
|
|
@@ -18,17 +18,7 @@
|
|
|
18
18
|
"source.removeUnusedImports": "never",
|
|
19
19
|
"source.sortImports": "never"
|
|
20
20
|
},
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"grammarly.selectors": [
|
|
25
|
-
{
|
|
26
|
-
"language": "mdx",
|
|
27
|
-
"scheme": "file"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"language": "md",
|
|
31
|
-
"scheme": "file"
|
|
32
|
-
}
|
|
33
|
-
]
|
|
21
|
+
"js/ts.tsdk.path": "node_modules/typescript/lib",
|
|
22
|
+
"js/ts.tsdk.promptToUseWorkspaceVersion": true,
|
|
23
|
+
"workbench.editor.labelFormat": "short"
|
|
34
24
|
}
|
|
@@ -18,17 +18,7 @@
|
|
|
18
18
|
"source.removeUnusedImports": "never",
|
|
19
19
|
"source.sortImports": "never"
|
|
20
20
|
},
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"grammarly.selectors": [
|
|
25
|
-
{
|
|
26
|
-
"language": "mdx",
|
|
27
|
-
"scheme": "file"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"language": "md",
|
|
31
|
-
"scheme": "file"
|
|
32
|
-
}
|
|
33
|
-
]
|
|
21
|
+
"js/ts.tsdk.path": "node_modules/typescript/lib",
|
|
22
|
+
"js/ts.tsdk.promptToUseWorkspaceVersion": true,
|
|
23
|
+
"workbench.editor.labelFormat": "short"
|
|
34
24
|
}
|