-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Changes from 59 commits
5c7fca4
76e399c
ea7d535
9652183
3140a3f
9d1c8b4
fd8170f
6ba6dd1
9afb410
7df83d7
7bd65cf
f035817
6254a1e
ff99a92
3208a2e
4970bef
322fe72
39f8cb3
6f2a9d5
c05cc01
db86110
44c42f1
bc94eb8
88c7594
dd1bfae
299ec96
d76ec57
95aff06
5cf5a83
de29d9a
a2f9e1c
54ed997
9daea49
71a9070
a872e6e
33c58df
75d2336
099c623
d5af0a6
2208df1
e4dde13
7bba487
e0c57cf
789d0f8
e489c53
66ab759
3820a07
db0344e
4d16fb7
e21919c
f4059eb
d34bb62
021a52c
a53663f
9264b50
3e38e47
71538d4
9b727f6
ac89f25
1a837bb
41fadc9
dea1322
fd55957
09d1ba9
77a3c76
c0fea1c
d8ef0ca
93b5dd7
ff1f652
b85397c
fba88e1
b53a67b
772cf15
014ef17
11fbd54
7ddfd04
9851b44
f2e593a
4746ef5
15ec284
308f57d
4335e09
b9154cd
1739603
47f05ad
4f0f4ed
bfedb98
9cd1526
02a18fb
c81e5ae
6fab21c
79b6ad2
23c0c97
84d01ac
9326445
03efc87
656e672
338a076
e54ab1d
b44dc9d
029f6c3
3eda1d1
f7f4628
673c522
155af07
585519f
13f4e92
c8200e6
a7d3585
4b8becb
088d66a
7e5d7b5
24a2bb5
fad2d65
d4b8c0e
7c406ea
1615135
af8fd01
61568ad
461b36c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v18.0.0 | ||
v18.2.0 |
This file was deleted.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
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: "*" |
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.2.0-alpine3.15 AS base | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess you have to see if it works with Docker |
||
|
||
ARG NODE_ENV=production | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,30 +6,36 @@ | |
"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", | ||
"start": "cd packages/backend && node --experimental-json-modules ./built/index.js", | ||
"start:test": "cd packages/backend && cross-env NODE_ENV=test node --experimental-json-modules ./built/index.js", | ||
"init": "npm run migrate", | ||
"build": "yarn workspaces foreach run build", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. gulpのbuild commandも実行する必要があると思います。 |
||
"start": "cd packages/backend && yarn node --experimental-json-modules ./built/index.js", | ||
"start:test": "cd packages/backend && cross-env NODE_ENV=test yarn node --experimental-json-modules ./built/index.js", | ||
"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", | ||
"cy:run": "cypress run", | ||
"e2e": "start-server-and-test start:test http://localhost:61812 cy:run", | ||
"mocha": "cd packages/backend && cross-env NODE_ENV=test TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=\"./test/tsconfig.json\" npx mocha", | ||
tamaina marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"test": "npm run mocha", | ||
"test": "yarn mocha", | ||
"format": "gulp format", | ||
"clean": "node ./scripts/clean.js", | ||
"clean-all": "node ./scripts/clean-all.js", | ||
"cleanall": "npm run clean-all" | ||
"cleanall": "yarn clean-all" | ||
}, | ||
"dependencies": { | ||
"eslint": "^8.16.0", | ||
"execa": "5.1.1", | ||
"gulp": "4.0.2", | ||
"gulp-cssnano": "2.1.3", | ||
|
@@ -41,10 +47,14 @@ | |
"devDependencies": { | ||
"@types/gulp": "4.0.9", | ||
"@types/gulp-rename": "2.0.1", | ||
"@typescript-eslint/parser": "5.18.0", | ||
"@typescript-eslint/eslint-plugin": "latest", | ||
"@typescript-eslint/parser": "5.27.0", | ||
"cross-env": "7.0.3", | ||
"cypress": "9.5.3", | ||
"cypress": "9.7.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-vue": "latest", | ||
"start-server-and-test": "1.14.0", | ||
"typescript": "4.6.3" | ||
"typescript": "4.7.2", | ||
"vue-eslint-parser": "^9.0.2" | ||
ThatOneCalculator marked this conversation as resolved.
Show resolved
Hide resolved
|
||
} | ||
} |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
消してもキャッシュされるのでしょうか?
Will it still be cached if removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://dev.classmethod.jp/articles/caching-dependencies-in-workflow-execution-on-github-actions/
グローバルパッケージをキャッシュする(??)ものなのであんまり関係ない気がする