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

refactor: migrate to Yarn Berry (v3.2.1) #8764

Merged
merged 120 commits into from
Nov 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
5c7fca4
Yarn berry
ThatOneCalculator May 29, 2022
76e399c
Add `.yarn` to dockerignore
ThatOneCalculator May 29, 2022
ea7d535
Mention in CHANGELOG
ThatOneCalculator May 29, 2022
9652183
Update Dockerfile
ThatOneCalculator May 29, 2022
3140a3f
Proper upgrade to yarn
ThatOneCalculator May 29, 2022
9d1c8b4
use `"packageManager"`
ThatOneCalculator May 30, 2022
fd8170f
Replace `install-packages.js` with workspaces
ThatOneCalculator May 30, 2022
6ba6dd1
Replace `install-packages.js` with workspaces
ThatOneCalculator May 30, 2022
9afb410
Typo
ThatOneCalculator May 30, 2022
7df83d7
`corepack enable` for linting
ThatOneCalculator May 30, 2022
7bd65cf
Remove `packages/*/yarn.lock`
ThatOneCalculator May 30, 2022
f035817
Merge branch 'yarn-3' of https://github.com/ThatOneCalculator/misskey…
ThatOneCalculator May 30, 2022
6254a1e
Improve lint workflow
ThatOneCalculator May 30, 2022
ff99a92
Update .github/workflows/lint.yml
ThatOneCalculator May 30, 2022
3208a2e
Update .github/workflows/lint.yml
ThatOneCalculator May 30, 2022
4970bef
Add `eslint`
ThatOneCalculator May 30, 2022
322fe72
Regenerate yarn.lock
ThatOneCalculator May 30, 2022
39f8cb3
🙏‍
ThatOneCalculator May 30, 2022
6f2a9d5
Update lint.yml
ThatOneCalculator May 30, 2022
c05cc01
Merge branch 'misskey-dev:develop' into yarn-3
ThatOneCalculator May 30, 2022
db86110
Fix workflow!
ThatOneCalculator May 30, 2022
44c42f1
yarn lint my beloved
ThatOneCalculator May 30, 2022
bc94eb8
corepack enable for mocha/e2e
ThatOneCalculator May 30, 2022
88c7594
Update CHANGELOG.md
ThatOneCalculator May 30, 2022
dd1bfae
fix the code that depends on node_modules
ThatOneCalculator May 30, 2022
299ec96
tbh
ThatOneCalculator May 30, 2022
d76ec57
tbh
ThatOneCalculator May 30, 2022
95aff06
More yarn workspaces stuff
ThatOneCalculator May 31, 2022
5cf5a83
🍀
ThatOneCalculator May 31, 2022
de29d9a
Change `browser-image-resizer`
ThatOneCalculator May 31, 2022
a2f9e1c
:finnadie:
ThatOneCalculator May 31, 2022
54ed997
Merge branch 'misskey-dev:develop' into yarn-3
ThatOneCalculator May 31, 2022
9daea49
Merge branch 'yarn-3' of https://github.com/ThatOneCalculator/misskey…
ThatOneCalculator May 31, 2022
71a9070
:goberserk:
ThatOneCalculator May 31, 2022
a872e6e
:godmode:
ThatOneCalculator May 31, 2022
33c58df
Remove yarnrc for workspaces
ThatOneCalculator May 31, 2022
75d2336
🙏
ThatOneCalculator May 31, 2022
099c623
Add proper packages for eslint
ThatOneCalculator May 31, 2022
d5af0a6
Skip extra install
ThatOneCalculator May 31, 2022
2208df1
New steps for test.yml too
ThatOneCalculator May 31, 2022
e4dde13
uhh
ThatOneCalculator May 31, 2022
7bba487
Update .dockerignore
ThatOneCalculator May 31, 2022
e0c57cf
Update lint.yml
ThatOneCalculator May 31, 2022
789d0f8
Update test.yml
ThatOneCalculator May 31, 2022
e489c53
Merge branch 'yarn-3' of https://github.com/ThatOneCalculator/misskey…
ThatOneCalculator May 31, 2022
66ab759
Make client/backend lints seperate workflows
ThatOneCalculator May 31, 2022
3820a07
package.json names
ThatOneCalculator Jun 1, 2022
db0344e
pnpm = dont change paths
ThatOneCalculator Jun 1, 2022
4d16fb7
Fix changelog
ThatOneCalculator Jun 1, 2022
e21919c
:bowtie:
ThatOneCalculator Jun 1, 2022
f4059eb
I don't know why github workflows hates me...
ThatOneCalculator Jun 1, 2022
d34bb62
test
ThatOneCalculator Jun 1, 2022
021a52c
?????
ThatOneCalculator Jun 1, 2022
a53663f
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Jun 2, 2022
9264b50
continue-on-error: true
tamaina Jun 2, 2022
3e38e47
Fix yarn.lock
tamaina Jun 2, 2022
71538d4
add @rollup/pluginutils
tamaina Jun 3, 2022
9b727f6
add packageExtensions for chartjs_date-fns
tamaina Jun 3, 2022
ac89f25
npm run => yarn
tamaina Jun 3, 2022
1a837bb
wip
tamaina Jun 4, 2022
41fadc9
yarn node => node
tamaina Jun 4, 2022
dea1322
fix
tamaina Jun 4, 2022
fd55957
fix http-signature
tamaina Jun 4, 2022
09d1ba9
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Jun 4, 2022
77a3c76
fix
tamaina Jun 4, 2022
c0fea1c
fix
tamaina Jun 4, 2022
d8ef0ca
add packageExtensions
tamaina Jun 4, 2022
93b5dd7
:v:
tamaina Jun 4, 2022
ff1f652
remove `yarn set version berry`
tamaina Jun 4, 2022
b85397c
yarn install --immutable
tamaina Jun 4, 2022
fba88e1
https://github.com/misskey-dev/misskey/pull/8764#discussion_r885749892
tamaina Jun 4, 2022
b53a67b
enable actions/setup-node's global cache
tamaina Jun 4, 2022
772cf15
Update .gitignore
tamaina Jun 4, 2022
014ef17
revival gulp build
tamaina Jun 4, 2022
11fbd54
fix lockfile
tamaina Jun 4, 2022
7ddfd04
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Jun 16, 2022
9851b44
Update packages/backend/package.json
tamaina Jun 16, 2022
f2e593a
remove packagemanager
tamaina Jun 16, 2022
4746ef5
Merge branch 'yarn-3' of https://github.com/thatonecalculator/misskey…
tamaina Jun 16, 2022
15ec284
Merge branch 'misskey-dev:develop' into yarn-3
ThatOneCalculator Jun 17, 2022
308f57d
`yarn run gulp` in `build` instead of just `gulp`
ThatOneCalculator Jun 17, 2022
4335e09
Update CHANGELOG.md
ThatOneCalculator Jun 17, 2022
b9154cd
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Jun 28, 2022
1739603
update lockfile
tamaina Jun 28, 2022
47f05ad
Merge branch 'misskey-dev:develop' into yarn-3
ThatOneCalculator Jun 28, 2022
4f0f4ed
Merge branch 'yarn-3' of https://github.com/ThatOneCalculator/misskey…
ThatOneCalculator Jun 28, 2022
bfedb98
Add .yarn/cache to gitignore for packages
ThatOneCalculator Jun 28, 2022
9cd1526
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Jul 5, 2022
02a18fb
?
tamaina Jul 5, 2022
c81e5ae
move resolutions
tamaina Jul 5, 2022
6fab21c
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Jul 19, 2022
79b6ad2
:v:
tamaina Jul 19, 2022
23c0c97
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Aug 1, 2022
84d01ac
update lockfie
tamaina Aug 1, 2022
9326445
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Aug 9, 2022
03efc87
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Aug 19, 2022
656e672
update-lockfile
tamaina Aug 19, 2022
338a076
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Sep 20, 2022
e54ab1d
update yarn.lock
tamaina Sep 20, 2022
b44dc9d
fix build
tamaina Sep 20, 2022
029f6c3
fix
tamaina Sep 20, 2022
3eda1d1
fix
tamaina Sep 20, 2022
f7f4628
fix: add @tensorflow/tfjs
tamaina Sep 20, 2022
673c522
ダメ
tamaina Sep 20, 2022
155af07
modify lockfile
tamaina Sep 20, 2022
585519f
use yarnrc
tamaina Sep 21, 2022
13f4e92
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Sep 21, 2022
c8200e6
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Sep 23, 2022
a7d3585
update yarnlock
tamaina Sep 23, 2022
4b8becb
add jest-mock
tamaina Sep 23, 2022
088d66a
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Oct 13, 2022
7e5d7b5
update-lockfile
tamaina Oct 13, 2022
24a2bb5
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Oct 29, 2022
fad2d65
update lockfile
tamaina Oct 29, 2022
d4b8c0e
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Nov 7, 2022
7c406ea
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Nov 13, 2022
1615135
update lockfile
tamaina Nov 13, 2022
af8fd01
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Nov 14, 2022
61568ad
Merge branch 'develop' into pr/ThatOneCalculator/8764
tamaina Nov 22, 2022
461b36c
move jest-mock, update lockfile
tamaina Nov 22, 2022
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
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@ node_modules/
redis/
files/
misskey-assets/
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
32 changes: 11 additions & 21 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,22 @@ on:
pull_request:

