https://github.com/kazuma1989/scaffold
Copy any GitHub repo contents as a scaffold
https://github.com/kazuma1989/scaffold
nodejs scaffold scaffolding
Last synced: 3 months ago
JSON representation
Copy any GitHub repo contents as a scaffold
- Host: GitHub
- URL: https://github.com/kazuma1989/scaffold
- Owner: kazuma1989
- Created: 2019-11-17T02:16:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-31T17:44:31.000Z (over 3 years ago)
- Last Synced: 2025-01-22T09:33:04.515Z (4 months ago)
- Topics: nodejs, scaffold, scaffolding
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scaffold
Copy any GitHub repo contents as a scaffold.
## Usage
```bash
npx @kazuma1989/scaffold / [subdir]
```Requirements: Node.js (including npx)
### Example
```bash
% npx @kazuma1989/scaffold kazuma1989/scaffold-react react-parcel
% ls -1A
.gitignore
.prettierrc
.vscode
package-lock.json
package.json
src
tsconfig.json
```You can now run `npm install && npm start` to start serving a web app.
The contents are not cloned but just downloaded, so:
```bash
% git status
fatal: not a git repository (or any of the parent directories): .git
```## Limitations (open issues to feature request)
- Scaffold repo must be public.
- The target branch must be "master".
- There is no way to use sub directories as a scaffolding root.
- No replacement for interpolation syntax.
- No updating method (Caution! The command overwrites existing files!)