Skip to content

Commit

Permalink
fix: convert swing-store-simple to "type": "module"
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed May 20, 2021
1 parent 5877439 commit 93279c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/solo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"js": "mjs"
},
"bin": {
"ag-solo": "bin/ag-solo"
"ag-solo": "src/entrypoint.cjs"
},
"main": "src/main.js",
"repository": "https://github.com/Agoric/agoric-sdk",
Expand Down
4 changes: 2 additions & 2 deletions packages/swing-store-simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"parsers": {
"js": "mjs"
},
"type": "module",
"main": "simpleSwingStore.js",
"repository": "https://github.com/Agoric/agoric-sdk",
"author": "Agoric",
Expand All @@ -20,8 +21,7 @@
"n-readlines": "^1.0.0"
},
"devDependencies": {
"ava": "^3.12.1",
"esm": "^3.2.25"
"ava": "^3.12.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/swing-store-simple/test/test-state.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
openSwingStore,
getAllState,
isSwingStore,
} from '../simpleSwingStore';
} from '../simpleSwingStore.js';

function testStorage(t, storage) {
t.falsy(storage.has('missing'));
Expand Down

0 comments on commit 93279c1

Please sign in to comment.