@typescript-tools/internal-dependencies
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.0.10](https://github.com/typescript-tools/typescript-tools/compare/@typescript-tools/internal-dependencies@1.0.9...@typescript-tools/internal-dependencies@1.0.10) (2020-12-19) | ||
**Note:** Version bump only for package @typescript-tools/internal-dependencies | ||
## [1.0.9](https://github.com/typescript-tools/typescript-tools/compare/@typescript-tools/internal-dependencies@1.0.8...@typescript-tools/internal-dependencies@1.0.9) (2020-11-05) | ||
@@ -8,0 +16,0 @@ |
@@ -40,3 +40,5 @@ #!/usr/bin/env node | ||
const function_1 = require("fp-ts/function"); | ||
const error_1 = require("@typescript-tools/io-ts/dist/lib/error"); | ||
const lerna_utils_1 = require("@typescript-tools/lerna-utils"); | ||
const io_ts_docopt_1 = require("io-ts-docopt"); | ||
const docstring = ` | ||
@@ -51,3 +53,3 @@ Usage: | ||
`; | ||
const CommandLineOptions = lerna_utils_1.withEncode(t.type({ | ||
const CommandLineOptions = io_ts_docopt_1.withEncode(t.type({ | ||
'<root>': t.string, | ||
@@ -63,4 +65,4 @@ '<package>': t.array(t.string), | ||
function main() { | ||
pipeable_1.pipe(lerna_utils_1.decodeCommandLineArguments(CommandLineOptions, docstring, { | ||
input: [ | ||
pipeable_1.pipe(io_ts_docopt_1.decodeDocopt(CommandLineOptions, docstring, { | ||
argv: [ | ||
...process.argv.slice(2), | ||
@@ -81,5 +83,3 @@ // file descriptor '0' is stdin | ||
.pipe(F.map(A.uniq(Ord_1.ordString))) | ||
.pipe(F.map((dependencies) => dependencies.forEach(unary(console.log))))), | ||
// FIXME: find a way to remove this type assertion | ||
E.getOrElseW(errors => F.reject(lerna_utils_1.validationErrors('argv', errors))), F.fork(error => { | ||
.pipe(F.map((dependencies) => dependencies.forEach(unary(console.log))))), E.getOrElseW(errors => F.reject(error_1.validationErrors('argv', errors))), F.fork(error => { | ||
console.error(error); | ||
@@ -86,0 +86,0 @@ process.exit(1); |
{ | ||
"name": "@typescript-tools/internal-dependencies", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Calculate package dependencies living in the same monorepo", | ||
@@ -32,4 +32,3 @@ "main": "dist/src/index.js", | ||
"watch:test": "nodemon -e 'ts json' -x 'npm test || true'", | ||
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", | ||
"typedoc": "typedoc" | ||
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov" | ||
}, | ||
@@ -54,7 +53,8 @@ "lint-staged": { | ||
"dependencies": { | ||
"@typescript-tools/io-ts": "^1.0.4", | ||
"@typescript-tools/lerna-utils": "^1.0.7", | ||
"@typescript-tools/io-ts": "^1.1.0", | ||
"@typescript-tools/lerna-utils": "^1.1.0", | ||
"fluture": "^13.0.1", | ||
"fp-ts": "^2.8.5", | ||
"io-ts": "~2.1.3", | ||
"io-ts-docopt": "^1.0.0", | ||
"shades": "^2.1.0", | ||
@@ -78,4 +78,2 @@ "ts-pattern": "^1.1.0" | ||
"ts-node": "^9.0.0", | ||
"typedoc": "^0.19.2", | ||
"typedoc-plugin-markdown": "^3.0.11", | ||
"typescript": "^4.0.5" | ||
@@ -116,3 +114,3 @@ }, | ||
}, | ||
"gitHead": "af085c137c64a34f4d4578397d2853ea24c15ee5" | ||
"gitHead": "53bd9176fc96bf160d271212fff1a206eb0da53a" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14287
15
8
+ Addedio-ts-docopt@^1.0.0
+ Added@types/docopt@0.6.37(transitive)
+ Addeddebug@4.4.0(transitive)
+ Addeddocopt@0.6.2(transitive)
+ Addedio-ts-docopt@1.0.0(transitive)
+ Addedio-ts-types@0.5.19(transitive)
+ Addedmonocle-ts@2.3.13(transitive)
+ Addedms@2.1.3(transitive)
+ Addednewtype-ts@0.3.5(transitive)