Skip to content

Commit

Permalink
feat(build): standardize build
Browse files Browse the repository at this point in the history
According the other projects add same scripts, build pipeline and babel build
  • Loading branch information
@jotadeveloper authored and sergiohgz committed Aug 13, 2019
1 parent 8c0bbad commit 33fe090
Show file tree
Hide file tree
Showing 6 changed files with 1,295 additions and 1,559 deletions.
14 changes: 7 additions & 7 deletions plugins/local-storage/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ version: 2
aliases:
- &defaults
working_directory: ~/local-storage
- &node11_executor
- &node12_executor
docker:
- image: circleci/node:11.10.1
- image: circleci/node:12
- &node8_executor
docker:
- image: circleci/node:8
Expand Down Expand Up @@ -77,9 +77,9 @@ jobs:
paths:
- ~/local-storage

test_node11:
test_node12:
<<: *defaults
<<: *node11_executor
<<: *node12_executor
steps:
- *restore_repo
- run:
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
key: *coverage_key
- run:
name: Publish coverage
command: yarn run coverage:publish
command: yarn coverage:publish
- store_artifacts:
path: coverage/clover.xml
prefix: tests
Expand All @@ -144,7 +144,7 @@ workflows:
jobs:
- prepare:
<<: *ignore_non_dev_branches
- test_node11:
- test_node12:
requires:
- prepare
<<: *ignore_non_dev_branches
Expand All @@ -158,7 +158,7 @@ workflows:
<<: *ignore_non_dev_branches
- coverage:
requires:
- test_node11
- test_node12
- test_node8
- test_node10
<<: *ignore_non_dev_branches
Expand Down
9 changes: 0 additions & 9 deletions plugins/local-storage/.github/main.workflow

This file was deleted.

15 changes: 12 additions & 3 deletions plugins/local-storage/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ tests-report/
yarn-error.log
yarn.lock
.idea/
.flowconfig
flow-typed/
.eslintrc
.babelrc
test/
Expand All @@ -20,7 +18,18 @@ _storage/
circle.yml
travis.yml
*.md
*.json
__mocks__
types/
.prettierrc
coverage/
tests/
jest.config.js
jestEnvironment.js
Dockerfile
renovate.json
.circleci/
scripts/
.DS_Store
.github/
.dockerignore
Dockerfile
30 changes: 15 additions & 15 deletions plugins/local-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,34 +18,34 @@
"coverage:publish": "codecov"
},
"dependencies": {
"@verdaccio/file-locking": "1.0.0",
"@verdaccio/file-locking": "1.0.3",
"@verdaccio/streams": "2.0.0",
"async": "3.0.1-0",
"http-errors": "1.7.2",
"async": "3.1.0",
"http-errors": "1.7.3",
"lodash": "4.17.11",
"mkdirp": "0.5.1"
},
"devDependencies": {
"@commitlint/cli": "7.5.2",
"@commitlint/config-conventional": "7.5.0",
"@commitlint/cli": "8.0.0",
"@commitlint/config-conventional": "8.0.0",
"@types/http-errors": "1.6.1",
"@types/jest": "24.0.11",
"@types/lodash": "^4.14.123",
"@types/jest": "24.0.15",
"@types/lodash": "^4.14.135",
"@types/minimatch": "^3.0.3",
"@types/node": "11.12.1",
"@typescript-eslint/eslint-plugin": "1.5.0",
"@verdaccio/babel-preset": "0.1.0",
"@verdaccio/types": "5.0.0-beta.4",
"@types/node": "12.0.10",
"@typescript-eslint/eslint-plugin": "1.11.0",
"@verdaccio/babel-preset": "0.2.1",
"@verdaccio/eslint-config": "0.0.1",
"codecov": "3.2.0",
"@verdaccio/types": "5.0.0-beta.4",
"codecov": "3.5.0",
"cross-env": "5.2.0",
"eslint": "5.15.3",
"husky": "0.14.3",
"jest": "24.5.0",
"jest": "24.8.0",
"minimatch": "3.0.4",
"rmdir-sync": "1.0.1",
"standard-version": "5.0.2",
"typescript": "3.2.1"
"standard-version": "6.0.1",
"typescript": "3.5.2"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
Expand Down
10 changes: 0 additions & 10 deletions plugins/local-storage/scripts/publish.sh

This file was deleted.

Loading

0 comments on commit 33fe090

Please sign in to comment.