pnpm = dont change paths

This commit is contained in:
ThatOneCalculator 2022-05-31 19:44:04 -07:00
parent 3820a0722d
commit db0344e6ca
11 changed files with 160 additions and 25426 deletions

View File

@ -16,11 +16,11 @@ gulp.task('copy:backend:views', () =>
); );
gulp.task('copy:client:fonts', () => gulp.task('copy:client:fonts', () =>
gulp.src('./node_modules/three/examples/fonts/**/*').pipe(gulp.dest('./built/_client_dist_/fonts/')) gulp.src('./packages/client/node_modules/three/examples/fonts/**/*').pipe(gulp.dest('./built/_client_dist_/fonts/'))
); );
gulp.task('copy:client:fontawesome', () => gulp.task('copy:client:fontawesome', () =>
gulp.src('./node_modules/@fortawesome/fontawesome-free/**/*').pipe(gulp.dest('./built/_client_dist_/fontawesome/')) gulp.src('./packages/client/node_modules/@fortawesome/fontawesome-free/**/*').pipe(gulp.dest('./built/_client_dist_/fontawesome/'))
); );
gulp.task('copy:client:locales', cb => { gulp.task('copy:client:locales', cb => {

View File

@ -8,9 +8,9 @@
}, },
"packageManager": "yarn@3.2.1", "packageManager": "yarn@3.2.1",
"workspaces": [ "workspaces": [
"packages/client", "client",
"packages/backend", "backend",
"packages/sw" "sw"
], ],
"private": true, "private": true,
"scripts": { "scripts": {

View File

@ -72,7 +72,7 @@
"misskey-js": "0.0.14", "misskey-js": "0.0.14",
"mocha": "10.0.0", "mocha": "10.0.0",
"ms": "3.0.0-canary.1", "ms": "3.0.0-canary.1",
"multer": "1.4.5-lts.1", "multer": "1.4.4",
"nested-property": "4.0.0", "nested-property": "4.0.0",
"node-fetch": "3.2.4", "node-fetch": "3.2.4",
"nodemailer": "6.7.5", "nodemailer": "6.7.5",

View File

@ -135,7 +135,7 @@ router.get('/twemoji/(.*)', async ctx => {
ctx.set('Content-Security-Policy', 'default-src \'none\'; style-src \'unsafe-inline\''); ctx.set('Content-Security-Policy', 'default-src \'none\'; style-src \'unsafe-inline\'');
await send(ctx as any, path, { await send(ctx as any, path, {
root: `${_dirname}/../../../../../node_modules/@discordapp/twemoji/dist/svg/`, root: `${_dirname}/../../../node_modules/@discordapp/twemoji/dist/svg/`,
maxage: ms('30 days'), maxage: ms('30 days'),
}); });
}); });

View File

@ -27,7 +27,7 @@
"@/*": ["../src/*"] "@/*": ["../src/*"]
}, },
"typeRoots": [ "typeRoots": [
"../../../node_modules/@types", "../node_modules/@types",
"../src/@types" "../src/@types"
], ],
"lib": [ "lib": [

File diff suppressed because it is too large Load Diff

View File

@ -30,5 +30,5 @@ export default defineComponent({
</script> </script>
<style> <style>
@import "../../../../node_modules/katex/dist/katex.min.css"; @import "../../node_modules/katex/dist/katex.min.css";
</style> </style>

File diff suppressed because it is too large Load Diff

View File

@ -24,7 +24,7 @@
"@/*": ["./src/*"], "@/*": ["./src/*"],
}, },
"typeRoots": [ "typeRoots": [
"../../node_modules/@types", "node_modules/@types",
"@types", "@types",
], ],
"lib": [ "lib": [

File diff suppressed because it is too large Load Diff

7624
yarn.lock

File diff suppressed because it is too large Load Diff