mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 19:11:32 +03:00
chore: remove unused code (#1236)
This commit is contained in:
parent
6128338adb
commit
f817d41d1c
@ -9,7 +9,6 @@
|
||||
"dev:ac": "cross-env NODE_API_SERVER=ac pnpm --filter @affine/app dev",
|
||||
"dev:local": "cross-env NODE_API_SERVER=local pnpm --filter @affine/app dev",
|
||||
"build": "pnpm --filter @affine/app build",
|
||||
"build:rem": "pnpm --filter @affine/rem build",
|
||||
"build:client": " pnpm --filter=@affine/client-app build:app",
|
||||
"build:storybook": " pnpm -r build-storybook",
|
||||
"export": "pnpm --filter @affine/app export",
|
||||
@ -64,8 +63,7 @@
|
||||
},
|
||||
"pnpm": {
|
||||
"patchedDependencies": {
|
||||
"@tauri-apps/api@1.2.0": "patches/@tauri-apps__api@1.2.0.patch",
|
||||
"next@13.1.6": "patches/next@13.1.0.patch"
|
||||
"@tauri-apps/api@1.2.0": "patches/@tauri-apps__api@1.2.0.patch"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,15 +0,0 @@
|
||||
diff --git a/dist/server/config.js b/dist/server/config.js
|
||||
index 3222d6521a5473994ad1d42914106d9c611e18b8..b9ea8fbd541c9ce1a8c33c25ab0f493981f9b3e3 100644
|
||||
--- a/dist/server/config.js
|
||||
+++ b/dist/server/config.js
|
||||
@@ -180,8 +180,8 @@ const isAboveNodejs16 = (0, _semver).gte(process.version, NODE_16_VERSION);
|
||||
const isAboveNodejs18 = (0, _semver).gte(process.version, NODE_18_VERSION);
|
||||
const experimentalWarning = (0, _utils).execOnce((configFileName, features)=>{
|
||||
const s = features.length > 1 ? "s" : "";
|
||||
- Log.warn(_chalk.default.bold(`You have enabled experimental feature${s} (${features.join(", ")}) in ${configFileName}.`));
|
||||
- Log.warn(`Experimental features are not covered by semver, and may cause unexpected or broken application behavior. ` + `Use at your own risk.`);
|
||||
+ // Log.warn(_chalk.default.bold(`You have enabled experimental feature${s} (${features.join(", ")}) in ${configFileName}.`));
|
||||
+ // Log.warn(`Experimental features are not covered by semver, and may cause unexpected or broken application behavior. ` + `Use at your own risk.`);
|
||||
if (features.includes("appDir")) {
|
||||
Log.info(`Thank you for testing \`appDir\` please leave your feedback at https://nextjs.link/app-feedback`);
|
||||
}
|
@ -1,9 +1,6 @@
|
||||
lockfileVersion: 5.4
|
||||
|
||||
patchedDependencies:
|
||||
next@13.1.6:
|
||||
hash: rdilrli7uexa22ralt77ekax24
|
||||
path: patches/next@13.1.0.patch
|
||||
'@tauri-apps/api@1.2.0':
|
||||
hash: nb4isgkwd3sres4g7j7rgtldsu
|
||||
path: patches/@tauri-apps__api@1.2.0.patch
|
||||
@ -379,7 +376,7 @@ importers:
|
||||
react-dom: ^18.2.0
|
||||
typescript: ^4.9.5
|
||||
dependencies:
|
||||
next: 13.1.6_rdilrli7uexa22ralt77ekax24_biqbaboplfbrettd7655fr4n2y
|
||||
next: 13.1.6_biqbaboplfbrettd7655fr4n2y
|
||||
react: 18.2.0
|
||||
react-dom: 18.2.0_react@18.2.0
|
||||
devDependencies:
|
||||
@ -10768,7 +10765,7 @@ packages:
|
||||
- babel-plugin-macros
|
||||
dev: false
|
||||
|
||||
/next/13.1.6_rdilrli7uexa22ralt77ekax24_biqbaboplfbrettd7655fr4n2y:
|
||||
/next/13.1.6_biqbaboplfbrettd7655fr4n2y:
|
||||
resolution: {integrity: sha512-hHlbhKPj9pW+Cymvfzc15lvhaOZ54l+8sXDXJWm3OBNBzgrVj6hwGPmqqsXg40xO1Leq+kXpllzRPuncpC0Phw==}
|
||||
engines: {node: '>=14.6.0'}
|
||||
hasBin: true
|
||||
@ -10811,7 +10808,6 @@ packages:
|
||||
- '@babel/core'
|
||||
- babel-plugin-macros
|
||||
dev: false
|
||||
patched: true
|
||||
|
||||
/next/13.2.2_biqbaboplfbrettd7655fr4n2y:
|
||||
resolution: {integrity: sha512-dDKfGBqSxqmqx5WN9tDFg0uGUkD/LGUxR29tpe8AEmo2SwfbPWf04qyvDcKmpjt2fCzP4132BvFRZFlg+11kGw==}
|
||||
|
Loading…
Reference in New Issue
Block a user