Skip to content

Commit

Permalink
Update yarn to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
semkedaniil committed Oct 5, 2023
1 parent fb4278b commit 21fac17
Show file tree
Hide file tree
Showing 6 changed files with 12,751 additions and 8,298 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: dotnet restore ./DbViewer.sln --verbosity minimal && dotnet tool restore

- name: Install node dependencies
run: yarn --cwd db-viewer-ui install --frozen-lockfile
run: cd ./db-viewer-ui && yarn set version berry && yarn install --immutable

- name: Pull docker images
run: docker pull selenoid/vnc:chrome_84.0
Expand All @@ -47,7 +47,7 @@ jobs:
run: yarn --cwd db-viewer-ui build

- name: Check C# code style
run: dotnet jb cleanupcode DbViewer.sln --profile=CatalogueCleanup --exclude=./DbViewer.TestApi/Migrations/*.cs --verbosity=WARN && git diff --exit-code
run: dotnet jb cleanupcode DbViewer.sln --profile=CatalogueCleanup --exclude=./DbViewer.TestApi/Migrations/*.cs --verbosity=WARN && git diff --exit-code ':!.yarn'

- name: Check front code
run: yarn --cwd db-viewer-ui lint
Expand Down
7 changes: 7 additions & 0 deletions db-viewer-ui/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ node_modules
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
coverage
dist
.eslintcache
Expand Down
874 changes: 874 additions & 0 deletions db-viewer-ui/.yarn/releases/yarn-3.6.4.cjs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions db-viewer-ui/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
networkConcurrency: 16

nodeLinker: node-modules

npmRegistryServer: "https://registry.npmjs.org"

yarnPath: .yarn/releases/yarn-3.6.4.cjs
3 changes: 2 additions & 1 deletion db-viewer-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,6 @@
"typescript": "^4.3.5",
"vite": "^4.4.9",
"vitest": "^0.30.1"
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 21fac17

Please sign in to comment.