svelte-remix 0.3.1 → 0.3.2
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 +0 -32
- package/package.json +9 -10
package/README.md
CHANGED
|
@@ -56,38 +56,6 @@ In a svelte file:
|
|
|
56
56
|
<InboxUnarchiveLineBUSINESS />
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
## Faster compiling
|
|
60
|
-
|
|
61
|
-
For faster compilation, you can import the icon directly.
|
|
62
|
-
|
|
63
|
-
```html
|
|
64
|
-
<script>
|
|
65
|
-
import BankFillBUILDINGS from 'svelte-remix/BankFillBUILDINGS.svelte';
|
|
66
|
-
</script>
|
|
67
|
-
|
|
68
|
-
<BankFillBUILDINGS />
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
If you are TypeScript user, **this require `"typescript": "^5.0.0"`.**
|
|
72
|
-
|
|
73
|
-
As of March 2023, the `typescript@beta` version is now available:
|
|
74
|
-
|
|
75
|
-
```sh
|
|
76
|
-
pnpm i -D typescript@beta
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
To avoid any complaints from the editor, add `node16` or `nodenext` to `moduleResolution` in your tsconfig.json file.
|
|
80
|
-
|
|
81
|
-
```json
|
|
82
|
-
{
|
|
83
|
-
//...
|
|
84
|
-
"compilerOptions": {
|
|
85
|
-
// ...
|
|
86
|
-
"moduleResolution": "nodenext"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
```
|
|
90
|
-
|
|
91
59
|
## Size
|
|
92
60
|
|
|
93
61
|
Use the `size` prop to change the size of icons.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-remix",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Svelte Remix Icon components",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Shinichi Okada",
|
|
@@ -23,8 +23,13 @@
|
|
|
23
23
|
"lint": "prettier --plugin-search-dir . --check . && eslint .",
|
|
24
24
|
"format": "prettier --plugin-search-dir . --write .",
|
|
25
25
|
"write-package-json": "node ./scripts/package-json-writer.js",
|
|
26
|
-
"
|
|
27
|
-
|
|
26
|
+
"package:publish": "standard-version && git push --follow-tags origin main && npm run package && npm run write-package-json && npm publish"
|
|
27
|
+
},
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"svelte": "./dist/index.js"
|
|
32
|
+
}
|
|
28
33
|
},
|
|
29
34
|
"files": [
|
|
30
35
|
"dist"
|
|
@@ -65,11 +70,5 @@
|
|
|
65
70
|
"repository": {
|
|
66
71
|
"type": "git",
|
|
67
72
|
"url": "https://github.com/shinokada/svelte-remix-icons"
|
|
68
|
-
},
|
|
69
|
-
"exports": {
|
|
70
|
-
".": {
|
|
71
|
-
"types": "./dist/index.d.ts",
|
|
72
|
-
"svelte": "./dist/index.js"
|
|
73
|
-
}
|
|
74
73
|
}
|
|
75
|
-
}
|
|
74
|
+
}
|