Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/tools/registry/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ pub async fn publish(
log::info!(" {} ({})", file.specifier, human_size(file.size as f64),);
}
}
log::warn!("{} Aborting due to --dry-run", colors::yellow("Warning"));
log::warn!("{} Dry run complete", colors::green("Success"));
return Ok(());
}

Expand Down
2 changes: 1 addition & 1 deletion tests/specs/jsr/no_unused_params/publish.out
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Simulating publish of @scope/[email protected] with files:
file:///[WILDLINE]/main.out ([WILDLINE])
file:///[WILDLINE]/main.ts ([WILDLINE])
file:///[WILDLINE]/publish.out ([WILDLINE])
Warning Aborting due to --dry-run
Success Dry run complete
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Simulating publish of @foo/[email protected] with files:
file:///[WILDLINE]/LICENSE ([WILDLINE])
file:///[WILDLINE]/deno.json (87B)
file:///[WILDLINE]/mod.ts (121B)
Warning Aborting due to --dry-run
Success Dry run complete
2 changes: 1 addition & 1 deletion tests/specs/publish/bare_node_builtins/no_warnings.out
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Simulating publish of @foo/[email protected] with files:
file:///[WILDLINE]/LICENSE ([WILDLINE])
file:///[WILDLINE]/deno.json (87B)
file:///[WILDLINE]/mod.ts (121B)
Warning Aborting due to --dry-run
Success Dry run complete
2 changes: 1 addition & 1 deletion tests/specs/publish/byonm_dep/publish.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Simulating publish of @scope/[email protected] with files:
file:///[WILDLINE]/LICENSE ([WILDLINE])
file:///[WILDLINE]/deno.jsonc ([WILDLINE])
file:///[WILDLINE]/mod.ts ([WILDLINE])
Warning Aborting due to --dry-run
Success Dry run complete
2 changes: 1 addition & 1 deletion tests/specs/publish/byonm_with_package_json/publish.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[WILDCARD]Unfurled specifier: @denotest/add from [WILDLINE]/src/index.ts -> npm:@denotest/add@1
[WILDCARD]
Warning Aborting due to --dry-run
Success Dry run complete
2 changes: 1 addition & 1 deletion tests/specs/publish/dry_run/dry_run.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Simulating publish of @foo/[email protected] with files:
[WILDCARD]deno.json (140B)
[WILDCARD]mod.ts (137B)
[WILDCARD]std_http.ts (119B)
Warning Aborting due to --dry-run
Success Dry run complete
2 changes: 1 addition & 1 deletion tests/specs/publish/excluded_deno_jsonc/mod.out
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Simulating publish of @scope/[email protected] with files:
file:///[WILDLINE]/LICENSE ([WILDLINE])
file:///[WILDLINE]/deno.jsonc (74B)
file:///[WILDLINE]/mod.ts (22B)
Warning Aborting due to --dry-run
Success Dry run complete
2 changes: 1 addition & 1 deletion tests/specs/publish/npm_workspace/publish.out
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Simulating publish of @scope/[email protected] with files:
file:///[WILDLINE]/npm_workspace/subtract/jsr.json ([WILDLINE])
file:///[WILDLINE]/npm_workspace/subtract/package.json ([WILDLINE])
[UNORDERED_END]
Warning Aborting due to --dry-run
Success Dry run complete
2 changes: 1 addition & 1 deletion tests/specs/publish/sloppy_imports/sloppy_imports.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Simulating publish of @foo/[email protected] with files:
file:///[WILDCARD]/b/index.ts (27B)
file:///[WILDCARD]/deno.json (87B)
file:///[WILDCARD]/mod.ts (35B)
Warning Aborting due to --dry-run
Success Dry run complete
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Simulating publish of @foo/[email protected] with files:
file:///[WILDCARD]/b/index.ts (27B)
file:///[WILDCARD]/deno.json (87B)
file:///[WILDCARD]/mod.ts (35B)
Warning Aborting due to --dry-run
Success Dry run complete
2 changes: 1 addition & 1 deletion tests/specs/publish/symlink/symlink.out
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ warning[unsupported-file-type]: unsupported file type 'symlink'
Simulating publish of @foo/[email protected] with files:
[WILDCARD]deno.json (87B)
[WILDCARD]mod.ts (56B)
Warning Aborting due to --dry-run
Success Dry run complete
2 changes: 1 addition & 1 deletion tests/specs/publish/workspace/foo_dry_run.out
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ Simulating publish of @foo/[email protected] with files:
file:///[WILDLINE]/workspace/LICENSE (0B)
file:///[WILDLINE]/workspace/foo/deno.json (135B)
file:///[WILDLINE]/workspace/foo/mod.ts (118B)
Warning Aborting due to --dry-run
Success Dry run complete
2 changes: 1 addition & 1 deletion tests/specs/publish/workspace/workspace_dry_run.out
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Simulating publish of @foo/[email protected] with files:
file:///[WILDLINE]/workspace/bar/deno.json (87B)
file:///[WILDLINE]/workspace/bar/mod.ts (70B)
[UNORDERED_END]
Warning Aborting due to --dry-run
Success Dry run complete
11 changes: 11 additions & 0 deletions tests/testdata/run/lock_check_ok2.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,16 @@
"http://localhost:4545/subdir/mt_text_typescript.t1.ts": "3a3e002e2f92dc8f045bd4a7c66b4791453ad0417b038dd2b2d9d0f277c44f18",
"http://localhost:4545/subdir/mt_video_mp2t.t3.ts": "3a3e002e2f92dc8f045bd4a7c66b4791453ad0417b038dd2b2d9d0f277c44f18",
"http://localhost:4545/subdir/mt_video_vdn.t2.ts": "3a3e002e2f92dc8f045bd4a7c66b4791453ad0417b038dd2b2d9d0f277c44f18"
},
"workspace": {
"packageJson": {
"dependencies": [
"npm:@ngrx/store-devtools@^14.3.2",
"npm:@stripe/stripe-js@^2.1.6",
"npm:path-to-regexp@^7.0.0",
"npm:stripe@^13.8.0",
"npm:uuid@^3.4.0"
]
}
}
}
13 changes: 12 additions & 1 deletion tests/testdata/run/lock_v2_check_ok2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2",
"version": "3",
"remote": {
"http://localhost:4545/subdir/mt_application_ecmascript.j2.js": "3a3e002e2f92dc8f045bd4a7c66b4791453ad0417b038dd2b2d9d0f277c44f18",
"http://localhost:4545/subdir/mt_application_x_javascript.j4.js": "3a3e002e2f92dc8f045bd4a7c66b4791453ad0417b038dd2b2d9d0f277c44f18",
Expand All @@ -9,5 +9,16 @@
"http://localhost:4545/subdir/mt_text_typescript.t1.ts": "3a3e002e2f92dc8f045bd4a7c66b4791453ad0417b038dd2b2d9d0f277c44f18",
"http://localhost:4545/subdir/mt_video_mp2t.t3.ts": "3a3e002e2f92dc8f045bd4a7c66b4791453ad0417b038dd2b2d9d0f277c44f18",
"http://localhost:4545/subdir/mt_video_vdn.t2.ts": "3a3e002e2f92dc8f045bd4a7c66b4791453ad0417b038dd2b2d9d0f277c44f18"
},
"workspace": {
"packageJson": {
"dependencies": [
"npm:@ngrx/store-devtools@^14.3.2",
"npm:@stripe/stripe-js@^2.1.6",
"npm:path-to-regexp@^7.0.0",
"npm:stripe@^13.8.0",
"npm:uuid@^3.4.0"
]
}
}
}