mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
wip
This commit is contained in:
parent
aad8ae3710
commit
080869a9b9
7 changed files with 25 additions and 4 deletions
4
tests/specs/publish/bun_specifier/__test__.jsonc
Normal file
4
tests/specs/publish/bun_specifier/__test__.jsonc
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"args": "publish --token 'sadfasdf' --no-check",
|
||||||
|
"output": "bun_specifier.out"
|
||||||
|
}
|
8
tests/specs/publish/bun_specifier/bun_specifier.out
Normal file
8
tests/specs/publish/bun_specifier/bun_specifier.out
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
Download http://localhost:4260/@types/node
|
||||||
|
Download http://localhost:4260/@types/node/node-[WILDCARD].tgz
|
||||||
|
Check file:///[WILDCARD]/mod.ts
|
||||||
|
Checking for slow types in the public API...
|
||||||
|
Check file:///[WILDCARD]/publish/node_specifier/mod.ts
|
||||||
|
Publishing @foo/bar@1.0.0 ...
|
||||||
|
Successfully published @foo/bar@1.0.0
|
||||||
|
Visit http://127.0.0.1:4250/@foo/bar@1.0.0 for details
|
7
tests/specs/publish/bun_specifier/deno.json
Normal file
7
tests/specs/publish/bun_specifier/deno.json
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"name": "@foo/bar",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"exports": {
|
||||||
|
".": "./mod.ts"
|
||||||
|
}
|
||||||
|
}
|
2
tests/specs/publish/bun_specifier/mod.ts
Normal file
2
tests/specs/publish/bun_specifier/mod.ts
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
import "bun:sqlite";
|
||||||
|
|
|
@ -15,7 +15,7 @@ error[invalid-external-import]: invalid import to a non-JSR 'http' specifier
|
||||||
|
|
||||||
info: the import was resolved to 'http://localhost:4545/welcome.ts'
|
info: the import was resolved to 'http://localhost:4545/welcome.ts'
|
||||||
info: this specifier is not allowed to be imported on jsr
|
info: this specifier is not allowed to be imported on jsr
|
||||||
info: jsr only supports importing `jsr:`, `npm:`, and `data:` specifiers
|
info: jsr only supports importing `jsr:`, `npm:`, `data:`, `bun:`, and `node:` specifiers
|
||||||
docs: https://jsr.io/go/invalid-external-import
|
docs: https://jsr.io/go/invalid-external-import
|
||||||
|
|
||||||
error[invalid-external-import]: invalid import to a non-JSR 'http' specifier
|
error[invalid-external-import]: invalid import to a non-JSR 'http' specifier
|
||||||
|
@ -28,7 +28,7 @@ error[invalid-external-import]: invalid import to a non-JSR 'http' specifier
|
||||||
|
|
||||||
info: the import was resolved to 'http://localhost:4545/echo.ts'
|
info: the import was resolved to 'http://localhost:4545/echo.ts'
|
||||||
info: this specifier is not allowed to be imported on jsr
|
info: this specifier is not allowed to be imported on jsr
|
||||||
info: jsr only supports importing `jsr:`, `npm:`, and `data:` specifiers
|
info: jsr only supports importing `jsr:`, `npm:`, `data:`, `bun:`, and `node:` specifiers
|
||||||
docs: https://jsr.io/go/invalid-external-import
|
docs: https://jsr.io/go/invalid-external-import
|
||||||
|
|
||||||
error: Found 2 problems
|
error: Found 2 problems
|
||||||
|
|
|
@ -16,7 +16,7 @@ error[invalid-external-import]: invalid import to a non-JSR 'http' specifier
|
||||||
|
|
||||||
info: the import was resolved to 'http://esm.sh/react-dom@18.2.0/server'
|
info: the import was resolved to 'http://esm.sh/react-dom@18.2.0/server'
|
||||||
info: this specifier is not allowed to be imported on jsr
|
info: this specifier is not allowed to be imported on jsr
|
||||||
info: jsr only supports importing `jsr:`, `npm:`, and `data:` specifiers
|
info: jsr only supports importing `jsr:`, `npm:`, `data:`, `bun:`, and `node:` specifiers
|
||||||
docs: https://jsr.io/go/invalid-external-import
|
docs: https://jsr.io/go/invalid-external-import
|
||||||
|
|
||||||
error: Found 1 problem
|
error: Found 1 problem
|
||||||
|
|
|
@ -12,7 +12,7 @@ error[invalid-external-import]: invalid import to a non-JSR 'https' specifier
|
||||||
|
|
||||||
info: the import was resolved to 'https://deno.land/std/assert/assert.ts'
|
info: the import was resolved to 'https://deno.land/std/assert/assert.ts'
|
||||||
info: this specifier is not allowed to be imported on jsr
|
info: this specifier is not allowed to be imported on jsr
|
||||||
info: jsr only supports importing `jsr:`, `npm:`, and `data:` specifiers
|
info: jsr only supports importing `jsr:`, `npm:`, `data:`, `bun:`, and `node:` specifiers
|
||||||
docs: https://jsr.io/go/invalid-external-import
|
docs: https://jsr.io/go/invalid-external-import
|
||||||
|
|
||||||
error: Found 1 problem
|
error: Found 1 problem
|
||||||
|
|
Loading…
Reference in a new issue