@lzear/forge 4.1.2 → 4.2.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/dist/bin.js +3 -6
- package/dist/commitlint.d.ts +0 -7
- package/dist/commitlint.emoji.d.ts +7 -0
- package/package.json +10 -12
- package/CHANGELOG.md +0 -23
package/dist/bin.js
CHANGED
|
@@ -205,9 +205,7 @@ program.command("setup").description("check and set required GitHub secrets for
|
|
|
205
205
|
log2.outro(pc.yellow("Dry run \u2014 skipping."));
|
|
206
206
|
return;
|
|
207
207
|
}
|
|
208
|
-
for (const s of missing)
|
|
209
|
-
await promptAndSet(s, repo);
|
|
210
|
-
}
|
|
208
|
+
for (const s of missing) await promptAndSet(s, repo);
|
|
211
209
|
log2.outro(pc.green("Done."));
|
|
212
210
|
});
|
|
213
211
|
var SYNC_FILES = [
|
|
@@ -226,9 +224,8 @@ program.command("sync").description("sync template files from forge into this re
|
|
|
226
224
|
const res = await fetch(url);
|
|
227
225
|
if (!res.ok) throw new Error(`HTTP ${res.status}`);
|
|
228
226
|
const content = await res.text();
|
|
229
|
-
if (opts.dry) {
|
|
230
|
-
|
|
231
|
-
} else {
|
|
227
|
+
if (opts.dry) log2.success(`${dest} ${pc.dim("(dry)")}`);
|
|
228
|
+
else {
|
|
232
229
|
await mkdir(path.dirname(destPath), { recursive: true });
|
|
233
230
|
await writeFile(destPath, content, "utf8");
|
|
234
231
|
log2.success(dest);
|
package/dist/commitlint.d.ts
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
1
|
export { default } from '@lzear/configs/commitlint';
|
|
2
|
-
import '@lzear/configs/commitlint/emoji';
|
|
3
|
-
import '@lzear/eslint-config';
|
|
4
|
-
import '@lzear/configs/vitest';
|
|
5
|
-
import '@lzear/configs/vitest/react';
|
|
6
|
-
import '@lzear/configs/tsup';
|
|
7
|
-
import '@lzear/configs/vite';
|
|
8
|
-
import '@lzear/repo-lint';
|
|
@@ -1 +1,8 @@
|
|
|
1
1
|
export { default } from '@lzear/configs/commitlint/emoji';
|
|
2
|
+
import '@lzear/configs/commitlint';
|
|
3
|
+
import '@lzear/eslint-config';
|
|
4
|
+
import '@lzear/repo-lint';
|
|
5
|
+
import '@lzear/configs/tsup';
|
|
6
|
+
import '@lzear/configs/vite';
|
|
7
|
+
import '@lzear/configs/vitest/react';
|
|
8
|
+
import '@lzear/configs/vitest';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lzear/forge",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Umbrella package for all lzear dev tooling",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -60,16 +60,16 @@
|
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@clack/prompts": "^1",
|
|
63
|
-
"@lzear/configs": "
|
|
64
|
-
"@lzear/eslint-config": "
|
|
65
|
-
"@lzear/repo-lint": "
|
|
66
|
-
"commander": "^
|
|
63
|
+
"@lzear/configs": "workspace:*",
|
|
64
|
+
"@lzear/eslint-config": "workspace:*",
|
|
65
|
+
"@lzear/repo-lint": "workspace:*",
|
|
66
|
+
"commander": "^15",
|
|
67
67
|
"picocolors": "^1"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@types/node": "^25",
|
|
71
71
|
"@vitejs/plugin-react": "^6",
|
|
72
|
-
"eslint": "^
|
|
72
|
+
"eslint": "^10",
|
|
73
73
|
"tsup": "^8",
|
|
74
74
|
"typescript": "^6",
|
|
75
75
|
"vite": "^8",
|
|
@@ -89,9 +89,6 @@
|
|
|
89
89
|
"eslint": {
|
|
90
90
|
"optional": true
|
|
91
91
|
},
|
|
92
|
-
"jsdom": {
|
|
93
|
-
"optional": true
|
|
94
|
-
},
|
|
95
92
|
"tsup": {
|
|
96
93
|
"optional": true
|
|
97
94
|
},
|
|
@@ -103,9 +100,10 @@
|
|
|
103
100
|
}
|
|
104
101
|
},
|
|
105
102
|
"engines": {
|
|
106
|
-
"node": ">=
|
|
103
|
+
"node": ">=24"
|
|
107
104
|
},
|
|
108
105
|
"publishConfig": {
|
|
109
|
-
"access": "public"
|
|
106
|
+
"access": "public",
|
|
107
|
+
"provenance": true
|
|
110
108
|
}
|
|
111
|
-
}
|
|
109
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# @lzear/forge
|
|
2
|
-
|
|
3
|
-
## 4.1.2
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- [`76b2ce3`](https://github.com/lzear/forge/commit/76b2ce3af6e002ae7884eec50979ce8a5d5d7e3e) Thanks [@lzear](https://github.com/lzear)! - Fix publish script
|
|
8
|
-
|
|
9
|
-
- Updated dependencies [[`76b2ce3`](https://github.com/lzear/forge/commit/76b2ce3af6e002ae7884eec50979ce8a5d5d7e3e)]:
|
|
10
|
-
- @lzear/configs@4.1.2
|
|
11
|
-
- @lzear/eslint-config@4.1.2
|
|
12
|
-
- @lzear/repo-lint@4.1.2
|
|
13
|
-
|
|
14
|
-
## 4.1.1
|
|
15
|
-
|
|
16
|
-
### Patch Changes
|
|
17
|
-
|
|
18
|
-
- [`9a15611`](https://github.com/lzear/forge/commit/9a15611452c9985033183216c717aa08efba5d1e) Thanks [@lzear](https://github.com/lzear)! - Minor updates. Add @stylistic/eslint-plugin, expect less from repo-lint, ...
|
|
19
|
-
|
|
20
|
-
- Updated dependencies [[`9a15611`](https://github.com/lzear/forge/commit/9a15611452c9985033183216c717aa08efba5d1e)]:
|
|
21
|
-
- @lzear/configs@4.1.1
|
|
22
|
-
- @lzear/eslint-config@4.1.1
|
|
23
|
-
- @lzear/repo-lint@4.1.1
|