
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@greenwood/init
Advanced tools
Init package for scaffolding out a new Greenwood project. For more information and complete docs, please visit the Greenwood website.
Run the init
command to scaffold a minimal Greenwood project into a directory of your choosing.
# providing an output directory of my-app
npx @greenwood/init@latest my-app
This will then output your project files into a directory called my-app
my-app
├── .gitignore
├── greenwood.config.js
├── package.json
└── src/
└─ ...
By providing a name as the first argument, the init
command will output the project files into a directory of the same name and configure the name
property package.json.
# example
npx @greenwood/init@latest my-app
Omitting my-app will install project files into the current directory.
To scaffold your new project based on one of Greenwood's starter templates, pass the --template
flag and then follow the prompts to complete the scaffolding.
# example
npx @greenwood/init@latest --template
-------------------------------------------------------
Initialize Greenwood Template ♻️
-------------------------------------------------------
? Which template would you like to use? (Use arrow keys)
❯ blog
You can also pass the template you want from the CLI as well.
# example
npx @greenwood/init@latest --template=blog
To automatically run npm install
after scaffolding, pass the --install
flag.
# example
npx @greenwood/init@latest --install
To automatically run yarn install
after scaffolding, pass the --yarn
flag.
# example
npx @greenwood/init@latest --yarn
Flags can be chained together!
# This will use Yarn, install dependencies, and scaffold from the blog template $ npx @greenwood/init@latest --template --yarn --install
FAQs
A package for scaffolding a new Greenwood project.
The npm package @greenwood/init receives a total of 118 weekly downloads. As such, @greenwood/init popularity was classified as not popular.
We found that @greenwood/init demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.