@canonical/react-components 0.47.3 → 0.47.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 +2 -5
  2. package/package.json +7 -3
package/README.md CHANGED
@@ -1,13 +1,10 @@
1
1
  # React components for Vanilla Framework
2
+ ![CI](https://github.com/canonical/react-components/workflows/CI/badge.svg?branch=main) ![Cypress chrome headless](https://github.com/canonical/react-components/workflows/Cypress%20chrome%20headless/badge.svg)
2
3
 
3
4
  This is a collection of components designed to be the way to consume [Vanilla Framework](http://vanillaframework.io) when using React.
4
5
 
5
- ## How to use the components
6
+ **[Storybook](https://canonical.github.io/react-components/)** contains component docs with usage instructions.
6
7
 
7
- See the [component docs](https://canonical.github.io/react-components/) for usage instructions.
8
-
9
- ![CI](https://github.com/canonical/react-components/workflows/CI/badge.svg?branch=main)
10
- ![Cypress chrome headless](https://github.com/canonical/react-components/workflows/Cypress%20chrome%20headless/badge.svg)
11
8
 
12
9
  ## Requirements
13
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canonical/react-components",
3
- "version": "0.47.3",
3
+ "version": "0.47.4",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "author": "Huw Wilkins <huw.wilkins@canonical.com>",
@@ -27,6 +27,8 @@
27
27
  "@babel/preset-typescript": "7.23.3",
28
28
  "@percy/cli": "1.27.6",
29
29
  "@percy/storybook": "4.3.7",
30
+ "@semantic-release/changelog": "6.0.3",
31
+ "@semantic-release/git": "10.0.1",
30
32
  "@storybook/addon-a11y": "7.6.7",
31
33
  "@storybook/addon-essentials": "7.6.7",
32
34
  "@storybook/addon-interactions": "7.6.7",
@@ -71,6 +73,7 @@
71
73
  "react-dom": "18.2.0",
72
74
  "sass": "1.69.7",
73
75
  "sass-loader": "10.5.1",
76
+ "semantic-release": "23.0.0",
74
77
  "storybook": "7.6.7",
75
78
  "style-loader": "3.3.3",
76
79
  "stylelint": "15.11.0",
@@ -127,7 +130,6 @@
127
130
  "lint-package-json": "npmPkgJsonLint .",
128
131
  "lint": "yarn lint-package-json && yarn lint-js && yarn lint-style",
129
132
  "percy": "yarn build-docs && percy storybook ./docs",
130
- "prepublishOnly": "yarn clean && yarn install && yarn build",
131
133
  "serve": "yarn docs",
132
134
  "start": "yarn docs",
133
135
  "test": "jest",
@@ -135,7 +137,9 @@
135
137
  "unlink-packages": "yarn unlink && cd node_modules/react && yarn unlink && cd ../react-dom && yarn unlink",
136
138
  "cypress:test": "wait-on http://localhost:${PORT:-9009} && cypress run --env port=${PORT:-9009}",
137
139
  "cypress:run": "cypress run --env port=${PORT:-9009}",
138
- "cypress:open": "cypress open --env port=${PORT:-9009}"
140
+ "cypress:open": "cypress open --env port=${PORT:-9009}",
141
+ "semantic-release": "semantic-release",
142
+ "semantic-release-dry-run": "semantic-release --dry-run --no-ci"
139
143
  },
140
144
  "eslintConfig": {
141
145
  "extends": "react-app"