From 8c1be1f001ffd69be029bb16504c691d5c764209 Mon Sep 17 00:00:00 2001 From: DarkSky Date: Mon, 15 Aug 2022 16:51:49 +0800 Subject: [PATCH] chore: commit time --- .husky/pre-commit | 2 -- .husky/pre-push | 2 +- package.json | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) 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 ", "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,