You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2023/06/07 08:21:09 UTC

[echarts] branch move-test-dep updated (82d3a85a0 -> 8c4b8f404)

This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a change to branch move-test-dep
in repository https://gitbox.apache.org/repos/asf/echarts.git


 discard 82d3a85a0 fix(husky): fix husky hooks not install brought by the update in 73e566cce94326e87173c2bf5699bc90864334e9
     new 8c4b8f404 fix(husky): fix husky hooks not install brought by the update in 73e566cce94326e87173c2bf5699bc90864334e9

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (82d3a85a0)
            \
             N -- N -- N   refs/heads/move-test-dep (8c4b8f404)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .huskyrc | 5 -----
 1 file changed, 5 deletions(-)
 delete mode 100644 .huskyrc


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[echarts] 01/01: fix(husky): fix husky hooks not install brought by the update in 73e566cce94326e87173c2bf5699bc90864334e9

Posted by wa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch move-test-dep
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 8c4b8f404bd98a57b6673526471f36d263cedcf4
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Wed Jun 7 16:04:40 2023 +0800

    fix(husky): fix husky hooks not install brought by the update in 73e566cce94326e87173c2bf5699bc90864334e9
---
 .husky/pre-commit | 5 +++++
 .huskyrc          | 5 -----
 package.json      | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.husky/pre-commit b/.husky/pre-commit
new file mode 100644
index 000000000..e7e681f4b
--- /dev/null
+++ b/.husky/pre-commit
@@ -0,0 +1,5 @@
+#!/usr/bin/env sh
+. "$(dirname -- "$0")/_/husky.sh"
+
+npm run lint
+npm run checktype
diff --git a/.huskyrc b/.huskyrc
deleted file mode 100644
index 3f05f5dba..000000000
--- a/.huskyrc
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-  "hooks": {
-    "pre-commit": "npm run lint && npm run checktype"
-  }
-}
diff --git a/package.json b/package.json
index bfb301960..cd9e31b00 100644
--- a/package.json
+++ b/package.json
@@ -47,7 +47,7 @@
     "build:extension": "node build/build.js --type extension",
     "dev:fast": "node build/build-i18n.js && node build/dev-fast.js",
     "dev": "npx -y concurrently -n build,server \"npm run dev:fast\" \"npx -y http-server -c-1 -s -o test\"",
-    "prepare": "npm run build:lib",
+    "prepare": "npm run build:lib && husky install",
     "release": "npm run build:lib && npm run build:i18n && npm run build && npm run build:esm && npm run build:extension",
     "help": "node build/build.js --help",
     "test:visual": "node test/runTest/server.js",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org