sv 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -17
- package/dist/bin.js +45003 -2137
- package/dist/bin.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/shared.json +9 -9
- package/dist/templates/demo/files.types=checkjs.json +8 -8
- package/dist/templates/demo/files.types=none.json +7 -7
- package/dist/templates/demo/files.types=typescript.json +8 -8
- package/dist/templates/skeleton/files.types=checkjs.json +2 -2
- package/dist/templates/skeleton/files.types=none.json +1 -1
- package/dist/templates/skeleton/files.types=typescript.json +2 -2
- package/dist/templates/skeletonlib/files.types=checkjs.json +2 -2
- package/dist/templates/skeletonlib/files.types=none.json +1 -1
- package/dist/templates/skeletonlib/files.types=typescript.json +2 -2
- package/dist/templates/skeletonlib/package.json +1 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# sv - the Svelte CLI
|
|
2
2
|
|
|
3
|
-
A CLI for creating
|
|
3
|
+
A command line interface (CLI) for creating and maintaining [Svelte](https://svelte.dev) applications. Just run...
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npx sv
|
|
@@ -8,21 +8,6 @@ npx sv
|
|
|
8
8
|
|
|
9
9
|
...and follow the prompts.
|
|
10
10
|
|
|
11
|
-
## API
|
|
12
|
-
|
|
13
|
-
You can also use `sv` programmatically:
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
import { create } from 'sv';
|
|
17
|
-
|
|
18
|
-
await create('my-new-app', {
|
|
19
|
-
name: 'my-new-app',
|
|
20
|
-
template: 'default' // or 'skeleton' or 'skeletonlib'
|
|
21
|
-
});
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
`checkjs` means your project will use TypeScript to typecheck JavaScript via [JSDoc comments](https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html).
|
|
25
|
-
|
|
26
11
|
## Acknowledgements
|
|
27
12
|
|
|
28
13
|
Thank you to [Christopher Brown](https://github.com/chbrown) who originally owned the `sv` name on npm for graciously allowing it to be used for this package. You can find the original `sv` package at [`@chbrown/sv`](https://www.npmjs.com/package/@chbrown/sv).
|
|
@@ -31,4 +16,4 @@ This project was formed by merging the `create-svelte` and `svelte-add` CLIs. Th
|
|
|
31
16
|
|
|
32
17
|
## License
|
|
33
18
|
|
|
34
|
-
[MIT](../../LICENSE)
|
|
19
|
+
[MIT](../../LICENSE)
|