Skip to content

Commit

Permalink
chore: update no-unused-export
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Jun 29, 2019
1 parent fe2e83d commit e831b00
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 30 deletions.
2 changes: 1 addition & 1 deletion clean-scripts.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ module.exports = {
ts: `tslint ${tsFiles} --exclude ${excludeTsFiles}`,
js: `standard ${jsFiles}`,
less: `stylelint ${lessFiles}`,
export: `no-unused-export ${tsFiles} ${lessFiles} --exclude ${excludeTsFiles}`,
export: `no-unused-export "packages/@(core|vue|react|angular)/src/**/*.@(ts|tsx)" ${lessFiles} --strict --need-module tslib --exclude ${excludeTsFiles}`,
commit: `commitlint --from=HEAD~1`,
markdown: `markdownlint README.md`,
typeCoverage: 'lerna exec -- type-coverage -p src --strict'
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@commitlint/cli": "8.0.0",
"@commitlint/config-conventional": "8.0.0",
"@types/jasmine": "3.3.13",
"@types/node": "12.0.10",
"@types/puppeteer": "1.12.4",
"autoprefixer": "9.6.0",
"clean-css-cli": "4.3.0",
Expand All @@ -50,7 +51,7 @@
"lerna": "3.15.0",
"less": "3.9.0",
"markdownlint-cli": "0.17.0",
"no-unused-export": "1.7.0",
"no-unused-export": "1.8.0-alpha.3",
"postcss-cli": "6.1.2",
"puppeteer": "1.18.1",
"rev-static": "3.4.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"dependencies": {
"@angular/common": "8",
"@angular/core": "8",
"@angular/forms": "8",
"tree-component": "^5.7.0"
},
"devDependencies": {
"@angular/forms": "8.0.3",
"@angular/platform-browser": "8.0.3",
"@angular/platform-browser-dynamic": "8.0.3",
"core-js": "3.1.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/angular/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
dependencies:
tslib "^1.9.0"

"@angular/forms@8":
"@angular/forms@8.0.3":
version "8.0.3"
resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-8.0.3.tgz#21282ba5616ee1641c2cbec9d34afd1c3482e44d"
integrity sha512-22s82QDRQ72K4vMYuNh3NAN+da9uanwoydnfKlp2rb9dZAb2QVX9NN6gSoMrkSSr2O9KTP6pWiw6A3/MW8sGRA==
Expand Down Expand Up @@ -49,7 +49,7 @@ rxjs@6.5.2:
dependencies:
tslib "^1.9.0"

tslib@^1.9.0:
tslib@1, tslib@^1.9.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
Expand Down
1 change: 0 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"dist"
],
"dependencies": {
"@types/node": "*",
"tslib": "1"
}
}
5 changes: 0 additions & 5 deletions packages/core/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
# yarn lockfile v1


"@types/node@*":
version "12.0.10"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.0.10.tgz#51babf9c7deadd5343620055fc8aff7995c8b031"
integrity sha512-LcsGbPomWsad6wmMNv7nBLw7YYYyfdYcz6xryKYQhx89c3XXan+8Q6AJ43G5XDIaklaVkK3mE4fCb0SBvMiPSQ==

tslib@1:
version "1.10.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
],
"dependencies": {
"react": "16",
"react-dom": "16",
"tree-component": "^5.7.0"
},
"devDependencies": {
"@types/react": "16.8.22",
"@types/react-dom": "16.8.4"
"@types/react-dom": "16.8.4",
"react-dom": "16.8.6"
}
}
2 changes: 1 addition & 1 deletion packages/react/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ prop-types@^15.6.2:
object-assign "^4.1.1"
react-is "^16.8.1"

react-dom@16:
react-dom@16.8.6:
version "16.8.6"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.8.6.tgz#71d6303f631e8b0097f56165ef608f051ff6e10f"
integrity sha512-1nL7PIq9LTL3fthPqwkvr2zY7phIPjYrT0jp4HjyEQrEROnw4dG41VVwi/wfoCneoleqrNX7iAD+pXebJZwrwA==
Expand Down
25 changes: 9 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==

