Skip to content

Commit 59f69ed

Browse files
authored
chore: fix things about build (#308)
* chore: remove pnpm, DO NOT NEED PNPM to publish * chore: update build badge * chore: fix husky
1 parent 72009b5 commit 59f69ed

File tree

5 files changed

+3
-9
lines changed

5 files changed

+3
-9
lines changed

.husky/commit-msg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npx --no-install commitlint --edit
4+
npx --no-install commitlint --edit "$1"

.husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npm run lint-staged
4+
npx lint-staged

.npmrc

-5
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Visualization components for AntV, based on [G](https://github.com/antvis/g) which is a flexible rendering engine for visualization.
88

9-
[![Build Status](https://github.com/antvis/component/workflows/build/badge.svg?branch=master)](https://github.com/antvis/component/actions)
9+
[![build](https://github.com/antvis/component/actions/workflows/build.yml/badge.svg)](https://github.com/antvis/component/actions/workflows/build.yml)
1010
[![Coverage Status](https://coveralls.io/repos/github/antvis/component/badge.svg?branch=master)](https://coveralls.io/github/antvis/component?branch=master)
1111
[![npm Version](https://img.shields.io/npm/v/@antv/component.svg)](https://www.npmjs.com/package/@antv/component)
1212
[![npm Download](https://img.shields.io/npm/dm/@antv/component.svg)](https://www.npmjs.com/package/@antv/component)

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"ci": "run-s lint test build",
4040
"prepublishOnly": "npm run ci",
4141
"prepare": "husky install",
42-
"publish": "pnpm publish -r --registry=https://registry.npmjs.org",
4342
"upload": "node scripts/uploadSnapshot.js"
4443
},
4544
"keywords": [

0 commit comments

Comments
 (0)