@hazelcast/ui 3.0.12 → 3.1.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.
Files changed (2) hide show
  1. package/README.md +7 -37
  2. package/package.json +3 -14
package/README.md CHANGED
@@ -29,7 +29,7 @@ Design system built with A11Y in mind. Developed as a [Lerna](https://lerna.js.o
29
29
  - [Run visual regression tests](#run-visual-regression-tests)
30
30
  - [Approve the updated for visual regression test screenshots](#approve-the-updated-for-visual-regression-test-screenshots)
31
31
  - [Run all checks at once](#run-all-checks-at-once)
32
- - [Releasing a new version](#releasing-a-new-version)
32
+ - [Releasing](#releasing)
33
33
 
34
34
  <!-- END doctoc generated TOC please keep comment here to allow auto update -->
35
35
 
@@ -189,42 +189,12 @@ pnpm run verify-all
189
189
 
190
190
  If you PR passes this check locally, it is almost guaranteed to pass it on the CI.
191
191
 
192
- ## Releasing a new version
192
+ ## Releasing
193
193
 
194
- Assuming you're on latest master and the build is alright (`pnpm run build` runs without errors).
194
+ `v3` is the current stable line, published to npm under the `latest` dist-tag (development of the next major continues on `master`, published under `canary`).
195
195
 
196
- 1. First we create a release branch for the next version locally (in this case v1.1.0):
196
+ Releases are triggered manually via the ["prepare release" GitHub Actions workflow](.github/workflows/prepare-release.yml):
197
197
 
198
- ```
199
- git checkout -b release/v1.1.0
200
- ```
201
-
202
- We push this new branch to Github:
203
-
204
- ```
205
- git push -u origin release/v1.1.0
206
- ```
207
-
208
- 2. Then we run:
209
-
210
- ```
211
- pnpm exec lerna version 1.1.0
212
- ```
213
-
214
- This updates the package versions (in package.json, package-lock.json), creates a commit with necessary tags and pushes to Github automatically.
215
-
216
- At this point you should create a pull request and merge the new version branch (v1.1.0) to master.
217
-
218
- 3. Now, after merging this pull request, we have the latest version available on GitHub. And it will be automatically published to npm with the required tags and releases;
219
-
220
- Wait for a few seconds/minutes (depends on how busy npm is at the time), and you should see the latest version we just released in the list returned by:
221
-
222
- ```
223
- pnpm view @hazelcast/ui versions
224
- ```
225
-
226
- If something went wrong and npm did not create a new release, then you can manually inform it about our new release:
227
-
228
- ```
229
- pnpm exec lerna publish from-git
230
- ```
198
+ 1. Run the workflow (`workflow_dispatch`) against the `v3` branch with the desired version bump type.
199
+ 2. It opens a PR bumping the version and enables auto-merge.
200
+ 3. Once a code owner approves and it merges, npm publish and git tagging happen automatically.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hazelcast/ui",
3
- "version": "3.0.12",
3
+ "version": "3.1.0",
4
4
  "description": "Hazelcast design system components and utilities",
5
5
  "homepage": "https://github.com/hazelcast/hive#readme",
6
6
  "bugs": {
@@ -28,7 +28,6 @@
28
28
  "build-storybook": "storybook build",
29
29
  "chromatic": "chromatic --project-token=CHROMATIC_PROJECT_TOKEN",
30
30
  "compile": "shx rm -f *.tsbuildinfo && shx rm -rf lib && shx mkdir lib && shx cp -r src/* lib && shx rm -rf lib/*.{tsx,ts} && shx rm -rf lib/**/*.{tsx,ts} && tsc -p tsconfig.build.json",
31
- "compile-rollup": "rm -rf lib && rollup -c",
32
31
  "generate-screenshots": "npm run build-storybook && loki update --reactUri file:./storybook-static --chromeDockerImage 'yukinying/chrome-headless-browser-stable:110.0.5481.77' --chromeFlags='--headless --disable-gpu --hide-scrollbars --no-sandbox --allow-file-access-from-files'",
33
32
  "lint": "npm run lint:ts && npm run lint:css",
34
33
  "lint:css": "postcss --config ./.postcss-lint --replace '**/*.{css,scss}'",
@@ -39,7 +38,7 @@
39
38
  "prepack": "npm run compile",
40
39
  "prepare": "husky install",
41
40
  "publish-storybook": "chromatic --storybook-build-dir storybook-static --project-token $CHROMATIC_PROJECT_TOKEN --exit-zero-on-changes",
42
- "start": "npm run storybook",
41
+ "dev": "npm run storybook",
43
42
  "storybook": "storybook dev -p 6006",
44
43
  "test": "jest --maxWorkers=50%",
45
44
  "test:visual": "loki --verboseRenderer --requireReference --chromeTolerance 3 --reactUri file:./storybook-static --chromeDockerImage 'yukinying/chrome-headless-browser-stable:110.0.5481.77' --chromeFlags='--headless --disable-gpu --hide-scrollbars --no-sandbox --allow-file-access-from-files'",
@@ -64,13 +63,11 @@
64
63
  "react-hot-keys": "^2.7.3",
65
64
  "react-merge-refs": "^1.1.0",
66
65
  "react-modal": "^3.16.3",
67
- "react-reconciler": "^0.32.0",
68
66
  "react-select": "^5.10.0",
69
67
  "react-simple-timefield": "^3.3.1",
70
68
  "react-uid": "^2.4.0",
71
69
  "react-use": "^17.6.0",
72
70
  "serialize-error": "^12.0.0",
73
- "use-deep-compare": "^1.3.0",
74
71
  "yup": "^1.5.0"
75
72
  },
76
73
  "devDependencies": {
@@ -104,15 +101,9 @@
104
101
  "@types/react": "^19.1.12",
105
102
  "@types/react-datepicker": "^4.19.6",
106
103
  "@types/react-dom": "^19.1.9",
107
- "@types/use-persisted-state": "^0.3.5",
108
104
  "@typescript-eslint/eslint-plugin": "^8.24.0",
109
105
  "@typescript-eslint/parser": "^8.24.0",
110
- "@rollup/plugin-babel": "^6.0.4",
111
- "@rollup/plugin-commonjs": "^28.0.1",
112
- "@rollup/plugin-node-resolve": "^15.3.0",
113
- "@rollup/plugin-typescript": "^12.1.1",
114
106
  "babel-jest": "^29.7.0",
115
- "babel-loader": "^9.2.1",
116
107
  "chromatic": "^6.24.1",
117
108
  "css-loader": "^7.1.2",
118
109
  "doctoc": "^2.2.1",
@@ -152,9 +143,7 @@
152
143
  "stylelint-prettier": "^5.0.2",
153
144
  "stylelint-scss": "^6.7.0",
154
145
  "typescript": "^5.7.3",
155
- "typescript-eslint": "^8.24.0",
156
- "rollup": "^4.28.1",
157
- "rollup-plugin-postcss": "^4.0.2"
146
+ "typescript-eslint": "^8.24.0"
158
147
  },
159
148
  "peerDependencies": {
160
149
  "@types/lodash": "^4.17.13",