sv 1.2.0 → 1.3.0

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.
Files changed (30) hide show
  1. package/dist/{shared.json → addons/ai-tools.json} +18 -199
  2. package/dist/{addons-Ih-Pmrow.mjs → addons-BCioxI2r.mjs} +74 -9
  3. package/dist/bin.mjs +23 -25
  4. package/dist/{engine-0i6PA_0L.mjs → engine-S8UpCG24.mjs} +7 -61
  5. package/dist/playground/PlaygroundLayout.svelte +218 -0
  6. package/dist/src/index.d.mts +4 -4
  7. package/dist/src/index.mjs +2 -2
  8. package/dist/src/testing.mjs +1 -1
  9. package/dist/templates/addon/assets/CONTRIBUTING.md +48 -0
  10. package/dist/templates/addon/assets/README.md +29 -0
  11. package/dist/templates/addon/files.types=checkjs.json +10 -1
  12. package/dist/templates/addon/files.types=none.json +10 -1
  13. package/dist/templates/addon/files.types=typescript.json +10 -1
  14. package/dist/templates/addon/package.json +22 -16
  15. package/dist/templates/demo/assets/README.md +49 -0
  16. package/dist/templates/demo/files.types=checkjs.json +12 -0
  17. package/dist/templates/demo/files.types=none.json +12 -0
  18. package/dist/templates/demo/files.types=typescript.json +12 -0
  19. package/dist/templates/demo/package.json +10 -6
  20. package/dist/templates/library/assets/README.md +72 -0
  21. package/dist/templates/library/files.types=checkjs.json +12 -0
  22. package/dist/templates/library/files.types=none.json +12 -0
  23. package/dist/templates/library/files.types=typescript.json +12 -0
  24. package/dist/templates/library/package.json +28 -17
  25. package/dist/templates/minimal/assets/README.md +49 -0
  26. package/dist/templates/minimal/files.types=checkjs.json +12 -0
  27. package/dist/templates/minimal/files.types=none.json +12 -0
  28. package/dist/templates/minimal/files.types=typescript.json +12 -0
  29. package/dist/templates/minimal/package.json +10 -6
  30. package/package.json +1 -3
@@ -0,0 +1,49 @@
1
+ # sv
2
+
3
+ Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
4
+
5
+ ## Creating a project
6
+
7
+ If you're seeing this, you've probably already done this step. Congrats!
8
+
9
+ ```sh
10
+ # create a new project
11
+ npx sv create my-app
12
+ ```
13
+
14
+ ## Adding features
15
+
16
+ Add features to your project with `sv add`:
17
+
18
+ ```sh
19
+ npx sv add
20
+ ```
21
+
22
+ For example, to add Tailwind CSS:
23
+
24
+ ```sh
25
+ npx sv add tailwindcss
26
+ ```
27
+
28
+ ## Developing
29
+
30
+ Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
31
+
32
+ ```sh
33
+ npm run dev
34
+
35
+ # or start the server and open the app in a new browser tab
36
+ npm run dev -- --open
37
+ ```
38
+
39
+ ## Building
40
+
41
+ To create a production version of your app:
42
+
43
+ ```sh
44
+ npm run build
45
+ ```
46
+
47
+ You can preview the production build with `npm run preview`.
48
+
49
+ > To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.