@getvitops/create 0.3.4 → 0.4.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @getvitops/create
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - bf453b0: Scaffolded projects now track the current toolchain instead of a version frozen at authoring time.
8
+
9
+ The emdash template pinned `@getvitops/astro: ^0.7.0`, `@getvitops/cli: ^0.4.0` and
10
+ `@getvitops/emdash: ^0.2.1` — ranges that were right when written and then quietly weren't. Anyone
11
+ running `vp create @getvitops:emdash` through the whole 1.0 release got a project a full major
12
+ behind, which looks like a working scaffold and isn't. Every `@getvitops/*` dependency is now
13
+ `latest`, which is the correct answer here precisely because these packages move in lockstep: a
14
+ scaffold wants the set that was released together, not whichever versions someone last remembered
15
+ to type.
16
+
17
+ **Also fixed: `vite` and `vite-plus` were `catalog:`.** That is a pnpm protocol which only resolves
18
+ inside this monorepo, and the publish-time rewrite that handles it for a package's own dependencies
19
+ does not reach inside `templates/**` — those ship as verbatim data. So the scaffold succeeded and
20
+ the first `install` in it failed on an unresolvable specifier. Both now say `latest`.
21
+
22
+ A test over every template's `package.json` now rejects `workspace:`/`catalog:` specifiers and
23
+ requires `@getvitops/*` deps to be `latest`, so neither can come back silently.
24
+
3
25
  ## 0.3.4
4
26
 
5
27
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getvitops/create",
3
- "version": "0.3.4",
3
+ "version": "0.4.0",
4
4
  "description": "Project templates for the Vitops design system — scaffold wired-up sites with `vp create @getvitops`.",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -11,6 +11,9 @@
11
11
  "publishConfig": {
12
12
  "access": "public"
13
13
  },
14
+ "devDependencies": {
15
+ "vitest": "^4.1.9"
16
+ },
14
17
  "createConfig": {
15
18
  "templates": [
16
19
  {
@@ -19,8 +19,8 @@
19
19
  "@astrojs/cloudflare": "^14.0.0",
20
20
  "@astrojs/react": "^6.0.0",
21
21
  "@emdash-cms/cloudflare": "^0.31.0",
22
- "@getvitops/astro": "^0.7.0",
23
- "@getvitops/emdash": "^0.2.1",
22
+ "@getvitops/astro": "latest",
23
+ "@getvitops/emdash": "latest",
24
24
  "astro": "^7.1.2",
25
25
  "emdash": "^0.31.0",
26
26
  "react": "^19.2.4",
@@ -29,10 +29,10 @@
29
29
  "devDependencies": {
30
30
  "@astrojs/check": "^0.9.7",
31
31
  "@cloudflare/workers-types": "^4.20260305.1",
32
- "@getvitops/cli": "^0.4.0",
32
+ "@getvitops/cli": "latest",
33
33
  "typescript": "^6.0.3",
34
- "vite": "catalog:",
35
- "vite-plus": "catalog:",
34
+ "vite": "latest",
35
+ "vite-plus": "latest",
36
36
  "wrangler": "^4.111.0"
37
37
  },
38
38
  "devEngines": {