Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
55 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
name: Publish | ||
jobs: | ||
# test: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - uses: actions/setup-node@v1 | ||
# with: | ||
# node-version: 10 | ||
# - run: npm i -g bee-tools-test | ||
# - run: npm i | ||
# - run: npm test | ||
|
||
publish: | ||
# needs: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm i -g bee-tools | ||
- run: npm i | ||
- run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
- uses: iuap-design/actions-ynpm-sync@master | ||
|
||
github-release: | ||
needs: publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm i -g github-release-from-changelog | ||
- run: github-release-from-changelog | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"hooks": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
extends: ['@commitlint/config-conventional'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1 @@ | ||
{ | ||
"name": "bee-colorpicker", | ||
"version": "0.0.14", | ||
"description": "ColorPicker ui component for react", | ||
"keywords": [ | ||
"react", | ||
"react-component", | ||
"bee-colorpicker", | ||
"iuap-design", | ||
"tinper-bee", | ||
"ColorPicker" | ||
], | ||
"engines": { | ||
"node": ">=4.0.0" | ||
}, | ||
"homepage": "https://github.com/tinper-bee/bee-colorpicker.git", | ||
"author": "Yonyou FED", | ||
"repository": "http://github.com/tinper-bee/bee-colorpicker", | ||
"bugs": "https://github.com/tinper-bee/bee-colorpicker.git/issues", | ||
"license": "MIT", | ||
"main": "./build/index.js", | ||
"config": { | ||
"port": 3000, | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"scripts": { | ||
"dev": "bee-tools run start", | ||
"build": "bee-tools run build", | ||
"lint": "bee-tools-test run lint", | ||
"test": "bee-tools-test run test", | ||
"chrome": "bee-tools-test run chrome", | ||
"coveralls": "bee-tools-test run coverage", | ||
"browsers": "bee-tools-test run browsers", | ||
"pub": "bee-tools run pub", | ||
"changelog": "bee-tools run changelog" | ||
}, | ||
"dependencies": { | ||
"babel-runtime": "^6.23.0", | ||
"bee-form": "latest", | ||
"bee-form-control": "latest", | ||
"bee-icon": "latest", | ||
"bee-input-group": "^2.0.2", | ||
"bee-label": "latest", | ||
"bee-modal": "latest", | ||
"bee-select": "latest", | ||
"classnames": "^2.2.5", | ||
"tinper-bee-core": "latest" | ||
}, | ||
"devDependencies": { | ||
"bee-button": "latest", | ||
"bee-clipboard": "latest", | ||
"bee-drawer": "latest", | ||
"bee-layout": "latest", | ||
"bee-panel": "latest", | ||
"chai": "^3.5.0", | ||
"console-polyfill": "~0.2.1", | ||
"cz-conventional-changelog": "^2.1.0", | ||
"enzyme": "^2.4.1", | ||
"es5-shim": "~4.1.10", | ||
"react": "15.3.2", | ||
"react-addons-test-utils": "15.3.2", | ||
"react-dom": "15.3.2" | ||
}, | ||
"peerDependencies": { | ||
"react": ">= 15.3.0", | ||
"react-dom": ">= 15.3.0", | ||
"prop-types": ">= 15.6.0" | ||
} | ||
} | ||
{"name":"bee-colorpicker","version":"0.0.14","description":"ColorPicker ui component for react","keywords":["react","react-component","bee-colorpicker","iuap-design","tinper-bee","ColorPicker"],"engines":{"node":">=4.0.0"},"homepage":"https://github.com/tinper-bee/bee-colorpicker.git","author":"Yonyou FED","repository":"http://github.com/tinper-bee/bee-colorpicker","bugs":"https://github.com/tinper-bee/bee-colorpicker.git/issues","license":"MIT","main":"./build/index.js","config":{"port":3000,"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"scripts":{"dev":"bee-tools run start","build":"bee-tools run build","lint":"bee-tools-test run lint","test":"bee-tools-test run test","chrome":"bee-tools-test run chrome","coveralls":"bee-tools-test run coverage","browsers":"bee-tools-test run browsers","pub":"bee-tools run pub","changelog":"bee-tools run changelog","version":"conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md","postversion":"git push --follow-tags","prepublishOnly":"npm run build"},"dependencies":{"babel-runtime":"^6.23.0","bee-form":"latest","bee-form-control":"latest","bee-icon":"latest","bee-input-group":"^2.0.2","bee-label":"latest","bee-modal":"latest","bee-select":"latest","classnames":"^2.2.5","tinper-bee-core":"latest"},"devDependencies":{"bee-button":"latest","bee-clipboard":"latest","bee-drawer":"latest","bee-layout":"latest","bee-panel":"latest","chai":"^3.5.0","console-polyfill":"~0.2.1","cz-conventional-changelog":"^2.1.0","enzyme":"^2.4.1","es5-shim":"~4.1.10","react":"15.3.2","react-addons-test-utils":"15.3.2","react-dom":"15.3.2","husky":"^4.2.5"},"peerDependencies":{"react":">= 15.3.0","react-dom":">= 15.3.0","prop-types":">= 15.6.0"}} |