Skip to content

Commit

Permalink
Add plugin-interactive-tools to yarn.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilte committed Oct 15, 2023
1 parent eac60e4 commit dd8afce
Show file tree
Hide file tree
Showing 5 changed files with 549 additions and 2 deletions.
1 change: 1 addition & 0 deletions frontend/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ node_modules
.env.*.local
.yarn/*
!.yarn/releases
!.yarn/plugins
.git
Dockerfile
.dockerignore
541 changes: 541 additions & 0 deletions frontend/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions frontend/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: '@yarnpkg/plugin-interactive-tools'

yarnPath: .yarn/releases/yarn-3.6.4.cjs
2 changes: 1 addition & 1 deletion frontend/Dockerfile.frontend
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /app

# Copy package file to docker.
COPY package.json yarn.lock .yarnrc.yml ./
COPY .yarn/releases /app/.yarn/releases
COPY .yarn/ /app/.yarn/

# Require up to date package.json and yarn.lock, fail otherwise.
# RUN --mount=type=cache,target=/app/.yarn/cache yarn install --immutable
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"ci": "yarn install --immutable",
"preview": "vite preview",
"upgrade": "yarn upgrade",
"outdated": "yarn outdated",
"outdated": "yarn upgrade-interactive",
"storybook": "NODE_OPTIONS=--openssl-legacy-provider storybook dev -p 6006 --quiet",
"storybook-dev": "storybook dev -p 6006",
"build-storybook": "NODE_OPTIONS=--openssl-legacy-provider storybook build",
Expand Down

0 comments on commit dd8afce

Please sign in to comment.