New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

create-svelte-with-args

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-svelte-with-args - npm Package Compare versions

Comparing version 4.1.1 to 5.0.1--canary.3164d4e.0

14

dist/bin.js

@@ -9,7 +9,7 @@ #!/usr/bin/env node

[
"npm create svelte-with-args@latest --name=my-new-app --template=default --types=checkjs --prettier --no-eslint --no-playwright --no-vitest",
"npm create svelte-with-args@latest --name=my-new-app --template=default --types=checkjs --prettier --no-eslint --no-playwright --no-vitest --no-svelte5",
"Default app, checking JS types, with Prettier, and no ESLint, Playwright or Vitest"
],
[
"npm create svelte-with-args@latest --name=my-new-app --directory=other-dir/my-app --template=default --types=typescript --no-prettier --no-eslint --no-playwright --no-vitest",
"npm create svelte-with-args@latest --name=my-new-app --directory=other-dir/my-app --template=default --types=typescript --no-prettier --no-eslint --no-playwright --no-vitest --no-svelte5",
"Default app, installing in specified directory"

@@ -67,2 +67,8 @@ ]

},
svelte5: {
alias: "5",
type: "boolean",
description: "If Svelte 5 beta should be used",
demandOption: true
},
dry: {

@@ -91,2 +97,3 @@ type: "boolean",

vitest: ${argv.vitest},
svelte5: ${argv.svelte5},
});`);

@@ -102,3 +109,4 @@ return;

playwright: argv.playwright,
vitest: argv.vitest
vitest: argv.vitest,
svelte5: argv.svelte5
});

@@ -105,0 +113,0 @@ console.log(`Done. Succesfully created a new Svelte project in ./${argv.directory}`);

{
"name": "create-svelte-with-args",
"version": "4.1.1",
"version": "5.0.1--canary.3164d4e.0",
"description": "A small CLI wrapper around the create-svelte package that enables you to replace the interactive prompts with CLI arguments.",

@@ -19,7 +19,8 @@ "bin": "dist/bin.js",

"start": "node ./dist/bin.js",
"start:default": "yarn start --name=default --template=default --types=checkjs --no-prettier --no-eslint --no-playwright --no-vitest",
"start:mini": "yarn start --name=mini --template=skeleton --types=null --no-prettier --no-eslint --no-playwright --no-vitest",
"start:maxi": "yarn start --name=maxi --template=default --types=typescript --prettier --eslint --playwright --vitest",
"start:default": "yarn start --name=default --template=default --types=checkjs --no-prettier --no-eslint --no-playwright --no-vitest --no-svelte5",
"start:mini": "yarn start --name=mini --template=skeleton --types=null --no-prettier --no-eslint --no-playwright --no-vitest --no-svelte5",
"start:maxi": "yarn start --name=maxi --template=default --types=typescript --prettier --eslint --playwright --vitest --no-svelte5",
"start:svelte5": "yarn start --name=svelte5 --template=default --types=typescript --prettier --eslint --playwright --vitest --svelte5",
"start:dry": "yarn start:default --dry",
"start:all": "yarn start:default && yarn start:mini && yarn start:maxi && yarn start:dry",
"start:all": "yarn start:default && yarn start:mini && yarn start:maxi && yarn start:svelte5 && yarn start:dry",
"format": "prettier --write .",

@@ -40,3 +41,3 @@ "format:check": "prettier --check .",

"dependencies": {
"create-svelte": "5.1.1",
"create-svelte": "5.3.1",
"yargs": "^17.5.1"

@@ -43,0 +44,0 @@ },

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc