Skip to content

Commit 2fa936f

Browse files
docs(README.md): map npm package links to npmx.dev (#19666)
## Summary - replace npm package links from npmjs.com to https://npmx.dev - only update documentation files --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 8ad3430 commit 2fa936f

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ Read more about our [architecture](https://oxc.rs/docs/learn/architecture/parser
5050

5151
## 📦 Tools & Packages
5252

53-
| Tool | npm | crates.io |
54-
| ----------- | ------------------------------------------------------------ | ----------------------------------------------------------- |
55-
| Linter | [oxlint](https://www.npmjs.com/package/oxlint) | - |
56-
| Formatter | [oxfmt](https://www.npmjs.com/package/oxfmt) | - |
57-
| Parser | [oxc-parser](https://www.npmjs.com/package/oxc-parser) | [oxc_parser](https://crates.io/crates/oxc_parser) |
58-
| Transformer | [oxc-transform](https://www.npmjs.com/package/oxc-transform) | [oxc_transformer](https://crates.io/crates/oxc_transformer) |
59-
| Minifier | [oxc-minify](https://www.npmjs.com/package/oxc-minify) | [oxc_minifier](https://crates.io/crates/oxc_minifier) |
60-
| Resolver | [oxc-resolver](https://www.npmjs.com/package/oxc-resolver) | [oxc_resolver](https://crates.io/crates/oxc_resolver) |
53+
| Tool | npm | crates.io |
54+
| ----------- | ------------------------------------------------------- | ----------------------------------------------------------- |
55+
| Linter | [oxlint](https://npmx.dev/package/oxlint) | - |
56+
| Formatter | [oxfmt](https://npmx.dev/package/oxfmt) | - |
57+
| Parser | [oxc-parser](https://npmx.dev/package/oxc-parser) | [oxc_parser](https://crates.io/crates/oxc_parser) |
58+
| Transformer | [oxc-transform](https://npmx.dev/package/oxc-transform) | [oxc_transformer](https://crates.io/crates/oxc_transformer) |
59+
| Minifier | [oxc-minify](https://npmx.dev/package/oxc-minify) | [oxc_minifier](https://crates.io/crates/oxc_minifier) |
60+
| Resolver | [oxc-resolver](https://npmx.dev/package/oxc-resolver) | [oxc_resolver](https://crates.io/crates/oxc_resolver) |
6161

6262
See [documentation](https://oxc.rs/) for detailed usage guides for each tool.
6363

napi/parser/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ See https://stackblitz.com/edit/oxc-parser for usage example.
1212

1313
When parsing JS or JSX files, the AST returned is fully conformant with the
1414
[ESTree standard](https://github.com/estree/estree), the same as produced by
15-
[Acorn](https://www.npmjs.com/package/acorn).
15+
[Acorn](https://npmx.dev/package/acorn).
1616

17-
When parsing TypeScript, the AST conforms to [@typescript-eslint/typescript-estree](https://www.npmjs.com/package/@typescript-eslint/typescript-estree)'s TS-ESTree format.
17+
When parsing TypeScript, the AST conforms to [@typescript-eslint/typescript-estree](https://npmx.dev/package/@typescript-eslint/typescript-estree)'s TS-ESTree format.
1818

1919
If you need all ASTs in the same with-TS-properties format, use the `astType: 'ts'` option.
2020

@@ -33,7 +33,7 @@ Any deviation would be considered a bug.
3333

3434
### AST Types
3535

36-
[@oxc-project/types](https://www.npmjs.com/package/@oxc-project/types) can be used. For example:
36+
[@oxc-project/types](https://npmx.dev/package/@oxc-project/types) can be used. For example:
3737

3838
```typescript
3939
import { Statement } from "@oxc-project/types";
@@ -74,7 +74,7 @@ It is likely that you are writing a parser plugin that requires ESM information.
7474

7575
To avoid walking the AST again, Oxc Parser returns ESM information directly.
7676

77-
This information can be used to rewrite import and exports with the help of [`magic-string`](https://www.npmjs.com/package/magic-string),
77+
This information can be used to rewrite import and exports with the help of [`magic-string`](https://npmx.dev/package/magic-string),
7878
without any AST manipulations.
7979

8080
```ts

npm/oxfmt/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
[ci-badge]: https://github.com/oxc-project/oxc/actions/workflows/ci.yml/badge.svg?event=push&branch=main
3131
[ci-url]: https://github.com/oxc-project/oxc/actions/workflows/ci.yml?query=event%3Apush+branch%3Amain
3232
[npm-badge]: https://img.shields.io/npm/v/oxfmt/latest?color=brightgreen
33-
[npm-url]: https://www.npmjs.com/package/oxfmt/v/latest
33+
[npm-url]: https://npmx.dev/package/oxfmt/v/latest
3434
[code-size-badge]: https://img.shields.io/github/languages/code-size/oxc-project/oxc
3535
[code-size-url]: https://github.com/oxc-project/oxc
3636
[code-coverage-badge]: https://codecov.io/github/oxc-project/oxc/branch/main/graph/badge.svg

npm/oxlint/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
[ci-badge]: https://github.com/oxc-project/oxc/actions/workflows/ci.yml/badge.svg?event=push&branch=main
3131
[ci-url]: https://github.com/oxc-project/oxc/actions/workflows/ci.yml?query=event%3Apush+branch%3Amain
3232
[npm-badge]: https://img.shields.io/npm/v/oxlint/latest?color=brightgreen
33-
[npm-url]: https://www.npmjs.com/package/oxlint/v/latest
33+
[npm-url]: https://npmx.dev/package/oxlint/v/latest
3434
[code-size-badge]: https://img.shields.io/github/languages/code-size/oxc-project/oxc
3535
[code-size-url]: https://github.com/oxc-project/oxc
3636
[code-coverage-badge]: https://codecov.io/github/oxc-project/oxc/branch/main/graph/badge.svg

0 commit comments

Comments
 (0)