Skip to content

Commit 0eb1573

Browse files
committed
fix: convert swing-store-simple to "type": "module"
1 parent 7a5a529 commit 0eb1573

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/solo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"js": "mjs"
77
},
88
"bin": {
9-
"ag-solo": "bin/ag-solo"
9+
"ag-solo": "src/entrypoint.cjs"
1010
},
1111
"main": "src/main.js",
1212
"repository": "https://github.com/Agoric/agoric-sdk",

packages/swing-store-simple/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"parsers": {
66
"js": "mjs"
77
},
8+
"type": "module",
89
"main": "simpleSwingStore.js",
910
"repository": "https://github.com/Agoric/agoric-sdk",
1011
"author": "Agoric",
@@ -20,8 +21,7 @@
2021
"n-readlines": "^1.0.0"
2122
},
2223
"devDependencies": {
23-
"ava": "^3.12.1",
24-
"esm": "^3.2.25"
24+
"ava": "^3.12.1"
2525
},
2626
"publishConfig": {
2727
"access": "public"

packages/swing-store-simple/test/test-state.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
openSwingStore,
88
getAllState,
99
isSwingStore,
10-
} from '../simpleSwingStore';
10+
} from '../simpleSwingStore.js';
1111

1212
function testStorage(t, storage) {
1313
t.falsy(storage.has('missing'));

0 commit comments

Comments
 (0)