@warpgogol/forge 4.1.1 → 4.1.3
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 +10 -0
- package/README.uk.md +10 -0
- package/os/core/handlers/package-health.ts +5 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Portable governance engine for AI-assisted project development. Provides skills, RFC/ADR workflows, naming conventions, spec vendoring, and a CLI — all framework-agnostic and dependency-free (only `yaml` + `zod`).
|
|
6
6
|
|
|
7
|
+
> Engineered at [Warpgogol](https://warpgogol.com) · Released as open source.
|
|
8
|
+
|
|
7
9
|
---
|
|
8
10
|
|
|
9
11
|
## Start right now
|
|
@@ -685,3 +687,11 @@ After CI completes, verify the new version on [npmjs.com/package/@warpgogol/forg
|
|
|
685
687
|
## License
|
|
686
688
|
|
|
687
689
|
Apache-2.0
|
|
690
|
+
|
|
691
|
+
## Open Engineering
|
|
692
|
+
|
|
693
|
+
This package originated from production engineering work at [Warpgogol](https://warpgogol.com), an engineering studio in Germany.
|
|
694
|
+
|
|
695
|
+
We publish reusable parts of our infrastructure when they can be useful beyond our own projects. It is published independently of any Warpgogol commercial service. Using this package does not create any dependency on Warpgogol.
|
|
696
|
+
|
|
697
|
+
Built for real systems. Shared openly.
|
package/README.uk.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Портативний рушій управління для розробки проєктів за допомогою ШІ. Надає навички, RFC/ADR робочі процеси, угоди про найменування, вендоринг специфікацій та CLI — все незалежне від фреймворку та без зайвих залежностей (тільки `yaml` + `zod`).
|
|
6
6
|
|
|
7
|
+
> Розроблено в [Warpgogol](https://warpgogol.com) · Опубліковано як open source.
|
|
8
|
+
|
|
7
9
|
---
|
|
8
10
|
|
|
9
11
|
## Почніть прямо зараз
|
|
@@ -688,3 +690,11 @@ npm publish --access public
|
|
|
688
690
|
## Ліцензія
|
|
689
691
|
|
|
690
692
|
Apache-2.0
|
|
693
|
+
|
|
694
|
+
## Відкрита інженерія
|
|
695
|
+
|
|
696
|
+
Цей пакет походить із виробничої інженерної роботи в [Warpgogol](https://warpgogol.com), інженерній студії в Німеччині.
|
|
697
|
+
|
|
698
|
+
Ми публікуємо багаторазові частини нашої інфраструктури, коли вони можуть бути корисними поза нашими власними проєктами. Він публікується незалежно від будь-якого комерційного сервісу Warpgogol. Використання цього пакету не створює жодної залежності від Warpgogol.
|
|
699
|
+
|
|
700
|
+
Створено для реальних систем. Поширюється відкрито.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
</MODULE_CONTRACT>
|
|
9
9
|
<CHANGE_SUMMARY>
|
|
10
10
|
<item>Initial: forge.package.health validator — engines, CI workflow, extract config, devDeps completeness.</item>
|
|
11
|
-
<item>PKG-HEALTH-05: reject versionBump
|
|
11
|
+
<item>PKG-HEALTH-05: reject any versionBump in extract.config.yaml — version in package.json is source of truth.</item>
|
|
12
12
|
</CHANGE_SUMMARY>
|
|
13
13
|
*/
|
|
14
14
|
|
|
@@ -158,20 +158,19 @@ export async function runPackageHealth(
|
|
|
158
158
|
fixHint: "Create extract.config.yaml with git remote and extraction settings.",
|
|
159
159
|
});
|
|
160
160
|
} else {
|
|
161
|
-
// CHECK 3b: versionBump must
|
|
161
|
+
// CHECK 3b: versionBump must be absent — version in package.json is source of truth
|
|
162
162
|
try {
|
|
163
163
|
const configRaw = fs.readFileSync(extractConfigPath, "utf8");
|
|
164
164
|
const versionBumpMatch = configRaw.match(/^versionBump:\s*(\S+)/m);
|
|
165
|
-
if (versionBumpMatch
|
|
165
|
+
if (versionBumpMatch) {
|
|
166
166
|
violations.push({
|
|
167
167
|
ruleId: "PKG-HEALTH-05",
|
|
168
168
|
packageName,
|
|
169
169
|
severity: "error",
|
|
170
|
-
message:
|
|
171
|
-
"extract.config.yaml has versionBump: major — this causes double-bump when the monorepo version was already bumped manually. Use versionBump: patch instead.",
|
|
170
|
+
message: `extract.config.yaml has versionBump: ${versionBumpMatch[1]} — this auto-increments the version on every extract. The version in package.json is the source of truth.`,
|
|
172
171
|
file: extractConfigPath,
|
|
173
172
|
fixHint:
|
|
174
|
-
"
|
|
173
|
+
"Remove the versionBump line. Manually bump package.json version to the target before extracting.",
|
|
175
174
|
});
|
|
176
175
|
}
|
|
177
176
|
} catch {
|