@astryxdesign/cli 0.7.0-canary.0686fad → 0.7.0-canary.2514d86
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 +10 -8
- package/assets/codemods/transforms/next/README.md +15 -17
- package/package.json +9 -9
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
|
|
616
|
-
all staged entries except the
|
|
617
|
-
registers that version in
|
|
618
|
-
the promoted files from
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
the
|
|
8
|
-
|
|
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
|
|
16
|
-
|
|
17
|
-
-
|
|
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
|
|
24
|
-
`
|
|
25
|
-
README into
|
|
26
|
-
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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.
|
|
3
|
+
"version": "0.7.0-canary.2514d86",
|
|
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.
|
|
105
|
-
"@astryxdesign/core": "0.7.0-canary.
|
|
106
|
-
"@astryxdesign/lab": "0.7.0-canary.
|
|
107
|
-
"@astryxdesign/theme-neutral": "0.7.0-canary.
|
|
104
|
+
"@astryxdesign/charts": "0.7.0-canary.2514d86",
|
|
105
|
+
"@astryxdesign/core": "0.7.0-canary.2514d86",
|
|
106
|
+
"@astryxdesign/lab": "0.7.0-canary.2514d86",
|
|
107
|
+
"@astryxdesign/theme-neutral": "0.7.0-canary.2514d86"
|
|
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.
|
|
125
|
-
"@astryxdesign/core": "0.7.0-canary.
|
|
126
|
-
"@astryxdesign/lab": "0.7.0-canary.
|
|
127
|
-
"@astryxdesign/theme-neutral": "0.7.0-canary.
|
|
124
|
+
"@astryxdesign/charts": "0.7.0-canary.2514d86",
|
|
125
|
+
"@astryxdesign/core": "0.7.0-canary.2514d86",
|
|
126
|
+
"@astryxdesign/lab": "0.7.0-canary.2514d86",
|
|
127
|
+
"@astryxdesign/theme-neutral": "0.7.0-canary.2514d86",
|
|
128
128
|
"@heroicons/react": "^2.2.0",
|
|
129
129
|
"@stylexjs/stylex": "^0.19.0",
|
|
130
130
|
"@types/babel__core": "^7.20.5",
|