···14 exit 1
15fi
1617-echo "🚀 Generating new module: $PACKAGE_NAME"
1819if [ ! -d "modules" ]; then
20- echo "🚨 No modules directory found. Please run this script from the root of the project."
21 exit 1
22fi
23···46replace_in_files "https://stackblitz.com/github/@cruxt/module-repo?file=playground%2Fapp.vue" "$STACKBLITZ_URL"
47replace_in_files "https://example.com" "$DOCUMENTATION_URL"
4849-echo "🎉 Done! You can now run 'pnpm run dev' to start developing your module."
···14 exit 1
15fi
1617+echo "Generating new module: $PACKAGE_NAME"
1819if [ ! -d "modules" ]; then
20+ echo "No modules directory found. Please run this script from the root of the project."
21 exit 1
22fi
23···46replace_in_files "https://stackblitz.com/github/@cruxt/module-repo?file=playground%2Fapp.vue" "$STACKBLITZ_URL"
47replace_in_files "https://example.com" "$DOCUMENTATION_URL"
4849+echo "Done! You can now run 'pnpm run dev' to start developing your module."