@swipt/cli 0.1.0-nightly.24 → 0.1.0-nightly.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.mjs +2 -2
- package/package.json +2 -2
package/cli.mjs
CHANGED
|
@@ -292,7 +292,7 @@ function sourceCommand(files, base, output, name) {
|
|
|
292
292
|
file,
|
|
293
293
|
entry: {
|
|
294
294
|
...manifest,
|
|
295
|
-
|
|
295
|
+
url: prefix ? new URL(path.basename(file), prefix).href : path.basename(file),
|
|
296
296
|
size: data.length,
|
|
297
297
|
sha256: createHash("sha256").update(data).digest("hex"),
|
|
298
298
|
},
|
|
@@ -404,7 +404,7 @@ const usage = `usage: swiplet create <directory>
|
|
|
404
404
|
|
|
405
405
|
create make a swiplet project in a new or empty directory
|
|
406
406
|
build bundle the project in this directory into dist/<swiplet.id>.swiplet
|
|
407
|
-
source list built swiplets in a source; --url
|
|
407
|
+
source list built swiplets in a source; without --url they are expected next to it
|
|
408
408
|
|
|
409
409
|
Type-check a project with its "check" script.`;
|
|
410
410
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swipt/cli",
|
|
3
|
-
"version": "0.1.0-nightly.
|
|
3
|
+
"version": "0.1.0-nightly.26",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,6 +21,6 @@
|
|
|
21
21
|
"esbuild": "^0.28.2"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@swipt/api": "0.1.0-nightly.
|
|
24
|
+
"@swipt/api": "0.1.0-nightly.26"
|
|
25
25
|
}
|
|
26
26
|
}
|