Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@qwikdev/create-astro
Advanced tools
With NPM
:
npm create @qwikdev/astro@latest [destination] [adapter] [...options]
With Yarn
:
yarn create @qwikdev/astro [destination] [adapter] [...options]
With PNPM
:
pnpm create @qwikdev/astro [destination] [adapter] [...options]
With Bun
:
bun create @qwikdev/astro [destination] [adapter] [...options]
The create @qwikdev/astro
command runs interactively without any arguments or options.
However, it is possible to use the interactive mode as described below:
Types of arguments:
Name | Type | Default value | Description |
---|---|---|---|
destination | String | . | Directory of the project. |
adapter | "deno" or "node" or "none" | none | Server adapter. |
Types of options:
Name | Description |
---|---|
--help (-h ) | Display available flags. |
--dry-run | Walk through steps without executing. |
--force / --no-force (-f / --no-f ) | Overwrite target directory if it exists. |
--add / --no-add (-a / --no-a ) | Add QwikDev/astro to existing project. |
--install / --no-install (-i / --no-i ) | Install dependencies. |
--biome / --no-biome | Prefer Biome to ESLint/Prettier. |
--git / --no-git | Initialize Git repository. |
--ci / --no-ci | Add CI workflow. |
--yes (-y ) | Skip all prompts by accepting defaults. |
--no (-n ) | Skip all prompts by declining defaults. |
Use the arguments provided in the command line:
import createQwikAstro from '@qwikdev/create-astro';
createQwikAstro();
Specify the command line arguments to use:
import { run } from '@qwikdev/create-astro';
run(["./qwik-astro-app", "node"]);
Definition type:
export type Definition = {
destination: string;
adapter?: "deno" | "node" | "none";
force?: boolean;
add?: boolean;
install?: boolean;
biome?: boolean;
git?: boolean;
ci?: boolean;
yes?: boolean;
no?: boolean;
dryRun?: boolean;
};
Default definition:
export const defaultDefinition = {
destination: ".",
adapter: "none",
force: undefined,
add: undefined,
install: undefined,
biome: undefined,
git: undefined,
ci: undefined,
yes: undefined,
no: undefined,
dryRun: undefined
} as const;
FAQs
Interactive CLI for create @QwikDev/astro projects.
We found that @qwikdev/create-astro 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.