Michael Bromley 928df0bde4 chore: Pre-release v3.1.0-next.3 1 tahun lalu
..
src cb556d8cdf fix(core): Replace insecure randomness with secure randomBytes 1 tahun lalu
templates a40fbb16cb fix(create): Dynamically find open port if 3000 in use 1 tahun lalu
.gitattributes 5fdeace799 fix(create): Add .gitattributes to prevent eol conversions 6 tahun lalu
.gitignore 7c633860da feat: create @vendure/create package 6 tahun lalu
.npmignore 7c633860da feat: create @vendure/create package 6 tahun lalu
README.md 6588365d71 chore(create): Update minimum versions of Node & Yarn 1 tahun lalu
build.ts 0441a0338a chore: Migrate from TSLint to ESLint 2 tahun lalu
index.js 65a113b12b feat(admin-ui): Add Polish translations (#317) 5 tahun lalu
package.json 928df0bde4 chore: Pre-release v3.1.0-next.3 1 tahun lalu
tsconfig.build.json 7c633860da feat: create @vendure/create package 6 tahun lalu
tsconfig.json d184e4d36f chore: Fix issues with build configs 1 tahun lalu

README.md

Vendure Create

A CLI tool for rapidly scaffolding a new Vendure server application. Heavily inspired by create-react-app.

Usage

Vendure Create requires Node.js v8.9.0+ to be installed.

To create a new project, you may choose one of the following methods:

npx

npx @vendure/create my-app

npx comes with npm 5.2+ and higher.

npm

npm init @vendure my-app

npm init <initializer> is available in npm 6+

Yarn

yarn create @vendure my-app

yarn create is available in Yarn 0.25+

It will create a directory called my-app inside the current folder.

Options

--use-npm

By default, Vendure Create will detect whether a compatible version of Yarn is installed, and if so will display a prompt to select the preferred package manager. You can override this and force it to use npm with the --use-npm flag.

--log-level

You can control how much output is generated during the installation and setup with this flag. Valid options are silent, info and verbose. The default is silent

Example:

npx @vendure/create my-app --log-level verbose