create-sikit-2
v1.0.1
Published
CLI tool to scaffold a SIKit project
Maintainers
Readme
create-sikit
A CLI tool to quickly create a new SIKit project with recommended setup and structure.
Usage
You can create a new SIKit project in one of the following ways:
# Using npx (recommended for one-time use)
npx create-sikit
# Using npm init
npm init sikit
# Using npm create (shorthand for init)
npm create sikitThe tool will prompt you for a project name and then:
- Download the project template
- Extract it to a new directory
- Run CodeArtifact login (
npm run co:login) - Install dependencies
- Set up the project structure
Requirements
- Node.js 22.x or higher
- npm 6.x or higher
- AWS CodeArtifact access configured in the project template
unzipcommand available on the system (used for extraction)
Implementation Details
This tool uses:
- Native Node.js
fetchAPI for downloading templates - Native file system operations for handling files
- Built-in
unzipcommand line tool for extracting templates
No third-party dependencies are required for the core functionality.
Publishing to AWS CodeArtifact
To publish this package to AWS CodeArtifact:
Authenticate with AWS CodeArtifact:
aws codeartifact login --tool npm --repository [your-repo] --domain [your-domain] --domain-owner [account-id]Update the
.npmrcfile with the correct CodeArtifact URL.Build the package:
npm run buildPublish the package:
npm publish
Development
To develop this CLI tool:
# Install dependencies
npm install
# Build the TypeScript files
npm run build
# Watch for changes during development
npm run dev
# Test the CLI locally
npm start