@takecasper/acuity-design-system 1.0.2 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +13 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,6 +15,15 @@ Project is using Vite as a build tool. It's a very fast build tool that consists
15
15
  - A dev server that provides rich feature enhancements over native ES modules, for example extremely fast Hot Module Replacement (HMR).
16
16
  - A build command that bundles your code with Rollup, pre-configured to output highly optimized static assets for production.
17
17
 
18
+ ## Installation
19
+
20
+ Before installing the library to your project, make sure to have `.npmrc` file in the root of your project.
21
+ You should add `//registry.npmjs.org/:_authToken="auth token"` as this is a private package.
22
+
23
+ Then run:
24
+
25
+ `npm install @takecasper/acuity-design-system`
26
+
18
27
  ## IDE Setup
19
28
 
20
29
  ### 1. Install Dependencies
@@ -46,6 +55,10 @@ npm i
46
55
 
47
56
  To trigger build and publishing to npm automatically, follow [this guide](https://github.com/semantic-release/semantic-release/blob/master/docs/support/FAQ.md#how-can-i-change-the-type-of-commits-that-trigger-a-release).
48
57
 
58
+ Essentially, the github action for publishing a new library version will be triggered only when certain keywords are included in the git commit message, and only on commits to the `main` branch (`fix`, `feat`, `perf`, etc.).
59
+ Therefore, we should make sure that each time we squash and merge our feature branches to the main branch we should include those keywords in the commit message, if we want to publish a new lib version.
60
+ Certain changes don't need to trigger lib publishing, such as adding new stories, Storybook changes or tests.
61
+
49
62
  ## Development
50
63
 
51
64
  - For faster search and usage of tailwind utility classes use [Tailwind Cheat Sheet](https://tailwindcomponents.com/cheatsheet/)
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Acuity Insights Design System",
4
4
  "author": "",
5
5
  "license": "ISC",
6
- "version": "1.0.2",
6
+ "version": "1.0.4",
7
7
  "engines": {
8
8
  "node": "20.x"
9
9
  },