Skip to content

Commit a777440

Browse files
committed
docs: pnpm.js.org=>pnpm.io
1 parent fc0e02d commit a777440

11 files changed

Lines changed: 25 additions & 25 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: git branch -f main origin/main
3535
- name: install pnpm and npm
3636
run: |
37-
curl -L https://pnpm.js.org/pnpm.js | node - add --global pnpm@dev npm@6
37+
curl -L https://get.pnpm.io/v6.js | node - add --global pnpm@dev npm@6
3838
- name: pnpm install
3939
run: pnpm install
4040
- name: run tests (main)

packages/cli-utils/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ export * from './style'
1111

1212
export const docsUrl = (cmd: string) => {
1313
const [pnpmMajorVersion] = pnpmManifest.version.split('.')
14-
return `https://pnpm.js.org/${pnpmMajorVersion}.x/cli/${cmd}`
14+
return `https://pnpm.io/${pnpmMajorVersion}.x/cli/${cmd}`
1515
}

packages/config/test/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ test('registries of scoped packages are read', async () => {
198198
test('registries in current directory\'s .npmrc have bigger priority then global config settings', async () => {
199199
prepare()
200200

201-
await fs.writeFile('.npmrc', 'registry=https://pnpm.js.org/', 'utf8')
201+
await fs.writeFile('.npmrc', 'registry=https://pnpm.io/', 'utf8')
202202

203203
const { config } = await getConfig({
204204
cliOptions: {
@@ -211,7 +211,7 @@ test('registries in current directory\'s .npmrc have bigger priority then global
211211
})
212212

213213
expect(config.registries).toStrictEqual({
214-
default: 'https://pnpm.js.org/',
214+
default: 'https://pnpm.io/',
215215
'@foo': 'https://foo.com/',
216216
'@bar': 'https://bar.com/',
217217
})

packages/fetch/test/fetchFromRegistry.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test('fetchFromRegistry fullMetadata', async () => {
1919
})
2020

2121
test('authorization headers are removed before redirection if the target is on a different host', async () => {
22-
nock('http://registry.pnpm.js.org/', {
22+
nock('http://registry.pnpm.io/', {
2323
reqheaders: { authorization: 'Bearer 123' },
2424
})
2525
.get('/is-positive')
@@ -30,7 +30,7 @@ test('authorization headers are removed before redirection if the target is on a
3030

3131
const fetchFromRegistry = createFetchFromRegistry({ fullMetadata: true })
3232
const res = await fetchFromRegistry(
33-
'http://registry.pnpm.js.org/is-positive',
33+
'http://registry.pnpm.io/is-positive',
3434
{ authHeaderValue: 'Bearer 123' }
3535
)
3636

@@ -39,20 +39,20 @@ test('authorization headers are removed before redirection if the target is on a
3939
})
4040

4141
test('authorization headers are not removed before redirection if the target is on the same host', async () => {
42-
nock('http://registry.pnpm.js.org/', {
42+
nock('http://registry.pnpm.io/', {
4343
reqheaders: { authorization: 'Bearer 123' },
4444
})
4545
.get('/is-positive')
46-
.reply(302, '', { location: 'http://registry.pnpm.js.org/is-positive-new' })
47-
nock('http://registry.pnpm.js.org/', {
46+
.reply(302, '', { location: 'http://registry.pnpm.io/is-positive-new' })
47+
nock('http://registry.pnpm.io/', {
4848
reqheaders: { authorization: 'Bearer 123' },
4949
})
5050
.get('/is-positive-new')
5151
.reply(200, { ok: true })
5252

5353
const fetchFromRegistry = createFetchFromRegistry({ fullMetadata: true })
5454
const res = await fetchFromRegistry(
55-
'http://registry.pnpm.js.org/is-positive',
55+
'http://registry.pnpm.io/is-positive',
5656
{ authHeaderValue: 'Bearer 123' }
5757
)
5858

@@ -64,7 +64,7 @@ test('switch to the correct agent for requests on redirect from http: to https:'
6464
const fetchFromRegistry = createFetchFromRegistry({ fullMetadata: true })
6565

6666
// We can test this on any endpoint that redirects from http: to https:
67-
const { status } = await fetchFromRegistry('http://pnpm.js.org/pnpm.js')
67+
const { status } = await fetchFromRegistry('http://pnpm.io/pnpm.js')
6868

6969
expect(status).toEqual(200)
7070
})

packages/outdated/test/getManifest.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ test('getManifest()', async () => {
77
lockfileDir: '',
88
rawConfig: {},
99
registries: {
10-
'@scope': 'https://pnpm.js.org/',
10+
'@scope': 'https://pnpm.io/',
1111
default: 'https://registry.npmjs.org/',
1212
},
1313
}
@@ -34,7 +34,7 @@ test('getManifest()', async () => {
3434
})
3535

3636
const resolve2: ResolveFunction = async function (wantedPackage, opts) {
37-
expect(opts.registry).toEqual('https://pnpm.js.org/')
37+
expect(opts.registry).toEqual('https://pnpm.io/')
3838
return {
3939
id: 'foo/2.0.0',
4040
latest: '2.0.0',

packages/pnpm/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
### Minor Changes
4747

48-
- A new command added: [pnpm fetch](https://pnpm.js.org/cli/fetch).
48+
- A new command added: [pnpm fetch](https://pnpm.io/cli/fetch).
4949

5050
Fetch packages from a lockfile into virtual store, package manifest is ignored.
5151
This command is specifically designed to boost building a docker image.

packages/pnpm/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
[中文](https://pnpm.js.org/zh/) | [Español](https://pnpm.js.org/es/)
1+
[中文](https://pnpm.io/zh/) | [Español](https://pnpm.io/es/)
22

33
![](https://i.imgur.com/qlW1eEG.png)
44

55
Fast, disk space efficient package manager:
66

77
* **Fast.** Up to 2x faster than the alternatives (see [benchmark](#benchmark)).
88
* **Efficient.** Files inside `node_modules` are linked from a single content-addressable storage.
9-
* **[Great for monorepos](https://pnpm.js.org/workspaces).**
9+
* **[Great for monorepos](https://pnpm.io/workspaces).**
1010
* **Strict.** A package can access only dependencies that are specified in its `package.json`.
1111
* **Deterministic.** Has a lockfile called `pnpm-lock.yaml`.
1212
* **Works everywhere.** Supports Windows, Linux, and macOS.
13-
* **Battle-tested.** Used in production by teams of [all sizes](https://pnpm.js.org/users) since 2016.
13+
* **Battle-tested.** Used in production by teams of [all sizes](https://pnpm.io/users) since 2016.
1414

1515
To quote the [Rush](https://rushjs.io/) team:
1616

@@ -36,15 +36,15 @@ With pnpm, lodash will be stored in a content-addressable storage, so:
3636

3737
As a result, you save gigabytes of space on your disk and you have a lot faster installations!
3838
If you'd like more details about the unique `node_modules` structure that pnpm creates and
39-
why it works fine with the Node.js ecosystem, read this small article: [Flat node_modules is not the only way](https://pnpm.js.org/blog/2020/05/27/flat-node-modules-is-not-the-only-way).
39+
why it works fine with the Node.js ecosystem, read this small article: [Flat node_modules is not the only way](https://pnpm.io/blog/2020/05/27/flat-node-modules-is-not-the-only-way).
4040

4141
## Installation
4242

4343
```
4444
npm install -g pnpm
4545
```
4646

47-
For other installation options [visit our website](https://pnpm.js.org/installation).
47+
For other installation options [visit our website](https://pnpm.io/installation).
4848

4949
## Usage
5050

@@ -60,7 +60,7 @@ Also, pnpx instead of npx:
6060
pnpx create-react-app my-cool-new-app
6161
```
6262

63-
For more advanced usage, read [pnpm CLI](https://pnpm.js.org/pnpm-cli) on our website, or run `pnpm help`.
63+
For more advanced usage, read [pnpm CLI](https://pnpm.io/pnpm-cli) on our website, or run `pnpm help`.
6464

6565
## Benchmark
6666

@@ -72,7 +72,7 @@ Benchmarks on an app with lots of dependencies:
7272

7373
## Support
7474

75-
- [Frequently Asked Questions](https://pnpm.js.org/faq)
75+
- [Frequently Asked Questions](https://pnpm.io/faq)
7676
- [Stack Overflow](https://stackoverflow.com/questions/tagged/pnpm)
7777
- [Chat](https://r.pnpm.io/chat)
7878
- [Twitter](https://twitter.com/pnpmjs)

packages/pnpm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"directories": {
112112
"test": "test"
113113
},
114-
"homepage": "https://pnpm.js.org",
114+
"homepage": "https://pnpm.io",
115115
"keywords": [
116116
"dependency manager",
117117
"install",

utils/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"directories": {
1616
"test": "test"
1717
},
18-
"homepage": "https://pnpm.js.org",
18+
"homepage": "https://pnpm.io",
1919
"keywords": [],
2020
"license": "MIT",
2121
"engines": {

utils/tsconfig/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"license": "MIT",
1111
"main": "tsconfig.json",
12-
"homepage": "https://pnpm.js.org",
12+
"homepage": "https://pnpm.io",
1313
"repository": "https://github.com/pnpm/pnpm/blob/master/utils/tsconfig",
1414
"bugs": {
1515
"url": "https://github.com/pnpm/pnpm/issues"

0 commit comments

Comments
 (0)