Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: remove unused code (#1236)

Himself65f817d41d1c48
diff --git a/package.json b/package.json
index 97a6dd7d4b..db111253ba 100644
--- a/package.json
+++ b/package.json
@@ -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/[email protected]": "patches/@[email protected]",
+ "@tauri-apps/[email protected]": "patches/@[email protected]"
}
}
}
diff --git a/patches/[email protected] b/patches/[email protected]
deleted file mode 100644
index b2788691ee..0000000000
--- a/patches/[email protected]
+++ /dev/null
@@ -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`);
- }
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 810babab6a..3d01cd7368 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1,9 +1,6 @@
lockfileVersion: 5.4
patchedDependencies:
- hash: rdilrli7uexa22ralt77ekax24
- path: patches/[email protected]
'@tauri-apps/[email protected]':
hash: nb4isgkwd3sres4g7j7rgtldsu
path: patches/@[email protected]
@@ -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: [email protected]
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==}