cclkit4svelte 0.1.1-b → 0.1.1-c

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 (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -43,6 +43,12 @@ node -v
43
43
  v18.16.1
44
44
  ```
45
45
 
46
+ また、本ライブラリの開発には`pnpm`の導入が必要です。`npm`や`yarn`では開発準備ができないためご注意ください。voltaを使用している場合、pnpmもvoltaを使用して導入することができます。
47
+
48
+ ```zsh
49
+ volta install pnpm
50
+ ```
51
+
46
52
  新規コンポーネントを開発する場合は、必ずStorybookで確認できるコンポーネント仕様書を一緒に作成してください。`stories`は`src/stories`ディレクトリの中に格納してください。
47
53
 
48
54
  コンポーネントそのものは`lib`ディレクトリの中に格納してください。
@@ -95,6 +101,12 @@ node -v
95
101
  v18.16.1
96
102
  ```
97
103
 
104
+ Also, you need to install `pnpm` to develop this library. Note that `npm` and `yarn` do not prepare you for development; if you are using volta, pnpm can also be installed using volta.
105
+
106
+ ```zsh
107
+ volta install pnpm
108
+ ```
109
+
98
110
  When developing a new component, always create a component specification together with it, which can be found in the Storybook. Store `stories` in the `src/stories` directory.
99
111
 
100
112
  The component itself should be stored in the `lib` directory.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cclkit4svelte",
3
- "version": "0.1.1-b",
3
+ "version": "0.1.1-c",
4
4
  "author": "reiji1020 <sk@reiji1020.info>",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -11,6 +11,7 @@
11
11
  "homepage": "https://github.com/reiji1020/ccl-component-kit4svelte#readme",
12
12
  "description": "Component kit for CANDY CHUPS Lab.",
13
13
  "scripts": {
14
+ "preinstall": "npx only-allow pnpm",
14
15
  "dev": "vite dev",
15
16
  "build": "vite build",
16
17
  "preview": "vite preview",