@takecasper/acuity-design-system 1.3.0 → 1.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 +9 -2
- package/dist/assets/index.css +1 -1
- package/dist/index.cjs.js +9 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.es.js +357 -339
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,7 +18,14 @@ Project is using Vite as a build tool. It's a very fast build tool that consists
|
|
|
18
18
|
## Installation
|
|
19
19
|
|
|
20
20
|
Before installing the library to your project, make sure to have `.npmrc` file in the root of your project.
|
|
21
|
-
You should add
|
|
21
|
+
You should add to this file:
|
|
22
|
+
`//registry.npmjs.org/:_authToken=${NPM_TOKEN}`
|
|
23
|
+
|
|
24
|
+
Add to your `.zshrc` file NPM_TOKEN env variable (replacing the value with the value that is in 1Password)
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
export NPM_TOKEN=npm_token_value
|
|
28
|
+
```
|
|
22
29
|
|
|
23
30
|
Then run:
|
|
24
31
|
|
|
@@ -32,7 +39,7 @@ Then run:
|
|
|
32
39
|
2. To start storybook as a standalone service you can simply navigate to the root project directory and run the command `docker-compose up`
|
|
33
40
|
3. Storybook can then be accessed via `localhost:6006`
|
|
34
41
|
4. Access the prompt shell from the container, you can use the following command: `docker exec -it storybook-app bash`
|
|
35
|
-
5. NOTE, if you commit code changes without storybook docker container running in the background, pre-commit validation will execute from your host environment.
|
|
42
|
+
5. NOTE, if you commit code changes without storybook docker container running in the background, pre-commit validation will execute from your host environment. In that case, you may require to perform `npm i` to ensure the package dependencies are setup locally. Alternatively, you can simply make sure the docker instance is up and running while commit.
|
|
36
43
|
|
|
37
44
|
### 1. Install Dependencies
|
|
38
45
|
|