@planningcenter/tapestry-migration-cli 3.1.0-rc.26 → 3.1.0-rc.28
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/package.json +3 -3
- package/src/index.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planningcenter/tapestry-migration-cli",
|
|
3
|
-
"version": "3.1.0-rc.
|
|
3
|
+
"version": "3.1.0-rc.28",
|
|
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": "^3.1.0-rc.
|
|
35
|
+
"@planningcenter/tapestry": "^3.1.0-rc.28",
|
|
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": "
|
|
55
|
+
"gitHead": "9b9b1208847053c8e91befcde2b718704f5d4027"
|
|
56
56
|
}
|
package/src/index.ts
CHANGED
|
@@ -17,6 +17,8 @@ const COMPONENTS_SET = new Set([
|
|
|
17
17
|
"input",
|
|
18
18
|
"link",
|
|
19
19
|
"radio",
|
|
20
|
+
"select",
|
|
21
|
+
"text-area",
|
|
20
22
|
"toggle-switch",
|
|
21
23
|
])
|
|
22
24
|
|
|
@@ -25,7 +27,7 @@ program
|
|
|
25
27
|
.description("Run a migration of a component from Tapestry React to Tapestry")
|
|
26
28
|
.argument(
|
|
27
29
|
"<component-name>",
|
|
28
|
-
"The name of the component to migrate (button, checkbox, input, link, radio, toggle-switch)"
|
|
30
|
+
"The name of the component to migrate (button, checkbox, input, link, radio, select, text-area, toggle-switch)"
|
|
29
31
|
)
|
|
30
32
|
.requiredOption(
|
|
31
33
|
"-p, --path <path>",
|