
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
@codemaskinc/create-app-template
Advanced tools
yarn run build
@codemaskinc/create-app-template
$ @codemaskinc/create-app-template --help
Usage
$ @codemaskinc/create-app-template
Options
--npm Use npm
--yarn Use yarn
--pnpm Use pnpm
--bun Use bun
--template (React, React Native, Astro, NestJS)
Examples
$ @codemaskinc/create-app-template --bun --template React
Templates are located in templates folder in the root of repo (example - template/react/base) This whole folder will be copied when creating new app
We can add extra functions to our template, they can be optionally selected when creating new project (example - template/react/extras/form)
Files from extras folder will be combined with files from base template. If there are two file with the same location (usually index.ts's) text from extra file will be placed in the bottom of the original one
You need to also define extras in other places in code
In src/data/questions/extras.ts
there is extras
object, you can add properties to array inside extras.options[Template]
to enable selection of new extras.
label - text that appear in list of extras
value - name of folder where extras is placed
If your extras should install new package you can add them in src/data/packages.ts
(the keys are extras folder names)
FAQs
Unknown package
The npm package @codemaskinc/create-app-template receives a total of 3 weekly downloads. As such, @codemaskinc/create-app-template popularity was classified as not popular.
We found that @codemaskinc/create-app-template demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.