@adbayb/stack 3.8.1-next.1794529126647.6a44ab9 → 3.8.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/dist/index.js +3 -10
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -555,8 +555,8 @@ const createCreateCommand = (program) => {
|
|
|
555
555
|
});
|
|
556
556
|
return {
|
|
557
557
|
licenseYear: (/* @__PURE__ */ new Date()).getFullYear().toString(),
|
|
558
|
-
nodeVersion:
|
|
559
|
-
pnpmVersion
|
|
558
|
+
nodeVersion: nodeVersion.replace("v", ""),
|
|
559
|
+
pnpmVersion,
|
|
560
560
|
projectDescription: toCapitalLetter(inputDescription),
|
|
561
561
|
projectName,
|
|
562
562
|
projectUrl: inputUrl,
|
|
@@ -742,13 +742,6 @@ const hasTemplateVariable = (input) => {
|
|
|
742
742
|
*/
|
|
743
743
|
return input.search(TEMPLATE_VARIABLE_MATCHER) >= 0;
|
|
744
744
|
};
|
|
745
|
-
const toMajorCaretVersion = (semanticVersion) => {
|
|
746
|
-
const major = Number(semanticVersion.split(".")[0]);
|
|
747
|
-
assert(Number.isInteger(major) && major > 0, () => {
|
|
748
|
-
return createError("stack create", `Cannot resolve a major version from "${semanticVersion}".`);
|
|
749
|
-
});
|
|
750
|
-
return `^${major}.0.0`;
|
|
751
|
-
};
|
|
752
745
|
|
|
753
746
|
//#endregion
|
|
754
747
|
//#region src/commands/fix/fix-code.ts
|
|
@@ -931,7 +924,7 @@ const createWatchCommand = (program) => {
|
|
|
931
924
|
|
|
932
925
|
//#endregion
|
|
933
926
|
//#region package.json
|
|
934
|
-
var version = "3.8.1
|
|
927
|
+
var version = "3.8.1";
|
|
935
928
|
|
|
936
929
|
//#endregion
|
|
937
930
|
//#region src/index.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adbayb/stack",
|
|
3
|
-
"version": "3.8.1
|
|
3
|
+
"version": "3.8.1",
|
|
4
4
|
"description": "My opinionated JavaScript-based toolchain",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"development",
|
|
@@ -57,19 +57,19 @@
|
|
|
57
57
|
"@commitlint/cli": "^21.2.4",
|
|
58
58
|
"@commitlint/config-conventional": "^21.2.4",
|
|
59
59
|
"@e18e/eslint-plugin": "^0.8.1",
|
|
60
|
-
"@stylistic/eslint-plugin": "^
|
|
61
|
-
"eslint-plugin-perfectionist": "^5.
|
|
62
|
-
"oxfmt": "^0.
|
|
63
|
-
"oxlint": "^1.
|
|
64
|
-
"oxlint-tsgolint": "^7.0.
|
|
60
|
+
"@stylistic/eslint-plugin": "^6.0.1",
|
|
61
|
+
"eslint-plugin-perfectionist": "^5.14.0",
|
|
62
|
+
"oxfmt": "^0.79.0",
|
|
63
|
+
"oxlint": "^1.94.0",
|
|
64
|
+
"oxlint-tsgolint": "^7.0.2007",
|
|
65
65
|
"termost": "^2.0.0",
|
|
66
|
-
"turbo": "^2.11.
|
|
66
|
+
"turbo": "^2.11.13",
|
|
67
67
|
"typescript": "^7.0.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@types/node": "26.6.6",
|
|
71
71
|
"quickbundle": "3.2.2",
|
|
72
|
-
"vitest": "5.1.
|
|
72
|
+
"vitest": "5.1.1"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|
|
75
75
|
"build": "quickbundle build",
|