"@types/node@*", "@types/node@^12.0.8":
"@types/node@*", "@types/node@12.0.10", "@types/node@^12.0.8":
version "12.0.10"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.0.10.tgz#51babf9c7deadd5343620055fc8aff7995c8b031"
integrity sha512-LcsGbPomWsad6wmMNv7nBLw7YYYyfdYcz6xryKYQhx89c3XXan+8Q6AJ43G5XDIaklaVkK3mE4fCb0SBvMiPSQ==
Expand Down Expand Up @@ -6289,15 +6289,15 @@ no-case@^2.2.0:
dependencies:
lower-case "^1.1.1"

no-unused-export@1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/no-unused-export/-/no-unused-export-1.7.0.tgz#d4026b972521670e487999de3f88baff0fe41f9e"
integrity sha512-wYKTccAiPvFfKcZ3ftUaoT6soZDxFL65iUVNPFWYxw7u8wYLf4Tqo5BSkWpklvDoirOe6UfE3ezW/NNzFCNTiQ==
no-unused-export@1.8.0-alpha.3:
version "1.8.0-alpha.3"
resolved "https://registry.yarnpkg.com/no-unused-export/-/no-unused-export-1.8.0-alpha.3.tgz#3dd1d3aef38db45025cc0d50ea390ba7f0a1a6b0"
integrity sha512-ORSGXWEKOZL+JT1Z97I0gU2mH9MZMQycV+nQKXDmDuKc2b4LBVNf4bYFcRm9Sb9743P5FF6maGuTsrEt0P2QnA==
dependencies:
glob "7.1.3"
glob "7.1.4"
minimist "1.2.0"
parse5 "5.1.0"
postcss-less "3.1.0"
postcss-less "3.1.4"
postcss-scss "2.0.0"
tslib "1"
typescript "3"
Expand Down Expand Up @@ -7103,14 +7103,7 @@ postcss-jsx@^0.36.1:
dependencies:
"@babel/core" ">=7.2.2"

postcss-less@3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/postcss-less/-/postcss-less-3.1.0.tgz#0e14a80206b452f44d3a09d082fa72645e8168cc"
integrity sha512-+fDH2A9zV8B4gFu3Idhq8ma09/mMBXXc03T2lL9CHjBQqKrfUit+TrQrnojc6Y4k7N4E+tyE1Uj5U1tcoKtXLQ==
dependencies:
postcss "^7.0.3"

postcss-less@^3.1.4:
postcss-less@3.1.4, postcss-less@^3.1.4:
version "3.1.4"
resolved "https://registry.yarnpkg.com/postcss-less/-/postcss-less-3.1.4.tgz#369f58642b5928ef898ffbc1a6e93c958304c5ad"
integrity sha512-7TvleQWNM2QLcHqvudt3VYjULVB49uiW6XzEUFmvwHzvsOEF5MwBrIXZDJQvJNFGjJQTzSzZnDoCJ8h/ljyGXA==
Expand Down Expand Up @@ -7194,7 +7187,7 @@ postcss-value-parser@^3.3.1:
resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281"
integrity sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==

postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.16, postcss@^7.0.2, postcss@^7.0.3, postcss@^7.0.7:
postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.16, postcss@^7.0.2, postcss@^7.0.7:
version "7.0.17"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.17.tgz#4da1bdff5322d4a0acaab4d87f3e782436bad31f"
integrity sha512-546ZowA+KZ3OasvQZHsbuEpysvwTZNGJv9EfyCQdsIDltPSWHAeTQ5fQy/Npi2ZDtLI3zs7Ps/p6wThErhm9fQ==
Expand Down

0 comments on commit e831b00

Please sign in to comment.