-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move benchmarkerator and test support code into their own p…
…ackages
- Loading branch information
Showing
21 changed files
with
203 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"name": "@agoric/benchmark", | ||
"version": "0.1.0", | ||
"private": true, | ||
"description": "Benchmark support", | ||
"type": "module", | ||
"main": "./src/benchmarkerator.js", | ||
"exports": { | ||
".": "./src/benchmarkerator.js" | ||
}, | ||
"repository": "https://github.com/Agoric/agoric-sdk", | ||
"scripts": { | ||
"build": "exit 0", | ||
"test": "exit 0", | ||
"test:xs": "exit 0", | ||
"lint-fix": "yarn lint:eslint --fix", | ||
"lint": "run-s --continue-on-error lint:*", | ||
"lint:types": "tsc", | ||
"lint:eslint": "eslint ." | ||
}, | ||
"keywords": [], | ||
"author": "Agoric", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"@agoric/assert": "^0.6.0", | ||
"@agoric/cosmic-swingset": "^0.41.3", | ||
"@agoric/internal": "^0.3.2", | ||
"@agoric/inter-protocol": "^0.16.1", | ||
"@agoric/test-support": "^0.1.0", | ||
"@agoric/vats": "^0.15.1", | ||
"@agoric/zoe": "^0.26.2", | ||
"@endo/init": "^0.5.59" | ||
}, | ||
"devDependencies": {}, | ||
"files": [ | ||
"CHANGELOG.md", | ||
"src/", | ||
"scripts/", | ||
"tools/", | ||
"*.json", | ||
"globals.d.ts", | ||
"exported.js" | ||
], | ||
"engines": { | ||
"node": ">=14.15.0" | ||
}, | ||
"ava": { | ||
"extensions": { | ||
"js": true, | ||
"ts": "module" | ||
}, | ||
"files": [ | ||
"test/**/test-*.js", | ||
"test/**/test-*.ts" | ||
], | ||
"nodeArguments": [ | ||
"--loader=tsx", | ||
"--no-warnings" | ||
], | ||
"require": [ | ||
"@endo/init/debug.js" | ||
], | ||
"timeout": "20m", | ||
"workerThreads": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"allowImportingTsExtensions": true, | ||
"allowSyntheticDefaultImports": true, | ||
"checkJs": true, | ||
"maxNodeModuleJsDepth": 2, | ||
}, | ||
"include": [ | ||
"*.js", | ||
"scripts/**/*.js", | ||
"src/**/*.js", | ||
"test/**/*.js", | ||
"test/**/*.ts", | ||
"tools/**/*.js", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"name": "@agoric/test-support", | ||
"version": "0.1.0", | ||
"description": "Support libraries for testing on chain", | ||
"type": "module", | ||
"main": "./src/index.js", | ||
"exports": { | ||
".": "./src/index.js" | ||
}, | ||
"repository": "https://github.com/Agoric/agoric-sdk", | ||
"author": "Agoric", | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"build": "exit 0", | ||
"test": "exit 0", | ||
"test:xs": "exit 0", | ||
"lint-fix": "yarn lint:eslint --fix", | ||
"lint": "run-s --continue-on-error lint:*", | ||
"lint:types": "tsc", | ||
"lint:eslint": "eslint ." | ||
}, | ||
"dependencies": { | ||
"@endo/eventual-send": "^0.17.5", | ||
"@endo/stream": "^0.3.28", | ||
"@agoric/assert": "^0.6.0", | ||
"@agoric/cosmic-swingset": "^0.41.3", | ||
"@agoric/inter-protocol": "^0.16.1", | ||
"@agoric/internal": "^0.3.2", | ||
"@agoric/kmarshal": "^0.1.0", | ||
"@agoric/smart-wallet": "^0.5.3", | ||
"@agoric/swing-store": "^0.9.1", | ||
"@agoric/swingset-vat": "^0.32.2", | ||
"@agoric/time": "^0.3.2", | ||
"@agoric/vats": "^0.15.1", | ||
"ava": "^5.3.0", | ||
"import-meta-resolve": "^2.2.1" | ||
}, | ||
"devDependencies": {}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"ava": { | ||
"files": [ | ||
"test/**/test-*.js" | ||
], | ||
"require": [ | ||
"@endo/init/debug.js" | ||
], | ||
"timeout": "2m" | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './supports.ts'; | ||
export * from './drivers.ts'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// This file can contain .js-specific Typescript compiler config. | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"allowImportingTsExtensions": true, | ||
"allowSyntheticDefaultImports": true, | ||
"checkJs": true, | ||
"maxNodeModuleJsDepth": 2, | ||
}, | ||
"include": [ | ||
"src/**/*.js", | ||
"test/**/*.js" | ||
] | ||
} |