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 5 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
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.travis
.vscode
.config
.yarn
ThatOneCalculator marked this conversation as resolved.
Show resolved Hide resolved
Dockerfile
build/
built/
Expand Down
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
node_modules
report.*.json

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
packages/*/.yarn/*
tamaina marked this conversation as resolved.
Show resolved Hide resolved

# Cypress
cypress/screenshots
cypress/videos
Expand Down
786 changes: 786 additions & 0 deletions .yarn/releases/yarn-3.2.1.cjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
httpTimeout: 600000
nodeLinker: node-modules
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ You should also include the user name that made the change.
- Perform port diagnosis at startup only when Listen fails @mei23
- Rate limiting is now also usable for non-authenticated users. @Johann150
Admins should make sure the reverse proxy sets the `X-Forwarded-For` header to the original address.
- Update to Yarn v3 @ThatOneCalculator

### Bugfixes
- Client: fix settings page @tamaina
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.0.0-alpine3.15 AS base
FROM node:18.1.0-alpine3.15 AS base

ARG NODE_ENV=production

Expand Down
9 changes: 4 additions & 5 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@
},
"devDependencies": {
"@redocly/openapi-core": "1.0.0-beta.97",
"@types/semver": "7.3.9",
"@types/bcryptjs": "2.4.2",
"@types/bull": "3.15.8",
"@types/cbor": "6.0.0",
Expand Down Expand Up @@ -158,6 +157,7 @@
"@types/redis": "4.0.11",
"@types/rename": "1.0.4",
"@types/sanitize-html": "2.6.2",
"@types/semver": "7.3.9",
"@types/sharp": "0.30.2",
"@types/sinonjs__fake-timers": "8.1.2",
"@types/speakeasy": "2.0.7",
Expand All @@ -169,11 +169,10 @@
"@types/ws": "8.5.3",
"@typescript-eslint/eslint-plugin": "5.26.0",
"@typescript-eslint/parser": "5.26.0",
"typescript": "4.7.2",
"cross-env": "7.0.3",
"eslint": "8.16.0",
"eslint-plugin-import": "2.26.0",

"cross-env": "7.0.3",
"execa": "6.1.0"
"execa": "6.1.0",
"typescript": "4.7.2"
}
}
Loading