File tree Expand file tree Collapse file tree 5 files changed +16
-7
lines changed
packages/react-devtools-extensions Expand file tree Collapse file tree 5 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const {resolve} = require('path');
7
7
const { argv} = require ( 'yargs' ) ;
8
8
9
9
const EXTENSION_PATH = resolve ( './chrome/build/unpacked' ) ;
10
- const START_URL = argv . url || 'https://reactjs.org /' ;
10
+ const START_URL = argv . url || 'https://react.dev /' ;
11
11
12
12
chromeLaunch ( START_URL , {
13
13
args : [
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const {resolve} = require('path');
9
9
const { argv} = require ( 'yargs' ) ;
10
10
11
11
const EXTENSION_PATH = resolve ( './edge/build/unpacked' ) ;
12
- const START_URL = argv . url || 'https://reactjs.org /' ;
12
+ const START_URL = argv . url || 'https://react.dev /' ;
13
13
14
14
const extargs = `--load-extension=${ EXTENSION_PATH } ` ;
15
15
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const {resolve} = require('path');
8
8
const { argv} = require ( 'yargs' ) ;
9
9
10
10
const EXTENSION_PATH = resolve ( './firefox/build/unpacked' ) ;
11
- const START_URL = argv . url || 'https://reactjs.org /' ;
11
+ const START_URL = argv . url || 'https://react.dev /' ;
12
12
13
13
const firefoxVersion = process . env . WEB_EXT_FIREFOX ;
14
14
Original file line number Diff line number Diff line change @@ -209,11 +209,11 @@ async function reviewChangelogPrompt() {
209
209
console . log ( ` ${ chalk . bold ( CHANGELOG_PATH ) } ` ) ;
210
210
console . log ( '' ) ;
211
211
console . log ( 'Please review the new changelog text for the following:' ) ;
212
- console . log ( ' 1. Organize the list into Features vs Bugfixes' ) ;
213
212
console . log ( ' 1. Filter out any non-user-visible changes (e.g. typo fixes)' ) ;
214
- console . log ( ' 1. Combine related PRs into a single bullet list.' ) ;
213
+ console . log ( ' 2. Organize the list into Features vs Bugfixes' ) ;
214
+ console . log ( ' 3. Combine related PRs into a single bullet list' ) ;
215
215
console . log (
216
- ' 1 . Replacing the "USERNAME" placeholder text with the GitHub username(s)'
216
+ ' 4 . Replacing the "USERNAME" placeholder text with the GitHub username(s)'
217
217
) ;
218
218
console . log ( '' ) ;
219
219
console . log ( ` ${ chalk . bold . green ( `open ${ CHANGELOG_PATH } ` ) } ` ) ;
Original file line number Diff line number Diff line change @@ -82,7 +82,16 @@ async function publishToNPM() {
82
82
// If so we might be resuming from a previous run.
83
83
// We could infer this by comparing the build-info.json,
84
84
// But for now the easiest way is just to ask if this is expected.
85
- const info = await execRead ( `npm view ${ npmPackage } @${ version } ` ) ;
85
+ const info = await execRead ( `npm view ${ npmPackage } @${ version } ` )
86
+ // For npm v8+ (node 16+) view command responds with 404 code, instead of 200 with empty response
87
+ . catch ( childProcessError => {
88
+ if ( childProcessError . stderr . startsWith ( 'npm ERR! code E404' ) ) {
89
+ return null ;
90
+ }
91
+
92
+ throw childProcessError ;
93
+ } ) ;
94
+
86
95
if ( info ) {
87
96
console . log ( '' ) ;
88
97
console . log (
You can’t perform that action at this time.
0 commit comments