-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: move liveslots and specific tests to a new package
This creates a new `@agoric/swingset-liveslots` package, which owns the old `packages/SwingSet/src/liveslots/` code. Several tests which specifically exercised liveslots (but not the rest of the kernel) were moved over, along with some helper files. The "fake virtual stuff" tools in SwingSet/tools/ were moved over too. No file contents were changed, so the new files won't work yet (and this breaks SwingSet itself), until we modify them in the next commit. This "move, then modify" approach should help with git rebasing and history management in the future, as well as code review. New files were created for the metadata: package.json, jsconfig.json. The agoric-cli `sdk-package-names.js` file was regenerated to include the new package. refs #6596
- Loading branch information
Showing
36 changed files
with
80 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "esnext", | ||
"module": "esnext", | ||
"noEmit": true, | ||
"downlevelIteration": true, | ||
"strictNullChecks": true, | ||
"noImplicitThis": true, | ||
"moduleResolution": "node", | ||
}, | ||
"include": [ | ||
"*.js", | ||
"scripts/**/*.js", | ||
"src/**/*.js", | ||
"test/**/*.js", | ||
"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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"name": "@agoric/swingset-liveslots", | ||
"version": "0.9.0", | ||
"description": "SwingSet ocap support layer", | ||
"type": "module", | ||
"main": "src/index.js", | ||
"engines": { | ||
"node": ">=14.15.0" | ||
}, | ||
"scripts": { | ||
"build": "exit 0", | ||
"test": "ava", | ||
"test:xs": "exit 0", | ||
"lint-fix": "yarn lint:eslint --fix", | ||
"lint": "yarn lint:types&&yarn lint:eslint", | ||
"lint:types": "tsc -p jsconfig.json", | ||
"lint:eslint": "eslint ." | ||
}, | ||
"devDependencies": {}, | ||
"dependencies": { | ||
"@agoric/assert": "^0.5.1", | ||
"@agoric/internal": "^0.2.1", | ||
"@agoric/nat": "^4.1.0", | ||
"@agoric/store": "^0.8.3", | ||
"@agoric/vat-data": "^0.4.3", | ||
"@endo/eventual-send": "^0.16.8", | ||
"@endo/init": "^0.5.52", | ||
"@endo/marshal": "^0.8.1", | ||
"@endo/promise-kit": "^0.2.52" | ||
}, | ||
"peerDependencies": { | ||
"@endo/ses-ava": "^0.2.36", | ||
"ava": "^5.1.0" | ||
}, | ||
"files": [ | ||
"src/**/*.js", | ||
"src/**/*.d.ts", | ||
"exported.js" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Agoric/agoric-sdk.git" | ||
}, | ||
"author": "Agoric", | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
"url": "https://github.com/Agoric/agoric-sdk/issues" | ||
}, | ||
"homepage": "https://github.com/Agoric/agoric-sdk#readme", | ||
"ava": { | ||
"files": [ | ||
"test/**/test-*.js" | ||
], | ||
"timeout": "20m", | ||
"workerThreads": false | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
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 @@ | ||
export { makeLiveSlots, makeMarshaller } from './liveslots.js'; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.