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

chore: update dependencies #1362

Open
wants to merge 14 commits into
base: release52
Choose a base branch
from
8 changes: 8 additions & 0 deletions .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('meteor/yarn.lock') }}-${{ hashFiles('meteor/.meteor/release') }}
- name: Validate production dependencies for vulnerabilities and compatible licenses
run: |
corepack enable
yarn
cd meteor
yarn validate:prod-dependencies
Expand Down Expand Up @@ -55,6 +57,8 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('meteor/yarn.lock') }}-${{ hashFiles('meteor/.meteor/release') }}
- name: Validate production dependencies for vulnerabilities and compatible licenses
run: |
corepack enable
yarn
cd meteor
yarn run validate:all-dependencies
Expand Down Expand Up @@ -88,6 +92,8 @@ jobs:
node-version-file: ".node-version"
- name: Prepare Environment
run: |
corepack enable
cd packages
yarn install
env:
Expand Down Expand Up @@ -119,6 +125,8 @@ jobs:
node-version-file: ".node-version"
- name: Prepare Environment
run: |
corepack enable
cd packages
yarn install
env:
Expand Down
24 changes: 23 additions & 1 deletion .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('yarn.lock', 'meteor/yarn.lock', 'meteor/.meteor/release', 'packages/yarn.lock') }}
- name: Prepare Environment
run: |
corepack enable

yarn config set cacheFolder /home/runner/lint-core-cache
yarn
yarn build:packages
Expand Down Expand Up @@ -73,6 +75,8 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('yarn.lock', 'meteor/yarn.lock', 'meteor/.meteor/release', 'packages/yarn.lock') }}
- name: Prepare Environment
run: |
corepack enable

yarn config set cacheFolder /home/runner/test-core-cache
yarn
yarn build:packages
Expand Down Expand Up @@ -174,6 +178,8 @@ jobs:
- name: Prepare Environment
if: steps.check-build-and-push.outputs.enable == 'true'
run: |
corepack enable

yarn install
- name: Build libs
if: steps.check-build-and-push.outputs.enable == 'true'
Expand Down Expand Up @@ -348,6 +354,8 @@ jobs:
- name: Build
if: steps.check-build-and-push.outputs.enable == 'true'
run: |
corepack enable

cd packages
yarn install
yarn lerna run --scope \*\*/${{ matrix.gateway-name }} --include-dependencies --stream build
Expand Down Expand Up @@ -455,6 +463,8 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('packages/yarn.lock') }}
- name: Prepare Environment
run: |
corepack enable

cd packages
yarn config set cacheFolder /home/runner/${{ matrix.package-name }}-cache
yarn install
Expand Down Expand Up @@ -521,6 +531,8 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('packages/yarn.lock') }}
- name: Prepare Environment
run: |
corepack enable

cd packages
yarn config set cacheFolder /home/runner/test-packages-cache
yarn install
Expand Down Expand Up @@ -553,6 +565,8 @@ jobs:
node-version-file: ".node-version"
- name: Prepare Environment
run: |
corepack enable

cd packages
yarn
env:
Expand All @@ -579,6 +593,8 @@ jobs:
node-version-file: ".node-version"
- name: Prepare Environment
run: |
corepack enable

cd packages
yarn
env:
Expand Down Expand Up @@ -619,10 +635,12 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('packages/yarn.lock') }}
- name: Prepare Environment
run: |
corepack enable

cd packages
yarn config set cacheFolder /home/runner/publish-docs-cache
yarn install
yarn build
yarn build:all
env:
CI: true
- name: Run docusaurus
Expand Down Expand Up @@ -668,6 +686,8 @@ jobs:
node-version-file: ".node-version"
- name: Prepare Environment # have to run this first to make sure the semver lib is available
run: |
corepack enable

yarn config set cacheFolder /home/runner/release-libs-cache

cd packages
Expand Down Expand Up @@ -752,6 +772,8 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('yarn.lock', 'meteor/yarn.lock', 'meteor/.meteor/release', 'packages/yarn.lock') }}
- name: Prepare Environment
run: |
corepack enable

yarn config set cacheFolder /home/runner/check-for-multiple-library-versions-cache
yarn
env:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/prerelease-libs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
node-version-file: ".node-version"
- name: Prepare Environment
run: |
corepack enable

cd packages
yarn install
yarn lerna run --scope \*\*/${{ matrix.package-name }} --include-dependencies --stream build
Expand Down Expand Up @@ -65,6 +67,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Prepare Environment
run: |
corepack enable

cd packages
yarn install
yarn lerna run --scope \*\*/${{ matrix.package-name }} --include-dependencies --stream build
Expand Down Expand Up @@ -105,6 +109,8 @@ jobs:
- name: Prepare Environment
if: ${{ steps.do-publish.outputs.publish }}
run: |
corepack enable

cd packages
yarn install
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sonar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('yarn.lock', 'meteor/yarn.lock', 'meteor/.meteor/release', 'packages/yarn.lock') }}
- name: Prepare Environment
run: |
corepack enable

yarn
yarn build:packages
env:
Expand Down
541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

