@junobuild/cli 0.0.58 → 0.0.60
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@junobuild/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.60",
|
|
4
4
|
"description": "The Juno command-line interface",
|
|
5
5
|
"author": "David Dal Busco (https://daviddalbusco.com)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,29 +23,29 @@
|
|
|
23
23
|
"lint": "eslint --max-warnings 0 \"src/**/*\""
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@babel/core": "^7.
|
|
27
|
-
"@babel/plugin-transform-modules-commonjs": "^7.
|
|
28
|
-
"@babel/preset-typescript": "^7.
|
|
29
|
-
"@dfinity/agent": "^1.0
|
|
30
|
-
"@dfinity/candid": "^1.0
|
|
31
|
-
"@dfinity/identity": "^1.0
|
|
32
|
-
"@dfinity/principal": "^1.0
|
|
33
|
-
"@junobuild/admin": "^0.0.
|
|
34
|
-
"@junobuild/cli-tools": "^0.0.
|
|
35
|
-
"@junobuild/config": "^0.0.
|
|
36
|
-
"@junobuild/core-peer": "^0.0.
|
|
37
|
-
"@junobuild/utils": "^0.0.
|
|
26
|
+
"@babel/core": "^7.24.3",
|
|
27
|
+
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
|
|
28
|
+
"@babel/preset-typescript": "^7.24.1",
|
|
29
|
+
"@dfinity/agent": "^1.2.0",
|
|
30
|
+
"@dfinity/candid": "^1.2.0",
|
|
31
|
+
"@dfinity/identity": "^1.2.0",
|
|
32
|
+
"@dfinity/principal": "^1.2.0",
|
|
33
|
+
"@junobuild/admin": "^0.0.47",
|
|
34
|
+
"@junobuild/cli-tools": "^0.0.7",
|
|
35
|
+
"@junobuild/config": "^0.0.5",
|
|
36
|
+
"@junobuild/core-peer": "^0.0.13",
|
|
37
|
+
"@junobuild/utils": "^0.0.20",
|
|
38
38
|
"conf": "^12.0.0",
|
|
39
39
|
"file-type": "^19.0.0",
|
|
40
40
|
"listr": "^0.14.3",
|
|
41
41
|
"mime-types": "^2.1.35",
|
|
42
|
-
"minimatch": "^9.0.
|
|
42
|
+
"minimatch": "^9.0.4",
|
|
43
43
|
"node-fetch": "^3.3.2",
|
|
44
|
-
"open": "^10.0
|
|
44
|
+
"open": "^10.1.0",
|
|
45
45
|
"ora": "^8.0.1",
|
|
46
46
|
"portfinder": "^1.0.32",
|
|
47
47
|
"prompts": "^2.4.2",
|
|
48
|
-
"semver": "^7.
|
|
48
|
+
"semver": "^7.6.0",
|
|
49
49
|
"terminal-link": "^3.0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"@types/mime-types": "^2.1.4",
|
|
54
54
|
"@types/minimatch": "^5.1.2",
|
|
55
55
|
"@types/prompts": "^2.4.9",
|
|
56
|
-
"@types/semver": "^7.5.
|
|
56
|
+
"@types/semver": "^7.5.8",
|
|
57
57
|
"@typescript-eslint/eslint-plugin": "^6.20.0",
|
|
58
|
-
"dotenv": "^16.4.
|
|
59
|
-
"esbuild": "^0.20.
|
|
60
|
-
"eslint": "^8.
|
|
58
|
+
"dotenv": "^16.4.5",
|
|
59
|
+
"esbuild": "^0.20.2",
|
|
60
|
+
"eslint": "^8.57.0",
|
|
61
61
|
"eslint-config-prettier": "^9.1.0",
|
|
62
62
|
"eslint-config-standard-with-typescript": "^43.0.1",
|
|
63
63
|
"eslint-plugin-import": "^2.29.1",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"eslint-plugin-promise": "^6.1.1",
|
|
67
67
|
"prettier": "^3.2.5",
|
|
68
68
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
69
|
-
"typescript": "^5.
|
|
69
|
+
"typescript": "^5.4.3"
|
|
70
70
|
},
|
|
71
71
|
"repository": {
|
|
72
72
|
"type": "git",
|
|
@@ -12,7 +12,7 @@ ic-cdk = "0.12.1"
|
|
|
12
12
|
ic-cdk-macros = "0.8.1"
|
|
13
13
|
serde = "1.0.190"
|
|
14
14
|
serde_cbor = "0.11.2"
|
|
15
|
-
junobuild-satellite = "0.0.
|
|
16
|
-
junobuild-macros = "0.0.
|
|
15
|
+
junobuild-satellite = "0.0.16-patch.1"
|
|
16
|
+
junobuild-macros = "0.0.2"
|
|
17
17
|
junobuild-utils = "0.0.1"
|
|
18
18
|
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
use junobuild_macros::{
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
assert_delete_asset, assert_delete_doc, assert_set_doc, assert_upload_asset, on_delete_asset,
|
|
3
|
+
on_delete_doc, on_delete_many_assets, on_delete_many_docs, on_set_doc, on_set_many_docs,
|
|
4
|
+
on_upload_asset,
|
|
4
5
|
};
|
|
5
6
|
use junobuild_satellite::{
|
|
6
|
-
include_satellite,
|
|
7
|
+
include_satellite, AssertDeleteAssetContext, AssertDeleteDocContext, AssertSetDocContext,
|
|
8
|
+
AssertUploadAssetContext, OnDeleteAssetContext, OnDeleteDocContext, OnDeleteManyAssetsContext,
|
|
7
9
|
OnDeleteManyDocsContext, OnSetDocContext, OnSetManyDocsContext, OnUploadAssetContext,
|
|
8
10
|
};
|
|
9
11
|
|
|
@@ -42,4 +44,24 @@ async fn on_delete_many_assets(_context: OnDeleteManyAssetsContext) -> Result<()
|
|
|
42
44
|
Ok(())
|
|
43
45
|
}
|
|
44
46
|
|
|
47
|
+
#[assert_set_doc]
|
|
48
|
+
fn assert_set_doc(_context: AssertSetDocContext) -> Result<(), String> {
|
|
49
|
+
Ok(())
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
#[assert_delete_doc]
|
|
53
|
+
fn assert_delete_doc(_context: AssertDeleteDocContext) -> Result<(), String> {
|
|
54
|
+
Ok(())
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
#[assert_upload_asset]
|
|
58
|
+
fn assert_upload_asset(_context: AssertUploadAssetContext) -> Result<(), String> {
|
|
59
|
+
Ok(())
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
#[assert_delete_asset]
|
|
63
|
+
fn assert_delete_asset(_context: AssertDeleteAssetContext) -> Result<(), String> {
|
|
64
|
+
Ok(())
|
|
65
|
+
}
|
|
66
|
+
|
|
45
67
|
include_satellite!();
|