cclkit4svelte 0.1.4-c → 0.1.4
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 +6 -8
- package/package.json +35 -3
package/README.md
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
# ccl-component-kit4svelte
|
|
2
|
-
[](https://github.com/reiji1020/ccl-component-kit4svelte/actions/workflows/storybook-release.yaml)
|
|
3
|
-
[](https://github.com/reiji1020/ccl-component-kit4svelte/actions/workflows/publish-package.yaml)
|
|
4
2
|
|
|
5
3
|
CANDY CHUPS Labのサイトで使うコンポーネントのキットです。
|
|
6
4
|
元々Reactコンポーネントで開発していたのをSvelteに移行しました。
|
|
@@ -9,7 +7,7 @@ CANDY CHUPS Labのサイトで使うコンポーネントのキットです。
|
|
|
9
7
|
|
|
10
8
|
## Figma
|
|
11
9
|
|
|
12
|
-
https://www.figma.com/files/project/71337935/CCL_Component?fuid=1036675751093311196>
|
|
10
|
+
<https://www.figma.com/files/project/71337935/CCL_Component?fuid=1036675751093311196>
|
|
13
11
|
|
|
14
12
|
## 利用用途
|
|
15
13
|
|
|
@@ -31,14 +29,14 @@ or
|
|
|
31
29
|
|
|
32
30
|
## 本ライブラリの開発について
|
|
33
31
|
|
|
34
|
-
コンポーネントライブラリの開発には、Node.jsの
|
|
32
|
+
コンポーネントライブラリの開発には、Node.jsのVersion18以降の環境が必要です。パッケージマネージャにはnpmを使用します。詳細なバージョンについては`package.json`に記載をしていますのでご確認ください。
|
|
35
33
|
|
|
36
34
|
Node.jsのバージョン切り替えには[Volta](https://volta.sh/)をおすすめします。
|
|
37
35
|
|
|
38
36
|
```zsh
|
|
39
37
|
volta install node
|
|
40
38
|
# or
|
|
41
|
-
volta install node@
|
|
39
|
+
volta install node@18
|
|
42
40
|
|
|
43
41
|
node -v
|
|
44
42
|
#任意のNodeのバージョンが表示されればOK
|
|
@@ -67,7 +65,7 @@ Everything you need to build a Svelte project, powered by [`create-svelte`](http
|
|
|
67
65
|
|
|
68
66
|
## Figma
|
|
69
67
|
|
|
70
|
-
https://www.figma.com/files/project/71337935/CCL_Component?fuid=1036675751093311196>
|
|
68
|
+
<https://www.figma.com/files/project/71337935/CCL_Component?fuid=1036675751093311196>
|
|
71
69
|
|
|
72
70
|
## Usage
|
|
73
71
|
|
|
@@ -89,14 +87,14 @@ or
|
|
|
89
87
|
|
|
90
88
|
## About the development of this library
|
|
91
89
|
|
|
92
|
-
The development of component libraries requires a Node.js environment with Version
|
|
90
|
+
The development of component libraries requires a Node.js environment with Version 18 or higher. Use npm as the package manager. Please check the `package.json` for detailed version information.
|
|
93
91
|
|
|
94
92
|
We recommend [Volta](https://volta.sh/) for switching Node.js versions.
|
|
95
93
|
|
|
96
94
|
```zsh
|
|
97
95
|
volta install node
|
|
98
96
|
# or
|
|
99
|
-
volta install node@
|
|
97
|
+
volta install node@18
|
|
100
98
|
|
|
101
99
|
node -v
|
|
102
100
|
#Once the desired Node version is displayed, it is OK.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cclkit4svelte",
|
|
3
|
-
"version": "0.1.4
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"author": "reiji1020 <sk@reiji1020.info>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -14,6 +14,38 @@
|
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/reiji1020/ccl-component-kit4svelte#readme",
|
|
16
16
|
"description": "Component kit for CANDY CHUPS Lab.",
|
|
17
|
+
"release": {
|
|
18
|
+
"plugins": [
|
|
19
|
+
"@semantic-release/commit-analyzer",
|
|
20
|
+
"@semantic-release/release-notes-generator",
|
|
21
|
+
[
|
|
22
|
+
"@semantic-release/changelog",
|
|
23
|
+
{
|
|
24
|
+
"changelogFile": "docs/CHANGELOG.md"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"@semantic-release/npm",
|
|
28
|
+
[
|
|
29
|
+
"@semantic-release/git",
|
|
30
|
+
{
|
|
31
|
+
"assets": ["docs/CHANGELOG.md"]
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
],
|
|
35
|
+
"main": [
|
|
36
|
+
"main"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"commitlint": {
|
|
40
|
+
"extends": [
|
|
41
|
+
"@commitlint/config-conventional"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"husky": {
|
|
45
|
+
"hooks": {
|
|
46
|
+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
17
49
|
"scripts": {
|
|
18
50
|
"preinstall": "npx only-allow pnpm",
|
|
19
51
|
"dev": "vite dev",
|
|
@@ -34,8 +66,8 @@
|
|
|
34
66
|
}
|
|
35
67
|
},
|
|
36
68
|
"devDependencies": {
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
69
|
+
"@commitlint/cli": "^18.6.0",
|
|
70
|
+
"@commitlint/config-conventional": "^18.6.0",
|
|
39
71
|
"@storybook/addon-actions": "^7.6.10",
|
|
40
72
|
"@storybook/addon-essentials": "^7.6.3",
|
|
41
73
|
"@storybook/addon-interactions": "^7.6.3",
|