Skip to content

Commit

Permalink
chore: use simpler import
Browse files Browse the repository at this point in the history
  • Loading branch information
Lampese authored and bobzhang committed Mar 25, 2024
1 parent 9fddece commit 6036fcb
Show file tree
Hide file tree
Showing 15 changed files with 36 additions and 88 deletions.
2 changes: 1 addition & 1 deletion array/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"import": [
{ "path": "moonbitlang/core/assertion", "alias": "assertion" }
"moonbitlang/core/assertion"
]
}
11 changes: 1 addition & 10 deletions coverage/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
{
"import": [
{
"path": "moonbitlang/core/assertion",
"alias": "assertion"
},
{
"path": "moonbitlang/core/string",
"alias": "string"
}
]
"import": ["moonbitlang/core/assertion", "moonbitlang/core/string"]
}
4 changes: 1 addition & 3 deletions deque/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"import": [
{ "path": "moonbitlang/core/assertion", "alias": "assertion" }
]
"import": ["moonbitlang/core/assertion"]
}
11 changes: 1 addition & 10 deletions immutable_hashmap/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
{
"import": [
{
"path": "moonbitlang/core/assertion",
"alias": "assertion"
},
{
"path": "moonbitlang/core/array",
"alias": "array"
}
]
"import": ["moonbitlang/core/assertion", "moonbitlang/core/array"]
}
21 changes: 6 additions & 15 deletions immutable_set/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
{
"import": [
{
"path": "moonbitlang/core/assertion",
"alias": "assertion"
},
{
"path": "moonbitlang/core/list",
"alias": "list"
},
{
"path": "moonbitlang/core/array",
"alias": "array"
}
]
}
"import": [
"moonbitlang/core/assertion",
"moonbitlang/core/list",
"moonbitlang/core/array"
]
}
7 changes: 2 additions & 5 deletions map/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"import": [
"moonbitlang/core/assertion",
"moonbitlang/core/list"
]
}
"import": ["moonbitlang/core/assertion", "moonbitlang/core/list"]
}
6 changes: 2 additions & 4 deletions math/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"import": [
{ "path": "moonbitlang/core/assertion", "alias": "assertion" }
]
}
"import": ["moonbitlang/core/assertion"]
}
6 changes: 2 additions & 4 deletions option/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"import": [
{ "path": "moonbitlang/core/assertion", "alias": "assertion" }
]
}
"import": ["moonbitlang/core/assertion"]
}
4 changes: 1 addition & 3 deletions priority_queue/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"import": [
"moonbitlang/core/assertion"
]
"import": ["moonbitlang/core/assertion"]
}
6 changes: 2 additions & 4 deletions queue/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"import": [
"moonbitlang/core/assertion"
]
}
"import": ["moonbitlang/core/assertion"]
}
12 changes: 6 additions & 6 deletions ref/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"import": [
"moonbitlang/core/assertion",
"moonbitlang/core/num",
"moonbitlang/core/int"
]
}
"import": [
"moonbitlang/core/assertion",
"moonbitlang/core/num",
"moonbitlang/core/int"
]
}
6 changes: 2 additions & 4 deletions result/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"import": [
{ "path": "moonbitlang/core/assertion", "alias": "assertion" }
]
}
"import": ["moonbitlang/core/assertion"]
}
12 changes: 6 additions & 6 deletions stack/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"import": [
{ "path": "moonbitlang/core/assertion", "alias": "assertion" },
{ "path": "moonbitlang/core/list", "alias": "list" },
{ "path": "moonbitlang/core/array", "alias": "array" }
]
}
"import": [
"moonbitlang/core/assertion",
"moonbitlang/core/list",
"moonbitlang/core/array"
]
}
9 changes: 1 addition & 8 deletions string/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
{
"import": [
{
"path": "moonbitlang/core/assertion",
"alias": "assertion"
}
]
}
{}
7 changes: 2 additions & 5 deletions vec/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"import": [
"moonbitlang/core/assertion",
"moonbitlang/core/string"
]
}
"import": ["moonbitlang/core/assertion", "moonbitlang/core/string"]
}

0 comments on commit 6036fcb

Please sign in to comment.