sk-clib 1.18.3 → 1.18.9

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 (65) hide show
  1. package/README.md +14 -30
  2. package/package.json +41 -45
  3. package/dist/index.d.ts +0 -2
  4. package/dist/index.js +0 -2
  5. package/dist/styles.css +0 -1143
  6. package/dist/theme/index.d.ts +0 -4
  7. package/dist/theme/index.js +0 -6
  8. package/dist/theme/logic.d.ts +0 -4
  9. package/dist/theme/logic.js +0 -93
  10. package/dist/theme/stores.svelte.d.ts +0 -24
  11. package/dist/theme/stores.svelte.js +0 -33
  12. package/dist/theme/theme-init/components/theme-init.svelte +0 -103
  13. package/dist/theme/theme-init/components/theme-init.svelte.d.ts +0 -13
  14. package/dist/theme/theme-init/index.d.ts +0 -2
  15. package/dist/theme/theme-init/index.js +0 -1
  16. package/dist/theme/theme-init/types.d.ts +0 -15
  17. package/dist/theme/theme-init/types.js +0 -1
  18. package/dist/theme/types.d.ts +0 -2
  19. package/dist/theme/types.js +0 -1
  20. package/dist/ui/button/components/button.svelte +0 -33
  21. package/dist/ui/button/components/button.svelte.d.ts +0 -11
  22. package/dist/ui/button/index.d.ts +0 -2
  23. package/dist/ui/button/index.js +0 -1
  24. package/dist/ui/button/types.d.ts +0 -5
  25. package/dist/ui/button/types.js +0 -1
  26. package/dist/ui/flex/components/flex.svelte +0 -28
  27. package/dist/ui/flex/components/flex.svelte.d.ts +0 -10
  28. package/dist/ui/flex/index.d.ts +0 -2
  29. package/dist/ui/flex/index.js +0 -1
  30. package/dist/ui/flex/types.d.ts +0 -2
  31. package/dist/ui/flex/types.js +0 -1
  32. package/dist/ui/frame/components/frame.svelte +0 -133
  33. package/dist/ui/frame/components/frame.svelte.d.ts +0 -22
  34. package/dist/ui/frame/index.d.ts +0 -2
  35. package/dist/ui/frame/index.js +0 -1
  36. package/dist/ui/frame/types.d.ts +0 -33
  37. package/dist/ui/frame/types.js +0 -1
  38. package/dist/ui/header/components/header.svelte +0 -147
  39. package/dist/ui/header/components/header.svelte.d.ts +0 -42
  40. package/dist/ui/header/index.d.ts +0 -2
  41. package/dist/ui/header/index.js +0 -1
  42. package/dist/ui/header/types.d.ts +0 -31
  43. package/dist/ui/header/types.js +0 -1
  44. package/dist/ui/index.d.ts +0 -14
  45. package/dist/ui/index.js +0 -10
  46. package/dist/ui/input/components/input.svelte +0 -74
  47. package/dist/ui/input/components/input.svelte.d.ts +0 -10
  48. package/dist/ui/input/index.d.ts +0 -2
  49. package/dist/ui/input/index.js +0 -1
  50. package/dist/ui/input/types.d.ts +0 -6
  51. package/dist/ui/input/types.js +0 -1
  52. package/dist/ui/spacer/components/spacer.svelte +0 -50
  53. package/dist/ui/spacer/components/spacer.svelte.d.ts +0 -17
  54. package/dist/ui/spacer/index.d.ts +0 -2
  55. package/dist/ui/spacer/index.js +0 -1
  56. package/dist/ui/spacer/types.d.ts +0 -7
  57. package/dist/ui/spacer/types.js +0 -1
  58. package/dist/ui/text/components/text.svelte +0 -90
  59. package/dist/ui/text/components/text.svelte.d.ts +0 -5
  60. package/dist/ui/text/index.d.ts +0 -2
  61. package/dist/ui/text/index.js +0 -1
  62. package/dist/ui/text/types.d.ts +0 -34
  63. package/dist/ui/text/types.js +0 -25
  64. package/dist/utils.d.ts +0 -81
  65. package/dist/utils.js +0 -141
package/README.md CHANGED
@@ -1,58 +1,42 @@
1
- # Svelte library
1
+ # sv
2
2
 