jobs:
backend:
lint:
strategy:
matrix:
workspace:
- backend
- client
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true
- uses: actions/setup-node@v3
- uses: actions/setup-node@v3.2.0
with:
node-version: 18.x
cache: 'yarn'
cache-dependency-path: |
packages/backend/yarn.lock
- run: yarn install
- run: yarn --cwd ./packages/backend lint

client:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'
cache-dependency-path: |
packages/client/yarn.lock
- run: yarn install
- run: yarn --cwd ./packages/client lint
- run: corepack enable
- run: yarn install --immutable
- run: yarn workspace ${{ matrix.workspace }} run lint
25 changes: 10 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
env:
POSTGRES_DB: test-misskey
POSTGRES_HOST_AUTH_METHOD: trust
YARN_CHECKSUM_BEHAVIOR: update
redis:
image: redis:6
ports:
Expand All @@ -33,15 +34,12 @@ jobs:
with:
submodules: true
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v3.2.0
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: |
packages/backend/yarn.lock
packages/client/yarn.lock
- name: Install dependencies
run: yarn install
- run: corepack enable
- run: yarn install --immutable
- name: Check yarn.lock
run: git diff --exit-code yarn.lock
- name: Copy Configure
Expand Down Expand Up @@ -89,17 +87,14 @@ jobs:
#- uses: browser-actions/setup-firefox@latest
# if: ${{ matrix.browser == 'firefox' }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v3.2.0
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: |
packages/backend/yarn.lock
packages/client/yarn.lock
- name: Install dependencies
run: yarn install
- name: Check yarn.lock
run: git diff --exit-code yarn.lock
- run: corepack enable
- run: yarn install --immutable
env:
YARN_CHECKSUM_BEHAVIOR: update
- name: Copy Configure
run: cp .github/misskey/test.yml .config
- name: Build
Expand All @@ -111,7 +106,7 @@ jobs:
uses: cypress-io/github-action@v4
with:
install: false
start: npm run start:test
start: yarn start:test
wait-on: 'http://localhost:61812'
headless: false
browser: ${{ matrix.browser }}
Expand Down
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@
node_modules
report.*.json

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
packages/client/.yarn/cache
packages/backend/.yarn/cache
packages/sw/.yarn/cache

