Skip to content

Commit 75e7650

Browse files
committed
fix: remove outdated npm registry links
1 parent a3fab73 commit 75e7650

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

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)