Skip to content

Commit eeb230d

Browse files
authored
Merge pull request #38 from dbjtech/ivan/hotfix
更新:
2 parents 1f59902 + 4b83f1a commit eeb230d

File tree

5 files changed

+62
-25
lines changed

5 files changed

+62
-25
lines changed

.eslintrc

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
{
2-
"extends": "airbnb-base",
3-
"rules": {
4-
"semi": [2, "never"],
5-
"indent": [2, "tab", {"SwitchCase": 1}],
6-
"no-tabs": 0,
7-
"no-console": 0,
8-
"no-restricted-syntax": 0
9-
}
2+
"extends": "airbnb-base",
3+
"env": {
4+
"node": true
5+
},
6+
"rules": {
7+
"object-curly-newline": ["error", { "consistent": true }],
8+
"semi": [2, "never"],
9+
"semi-style": [2, "first"],
10+
"indent": [2, "tab", {
11+
"SwitchCase": 1
12+
}],
13+
"camelcase": 0,
14+
"no-tabs": 0
15+
}
1016
}

.github/workflows/npm-publish.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3+
4+
name: Node.js Package
5+
6+
on:
7+
release:
8+
types: [created]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-node@v1
16+
with:
17+
node-version: 12
18+
- run: npm ci
19+
20+
publish-npm:
21+
needs: build
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: actions/setup-node@v1
26+
with:
27+
node-version: 12
28+
registry-url: https://registry.npmjs.org/
29+
- run: npm ci
30+
- run: npm publish
31+
env:
32+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

.jsbeautifyrc

Lines changed: 0 additions & 7 deletions
This file was deleted.

.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.github
2+
node_modules
3+
test
4+
.eslintrc
5+
.gitignore
6+
README.md

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "brickyard-cli",
3-
"version": "6.4.2",
3+
"version": "6.4.3",
44
"description": "",
55
"main": "lib/brickyard",
66
"bin": {
@@ -11,21 +11,21 @@
1111
"license": "ISC",
1212
"dependencies": {
1313
"@brickyard/logger": "^0.0.3",
14-
"find-node-modules": "^2.0.0",
15-
"fs-extra": "^8.0.1",
16-
"glob": "^7.1.4",
14+
"find-node-modules": "^2.1.0",
15+
"fs-extra": "^9.0.1",
16+
"glob": "^7.1.6",
1717
"gulp": "^4.0.2",
18-
"gulp-json-editor": "^2.5.2",
18+
"gulp-json-editor": "^2.5.4",
1919
"gulp4-run-sequence": "^0.3.3",
20-
"lodash": "^4.17.11",
20+
"lodash": "^4.17.20",
2121
"minimatch": "^3.0.4",
2222
"semver": "6.0.0",
23-
"update-notifier": "^3.0.0",
23+
"update-notifier": "^4.1.1",
2424
"yargs": "^13.2.4"
2525
},
2626
"devDependencies": {
27-
"eslint-config-airbnb-base": "^14.1.0",
28-
"eslint": "^6.8.0",
29-
"eslint-plugin-import": "^2.20.1"
27+
"eslint-config-airbnb-base": "^14.2.0",
28+
"eslint": "^7.8.0",
29+
"eslint-plugin-import": "^2.22.0"
3030
}
3131
}

0 commit comments

Comments
 (0)