Skip to content

Commit 2b9f3d7

Browse files
committed
Update deps
1 parent 6717694 commit 2b9f3d7

7 files changed

Lines changed: 4016 additions & 2898 deletions

File tree

package-lock.json

Lines changed: 3676 additions & 2881 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,29 +28,29 @@
2828
},
2929
"dependencies": {
3030
"tsutils": "^3.0.0",
31-
"eslint-utils": "^1.0.0"
31+
"eslint-utils": "^2.0.0"
3232
},
3333
"peerDependencies": {
34-
"@typescript-eslint/parser": "^2.4.0",
35-
"@typescript-eslint/eslint-plugin": "^2.4.0",
34+
"@typescript-eslint/parser": "^2.23.0",
35+
"@typescript-eslint/eslint-plugin": "^2.23.0",
3636
"eslint-plugin-react": "^7.16.0",
3737
"eslint": "^6.0.0",
38-
"typescript": "^3.5.0"
38+
"typescript": "^3.8.0"
3939
},
4040
"devDependencies": {
4141
"@types/eslint": "^6.1.2",
4242
"@types/jest": "^24.0.18",
43-
"@typescript-eslint/eslint-plugin": "^2.4.0",
44-
"@typescript-eslint/parser": "^2.4.0",
45-
"eslint": "^6.5.1",
46-
"eslint-plugin-react": "^7.16.0",
47-
"eslint-utils": "^1.4.2",
48-
"jest": "^24.9.0",
49-
"jest-cli": "^24.9.0",
50-
"np": "^5.1.1",
51-
"rollup": "^1.24.0",
43+
"@typescript-eslint/eslint-plugin": "^2.23.0",
44+
"@typescript-eslint/parser": "^2.23.0",
45+
"eslint": "^6.8.0",
46+
"eslint-plugin-react": "^7.19.0",
47+
"eslint-utils": "^2.0.0",
48+
"jest": "^25.1.0",
49+
"jest-cli": "^25.1.0",
50+
"np": "^6.2.0",
51+
"rollup": "^2.0.5",
5252
"rollup-plugin-node-resolve": "^5.2.0",
53-
"ts-jest": "^24.1.0",
53+
"ts-jest": "^25.2.1",
5454
"typescript": "3.6.4"
5555
},
5656
"engines": {

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
})
88
],
99
treeshake: {
10-
pureExternalModules: true
10+
moduleSideEffects: 'no-external'
1111
},
1212
external: [
1313
'eslint',

src/configs/recommended.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
"plugin:@stencil/base",
77
],
88
rules: {
9-
'@stencil/strict-boolean-conditions': 2,
9+
'@stencil/strict-boolean-conditions': 1,
1010
'@stencil/ban-exported-const-enums': 2,
1111
'@stencil/ban-side-effects': 2,
1212
'@stencil/strict-mutable': 2,

src/configs/strict.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ export default {
66
"plugin:@stencil/recommended",
77
],
88
rules: {
9+
'@stencil/strict-boolean-conditions': 2,
10+
911
// Resets
1012
"@typescript-eslint/camelcase": 0,
1113
"@typescript-eslint/explicit-function-return-type": 0,

src/rules/dependency-suggestions.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ const rule: Rule.RuleModule = {
3232
const SUGGESTIONS: {[importName: string]: string} = {
3333
'classnames': `Stencil can already render conditional classes:
3434
<div class={{disabled: condition}}>`,
35-
'lodash': `"lodash" will bloat your build, use "lodash-es" instead: https://www.npmjs.com/package/lodash-es`
35+
'lodash': `"lodash" will bloat your build, use "lodash-es" instead: https://www.npmjs.com/package/lodash-es`,
36+
'moment': `"moment" will bloat your build, use "dayjs", "date-fns" or other modern lightweight alternaitve`,
37+
'core-js': `Stencil already include the core-js polyfills only when needed`,
3638
}
3739

3840
export default rule;

0 commit comments

Comments
 (0)