Starterpack (via NPX)
├── create-spec-up-t-starterpack.js
├── messages.js
├── package.spec-up-t.json
└── start.js
create-spec-up-t-starterpack.js
This script is called via NPX and starts the installation process. What it does:
- Handle file system operations (create the target directory etc.)
- Initialize Git
- Initialize npm
- copy
package.spec-up-t.jsonto the target directory - rename to
package.json - install the
spec-up-tversion pinned in that file
- copy
New projects stay on the pinned version until you change it and publish create-spec-up-t again. After spec-up-t 2.1.0 is published, the pin must be "spec-up-t": "2.1.0", and the same for each later release. See Starter Pack Architecture.
4. Hand over to install.js in the now available spec-up-t package.
messages.js
Contains messages intended for feedback to the user.
start.js
Work in progress: GitHub Action Workflow.