summaryrefslogtreecommitdiff
path: root/tests/specs/publish
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/publish')
-rw-r--r--tests/specs/publish/bare_node_builtins/bare_node_builtins.out2
-rw-r--r--tests/specs/publish/missing_constraint/publish.out2
-rw-r--r--tests/specs/publish/node_specifier/node_specifier.out2
-rw-r--r--tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/__test__.jsonc25
-rw-r--r--tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.deno.lock0
-rw-r--r--tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.deno.lock.poll1
-rw-r--r--tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.setup-cache.binbin0 -> 24 bytes
l---------tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/add1
l---------tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/add-dep1
9 files changed, 22 insertions, 12 deletions
diff --git a/tests/specs/publish/bare_node_builtins/bare_node_builtins.out b/tests/specs/publish/bare_node_builtins/bare_node_builtins.out
index 36ba9c7ce..6baedd906 100644
--- a/tests/specs/publish/bare_node_builtins/bare_node_builtins.out
+++ b/tests/specs/publish/bare_node_builtins/bare_node_builtins.out
@@ -1,7 +1,7 @@
Warning Resolving "url" as "node:url" at file:///[WILDLINE]/mod.ts:1:22. If you want to use a built-in Node module, add a "node:" prefix.
Warning Resolving "url" as "node:url" at file:///[WILDLINE]/mod.ts:1:22. If you want to use a built-in Node module, add a "node:" prefix.
[UNORDERED_START]
-Download http://localhost:4260/@types/node
+Download http://localhost:4260/@types%2fnode
Download http://localhost:4260/undici-types
Download http://localhost:4260/@types/node/node-22.5.4.tgz
Download http://localhost:4260/undici-types/undici-types-6.19.8.tgz
diff --git a/tests/specs/publish/missing_constraint/publish.out b/tests/specs/publish/missing_constraint/publish.out
index d9fb6408f..7d2c293c0 100644
--- a/tests/specs/publish/missing_constraint/publish.out
+++ b/tests/specs/publish/missing_constraint/publish.out
@@ -1,7 +1,7 @@
[UNORDERED_START]
Download http://127.0.0.1:4250/@denotest/add/meta.json
Download http://127.0.0.1:4250/@denotest/deps/meta.json
-Download http://localhost:4260/@denotest/esm-basic
+Download http://localhost:4260/@denotest%2fesm-basic
Download http://127.0.0.1:4250/@denotest/add/1.0.0_meta.json
Download http://127.0.0.1:4250/@denotest/deps/1.0.0_meta.json
Download http://127.0.0.1:4250/@denotest/module-graph/meta.json
diff --git a/tests/specs/publish/node_specifier/node_specifier.out b/tests/specs/publish/node_specifier/node_specifier.out
index 4c9d7cb3e..0ba14043d 100644
--- a/tests/specs/publish/node_specifier/node_specifier.out
+++ b/tests/specs/publish/node_specifier/node_specifier.out
@@ -1,5 +1,5 @@
[UNORDERED_START]
-Download http://localhost:4260/@types/node
+Download http://localhost:4260/@types%2fnode
Download http://localhost:4260/undici-types
Download http://localhost:4260/@types/node/node-22.5.4.tgz
Download http://localhost:4260/undici-types/undici-types-6.19.8.tgz
diff --git a/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/__test__.jsonc b/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/__test__.jsonc
index cee2fe12d..91408a730 100644
--- a/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/__test__.jsonc
+++ b/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/__test__.jsonc
@@ -1,17 +1,24 @@
{
- // TODO(2.0): these tests are actually broken now, some code needs
- // to be updated to make them work
- "ignore": true,
"tests": {
"dep_and_workspace_dep": {
- "args": "publish --dry-run --no-check --log-level=debug",
- "cwd": "subtract",
- "output": "publish-subtract.out"
+ "steps": [{
+ "args": "install",
+ "output": "[WILDCARD]"
+ }, {
+ "args": "publish --dry-run --no-check --log-level=debug",
+ "cwd": "subtract",
+ "output": "publish-subtract.out"
+ }]
},
"bare_specifier": {
- "args": "publish --dry-run --no-check --log-level=debug",
- "cwd": "subtract-2",
- "output": "publish-subtract2.out"
+ "steps": [{
+ "args": "install",
+ "output": "[WILDCARD]"
+ }, {
+ "args": "publish --dry-run --no-check --log-level=debug",
+ "cwd": "subtract-2",
+ "output": "publish-subtract2.out"
+ }]
}
}
}
diff --git a/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.deno.lock b/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.deno.lock
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.deno.lock
diff --git a/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.deno.lock.poll b/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.deno.lock.poll
new file mode 100644
index 000000000..56a6051ca
--- /dev/null
+++ b/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.deno.lock.poll
@@ -0,0 +1 @@
+1 \ No newline at end of file
diff --git a/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.setup-cache.bin b/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.setup-cache.bin
new file mode 100644
index 000000000..4ac5fc6cf
--- /dev/null
+++ b/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.setup-cache.bin
Binary files differ
diff --git a/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/add b/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/add
new file mode 120000
index 000000000..7b086589d
--- /dev/null
+++ b/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/add
@@ -0,0 +1 @@
+../add \ No newline at end of file
diff --git a/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/add-dep b/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/add-dep
new file mode 120000
index 000000000..7b086589d
--- /dev/null
+++ b/tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/add-dep
@@ -0,0 +1 @@
+../add \ No newline at end of file