@astryxdesign/cli 0.7.0-canary.450c68d → 0.7.0-canary.7d46281

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 CHANGED
@@ -611,14 +611,16 @@ Do not guess that version in ordinary feature PRs. Add new codemods to
611
611
  - leave `transforms/next/README.md` in place; it documents the staging area and
612
612
  is never promoted.
613
613
 
614
- During the Version Packages PR, `pnpm version-packages` runs
615
- `scripts/promote-codemod-next.mjs` after `changeset version`. The script copies
616
- all staged entries except the README into `transforms/v<new-core-version>/`,
617
- registers that version in `packages/cli/assets/codemods/registry.mjs`, and clears
618
- the promoted files from `next`.
619
-
620
- This mirrors Changesets: feature PRs stage migration work without knowing the
621
- future release number; the release PR assigns the exact version.
614
+ During the release branch's Version Packages PR, `pnpm version-packages` runs
615
+ `scripts/promote-codemod-next.mjs` after it writes changelogs under the version
616
+ already declared at the cut. The script copies all staged entries except the
617
+ README into `transforms/v<declared-core-version>/`, registers that version in
618
+ `packages/cli/assets/codemods/registry.mjs`, and clears the promoted files from
619
+ `next`.
620
+
621
+ Feature PRs stage migration work without guessing a version. The marked release
622
+ branch assigns the exact cut declaration; the later merge-back carries those
623
+ exact promoted files to main without regenerating them.
622
624
 
623
625
  ## Integrations
624
626
 
@@ -2,29 +2,27 @@
2
2
 
3
3
  Put new core codemods here while normal feature PRs are in flight.
4
4
 
5
- Why: the folder that ships a codemod is the **target package version** that will
6
- include the breaking change. Feature PRs usually do not know that version yet;
7
- the Version Packages PR decides it after `changeset version` resolves all pending
8
- changesets. This `next` folder works like Changesets: contributors stage work
9
- here, then the release/versioning step promotes it into the actual versioned
10
- folder.
5
+ The folder that ships a codemod is the target package version containing the
6
+ change. Feature PRs do not choose that version: main's fixed-group declaration is
7
+ the owner plan, and the marked release branch freezes it at cut. Contributors stage
8
+ work here; the release branch promotes it into the exact declared version folder.
11
9
 
12
10
  ## Authoring rules
13
11
 
14
12
  - Add new transform modules directly under this directory.
15
- - Add or update this directory's `index.mjs` so it exports the transforms in the
16
- order they should run.
17
- - Keep tests next to the transform, following existing version-folder patterns.
18
- - Do **not** guess a future `v0.x.y` folder in feature PRs.
13
+ - Add or update `index.mjs` so it exports transforms in run order.
14
+ - Keep tests beside each transform, following existing version-folder patterns.
15
+ - Do **not** guess a future `v0.x.y` folder in a feature PR.
19
16
  - Do **not** put release-specific content in this README; it stays in `next`.
20
17
 
21
18
  ## Release promotion
22
19
 
23
- `pnpm version-packages` runs `scripts/promote-codemod-next.mjs` after
24
- `changeset version`. The script copies every entry in this directory except this
25
- README into `packages/cli/assets/codemods/transforms/v<new-core-version>/` and
26
- removes the promoted files from `next`.
20
+ On the marked release branch, `pnpm version-packages` runs
21
+ `scripts/promote-codemod-next.mjs` after writing changelogs under the cut's declared
22
+ version. It copies every entry except this README into
23
+ `packages/cli/assets/codemods/transforms/v<declared-core-version>/`, registers the
24
+ folder, and removes the promoted files from `next`.
27
25
 
28
- After promotion, the Version Packages PR should review the generated version
29
- folder and add it to `packages/cli/assets/codemods/registry.mjs` if it is a new
30
- version folder.
26
+ The Version Packages PR reviews the generated folder with the changelogs. After
27
+ publication, trusted merge-back carries those exact promoted files to current main;
28
+ it does not regenerate them.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/cli",
3
- "version": "0.7.0-canary.450c68d",
3
+ "version": "0.7.0-canary.7d46281",
4
4
  "displayName": "CLI",
5
5
  "description": "Scaffold projects, browse templates, generate themes, and get agent-ready docs from the command line.",
6
6
  "author": "Meta Open Source",
@@ -101,10 +101,10 @@
101
101
  "zod": "^4.4.3"
102
102
  },
103
103
  "peerDependencies": {
104
- "@astryxdesign/charts": "0.7.0-canary.450c68d",
105
- "@astryxdesign/core": "0.7.0-canary.450c68d",
106
- "@astryxdesign/lab": "0.7.0-canary.450c68d",
107
- "@astryxdesign/theme-neutral": "0.7.0-canary.450c68d"
104
+ "@astryxdesign/charts": "0.7.0-canary.7d46281",
105
+ "@astryxdesign/core": "0.7.0-canary.7d46281",
106
+ "@astryxdesign/lab": "0.7.0-canary.7d46281",
107
+ "@astryxdesign/theme-neutral": "0.7.0-canary.7d46281"
108
108
  },
109
109
  "peerDependenciesMeta": {
110
110
  "@astryxdesign/charts": {
@@ -121,10 +121,10 @@
121
121
  }
122
122
  },
123
123
  "devDependencies": {
124
- "@astryxdesign/charts": "0.7.0-canary.450c68d",
125
- "@astryxdesign/core": "0.7.0-canary.450c68d",
126
- "@astryxdesign/lab": "0.7.0-canary.450c68d",
127
- "@astryxdesign/theme-neutral": "0.7.0-canary.450c68d",
124
+ "@astryxdesign/charts": "0.7.0-canary.7d46281",
125
+ "@astryxdesign/core": "0.7.0-canary.7d46281",
126
+ "@astryxdesign/lab": "0.7.0-canary.7d46281",
127
+ "@astryxdesign/theme-neutral": "0.7.0-canary.7d46281",
128
128
  "@heroicons/react": "^2.2.0",
129
129
  "@stylexjs/stylex": "^0.19.0",
130
130
  "@types/babel__core": "^7.20.5",