Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: migrate to yarn berry #483

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ steps:
name: grabpl
- commands:
- . ~/.init-nvm.sh
- yarn install --frozen-lockfile --no-progress
- yarn install --immutable --no-progress
depends_on:
- grabpl
image: grafana/grafana-plugin-ci:1.9.0
Expand Down Expand Up @@ -129,7 +129,7 @@ steps:
name: grabpl
- commands:
- . ~/.init-nvm.sh
- yarn install --frozen-lockfile --no-progress
- yarn install --immutable --no-progress
depends_on:
- grabpl
image: grafana/grafana-plugin-ci:1.9.0
Expand Down Expand Up @@ -251,7 +251,7 @@ steps:
name: grabpl
- commands:
- . ~/.init-nvm.sh
- yarn install --frozen-lockfile --no-progress
- yarn install --immutable --no-progress
depends_on:
- grabpl
image: grafana/grafana-plugin-ci:1.9.0
Expand Down
893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ FROM base as build

COPY . ./

RUN yarn install --pure-lockfile
RUN yarn install --immutable
RUN yarn run build

EXPOSE 8081
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ deps: node_modules

node_modules: package.json yarn.lock ## Install node modules.
@echo "install frontend dependencies"
yarn install --pure-lockfile --no-progress
yarn install --immutable --no-progress

build:
yarn build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ The following example describes how to build and run the remote HTTP rendering s
1. Install dependencies and build:

```bash
yarn install --pure-lockfile
yarn install --immutable
yarn run build
```

Expand Down
2 changes: 1 addition & 1 deletion debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ FROM base as build

COPY . ./

RUN yarn install --pure-lockfile
RUN yarn install --immutable
RUN yarn run build

EXPOSE 8081
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,6 @@
"bin": "build/app.js",
"engines": {
"node": ">= 18"
}
}
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion scripts/drone/common.star
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def install_deps_step():
'image': ci_image,
'commands': [
'. ~/.init-nvm.sh',
'yarn install --frozen-lockfile --no-progress',
'yarn install --immutable --no-progress',
],
'depends_on': [
'grabpl',
Expand Down
Loading