@planningcenter/tapestry-migration-cli 2.10.0-rc.4 → 2.10.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/README.md CHANGED
@@ -123,7 +123,10 @@ npx @planningcenter/tapestry-migration-cli run button -p ./src/components --js-t
123
123
  ## Available Components
124
124
 
125
125
  - `button` - Migrate Button components
126
+ - `checkbox` - Migrate Checkbox components
126
127
  - `link` - Migrate Link components
128
+ - `radio` - Migrate Radio components
129
+ - `toggle-switch` - Migrate ToggleSwitch components
127
130
 
128
131
  ## Required Arguments
129
132
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planningcenter/tapestry-migration-cli",
3
- "version": "2.10.0-rc.4",
3
+ "version": "2.10.0",
4
4
  "description": "CLI tool for Tapestry migrations",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@emotion/react": "^11.14.0",
35
- "@planningcenter/tapestry": "^2.10.0-rc.4",
35
+ "@planningcenter/tapestry": "^2.10.0",
36
36
  "@planningcenter/tapestry-react": "^4.11.5",
37
37
  "@types/jscodeshift": "^17.3.0",
38
38
  "@types/node": "^20.0.0",
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "3f56f9be3bfc1163d45b50a06cb4e81be44d1a38"
55
+ "gitHead": "fddd4236846159bb8c08299e1feb813edf1e4cce"
56
56
  }
package/src/index.ts CHANGED
@@ -11,14 +11,20 @@ program
11
11
  .name("tapestry-migration-cli")
12
12
  .description("CLI tool for Tapestry migrations")
13
13
 
14
- const COMPONENTS_SET = new Set(["button", "link", "toggle-switch"])
14
+ const COMPONENTS_SET = new Set([
15
+ "button",
16
+ "checkbox",
17
+ "link",
18
+ "radio",
19
+ "toggle-switch",
20
+ ])
15
21
 
16
22
  program
17
23
  .command("run")
18
24
  .description("Run a migration of a component from Tapestry React to Tapestry")
19
25
  .argument(
20
26
  "<component-name>",
21
- "The name of the component to migrate (button, link, toggle-switch)"
27
+ "The name of the component to migrate (button, checkbox, link, radio, toggle-switch)"
22
28
  )
23
29
  .requiredOption(
24
30
  "-p, --path <path>",