Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nareshbhatia/make-repo
CLI to generate Git repos of different flavors
https://github.com/nareshbhatia/make-repo
Last synced: about 6 hours ago
JSON representation
CLI to generate Git repos of different flavors
- Host: GitHub
- URL: https://github.com/nareshbhatia/make-repo
- Owner: nareshbhatia
- Created: 2022-04-27T06:00:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-27T18:04:07.000Z (over 2 years ago)
- Last Synced: 2024-11-05T16:53:11.564Z (2 days ago)
- Language: EJS
- Size: 36.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# make-repo
CLI to generate Git repos of different flavors
## Development Build
Add a second argument '.tmp' to line 10 in src/index.ts. This should never be
checked in.```bash
# Install dependencies
npm install# Compile /src to /dist
npm run build# Generate a new repo in .tmp
npm run generate turbo new# Test the generated repo
cd .tmp/my-repo
npm install
```## Production Build
Remove the second argument '.tmp' from line 10 in src/index.ts
```bash
# Compile /src to /dist
npm run build# Publish the package to npm
# Alternatively use npm link to publish locally
npm publish# Run the generator
# Alternatively you can install make-repo globally and skip the npx part -
# better option if you want to make repos on a plane :-)
# npm install -g make-repo
# make-repo turbo new
npx make-repo turbo new# Test the generated repo
cd my-repo
npm install# If you have published the plugin locally, then you can unpublish it like this:
npm unlink -g make-repo
```