create-catalyst-app-internal 0.0.1-beta.30 → 0.0.1-beta.32

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/scripts/cli.cjs +3 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-catalyst-app-internal",
3
3
  "bin": "scripts/cli.cjs",
4
- "version": "0.0.1-beta.30",
4
+ "version": "0.0.1-beta.32",
5
5
  "description": "cli package to scaffold Catalyst application",
6
6
  "dependencies": {
7
7
  "commander": "^8.2.0",
package/scripts/cli.cjs CHANGED
@@ -28,7 +28,9 @@ const program = new Commander.Command()
28
28
  .action(async (folderName = null, cmd) => {
29
29
  try {
30
30
  if (process.argv.includes("new-route")) {
31
- execSync(`node codemod/createNewRoute.js`, { stdio: "inherit" })
31
+ console.log("finalPath", path.join(__dirname, "../codemod/createNewRoute.js"))
32
+ const createRoutePath = path.join(__dirname, "../codemod/createNewRoute.js")
33
+ execSync(`node ${createRoutePath}`, { stdio: "inherit" })
32
34
  return
33
35
  }
34
36