Détail du package

create-xc-app

lencx34MIT2.4.12

Create a project in seconds!

xc, rsw, wasm, vite

readme

create-xc-app

Create a project in seconds!

Compatibility Note: Vite requires Node.js version >=12.0.0.

With NPM:

npm init xc-app

With Yarn:

yarn create xc-app

Then follow the prompts!

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + WebAssembly + React project, run:

# npm 6.x
npm init xc-app my-wasm-app --template wasm-react

# npm 7+, extra double-dash is needed:
npm init xc-app my-wasm-app -- --template wasm-react

Currently supported template presets include:

  • react-dva-ts
  • wasm-react
  • wasm-vue
  • deno-oak
  • deno-vscode-cmd: Based deno and vscode user snippets, displaying all "@cmd: " commands in the project.
    • snippets must contain "@cmd: " string
    • the string must be in the first 10 lines of the file will be matched
    • $ deno run --allow-read --allow-write cmd.ts - use cache cmd.output
    • $ deno run --allow-read --allow-write cmd.ts --update - update cmd.output file
    • $ deno run --allow-read --allow-write cmd.ts --update=tree - tree structure

Related List

License

MIT License © 2020 lencx

changelog

CHANGELOG

2.4.12 (2021-08-22)

  • ignore the .rsw/ directory

2.4.11 (2021-08-22)

  • upgrade dependency (rsw 1.9.0)

2.4.10 (2021-07-22)

  • upgrade dependency (rsw 1.8.0)

2.4.9 (2021-07-06)

  • upgrade dependency (rsw 1.6.4)

2.4.8 (2021-06-19)

Bug Fixes

  • no package.json in generated project (#1)

2.4.5 (2021-06-18)

  • add rsw-node

2.4.1 (2021-06-16)

  • upgrade dependency (rsw 1.6.2)
  • add xc-app version

2.4.0 (2021-06-16)

  • upgrade dependency (rsw 1.6.1)

2.3.4 (2021-04-11)

  • upgrade dependency
  • add awesome-rsw

2.3.3 (2021-04-05)

  • upgrade dependency

2.3.2 (2021-04-03)

  • upgrade dependency

2.3.1 (2021-02-20)

Bug Fixes

  • update prompt message based on user input

2.3.0 (2021-02-20)

Features

  • use command line options

2.2.1 (2021-02-19)

  • upgrade dependency

2.2.0 (2021-02-17)

Features

  • add template-wasm-vue
  • upgrade dependency

2.1.0 (2021-01-20)

Features

  • [x] template-deno-oak
  • [x] template-deno-vscode-cmd
  • [x] template-react-dva-ts
  • [x] template-wasm-react