@schalkneethling/calavera-artifact-core 0.3.0-next.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.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. 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.0-next.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": {
@@ -26,20 +26,20 @@
26
26
  "semver": "7.8.5",
27
27
  "@schalkneethling/calavera-agent-technical-devils-advocate": "^0.2.0",
28
28
  "@schalkneethling/calavera-hook-block-dangerous-commands": "^0.2.0",
29
+ "@schalkneethling/calavera-skill-css-tokens": "^0.2.0",
29
30
  "@schalkneethling/calavera-skill-calavera": "^0.2.0",
30
31
  "@schalkneethling/calavera-hook-auto-approve-safe-commands": "^0.2.0",
31
- "@schalkneethling/calavera-skill-code-review": "^0.2.0",
32
32
  "@schalkneethling/calavera-skill-frontend-engineering": "^0.2.0",
33
- "@schalkneethling/calavera-skill-css-tokens": "^0.2.0",
33
+ "@schalkneethling/calavera-skill-code-review": "^0.2.0",
34
34
  "@schalkneethling/calavera-skill-frontend-security": "^0.2.0",
35
35
  "@schalkneethling/calavera-skill-frontend-testing": "^0.2.0",
36
36
  "@schalkneethling/calavera-skill-github-goal-issue-triage": "^0.2.0",
37
37
  "@schalkneethling/calavera-skill-more-secure-dependabot-config": "^0.2.0",
38
- "@schalkneethling/calavera-skill-npm-trusted-publishing-github-workflow": "^0.2.0",
39
- "@schalkneethling/calavera-skill-project-goal": "^0.2.0",
40
38
  "@schalkneethling/calavera-skill-npm-publishing-best-practices": "^0.2.0",
41
39
  "@schalkneethling/calavera-skill-refined-plan-mode": "^0.2.0",
42
- "@schalkneethling/calavera-skill-release-with-confidence": "^0.2.0-next.0"
40
+ "@schalkneethling/calavera-skill-project-goal": "^0.2.0",
41
+ "@schalkneethling/calavera-skill-release-with-confidence": "^0.2.0-next.1",
42
+ "@schalkneethling/calavera-skill-npm-trusted-publishing-github-workflow": "^0.2.0"
43
43
  },
44
44
  "scripts": {
45
45
  "test": "node --test test/*.test.mjs"
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 (typeof compatibility !== "string" || !semver.satisfies(cliVersion, compatibility)) {
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
  );