# Cypress
cypress/screenshots
cypress/videos
Expand Down
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
httpTimeout: 600000

nmHoistingLimits: none

nodeLinker: pnpm

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

progressBarStyle: "patrick"

packageExtensions:
"chartjs-adapter-date-fns@*":
peerDependencies:
"date-fns": "*"
"@bull-board/api@*":
peerDependencies:
"@bull-board/ui": "*"
"koa-views@*":
dependencies:
"pug": "*"
"consolidate@*":
dependencies:
"ejs": "*"
"@tensorflow/tfjs@*":
dependencies:
"long": "*"
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ same as 12.112.0
IPv4/IPv6 is used by default. You can tune this behavior via `redis.family`.
- Server: Add possibility to log IP addresses of users @syuilo
- Add additional drive capacity change support @CyberRex0
- Migrate to Yarn Berry (v3.2.1) @ThatOneCalculator
- You may have to `yarn run clean-all` and `yarn set version berry` before running `yarn install` if you're still on yarn classic

### Bugfixes
- Server: Fix GenerateVideoThumbnail failed @mei23
Expand Down Expand Up @@ -379,7 +381,7 @@ same as 12.112.0
## 12.104.0 (2022/02/09)

### Note
ビルドする前に`npm run clean`を実行してください。
ビルドする前に`yarn clean`を実行してください。

