globalfy-design-system 0.1.0 → 0.2.0

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.
@@ -16,8 +16,8 @@ definitions:
16
16
  script:
17
17
  - yarn add -g typescript@5.0.2 vite@4.4.5
18
18
  - yarn build
19
- - step: &publish
20
- name: Publish
19
+ - step: &publish-npm
20
+ name: Publish on NPM
21
21
  deployment: production
22
22
  script:
23
23
  - npm version minor -m "[skip ci] Upgrade to %s"
@@ -25,6 +25,10 @@ definitions:
25
25
  - pipe: atlassian/npm-publish:0.2.0
26
26
  variables:
27
27
  NPM_TOKEN: $NPM_TOKEN
28
+ - step: &publish-storybook-chromatic
29
+ name: Publish Storybook on Chromatic
30
+ script:
31
+ - yarn chromatic
28
32
 
29
33
  pipelines:
30
34
  default:
@@ -34,4 +38,5 @@ pipelines:
34
38
  master:
35
39
  - step: *test
36
40
  - step: *build
37
- - step: *publish
41
+ - step: *publish-npm
42
+ - step: *publish-storybook-chromatic
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "globalfy-design-system",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Globalfy Design System",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -10,12 +10,13 @@
10
10
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
11
11
  "storybook": "storybook dev -p 6006",
12
12
  "build-storybook": "storybook build",
13
- "postinstall": "husky install"
13
+ "postinstall": "husky install",
14
+ "chromatic": "npx chromatic --project-token=chpt_b819f048be8413f"
14
15
  },
15
16
  "dependencies": {
16
17
  "@hookform/resolvers": "^3.3.2",
17
- "@radix-ui/react-checkbox": "^1.0.4",
18
18
  "@radix-ui/react-avatar": "^1.0.4",
19
+ "@radix-ui/react-checkbox": "^1.0.4",
19
20
  "@radix-ui/react-label": "^2.0.2",
20
21
  "@radix-ui/react-radio-group": "^1.1.3",
21
22
  "@radix-ui/react-slot": "^1.0.2",
@@ -56,6 +57,7 @@
56
57
  "@vitejs/plugin-react": "^4.0.3",
57
58
  "autoprefixer": "^10.4.16",
58
59
  "babel-jest": "^29.7.0",
60
+ "chromatic": "^10.0.0",
59
61
  "eslint": "^8.45.0",
60
62
  "eslint-config-prettier": "^9.0.0",
61
63
  "eslint-plugin-jest-react": "^0.1.0",
@@ -80,5 +82,6 @@
80
82
  },
81
83
  "resolutions": {
82
84
  "jackspeak": "2.1.1"
83
- }
85
+ },
86
+ "readme": "ERROR: No README data found!"
84
87
  }
package/yarn.lock CHANGED
@@ -5164,6 +5164,11 @@ chownr@^2.0.0:
5164
5164
  resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece"
5165
5165
  integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==
5166
5166
 
5167
+ chromatic@^10.0.0:
5168
+ version "10.0.0"
5169
+ resolved "https://registry.yarnpkg.com/chromatic/-/chromatic-10.0.0.tgz#56c643a59a3b99b71ddca652869f7b89caf60e67"
5170
+ integrity sha512-RLU/Y0FdYVnPJIhm/gG3CSJO1hKg2O/nvfutyWT88Tg2o4aIGqSrQKCBiAUAHKrQKpfF+9Dvn/oHRTPtRcinHA==
5171
+
5167
5172
  ci-info@^3.2.0:
5168
5173
  version "3.9.0"
5169
5174
  resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4"