@softure-ai/skills 0.2.0 → 0.2.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/package.json +1 -1
- package/scripts/install.mjs +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softure-ai/skills",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "SOFTURE agent skills: a spec-driven delivery workflow (shape → prd → roadmap → plan → implement → review) plus parallel worktree orchestration",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
package/scripts/install.mjs
CHANGED
|
@@ -180,6 +180,11 @@ function install(options) {
|
|
|
180
180
|
rules: ruleSections,
|
|
181
181
|
gitignore: shouldIgnore,
|
|
182
182
|
};
|
|
183
|
+
// A re-install that changes nothing keeps the old timestamp, so a committed manifest
|
|
184
|
+
// does not dirty every fresh clone or worktree after `npm ci`.
|
|
185
|
+
const { installedAt: previousAt, ...previousRest } = previous;
|
|
186
|
+
const { installedAt: _ignored, ...currentRest } = manifest;
|
|
187
|
+
if (previousAt && JSON.stringify(previousRest) === JSON.stringify(currentRest)) manifest.installedAt = previousAt;
|
|
183
188
|
fs.writeFileSync(path.join(projectRoot, MANIFEST_PATH), JSON.stringify(manifest, null, 2) + "\n");
|
|
184
189
|
}
|
|
185
190
|
|