@schalkneethling/calavera-artifact-core 0.2.0 → 0.3.0-next.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 +9 -8
- package/src/catalog.js +8 -0
- package/src/registry.js +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schalkneethling/calavera-artifact-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0-next.1",
|
|
4
4
|
"description": "Catalog and package resolution primitives for Calavera artifacts.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -24,21 +24,22 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"pacote": "22.0.0",
|
|
26
26
|
"semver": "7.8.5",
|
|
27
|
-
"@schalkneethling/calavera-hook-auto-approve-safe-commands": "^0.2.0",
|
|
28
|
-
"@schalkneethling/calavera-hook-block-dangerous-commands": "^0.2.0",
|
|
29
27
|
"@schalkneethling/calavera-agent-technical-devils-advocate": "^0.2.0",
|
|
28
|
+
"@schalkneethling/calavera-hook-block-dangerous-commands": "^0.2.0",
|
|
29
|
+
"@schalkneethling/calavera-skill-css-tokens": "^0.2.0",
|
|
30
30
|
"@schalkneethling/calavera-skill-calavera": "^0.2.0",
|
|
31
|
+
"@schalkneethling/calavera-hook-auto-approve-safe-commands": "^0.2.0",
|
|
32
|
+
"@schalkneethling/calavera-skill-frontend-engineering": "^0.2.0",
|
|
31
33
|
"@schalkneethling/calavera-skill-code-review": "^0.2.0",
|
|
32
34
|
"@schalkneethling/calavera-skill-frontend-security": "^0.2.0",
|
|
33
|
-
"@schalkneethling/calavera-skill-frontend-engineering": "^0.2.0",
|
|
34
35
|
"@schalkneethling/calavera-skill-frontend-testing": "^0.2.0",
|
|
35
|
-
"@schalkneethling/calavera-skill-css-tokens": "^0.2.0",
|
|
36
|
-
"@schalkneethling/calavera-skill-more-secure-dependabot-config": "^0.2.0",
|
|
37
36
|
"@schalkneethling/calavera-skill-github-goal-issue-triage": "^0.2.0",
|
|
37
|
+
"@schalkneethling/calavera-skill-more-secure-dependabot-config": "^0.2.0",
|
|
38
38
|
"@schalkneethling/calavera-skill-npm-publishing-best-practices": "^0.2.0",
|
|
39
|
-
"@schalkneethling/calavera-skill-
|
|
39
|
+
"@schalkneethling/calavera-skill-refined-plan-mode": "^0.2.0",
|
|
40
40
|
"@schalkneethling/calavera-skill-project-goal": "^0.2.0",
|
|
41
|
-
"@schalkneethling/calavera-skill-
|
|
41
|
+
"@schalkneethling/calavera-skill-release-with-confidence": "^0.2.0-next.1",
|
|
42
|
+
"@schalkneethling/calavera-skill-npm-trusted-publishing-github-workflow": "^0.2.0"
|
|
42
43
|
},
|
|
43
44
|
"scripts": {
|
|
44
45
|
"test": "node --test test/*.test.mjs"
|
package/src/catalog.js
CHANGED
|
@@ -14,6 +14,7 @@ import manifest12 from "@schalkneethling/calavera-skill-refined-plan-mode" with
|
|
|
14
14
|
import manifest13 from "@schalkneethling/calavera-hook-auto-approve-safe-commands" with { type: "json" };
|
|
15
15
|
import manifest14 from "@schalkneethling/calavera-hook-block-dangerous-commands" with { type: "json" };
|
|
16
16
|
import manifest15 from "@schalkneethling/calavera-agent-technical-devils-advocate" with { type: "json" };
|
|
17
|
+
import manifest16 from "@schalkneethling/calavera-skill-release-with-confidence" with { type: "json" };
|
|
17
18
|
import package1 from "@schalkneethling/calavera-skill-calavera/package.json" with { type: "json" };
|
|
18
19
|
import package2 from "@schalkneethling/calavera-skill-code-review/package.json" with { type: "json" };
|
|
19
20
|
import package3 from "@schalkneethling/calavera-skill-css-tokens/package.json" with { type: "json" };
|
|
@@ -29,6 +30,7 @@ import package12 from "@schalkneethling/calavera-skill-refined-plan-mode/package
|
|
|
29
30
|
import package13 from "@schalkneethling/calavera-hook-auto-approve-safe-commands/package.json" with { type: "json" };
|
|
30
31
|
import package14 from "@schalkneethling/calavera-hook-block-dangerous-commands/package.json" with { type: "json" };
|
|
31
32
|
import package15 from "@schalkneethling/calavera-agent-technical-devils-advocate/package.json" with { type: "json" };
|
|
33
|
+
import package16 from "@schalkneethling/calavera-skill-release-with-confidence/package.json" with { type: "json" };
|
|
32
34
|
|
|
33
35
|
export const DEFAULT_ARTIFACT_TARGET = "claude-code";
|
|
34
36
|
|
|
@@ -48,6 +50,7 @@ const packageVersions = new Map([
|
|
|
48
50
|
["@schalkneethling/calavera-hook-auto-approve-safe-commands", package13.version],
|
|
49
51
|
["@schalkneethling/calavera-hook-block-dangerous-commands", package14.version],
|
|
50
52
|
["@schalkneethling/calavera-agent-technical-devils-advocate", package15.version],
|
|
53
|
+
["@schalkneethling/calavera-skill-release-with-confidence", package16.version],
|
|
51
54
|
]);
|
|
52
55
|
|
|
53
56
|
export const artifactCatalog = Object.freeze([
|
|
@@ -95,6 +98,11 @@ export const artifactCatalog = Object.freeze([
|
|
|
95
98
|
"@schalkneethling/calavera-skill-refined-plan-mode",
|
|
96
99
|
"skills/refined-plan-mode",
|
|
97
100
|
),
|
|
101
|
+
artifact(
|
|
102
|
+
manifest16,
|
|
103
|
+
"@schalkneethling/calavera-skill-release-with-confidence",
|
|
104
|
+
"skills/release-with-confidence",
|
|
105
|
+
),
|
|
98
106
|
artifact(
|
|
99
107
|
manifest13,
|
|
100
108
|
"@schalkneethling/calavera-hook-auto-approve-safe-commands",
|
package/src/registry.js
CHANGED
|
@@ -90,7 +90,10 @@ function validateArtifactManifest(manifest, artifact, cliVersion) {
|
|
|
90
90
|
throw new Error(`Invalid artifact manifest for ${artifact.packageName}.`);
|
|
91
91
|
}
|
|
92
92
|
const compatibility = /** @type {Record<string, unknown>} */ (manifest.compatibility).calavera;
|
|
93
|
-
if (
|
|
93
|
+
if (
|
|
94
|
+
typeof compatibility !== "string" ||
|
|
95
|
+
!semver.satisfies(cliVersion, compatibility, { includePrerelease: true })
|
|
96
|
+
) {
|
|
94
97
|
throw new Error(
|
|
95
98
|
`${artifact.packageName} is not compatible with create-project-calavera ${cliVersion}.`,
|
|
96
99
|
);
|