alex-c-line 1.33.3 → 1.33.5
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.cjs
CHANGED
|
@@ -1357,7 +1357,7 @@ function parseZodSchemaForProgram(programError, schema, data) {
|
|
|
1357
1357
|
//#endregion
|
|
1358
1358
|
//#region package.json
|
|
1359
1359
|
var name = "alex-c-line";
|
|
1360
|
-
var version = "1.33.
|
|
1360
|
+
var version = "1.33.5";
|
|
1361
1361
|
var description = "Command-line tool with commands to streamline the developer workflow.";
|
|
1362
1362
|
|
|
1363
1363
|
//#endregion
|
|
@@ -1676,11 +1676,10 @@ async function noPreReleaseDependencies(program) {
|
|
|
1676
1676
|
if (Object.keys(preReleaseDependencies).length !== 0 || Object.keys(preReleaseDevDependencies).length !== 0) program.error(_alextheman_utility.normaliseIndents`
|
|
1677
1677
|
${errorPrefix}: Pre-release version pinning is not allowed. Found the following violations:
|
|
1678
1678
|
|
|
1679
|
-
|
|
1679
|
+
` + JSON.stringify({
|
|
1680
1680
|
dependencies: preReleaseDependencies,
|
|
1681
1681
|
devDependencies: preReleaseDevDependencies
|
|
1682
|
-
}, null, 2)
|
|
1683
|
-
`, {
|
|
1682
|
+
}, null, 2), {
|
|
1684
1683
|
exitCode: 2,
|
|
1685
1684
|
code: "UNEXPECTED_PRE_RELEASE_VERSION"
|
|
1686
1685
|
});
|
|
@@ -1761,7 +1760,7 @@ function formatError(error) {
|
|
|
1761
1760
|
//#region src/cache/global/createAlexCLineGlobalCache.ts
|
|
1762
1761
|
async function createAlexCLineGlobalCache(cacheData) {
|
|
1763
1762
|
await (0, node_fs_promises.mkdir)(ALEX_C_LINE_GLOBAL_CACHE_DIRECTORY, { recursive: true });
|
|
1764
|
-
await (0, node_fs_promises.writeFile)(ALEX_C_LINE_GLOBAL_CACHE_PATH, JSON.stringify(cacheData, null, 2));
|
|
1763
|
+
await (0, node_fs_promises.writeFile)(ALEX_C_LINE_GLOBAL_CACHE_PATH, `${JSON.stringify(cacheData, null, 2)}\n`);
|
|
1765
1764
|
}
|
|
1766
1765
|
|
|
1767
1766
|
//#endregion
|
package/dist/index.js
CHANGED
|
@@ -1319,7 +1319,7 @@ function parseZodSchemaForProgram(programError, schema, data) {
|
|
|
1319
1319
|
//#endregion
|
|
1320
1320
|
//#region package.json
|
|
1321
1321
|
var name = "alex-c-line";
|
|
1322
|
-
var version = "1.33.
|
|
1322
|
+
var version = "1.33.5";
|
|
1323
1323
|
var description = "Command-line tool with commands to streamline the developer workflow.";
|
|
1324
1324
|
|
|
1325
1325
|
//#endregion
|
|
@@ -1638,11 +1638,10 @@ async function noPreReleaseDependencies(program) {
|
|
|
1638
1638
|
if (Object.keys(preReleaseDependencies).length !== 0 || Object.keys(preReleaseDevDependencies).length !== 0) program.error(normaliseIndents`
|
|
1639
1639
|
${errorPrefix}: Pre-release version pinning is not allowed. Found the following violations:
|
|
1640
1640
|
|
|
1641
|
-
|
|
1641
|
+
` + JSON.stringify({
|
|
1642
1642
|
dependencies: preReleaseDependencies,
|
|
1643
1643
|
devDependencies: preReleaseDevDependencies
|
|
1644
|
-
}, null, 2)
|
|
1645
|
-
`, {
|
|
1644
|
+
}, null, 2), {
|
|
1646
1645
|
exitCode: 2,
|
|
1647
1646
|
code: "UNEXPECTED_PRE_RELEASE_VERSION"
|
|
1648
1647
|
});
|
|
@@ -1723,7 +1722,7 @@ function formatError(error) {
|
|
|
1723
1722
|
//#region src/cache/global/createAlexCLineGlobalCache.ts
|
|
1724
1723
|
async function createAlexCLineGlobalCache(cacheData) {
|
|
1725
1724
|
await mkdir(ALEX_C_LINE_GLOBAL_CACHE_DIRECTORY, { recursive: true });
|
|
1726
|
-
await writeFile(ALEX_C_LINE_GLOBAL_CACHE_PATH, JSON.stringify(cacheData, null, 2));
|
|
1725
|
+
await writeFile(ALEX_C_LINE_GLOBAL_CACHE_PATH, `${JSON.stringify(cacheData, null, 2)}\n`);
|
|
1727
1726
|
}
|
|
1728
1727
|
|
|
1729
1728
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alex-c-line",
|
|
3
|
-
"version": "1.33.
|
|
3
|
+
"version": "1.33.5",
|
|
4
4
|
"description": "Command-line tool with commands to streamline the developer workflow.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -86,8 +86,9 @@
|
|
|
86
86
|
"format-prettier-javascript": "prettier --write \"./**/*.js\"",
|
|
87
87
|
"format-prettier-typescript": "prettier --write --parser typescript \"./**/*.ts\"",
|
|
88
88
|
"format-prettier-yml": "prettier --write \"./**/*.{yml,yaml}\"",
|
|
89
|
-
"lint": "pnpm run lint-tsc && pnpm run lint-eslint && pnpm run lint-prettier",
|
|
89
|
+
"lint": "pnpm run lint-tsc && pnpm run lint-eslint && pnpm run lint-prettier && pnpm run lint-pre-release",
|
|
90
90
|
"lint-eslint": "eslint \"package.json\" \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
91
|
+
"lint-pre-release": "node dist/index.js package-json no-pre-release-dependencies",
|
|
91
92
|
"lint-prettier": "pnpm run lint-prettier-typescript && pnpm run lint-prettier-javascript && pnpm run lint-prettier-yml && pnpm run lint-prettier-html",
|
|
92
93
|
"lint-prettier-html": "prettier --check \"**/*.html\"",
|
|
93
94
|
"lint-prettier-javascript": "prettier --check \"./**.js\"",
|