Skip to content

Commit

Permalink
feat: update deps (#4)
Browse files Browse the repository at this point in the history
* chore: update deps

* chore: scripts 5.x

* fix: node 10
  • Loading branch information
Marc MacLeod authored Feb 25, 2019
1 parent ee266c1 commit a3ce5eb
Show file tree
Hide file tree
Showing 6 changed files with 2,446 additions and 4,934 deletions.
23 changes: 18 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: 2

jobs:
test_node_8:
test:
docker:
- image: circleci/node:8
- image: circleci/node:10
steps:
- checkout
- run:
Expand All @@ -22,9 +22,18 @@ jobs:
command: |
./cc-test-reporter after-build --coverage-input-type lcov --exit-code $?
build:
docker:
- image: circleci/node:10
steps:
- checkout
- run: yarn
- run: yarn build
- run: yarn build.docs

release:
docker:
- image: circleci/node:8
- image: circleci/node:10
steps:
- checkout
- run: yarn
Expand All @@ -37,10 +46,14 @@ workflows:
version: 2
test_and_release:
jobs:
- test_node_8
- test
- build:
requires:
- test
- release:
filters:
branches:
only: master
requires:
- test_node_8
- test
- build
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
preset: '@stoplight/scripts',
};
45 changes: 27 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,60 +17,64 @@
},
"license": "Apache-2.0",
"files": [
"**/*",
"!__tests__"
"**/*"
],
"engines": {
"node": ">=8.3.0"
"node": ">=10"
},
"scripts": {
"build": "sl-scripts build",
"build.docs": "sl-scripts build:typedoc",
"commit": "git-cz",
"lint": "sl-scripts lint",
"lint": "tslint -c tslint.json 'src/**/*.ts?'",
"lint.fix": "yarn lint --fix",
"release": "sl-scripts release",
"release.docs": "sl-scripts release:docs",
"release.dryRun": "sl-scripts release --dry-run --debug",
"test": "sl-scripts test",
"test.prod": "yarn lint && yarn test --coverage --no-cache",
"test": "jest",
"test.prod": "yarn lint && yarn test --coverage --maxWorkers=2",
"test.update": "yarn test --updateSnapshot",
"test.watch": "yarn test --watch",
"postbuild": "cp src/index.html dist/index.html"
},
"dependencies": {
"@babel/core": "7.2.x",
"@babel/core": "7.3.x",
"@types/history": "4.7.x",
"@types/webpack-chain": "5.0.x",
"babel-loader": "8.0.x",
"cache-loader": "1.2.x",
"cache-loader": "2.0.x",
"clean-webpack-plugin": "1.0.x",
"copy-webpack-plugin": "4.6.x",
"copy-webpack-plugin": "5.0.x",
"cross-env": "5.2.x",
"css-loader": "2.0.x",
"css-loader": "2.1.x",
"fork-ts-checker-webpack-plugin": "0.5.x",
"html-webpack-plugin": "3.2.x",
"monaco-editor-webpack-plugin": "1.7.0",
"style-loader": "0.23.x",
"stylus": "0.54.x",
"stylus-loader": "3.0.x",
"terser-webpack-plugin": "1.1.x",
"terser-webpack-plugin": "1.2.x",
"ts-loader": "5.3.x",
"tslint": "5.x.x",
"webpack": "4.27.x",
"webpack-bugsnag-plugins": "1.2.x",
"webpack": "4.29.x",
"webpack-bugsnag-plugins": "1.3.x",
"webpack-bundle-analyzer": "3.0.x",
"webpack-chain": "5.0.x",
"webpack-cli": "3.1.x",
"webpack-dev-server": "3.1.x",
"webpack-chain": "5.2.x",
"webpack-cli": "3.2.x",
"webpack-dev-server": "3.2.x",
"webpackbar": "3.1.x",
"worker-loader": "2.0.x"
},
"devDependencies": {
"@stoplight/scripts": "3.1.1",
"@stoplight/scripts": "5.x.x",
"@types/jest": "24.0.x",
"@types/node": "11.9.x",
"browserfs": "*",
"jest": "24.1.x",
"monaco-editor": "*",
"typescript": "3.2.2"
"ts-jest": "24.0.x",
"tslint-config-stoplight": "1.2.x",
"typescript": "3.3.3333"
},
"lint-staged": {
"*.ts": [
Expand All @@ -96,5 +100,10 @@
},
"release": {
"extends": "@stoplight/scripts/release"
},
"prettier": {
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5"
}
}
13 changes: 10 additions & 3 deletions src/__tests__/__snapshots__/config.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ Object {
"options": Object {
"cache": true,
"cacheKeys": [Function],
"chunkFilter": [Function],
"exclude": Array [
/\\\\\\.min\\\\\\./g,
],
Expand Down Expand Up @@ -135,7 +136,7 @@ Object {
"ecma": 8,
},
},
"test": /\\\\\\.js\\(\\\\\\?\\.\\*\\)\\?\\$/i,
"test": /\\\\\\.m\\?js\\(\\\\\\?\\.\\*\\)\\?\\$/i,
"warningsFilter": [Function],
},
},
Expand Down Expand Up @@ -179,6 +180,9 @@ Object {
"apiKey": "123",
"appVersion": "1.1",
"endpoint": undefined,
"ignoredBundleExtensions": Array [
".css",
],
"overwrite": true,
"publicPath": "/foo/bar",
},
Expand Down Expand Up @@ -479,8 +483,11 @@ Object {
"showEntries": false,
"showModules": true,
},
Object {
"apply": [Function],
CopyPlugin {
"options": Object {},
"patterns": Array [
"",
],
},
HotModuleReplacementPlugin {
"fullBuildTimeout": 200,
Expand Down
2 changes: 1 addition & 1 deletion tslint.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": ["@stoplight/scripts/tslint.json"]
"extends": ["tslint-config-stoplight"]
}
Loading

0 comments on commit a3ce5eb

Please sign in to comment.