このリリースはマイグレーションの規模が大きいため、インスタンスによってはマイグレーションに時間がかかる可能性があります。
マイグレーションが終わらない場合は、チャートの情報はリセットされてしまいますが`__chart__`で始まるテーブルの**レコード**を全て削除(テーブル自体は消さないでください)してから再度試す方法もあります。
Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Thank you for your PR! Before creating a PR, please check the following:
- Check if there are any documents that need to be created or updated due to this change.
- If you have added a feature or fixed a bug, please add a test case if possible.
- Please make sure that tests and Lint are passed in advance.
- You can run it with `npm run test` and `npm run lint`. [See more info](#testing)
- You can run it with `yarn test` and `yarn lint`. [See more info](#testing)
- If this PR includes UI changes, please attach a screenshot in the text.

Thanks for your cooperation 🤗
Expand Down Expand Up @@ -99,7 +99,7 @@ If your language is not listed in Crowdin, please open an issue.
![Crowdin](https://d322cqt584bo4o.cloudfront.net/misskey/localized.svg)

## Development
During development, it is useful to use the `npm run dev` command.
During development, it is useful to use the `yarn dev` command.
This command monitors the server-side and client-side source files and automatically builds them if they are modified.
In addition, it will also automatically start the Misskey server process.

Expand All @@ -119,12 +119,12 @@ Alternatively, prepare an empty (data can be erased) DB and edit `.config/test.y

Run all test.
```
npm run test
yarn test
```

#### Run specify test
```
npm run jest -- foo.ts
yarn jest -- foo.ts
```

### e2e tests
Expand Down Expand Up @@ -257,7 +257,7 @@ MongoDBは`null`で返してきてたので、その感覚で`if (x === null)`
### Migration作成方法
packages/backendで:
```sh
npx typeorm migration:generate -d ormconfig.js -o <migration name>
yarn dlx typeorm migration:generate -d ormconfig.js -o <migration name>
```

- 生成後、ファイルをmigration下に移してください
Expand Down
29 changes: 20 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,42 @@
"type": "git",
"url": "https://github.com/misskey-dev/misskey.git"
},
"packageManager": "[email protected]",
"workspaces": [
"packages/client",
"packages/backend",
"packages/sw"
],
"private": true,
"scripts": {
"postinstall": "node ./scripts/install-packages.js",
"build": "node ./scripts/build.js",
"build": "yarn workspaces foreach run build && yarn run gulp",
"start": "cd packages/backend && node ./built/boot/index.js",
"start:test": "cd packages/backend && cross-env NODE_ENV=test node ./built/boot/index.js",
"init": "npm run migrate",
"init": "yarn migrate",
"migrate": "cd packages/backend && npx typeorm migration:run -d ormconfig.js",
"migrateandstart": "npm run migrate && npm run start",
"migrateandstart": "yarn migrate && yarn start",
"gulp": "gulp build",
"watch": "npm run dev",
"watch": "yarn dev",
"dev": "node ./scripts/dev.js",
"lint": "node ./scripts/lint.js",
"lint": "yarn workspaces foreach run lint",
"cy:open": "cypress open --browser --e2e --config-file=cypress.config.ts",
"cy:run": "cypress run",
"e2e": "start-server-and-test start:test http://localhost:61812 cy:run",
"jest": "cd packages/backend && cross-env NODE_ENV=test node --experimental-vm-modules --experimental-import-meta-resolve node_modules/jest/bin/jest.js --forceExit --runInBand",
"jest-and-coverage": "cd packages/backend && cross-env NODE_ENV=test node --experimental-vm-modules --experimental-import-meta-resolve node_modules/jest/bin/jest.js --coverage --forceExit --runInBand",
"test": "npm run jest",
"test-and-coverage": "npm run jest-and-coverage",
"test": "yarn jest",
"test-and-coverage": "yarn jest-and-coverage",
"format": "gulp format",
"clean": "node ./scripts/clean.js",
"clean-all": "node ./scripts/clean-all.js",
"cleanall": "npm run clean-all"
"cleanall": "yarn clean-all"
},
"resolutions": {
"chokidar": "^3.3.1",
"lodash": "^4.17.21"
},
"dependencies": {
"eslint": "^8.16.0",
"execa": "5.1.1",
"gulp": "4.0.2",
"gulp-cssnano": "2.1.3",
Expand All @@ -43,6 +53,7 @@
"devDependencies": {
"@types/gulp": "4.0.10",
"@types/gulp-rename": "2.0.1",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "5.43.0",
"cross-env": "7.0.3",
"cypress": "11.1.0",
Expand Down
2 changes: 0 additions & 2 deletions packages/backend/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion packages/backend/.yarnrc

This file was deleted.

26 changes: 17 additions & 9 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
{
"name": "backend",
"main": "./index.js",
"private": true,
"type": "module",
"scripts": {
"start": "node --experimental-json-modules ./built/index.js",
"start:test": "NODE_ENV=test node --experimental-json-modules ./built/index.js",
tamaina marked this conversation as resolved.
Show resolved Hide resolved
"migrate": "typeorm migration:run -d ormconfig.js",
"build": "tsc -p tsconfig.json || echo done. && tsc-alias -p tsconfig.json",
"watch": "node watch.mjs",
"lint": "eslint --quiet \"src/**/*.ts\"",
"jest": "cross-env NODE_ENV=test node --experimental-vm-modules --experimental-import-meta-resolve node_modules/jest/bin/jest.js --forceExit --runInBand",
"jest-and-coverage": "cross-env NODE_ENV=test node --experimental-vm-modules --experimental-import-meta-resolve node_modules/jest/bin/jest.js --coverage --forceExit --runInBand",
"jest-clear": "cross-env NODE_ENV=test node --experimental-vm-modules --experimental-import-meta-resolve node_modules/jest/bin/jest.js --clearCache",
"test": "npm run jest",
"test-and-coverage": "npm run jest-and-coverage"
},
"resolutions": {
"chokidar": "^3.3.1",
"lodash": "^4.17.21"
"test": "yarn jest",
"test-and-coverage": "yarn jest-and-coverage"
},
"optionalDependencies": {
"@tensorflow/tfjs": "^4.0.0",
"@tensorflow/tfjs-node": "4.0.0"
},
"dependencies": {
"@bull-board/api": "4.3.1",
"@bull-board/koa": "4.3.1",
"@bull-board/ui": "4.3.1",
"@discordapp/twemoji": "14.0.2",
"@elastic/elasticsearch": "7.11.0",
"@koa/cors": "3.1.0",
"@elastic/elasticsearch": "7.17.0",
"@koa/cors": "3.3.0",
"@koa/multer": "3.0.0",
"@koa/router": "9.0.1",
"@nestjs/common": "9.2.0",
Expand Down Expand Up @@ -53,6 +57,7 @@
"feed": "4.2.2",
"file-type": "18.0.0",
"fluent-ffmpeg": "2.1.2",
"form-data": "^4.0.0",
"got": "12.5.3",
"hpagent": "1.2.0",
"ioredis": "4.28.5",
Expand Down Expand Up @@ -82,6 +87,7 @@
"node-fetch": "3.3.0",
"nodemailer": "6.8.0",
"nsfwjs": "2.4.2",
"oauth": "^0.10.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

要る?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DiscordServerServiceとGithubServerServiceでは使われているけど

"os-utils": "0.0.14",
"parse5": "7.1.1",
"pg": "8.8.0",
Expand All @@ -103,6 +109,7 @@
"rxjs": "7.5.7",
"s-age": "1.1.2",
"sanitize-html": "2.7.3",
"seedrandom": "^3.0.5",
"semver": "7.3.8",
"sharp": "0.29.3",
"speakeasy": "2.0.0",
Expand Down Expand Up @@ -150,7 +157,7 @@
"@types/koa-mount": "4.0.1",
"@types/koa-send": "4.1.3",
"@types/koa-views": "7.0.0",
"@types/koa__cors": "3.1.1",
"@types/koa__cors": "3.3.0",
"@types/koa__multer": "2.0.4",
"@types/koa__router": "8.0.11",
"@types/mime-types": "2.1.1",
Expand Down Expand Up @@ -185,6 +192,7 @@
"eslint-plugin-import": "2.26.0",
"execa": "6.1.0",
"jest": "29.3.1",
"jest-mock": "^29.0.3",
"typescript": "4.9.3"
}
}
2 changes: 1 addition & 1 deletion packages/backend/test/tests/ap-request.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as assert from 'assert';
import httpSignature from 'http-signature';
import httpSignature from '@peertube/http-signature';
import { genRsaKeyPair } from '../../src/misc/gen-key-pair.js';
import { createSignedPost, createSignedGet } from '../../src/remote/activitypub/ap-request.js';

Expand Down
Loading