Skip to content

Commit

Permalink
design-system-react public dependancy (#735)
Browse files Browse the repository at this point in the history
Remove need to pull private package
  • Loading branch information
sra405 committed Nov 9, 2023
1 parent 44943db commit 3ce4671
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 19 deletions.
4 changes: 0 additions & 4 deletions .npmrc

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

### Changed

- Update design-system-react dependency to publicly available version

## [0.19.4] - 2023-11-08

### Changed
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ RUN sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh

WORKDIR /app

COPY package.json yarn.lock .npmrc ./
COPY package.json yarn.lock ./
COPY . /app
RUN --mount=type=secret,id=npmrc,target=/root/.npmrc,required=true yarn

EXPOSE 3000

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.8'
version: "3.8"
services:
x-app: &x-app
build:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.19.4",
"private": true,
"dependencies": {
"@RaspberryPiFoundation/design-system-react": "^0.1.2",
"@raspberrypifoundation/design-system-react": "^0.1.4",
"@apollo/client": "^3.7.8",
"@babel/core": "^7.17.10",
"@codemirror/commands": "^6.1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/components/DesignSystemButton/DesignSystemButton.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button } from "@RaspberryPiFoundation/design-system-react";
import { Button } from "@raspberrypifoundation/design-system-react";
import "../../assets/stylesheets/DesignSystemButton.scss";

const DesignSystemButton = (props) => <Button {...props} />;
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@
# yarn lockfile v1


"@RaspberryPiFoundation/design-system-react@^0.1.2":
version "0.1.2"
resolved "https://npm.pkg.github.com/download/@RaspberryPiFoundation/design-system-react/0.1.2/cc3326c8e0a364ac5baa467ba3a43c249fc69974#cc3326c8e0a364ac5baa467ba3a43c249fc69974"
integrity sha512-jHeP3fBMoWbZ4gOpPD2ANqsjClxMtMOAJRiD0e2whgFmMvNCW1rcoyTqOZxdUt8HShpD+dAMsczntQH+FMw6RQ==
dependencies:
classnames "^2.3.2"
prop-types "^15.8.1"
react "^18.2.0"
react-dom "^18.2.0"

"@actions/core@^1.2.0":
version "1.10.0"
resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.10.0.tgz#44551c3c71163949a2f06e94d9ca2157a0cfac4f"
Expand Down Expand Up @@ -1766,6 +1756,16 @@
schema-utils "^2.6.5"
source-map "^0.7.3"

"@raspberrypifoundation/design-system-react@^0.1.4":
version "0.1.4"
resolved "https://registry.yarnpkg.com/@raspberrypifoundation/design-system-react/-/design-system-react-0.1.4.tgz#f4acd4d3c98dd98d00c96c79dde0fe20c85003aa"
integrity sha512-cSW/bUiqdh2L0J6YNdESjJmK7E38F4Xtf15WnwOZSmL+4AL6roAp2Nw4HW5QEAlABp1bl9Bg3uzRd1YZrgs7JQ==
dependencies:
classnames "^2.3.2"
prop-types "^15.8.1"
react "^18.2.0"
react-dom "^18.2.0"

"@react-spring/animated@~9.6.1":
version "9.6.1"
resolved "https://registry.yarnpkg.com/@react-spring/animated/-/animated-9.6.1.tgz#ccc626d847cbe346f5f8815d0928183c647eb425"
Expand Down

0 comments on commit 3ce4671

Please sign in to comment.