Skip to content

Commit

Permalink
chore: update dev dependencies (#3108)
Browse files Browse the repository at this point in the history
* update lerna
* update jest
* update coveralls
* add node 10 & 11 to travis ci
* removed node 4 from travis ci
  • Loading branch information
SerayaEryn authored and ForbesLindesay committed Feb 11, 2019
1 parent 74d26d6 commit 6a63494
Show file tree
Hide file tree
Showing 17 changed files with 5,269 additions and 3,249 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
language: node_js
node_js:
- "4"
- "6"
- "8"
- "10"
- "11"

# Use faster Docker architecture on Travis.
sudo: false
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lerna": "2.9.0",
"lerna": "3.10.8",
"packages": ["packages/*"],
"npmClient": "yarn",
"useWorkspaces": true,
Expand Down
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "pug-monorepo",
"private": true,
"devDependencies": {
"coveralls": "^2.11.2",
"jest": "^18.1.0",
"lerna": "2.9.0",
"coveralls": "3.0.2",
"jest": "24.0.0",
"lerna": "3.10.8",
"prettier": "^1.3.1"
},
"repository": {
Expand All @@ -18,7 +18,7 @@
"pretest": "lerna run pretest",
"test": "jest",
"coverage": "jest --coverage",
"coveralls": "npm run coverage && cat ./coverage/lcov.info | coveralls",
"coveralls": "jest --coverage --coverageReporters=text-lcov | coveralls",
"watch": "jest --watch"
},
"jest": {
Expand All @@ -29,5 +29,7 @@
]
},
"license": "MIT",
"workspaces": ["packages/*"]
"workspaces": [
"packages/*"
]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
exports[`test filters can be aliased 1`] = `
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`filters can be aliased 1`] = `
Object {
"filename": "<basedir>/packages/pug-filters/test/filter-aliases.test.js",
"line": 0,
Expand Down Expand Up @@ -67,7 +69,10 @@ Object {
"line": 3,
"name": "minify",
"type": "Text",
"val": "function myFunc(n){return n}",
"val": "function myFunc(n) {
return n;
}
",
},
],
"type": "Block",
Expand Down Expand Up @@ -95,7 +100,7 @@ Object {
}
`;

exports[`test options are applied before aliases 1`] = `
exports[`options are applied before aliases 1`] = `
Object {
"filename": "<basedir>/packages/pug-filters/test/filter-aliases.test.js",
"line": 0,
Expand Down Expand Up @@ -165,8 +170,9 @@ Object {
"name": "minify",
"type": "Text",
"val": "function myFunc(n) {
return n;
}",
return n;
}
",
},
],
"type": "Block",
Expand Down Expand Up @@ -237,7 +243,10 @@ Object {
"line": 7,
"name": "uglify-js",
"type": "Text",
"val": "function myFunc(n){return n}",
"val": "function myFunc(n) {
return n;
}
",
},
],
"type": "Block",
Expand Down Expand Up @@ -265,11 +274,11 @@ Object {
}
`;
exports[`test we do not support chains of aliases 1`] = `
exports[`we do not support chains of aliases 1`] = `
Object {
"code": "PUG:FILTER_ALISE_CHAIN",
"message": "<basedir>/packages/pug-filters/test/filter-aliases.test.js:3:9
The filter \"minify-js\" is an alias for \"minify\", which is an alias for \"uglify-js\". Pug does not support chains of filter aliases.",
The filter \\"minify-js\\" is an alias for \\"minify\\", which is an alias for \\"uglify-js\\". Pug does not support chains of filter aliases.",
}
`;
Loading

0 comments on commit 6a63494

Please sign in to comment.