jsr
jsr copied to clipboard
The open-source package registry for modern JavaScript and TypeScript
JSR [sets low score for packages which use type inference](https://jsr.io/docs/about-slow-types): ```diff - export function add(a: number, b: number) { + export function add(a: number, b: number): number { return a...
```ts // these should be fine const x = `hello world`; const x = `hello world` as const; let x = `hello ${foobar} world`; // these are not allowed const...
These cases are trivial to detect based on the literal of the `return` expression. We currently fail all of them with a "missing retunr type" error whereas we be able...
I've included example code in my readme file, but it doesn't reflect in my JSR score:
Hi, i have workflow with series run `deno publish --dry-run` and `deno publish`: https://github.com/krutoo/utils/actions/runs/8812575981/job/24188524460 Running `deno publish --dry-run` passes with ok status But `deno publish` fails with error: ``` Failed...
```ts import { WASI } from 'node:wasi'; import { readFile } from "node:fs/promises"; const wasi = new WASI({ version: "preview1", args: ["bin_name"], preopens: { "/": "/", ".": ".", }, });...
I want to try to publish a package from a different CI-system than GH Actions and according to the docs this should be possible? https://jsr.io/docs/api#authentication-tokens And according to these docs...
For example GitLab CI or Sourcehut. This requires #393.
Is there a documentation or recipe on how projects that are using `changeset` can publish to `jsr`?
Add other other OIDC providers for self hosted private registries.