Skip to content

Commit

Permalink
Switch to gmlewis/jsonutil
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
  • Loading branch information
gmlewis committed Jul 18, 2024
1 parent a509bae commit 81796df
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 26 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,8 @@ export your `add` function in `main/moon.pkg.json`:
{
"is-main": true,
"import": [
"extism/moonbit-pdk/pdk/host",
{
"path": "gmlewis/json",
"alias": "jsonutil"
}
"gmlewis/jsonutil",
"extism/moonbit-pdk/pdk/host"
],
"link": {
"wasm": {
Expand Down
7 changes: 2 additions & 5 deletions examples/arrays/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{
"import": [
"gmlewis/jsonutil",
"extism/moonbit-pdk/pdk/config",
"extism/moonbit-pdk/pdk/host",
"extism/moonbit-pdk/pdk/var",
{
"path": "gmlewis/json",
"alias": "jsonutil"
}
"extism/moonbit-pdk/pdk/var"
],
"link": {
"wasm": {
Expand Down
7 changes: 2 additions & 5 deletions examples/count-vowels/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{
"import": [
"gmlewis/jsonutil",
"extism/moonbit-pdk/pdk/config",
"extism/moonbit-pdk/pdk/host",
"extism/moonbit-pdk/pdk/var",
{
"path": "gmlewis/json",
"alias": "jsonutil"
}
"extism/moonbit-pdk/pdk/var"
],
"link": {
"wasm": {
Expand Down
2 changes: 1 addition & 1 deletion moon.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "extism/moonbit-pdk",
"version": "0.23.0",
"deps": {
"gmlewis/json": "0.15.0"
"gmlewis/jsonutil": "0.16.0"
},
"readme": "README.md",
"repository": "https://github.com/extism/moonbit-pdk",
Expand Down
7 changes: 2 additions & 5 deletions pdk/host/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"import": [
"gmlewis/jsonutil",
"extism/moonbit-pdk/pdk",
"extism/moonbit-pdk/pdk/extism",
{
"path": "gmlewis/json",
"alias": "jsonutil"
}
"extism/moonbit-pdk/pdk/extism"
]
}
7 changes: 2 additions & 5 deletions pdk/http/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"import": [
"gmlewis/jsonutil",
"extism/moonbit-pdk/pdk/extism",
"extism/moonbit-pdk/pdk/host",
{
"path": "gmlewis/json",
"alias": "jsonutil"
}
"extism/moonbit-pdk/pdk/host"
]
}

0 comments on commit 81796df

Please sign in to comment.