Skip to content

Commit 4b05a2e

Browse files
committed
fix: remove outdated npm registry links
1 parent a3fab73 commit 4b05a2e

File tree

5 files changed

+4
-90
lines changed

5 files changed

+4
-90
lines changed

__snapshots__/packages-spec.js

-84
Original file line numberDiff line numberDiff line change
@@ -26,87 +26,3 @@ exports['packages can copy files from package.json 1'] = {
2626
}
2727
}
2828
}
29-
30-
exports['transformRequires can find and replace symlink requires 1'] = {
31-
"[cwd]": {
32-
"build": {
33-
"linux": {
34-
"Cypress": {
35-
"resources": {
36-
"app": {
37-
"packages": {
38-
"foo": {
39-
"package.json": "{\"main\":\"src/main.js\", \"name\": \"foo\", \"files\": [\"lib\"]}",
40-
"src": {
41-
"main.js": "console.log()"
42-
},
43-
"lib": {
44-
"foo.js": "require(\"../../bar/src/main\")"
45-
}
46-
},
47-
"bar": {
48-
"package.json": "{\"main\":\"src/main.js\", \"name\": \"foo\", \"files\": [\"lib\"]}",
49-
"src": {
50-
"main.js": "console.log()"
51-
},
52-
"lib": {
53-
"foo.js": "require(\"../../foo/lib/somefoo\")"
54-
},
55-
"node_modules": {
56-
"no-search.js": ""
57-
},
58-
"dist": {
59-
"no-search.js": ""
60-
}
61-
}
62-
}
63-
}
64-
}
65-
}
66-
}
67-
}
68-
},
69-
"tmp": {}
70-
}
71-
72-
exports['transformRequires can find and replace symlink requires on win32 1'] = {
73-
"[cwd]": {
74-
"build": {
75-
"linux": {
76-
"Cypress": {
77-
"resources": {
78-
"app": {
79-
"packages": {
80-
"foo": {
81-
"package.json": "{\"main\":\"src/main.js\", \"name\": \"foo\", \"files\": [\"lib\"]}",
82-
"src": {
83-
"main.js": "console.log()"
84-
},
85-
"lib": {
86-
"foo.js": "require(\"../../bar/src/main\")"
87-
}
88-
},
89-
"bar": {
90-
"package.json": "{\"main\":\"src/main.js\", \"name\": \"foo\", \"files\": [\"lib\"]}",
91-
"src": {
92-
"main.js": "console.log()"
93-
},
94-
"lib": {
95-
"foo.js": "require(\"../../foo/lib/somefoo\")"
96-
},
97-
"node_modules": {
98-
"no-search.js": ""
99-
},
100-
"dist": {
101-
"no-search.js": ""
102-
}
103-
}
104-
}
105-
}
106-
}
107-
}
108-
}
109-
}
110-
},
111-
"tmp": {}
112-
}

npm/cypress-schematic/src/schematics/utility/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function getLatestNodeVersion (packageName: string): Promise<NodePackage>
2525
const DEFAULT_VERSION = 'latest'
2626

2727
return new Promise((resolve) => {
28-
return get(`http://registry.npmjs.org/${packageName}`, (res) => {
28+
return get(`https://registry.npmjs.org/${packageName}`, (res) => {
2929
let rawData = ''
3030

3131
res.on('data', (chunk) => (rawData += chunk))

npm/vue/.npmrc

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
registry=http://registry.npmjs.org/
21
save-exact=true
32
progress=false
43
package-lock=true

npm/webpack-preprocessor/.npmrc

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
registry=http://registry.npmjs.org/
21
save-exact=true
32
progress=false
43
package-lock=false

scripts/unit/npm-release-spec.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const semanticReleaseNoUpdate = (version) => {
2525
[semantic-release] › ⚠ Run automated release from branch master on repository https://github.com/cypress-io/cypress.git in dry-run mode
2626
[semantic-release] › ✔ Allowed to push to the Git repository
2727
[semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
28-
[semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry http://registry.npmjs.org/
28+
[semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
2929
[semantic-release] [@semantic-release/npm] › ℹ Reading npm config from /cypress/npm/package/.npmrc
3030
[semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
3131
[semantic-release] › ℹ Found git tag @cypress/package-v${version} associated with version ${version} on branch master
@@ -66,7 +66,7 @@ const semanticReleaseUpdate = (oldVersion, newVersion) => {
6666
[semantic-release] › ⚠ Run automated release from branch master on repository https://github.com/cypress-io/cypress.git in dry-run mode
6767
[semantic-release] › ✔ Allowed to push to the Git repository
6868
[semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
69-
[semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry http://registry.npmjs.org/
69+
[semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
7070
[semantic-release] [@semantic-release/npm] › ℹ Reading npm config from /cypress/npm/package/.npmrc
7171
[semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
7272
[semantic-release] › ℹ Found git tag @cypress/package-v${oldVersion} associated with version ${oldVersion} on branch master
@@ -150,7 +150,7 @@ const semanticReleaseNew = () => {
150150
[semantic-release] › ⚠ Run automated release from branch master on repository https://github.com/cypress-io/cypress.git in dry-run mode
151151
[semantic-release] › ✔ Allowed to push to the Git repository
152152
[semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/npm"
153-
[semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry http://registry.npmjs.org/
153+
[semantic-release] [@semantic-release/npm] › ℹ Verify authentication for registry https://registry.npmjs.org/
154154
[semantic-release] [@semantic-release/npm] › ℹ Reading npm config from /cypress/npm/package/.npmrc
155155
[semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/npm"
156156
[semantic-release] › ℹ No git tag version found on branch master

0 commit comments

Comments
 (0)