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: commit time

DarkSky8c1be1f001ff
diff --git a/.husky/pre-commit b/.husky/pre-commit
index deb953a84e..54bcfe98fa 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -3,6 +3,4 @@
# npx lint-staged
-pnpm run lint:with-cache
-pnpm run check
pnpm run format:ci
diff --git a/.husky/pre-push b/.husky/pre-push
index 741e9183e4..9c7674d585 100755
--- a/.husky/pre-push
+++ b/.husky/pre-push
@@ -11,4 +11,4 @@ if test $current_branch != $default_branch; then
exit 0
fi
-npm run type:check
+pnpm run build:check
diff --git a/package.json b/package.json
index 5abcf2e612..0e8a1863c0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "toeverything",
- "version": "0.0.0",
+ "version": "0.0.1",
"license": "MIT",
"author": "AFFiNE <[email protected]>",
"scripts": {
@@ -15,6 +15,7 @@
"build:keck": "nx build keck",
"build:venus": "nx build venus",
"build:analytic": "cross-env BUNDLE_ANALYZER=true nx build --skip-nx-cache",
+ "build:check": "pnpm exec nx affected --target=build --parallel=2",
"test": "nx run-many --target test --all",
"check": "nx run-many --target check --all",
"add:components": "nx generate @nrwl/react:library --directory=components --buildable --no-component --no-routing --tags=components",
@@ -26,7 +27,6 @@
"lint:with-cache": "nx run-many --target=lint --all --exclude=components-common,keck,theme",
"format": "nx format",
"format:ci": "nx format:check",
- "type:check": "nx build ligo-virgo",
"prepare": "husky install"
},
"private": true,