Skip to content

Commit

Permalink
refactor(testament): testrunner to binary
Browse files Browse the repository at this point in the history
this commit reverts (partly) changes made in:
ef346d7

overall purpose is better testament ergonomics:
instead of having to pass NODE_OPTIONS with every invocation
having a binary to handle this for us.
  • Loading branch information
ja0nz committed Nov 17, 2021
1 parent bf7a404 commit 4ebbbb2
Show file tree
Hide file tree
Showing 161 changed files with 176 additions and 161 deletions.
2 changes: 1 addition & 1 deletion packages/adapt-dpi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.18.19",
Expand Down
2 changes: 1 addition & 1 deletion packages/adjacency/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.18.19",
Expand Down
2 changes: 1 addition & 1 deletion packages/args/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/arrays/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/associative/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/atom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/base-n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/hex": "^2.0.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/bencode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/arrays": "^2.0.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/binary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/bitfield/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/bitstream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/errors": "^2.0.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/checks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"tslib": "^2.3.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/color-palettes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test",
"test": "testament test",
"tool:swatches": "tools:node-esm tools/index.ts"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/color/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test",
"test": "testament test",
"tool:swatches": "tools:node-esm tools/index.ts"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/colored-noise/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/binary": "^3.0.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/compare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/compose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/csp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test",
"test": "testament test",
"testasync": "tsc -p test && node build/test/async.js",
"testfile": "tsc -p test && node build/test/file.js",
"testgraph": "tsc -p test && node build/test/graph.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/csv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/date/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/dcons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/defmulti/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/dgraph-dot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/dgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/distance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/dl-asset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/dlogic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/dot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/dsp-io-wav/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/dsp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/dual-algebra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/dynvar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ecs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/egf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"pub:wip": "yarn npm publish --access public --no-git-tag-version",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/equiv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.18.19",
Expand Down
2 changes: 1 addition & 1 deletion packages/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.18.19",
Expand Down
2 changes: 1 addition & 1 deletion packages/expose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.18.19",
Expand Down
2 changes: 1 addition & 1 deletion packages/fsm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/fuzzy-viz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/fuzzy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"doc:readme": "yarn doc:stats && tools:readme",
"doc:stats": "tools:module-stats",
"pub": "yarn build && yarn npm publish --access public",
"test": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' testament test"
"test": "testament test"
},
"dependencies": {
"@thi.ng/api": "^8.2.0",
Expand Down
Loading

0 comments on commit 4ebbbb2

Please sign in to comment.