@seed-design/codemod 0.0.0-alpha-20241018093322 → 0.0.0-alpha-20241018101237
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/bin/index.mjs +1 -0
- package/package.json +1 -1
- package/src/index.ts +2 -0
package/bin/index.mjs
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
#!/usr/bin/env node
|
1
2
|
import{cac as s}from"cac";import{execaNode as a}from"execa";import{createRequire as c}from"module";var o=s(),g=n=>`./dist/${n}.mjs`;m(o);o.help();o.parse();function m(n){let t=c(import.meta.url).resolve("jscodeshift/bin/jscodeshift");n.command("migrate-icons [...paths]","Migrate icons").option("--extensions <extensions>","Extensions").option("--ignore-config <ignoreConfig>","Ignore config").option("--ignore-pattern <ignorePattern>","Ignore pattern").action(async(i,e)=>{let{all:r}=await a({all:!0})`${t} ${i.join(" ")}
|
2
3
|
-t ${g("migrate-icons")}
|
3
4
|
--parser=tsx
|
package/package.json
CHANGED