@lzear/forge 4.3.0 → 4.4.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/README.md +2 -2
- package/dist/bin.js +3 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ One-stop repo freshening. Detects the package manager (npm, yarn, pnpm, or bun
|
|
|
45
45
|
- `.nvmrc` / `.node-version` → latest Node LTS
|
|
46
46
|
- `.bun-version` → latest Bun
|
|
47
47
|
- LICENSE copyright year (extends `2023` → `2023-2026`)
|
|
48
|
-
- then installs, refreshes the lockfile, and dedupes with the detected package manager (`yarn up -R '*' && yarn dedupe`, `pnpm update -r && pnpm dedupe`, `npm update && npm dedupe`, or `bun update`)
|
|
48
|
+
- then installs, refreshes the lockfile, and dedupes with the detected package manager (`yarn up -R '*' '@*/*' && yarn dedupe`, `pnpm update -r && pnpm dedupe`, `npm update && npm dedupe`, or `bun update`)
|
|
49
49
|
|
|
50
50
|
```sh
|
|
51
51
|
forge update # update everything, then install
|
|
@@ -69,7 +69,7 @@ forge setup --dry # check only, do not prompt
|
|
|
69
69
|
Fetches shared template files from the forge `main` branch and writes them locally.
|
|
70
70
|
|
|
71
71
|
```sh
|
|
72
|
-
forge sync # write .editorconfig, .codacy.yml, lefthook.yml
|
|
72
|
+
forge sync # write .editorconfig, .codacy.yml, lefthook.yml, .github/zizmor.yml
|
|
73
73
|
forge sync --dry # preview without writing
|
|
74
74
|
```
|
|
75
75
|
|
package/dist/bin.js
CHANGED
|
@@ -258,7 +258,9 @@ program.command("update").description("update dependencies, packageManager, and
|
|
|
258
258
|
var SYNC_FILES = [
|
|
259
259
|
{ src: "template/.editorconfig", dest: ".editorconfig" },
|
|
260
260
|
{ src: "template/.codacy.yml", dest: ".codacy.yml" },
|
|
261
|
-
{ src: "template/lefthook.yml", dest: "lefthook.yml" }
|
|
261
|
+
{ src: "template/lefthook.yml", dest: "lefthook.yml" },
|
|
262
|
+
// shared as-is: allows @main refs to forge, hash-pins everything else
|
|
263
|
+
{ src: ".github/zizmor.yml", dest: ".github/zizmor.yml" }
|
|
262
264
|
];
|
|
263
265
|
var RAW_BASE = "https://raw.githubusercontent.com/lzear/forge/main";
|
|
264
266
|
program.command("sync").description("sync template files from forge into this repo").option("--dry", "print what would change, do not write", false).action(async (options) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lzear/forge",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.1",
|
|
4
4
|
"description": "Umbrella package for all lzear dev tooling",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
],
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@clack/prompts": "^1",
|
|
77
|
-
"@lzear/configs": "4.
|
|
78
|
-
"@lzear/eslint-config": "4.
|
|
79
|
-
"@lzear/repo-lint": "4.
|
|
77
|
+
"@lzear/configs": "4.4.1",
|
|
78
|
+
"@lzear/eslint-config": "4.4.1",
|
|
79
|
+
"@lzear/repo-lint": "4.4.1",
|
|
80
80
|
"commander": "^15",
|
|
81
81
|
"picocolors": "^1"
|
|
82
82
|
},
|