3
- Everything you need to build a Svelte library, powered by [`sv`](https://npmjs.com/package/sv).
4
-
5
- Read more about creating a library [in the docs](https://svelte.dev/docs/kit/packaging).
3
+ Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
6
4
 
7
5
  ## Creating a project
8
6
 
9
7
  If you're seeing this, you've probably already done this step. Congrats!
10
8
 
11
- ```bash
12
- # create a new project in the current directory
13
- npx sv create
14
-
15
- # create a new project in my-app
9
+ ```sh
10
+ # create a new project
16
11
  npx sv create my-app
17
12
  ```
18
13
 
14
+ To recreate this project with the same configuration:
15
+
16
+ ```sh
17
+ # recreate this project
18
+ npx sv@0.15.1 create --template minimal --types ts --add prettier eslint tailwindcss="plugins:none" --no-download-check --install npm .
19
+ ```
20
+
19
21
  ## Developing
20
22
 
21
23
  Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
22
24
 
23
- ```bash
25
+ ```sh
24
26
  npm run dev
25
27
 
26
28
  # or start the server and open the app in a new browser tab
27
29
  npm run dev -- --open
28
30
  ```
29
31
 
30
- Everything inside `src/lib` is part of your library, everything inside `src/routes` can be used as a showcase or preview app.
31
-
32
32
  ## Building
33
33
 
34
- To build your library:
35
-
36
- ```bash
37
- npm run package
38
- ```
39
-
40
- To create a production version of your showcase app:
34
+ To create a production version of your app:
41
35
 
42
- ```bash
36
+ ```sh
43
37
  npm run build
44
38
  ```
45
39
 
46
40
  You can preview the production build with `npm run preview`.
47
41
 
48
42
  > To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
49
-
50
- ## Publishing
51
-
52
- Go into the `package.json` and give your package the desired name through the `"name"` option. Also consider adding a `"license"` field and point it to a `LICENSE` file which you can create from a template (one popular option is the [MIT license](https://opensource.org/license/mit/)).
53
-
54
- To publish your library to [npm](https://www.npmjs.com):
55
-
56
- ```bash
57
- npm publish
58
- ```
package/package.json CHANGED
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "name": "sk-clib",
3
- "version": "1.18.3",
3
+ "version": "1.18.9",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/TreltaSev/sk-clib"
7
+ },
4
8
  "type": "module",
5
9
  "files": [
6
10
  "dist",
@@ -31,56 +35,48 @@
31
35
  "sideEffects": [
32
36
  "**/*.css"
33
37
  ],
34
- "scripts": {
35
- "build": "svelte-package && npm run css_build",
36
- "webbuild": "vite build",
37
- "prepublishOnly": "npm run build && publint --skip-pack",
38
- "check": "svelte-check --tsconfig ./tsconfig.json",
39
- "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
40
- "format": "prettier --write .",
41
- "lint": "prettier --check . && eslint .",
42
- "css_build": "npx tailwindcss -i ./src/library.css -o ./dist/styles.css"
43
- },
44
- "peerDependencies": {
45
- "@sveltejs/kit": "^2.0.0",
46
- "svelte": "^5.0.0",
47
- "@material/material-color-utilities": "^0.3.0"
48
- },
49
- "devDependencies": {
50
- "@iconify-json/mdi": "^1.2.3",
51
- "@sveltejs/kit": "^2.0.0",
52
- "@sveltejs/package": "^2.0.0",
53
- "@sveltejs/vite-plugin-svelte": "^5.0.0",
54
- "eslint": "^9.18.0",
55
- "eslint-config-prettier": "^10.0.1",
56
- "eslint-plugin-svelte": "^3.0.0",
57
- "prettier": "^3.4.2",
58
- "prettier-plugin-svelte": "^3.3.3",
59
- "prettier-plugin-tailwindcss": "^0.6.11",
60
- "publint": "^0.3.12",
61
- "svelte": "^5.0.0",
62
- "svelte-check": "^4.0.0",
63
- "typescript": "^5.0.0",
64
- "unplugin-icons": "^22.1.0",
65
- "vite": "^6.2.6"
66
- },
67
38
  "keywords": [
68
39
  "svelte",
69
40
  "component",
70
41
  "library"
71
42
  ],
43
+ "scripts": {
44
+ "dev": "vite dev",
45
+ "build": "vite build",
46
+ "preview": "vite preview",
47
+ "prepare": "svelte-kit sync || echo ''",
48
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
49
+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
50
+ "lint": "prettier --check . && eslint .",
51
+ "format": "prettier --write ."
52
+ },
53
+ "devDependencies": {
54
+ "@eslint/compat": "^2.0.4",
55
+ "@eslint/js": "^10.0.1",
56
+ "@iconify/json": "^2.2.480",
57
+ "@sveltejs/adapter-auto": "^7.0.1",
58
+ "@sveltejs/kit": "^2.57.0",
59
+ "@sveltejs/vite-plugin-svelte": "^7.0.0",
60
+ "@tailwindcss/vite": "^4.2.2",
61
+ "@types/node": "^22",
62
+ "eslint": "^10.2.0",
63
+ "eslint-config-prettier": "^10.1.8",
64
+ "eslint-plugin-svelte": "^3.17.0",
65
+ "globals": "^17.4.0",
66
+ "prettier": "^3.8.1",
67
+ "prettier-plugin-svelte": "^3.5.1",
68
+ "prettier-plugin-tailwindcss": "^0.7.2",
69
+ "svelte": "^5.55.2",
70
+ "svelte-check": "^4.4.6",
71
+ "tailwindcss": "^4.2.2",
72
+ "typescript": "^6.0.2",
73
+ "typescript-eslint": "^8.58.1",
74
+ "unplugin-icons": "^23.0.1",
75
+ "vite": "^8.0.7"
76
+ },
72
77
  "dependencies": {
73
78
  "@material/material-color-utilities": "^0.3.0",
74
- "@semantic-release/changelog": "^6.0.3",
75
- "@semantic-release/git": "^10.0.1",
76
- "@semantic-release/npm": "^12.0.1",
77
- "@sveltejs/adapter-auto": "^6.0.1",
78
- "@sveltejs/adapter-static": "^3.0.8",
79
- "@tailwindcss/cli": "^4.1.5",
80
- "@tailwindcss/vite": "^4.1.7",
81
- "js-cookie": "^3.0.5",
82
- "mdsvex": "^0.12.6",
83
- "semantic-release": "^24.2.4",
84
- "tailwind-merge": "^3.2.0"
79
+ "tailwind-merge": "^3.2.0",
80
+ "js-cookie": "^3.0.5"
85
81
  }
86
82
  }
package/dist/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from "./theme";
2
- export * from "./ui";
package/dist/index.js DELETED
@@ -1,2 +0,0 @@
1
- export * from "./theme";
2
- export * from "./ui";