Skip to content

Commit 33fe090

Browse files
@jotadevelopersergiohgz
authored andcommitted
feat(build): standardize build
According the other projects add same scripts, build pipeline and babel build
1 parent 8c0bbad commit 33fe090

File tree

6 files changed

+1295
-1559
lines changed

6 files changed

+1295
-1559
lines changed

plugins/local-storage/.circleci/config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ version: 2
33
aliases:
44
- &defaults
55
working_directory: ~/local-storage
6-
- &node11_executor
6+
- &node12_executor
77
docker:
8-
- image: circleci/node:11.10.1
8+
- image: circleci/node:12
99
- &node8_executor
1010
docker:
1111
- image: circleci/node:8
@@ -77,9 +77,9 @@ jobs:
7777
paths:
7878
- ~/local-storage
7979

80-
test_node11:
80+
test_node12:
8181
<<: *defaults
82-
<<: *node11_executor
82+
<<: *node12_executor
8383
steps:
8484
- *restore_repo
8585
- run:
@@ -117,7 +117,7 @@ jobs:
117117
key: *coverage_key
118118
- run:
119119
name: Publish coverage
120-
command: yarn run coverage:publish
120+
command: yarn coverage:publish
121121
- store_artifacts:
122122
path: coverage/clover.xml
123123
prefix: tests
@@ -144,7 +144,7 @@ workflows:
144144
jobs:
145145
- prepare:
146146
<<: *ignore_non_dev_branches
147-
- test_node11:
147+
- test_node12:
148148
requires:
149149
- prepare
150150
<<: *ignore_non_dev_branches
@@ -158,7 +158,7 @@ workflows:
158158
<<: *ignore_non_dev_branches
159159
- coverage:
160160
requires:
161-
- test_node11
161+
- test_node12
162162
- test_node8
163163
- test_node10
164164
<<: *ignore_non_dev_branches

plugins/local-storage/.github/main.workflow

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

plugins/local-storage/.npmignore

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ tests-report/
66
yarn-error.log
77
yarn.lock
88
.idea/
9-
.flowconfig
10-
flow-typed/
119
.eslintrc
1210
.babelrc
1311
test/
@@ -20,7 +18,18 @@ _storage/
2018
circle.yml
2119
travis.yml
2220
*.md
21+
*.json
22+
__mocks__
23+
types/
24+
.prettierrc
2325
coverage/
26+
tests/
2427
jest.config.js
2528
jestEnvironment.js
26-
Dockerfile
29+
renovate.json
30+
.circleci/
31+
scripts/
32+
.DS_Store
33+
.github/
34+
.dockerignore
35+
Dockerfile

plugins/local-storage/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,34 +18,34 @@
1818
"coverage:publish": "codecov"
1919
},
2020
"dependencies": {
21-
"@verdaccio/file-locking": "1.0.0",
21+
"@verdaccio/file-locking": "1.0.3",
2222
"@verdaccio/streams": "2.0.0",
23-
"async": "3.0.1-0",
24-
"http-errors": "1.7.2",
23+
"async": "3.1.0",
24+
"http-errors": "1.7.3",
2525
"lodash": "4.17.11",
2626
"mkdirp": "0.5.1"
2727
},
2828
"devDependencies": {
29-
"@commitlint/cli": "7.5.2",
30-
"@commitlint/config-conventional": "7.5.0",
29+
"@commitlint/cli": "8.0.0",
30+
"@commitlint/config-conventional": "8.0.0",
3131
"@types/http-errors": "1.6.1",
32-
"@types/jest": "24.0.11",
33-
"@types/lodash": "^4.14.123",
32+
"@types/jest": "24.0.15",
33+
"@types/lodash": "^4.14.135",
3434
"@types/minimatch": "^3.0.3",
35-
"@types/node": "11.12.1",
36-
"@typescript-eslint/eslint-plugin": "1.5.0",
37-
"@verdaccio/babel-preset": "0.1.0",
38-
"@verdaccio/types": "5.0.0-beta.4",
35+
"@types/node": "12.0.10",
36+
"@typescript-eslint/eslint-plugin": "1.11.0",
37+
"@verdaccio/babel-preset": "0.2.1",
3938
"@verdaccio/eslint-config": "0.0.1",
40-
"codecov": "3.2.0",
39+
"@verdaccio/types": "5.0.0-beta.4",
40+
"codecov": "3.5.0",
4141
"cross-env": "5.2.0",
4242
"eslint": "5.15.3",
4343
"husky": "0.14.3",
44-
"jest": "24.5.0",
44+
"jest": "24.8.0",
4545
"minimatch": "3.0.4",
4646
"rmdir-sync": "1.0.1",
47-
"standard-version": "5.0.2",
48-
"typescript": "3.2.1"
47+
"standard-version": "6.0.1",
48+
"typescript": "3.5.2"
4949
},
5050
"publishConfig": {
5151
"registry": "https://registry.npmjs.org/"

plugins/local-storage/scripts/publish.sh

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

0 commit comments

Comments
 (0)