Skip to content

Commit

Permalink
fix: BREAKING CHANGE - List @cloudscape-design/components as peer dep…
Browse files Browse the repository at this point in the history
…endencies (#922)

* fix: BREAKING CHANGE - List @cloudscape-design/components as peer dependencies

* docs: Update GettingStarted guide
  • Loading branch information
jessieweiyi authored Jun 29, 2023
1 parent 0881c3e commit 5682b6b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 2 additions & 0 deletions packages/ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ Before you start using NorthStar for your project, please note that:
```bash
// with npm
npm install @aws-northstar/ui
npm install @cloudscape-design/components

// with yarn
yarn add @aws-northstar/ui
yarn add @cloudscape-design/components
```

## Setup
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/docs/GettingStarted.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ Before you start using NorthStar for your project, please note that:
```bash
// with npm
npm install @aws-northstar/ui
npm install @cloudscape-design/components

// with yarn
yarn add @aws-northstar/ui
yarn add @cloudscape-design/components
```

## Setup
Expand Down
10 changes: 4 additions & 6 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@cloudscape-design/components": "^3.0.321",
"@cloudscape-design/jest-preset": "^2.0.6",
"@storybook/addon-a11y": "6.5.9",
"@storybook/addon-actions": "6.5.9",
Expand Down Expand Up @@ -73,7 +74,6 @@
"merge": "^2.1.1",
"react": "^18",
"react-dom": "^18",
"react-markdown": "^8.0.5",
"react-router-dom": "^6",
"react-syntax-highlighter": "^15.5.0",
"storybook-addon-react-router-v6": "^0.2.1",
Expand All @@ -90,29 +90,27 @@
"@aws-sdk/signature-v4": "^3.328.0",
"@aws-sdk/types": "^3.328.0",
"@cloudscape-design/collection-hooks": "^1.0.21",
"@cloudscape-design/components": "^3.0.321",
"@cloudscape-design/design-tokens": "^3.0.11",
"@cloudscape-design/global-styles": "^1.0.11",
"@data-driven-forms/react-form-renderer": "^3.19.0",
"@types/uuid": "^9.0.0",
"amazon-cognito-identity-js": "^6.2.0",
"cross-fetch": "^3.1.6",
"react-markdown": "^8.0.5",
"react-qr-code": "^2.0.11",
"remark-frontmatter": "^4.0.1",
"remark-gfm": "^3.0.1",
"use-debounce": "^9.0.3",
"uuid": "^9.0.0"
},
"peerDependencies": {
"@cloudscape-design/components": "^3",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react-router-dom": "^5",
"react": "^18",
"react-dom": "^18",
"react-markdown": "^8.0.5",
"react-router-dom": "^6",
"remark-frontmatter": "^4.0.1",
"remark-gfm": "^3.0.1"
"react-router-dom": "^6"
},
"browserslist": {
"production": [
Expand Down
4 changes: 1 addition & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -230,15 +230,13 @@ __metadata:
use-debounce: ^9.0.3
uuid: ^9.0.0
peerDependencies:
"@cloudscape-design/components": ^3
"@types/react": ^18
"@types/react-dom": ^18
"@types/react-router-dom": ^5
react: ^18
react-dom: ^18
react-markdown: ^8.0.5
react-router-dom: ^6
remark-frontmatter: ^4.0.1
remark-gfm: ^3.0.1
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 5682b6b

Please sign in to comment.