@hkdigital/lib-sveltekit 0.0.39 → 0.0.41
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 +4 -3
- package/package.json +10 -2
package/README.md
CHANGED
@@ -43,7 +43,7 @@ For example to import a constant from `constants/regexp/index.js`
|
|
43
43
|
import { CHAR } from '@hkdigital/lib-sveltekit-test/constants/regexp';
|
44
44
|
```
|
45
45
|
|
46
|
-
###
|
46
|
+
### Import CSS
|
47
47
|
|
48
48
|
Vite should include postcss-import, but the only solution to get it working for now is to use a relative path to the node_modules folder.
|
49
49
|
|
@@ -102,8 +102,9 @@ npm publish --access public
|
|
102
102
|
```
|
103
103
|
|
104
104
|
```bash
|
105
|
-
# Run npm version patch && npm publish --access public
|
106
|
-
|
105
|
+
# Run `npm version patch && npm publish --access public && git push`
|
106
|
+
# as specified in package.json
|
107
|
+
pnpm run publish:npm
|
107
108
|
```
|
108
109
|
|
109
110
|
### Contribute
|
package/package.json
CHANGED
@@ -1,19 +1,27 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hkdigital/lib-sveltekit",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.41",
|
4
4
|
"author": "Jens Kleinhout, HKdigital (https://hkdigital.nl)",
|
5
5
|
"license": "ISC",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
8
8
|
"url": "git+https://github.com/HKdigital/hkdigital--lib-sveltekit.git"
|
9
9
|
},
|
10
|
+
"keywords": [
|
11
|
+
"component-library",
|
12
|
+
"sveltekit",
|
13
|
+
"skeleton",
|
14
|
+
"tailwindcss",
|
15
|
+
"runed",
|
16
|
+
"valibot"
|
17
|
+
],
|
10
18
|
"scripts": {
|
11
19
|
"dev": "vite dev",
|
12
20
|
"build": "vite build && npm run package",
|
13
21
|
"preview": "vite preview",
|
14
22
|
"package": "svelte-kit sync && svelte-package && publint",
|
15
23
|
"prepublishOnly": "npm run package",
|
16
|
-
"publish:npm": "npm version patch && npm publish --access public",
|
24
|
+
"publish:npm": "npm version patch && npm publish --access public && git push",
|
17
25
|
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
|
18
26
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
|
19
27
|
"format": "prettier --write .",
|