550 changes: 0 additions & 550 deletions .yarn/plugins/@yarnpkg/plugin-version.cjs

This file was deleted.

28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

873 changes: 0 additions & 873 deletions .yarn/releases/yarn-3.5.0.cjs

This file was deleted.

10 changes: 0 additions & 10 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.5.0.cjs
4 changes: 2 additions & 2 deletions meteor/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules
# meteor's isobuild is incredibly picky and requires the deep node_modules structure for some packages
nmHoistingLimits: dependencies

nodeLinker: node-modules
56 changes: 28 additions & 28 deletions meteor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,82 +37,82 @@
"watch-types": "run check-types --watch"
},
"dependencies": {
"@babel/runtime": "^7.23.9",
"@babel/runtime": "^7.26.0",
"@koa/cors": "^5.0.0",
"@koa/router": "^12.0.1",
"@mos-connection/helper": "v4.2.0",
"@slack/webhook": "^6.1.0",
"@koa/router": "^13.1.0",
"@mos-connection/helper": "^4.2.0",
"@slack/webhook": "^7.0.4",
"@sofie-automation/blueprints-integration": "portal:../packages/blueprints-integration",
"@sofie-automation/corelib": "portal:../packages/corelib",
"@sofie-automation/job-worker": "portal:../packages/job-worker",
"@sofie-automation/meteor-lib": "portal:../packages/meteor-lib",
"@sofie-automation/shared-lib": "portal:../packages/shared-lib",
"app-root-path": "^3.1.0",
"bcrypt": "^5.1.1",
"body-parser": "^1.20.2",
"body-parser": "^1.20.3",
"deep-extend": "0.6.0",
"deepmerge": "^4.3.1",
"elastic-apm-node": "^4.8.0",
"elastic-apm-node": "^4.10.0",
"i18next": "^21.10.0",
"indexof": "0.0.1",
"koa": "^2.15.0",
"koa": "^2.15.3",
"koa-bodyparser": "^4.4.1",
"koa-static": "^5.0.0",
"meteor-node-stubs": "^1.2.7",
"meteor-node-stubs": "^1.2.12",
"moment": "^2.30.1",
"nanoid": "^3.3.7",
"nanoid": "^3.3.8",
"node-gyp": "^9.4.1",
"ntp-client": "^0.5.3",
"object-path": "^0.11.8",
"p-lazy": "^3.1.0",
"semver": "^7.5.4",
"semver": "^7.6.3",
"superfly-timeline": "9.0.2",
"threadedclass": "^1.2.2",
"timecode": "0.0.4",
"type-fest": "^3.13.1",
"underscore": "^1.13.6",
"winston": "^3.11.0"
"type-fest": "^4.32.0",
"underscore": "^1.13.7",
"winston": "^3.17.0"
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/plugin-transform-modules-commonjs": "^7.23.3",
"@shopify/jest-koa-mocks": "^5.1.1",
"@babel/core": "^7.26.0",
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
"@shopify/jest-koa-mocks": "^5.3.1",
"@sofie-automation/code-standard-preset": "~2.4.7",
"@sofie-automation/eslint-plugin": "^0.1.1",
"@types/app-root-path": "^1.2.8",
"@types/body-parser": "^1.19.5",
"@types/deep-extend": "^0.6.2",
"@types/jest": "^29.5.11",
"@types/koa": "^2.14.0",
"@types/jest": "^29.5.14",
"@types/koa": "^2.15.0",
"@types/koa-bodyparser": "^4.3.12",
"@types/koa-static": "^4.0.4",
"@types/koa__cors": "^5.0.0",
"@types/koa__router": "^12.0.4",
"@types/node": "^22.9.3",
"@types/node": "^22.10.7",
"@types/request": "^2.48.12",
"@types/semver": "^7.5.6",
"@types/underscore": "^1.11.15",
"@types/semver": "^7.5.8",
"@types/underscore": "^1.13.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@typescript-eslint/utils": "^5.62.0",
"babel-jest": "^29.7.0",
"ejson": "^2.2.3",
"eslint": "^8.56.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-jest": "^27.6.3",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"fast-clone": "^1.5.13",
"glob": "^8.1.0",
"i18next-conv": "^10.2.0",
"i18next-scanner": "^4.4.0",
"i18next-scanner": "^4.6.0",
"jest": "^29.7.0",
"legally": "^3.5.10",
"open-cli": "^7.2.0",
"open-cli": "^8.0.0",
"prettier": "^2.8.8",
"standard-version": "^9.5.0",
"ts-jest": "^29.1.2",
"typescript": "^4.9.5",
"ts-jest": "^29.2.5",
"typescript": "~5.1.6",
"yargs": "^17.7.2"
},
"prettier": "@sofie-automation/code-standard-preset/.prettierrc.json",
Expand Down Expand Up @@ -140,5 +140,5 @@
"@sofie-automation/job-worker": "portal:../packages/job-worker",
"@sofie-automation/shared-lib": "portal:../packages/shared-lib"
},
"packageManager": "yarn@3.5.0"
"packageManager": "yarn@4.6.0"
}
Loading
Loading