File tree 6 files changed +459
-527
lines changed
6 files changed +459
-527
lines changed Original file line number Diff line number Diff line change @@ -59,5 +59,6 @@ workflows:
59
59
branches :
60
60
only :
61
61
- publishing-automation
62
+ - master
62
63
jobs :
63
64
- publish_if_needed
Original file line number Diff line number Diff line change 1
- //registry.npmjs.org/:_authToken = ${ NPM_TOKEN }
Original file line number Diff line number Diff line change 1
1
{
2
- "recommendations" : [" orta.vscode-jest" , " editorconfig.editorconfig" , " orta.vscode-jest " ]
2
+ "recommendations" : [" orta.vscode-jest" , " editorconfig.editorconfig" ]
3
3
}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const {
15
15
const answer = await doesReactDOMOrHotLoaderHasNewerVersionThanUs (
16
16
"latest" ,
17
17
"latest" ,
18
- "test-org-bnaya-2 " ,
18
+ "hot-loader " ,
19
19
"_rc"
20
20
) ;
21
21
@@ -32,10 +32,12 @@ const {
32
32
path . resolve ( __dirname , "staging-area" ) ,
33
33
answer . reactDOMVersion ,
34
34
answer . reactHotLoaderVersion ,
35
- "test-org-bnaya-2 "
35
+ "hot-loader "
36
36
) ;
37
37
38
- console . info ( "don't really publish yet" , { patchedPackageDir } ) ;
38
+ console . info ( "The patched code is ready, we don't really auto publish yet" , { patchedPackageDir } ) ;
39
+ console . warn ( "Gonna fail the builds until you publish the new version" ) ;
40
+ process . exit ( 1 ) ;
39
41
40
42
// const publishStdOut = await execFile(
41
43
// "yarn",
@@ -56,4 +58,7 @@ const {
56
58
} else {
57
59
console . info ( "Nothing to publish" ) ;
58
60
}
59
- } ) ( ) ;
61
+ } ) ( ) . catch ( ( e ) => {
62
+ console . error ( e ) ;
63
+ process . exit ( 1 ) ;
64
+ } )
Original file line number Diff line number Diff line change 1
1
{
2
2
"private" : true ,
3
- "name" : " @hot-loader/react-dom" ,
3
+ "name" : " @hot-loader/react-dom-publishing-infra " ,
4
4
"version" : " 0.0.0" ,
5
- "description" : " The Hot version of React-DOM " ,
5
+ "description" : " Patching & publishing react-dom for hot loader support infra " ,
6
6
"main" : " index.js" ,
7
7
"scripts" : {
8
8
"clean" : " rm -Rf target" ,
29
29
"homepage" : " https://github.com/hot-loader/react-dom#readme" ,
30
30
"devDependencies" : {
31
31
"@types/fs-extra" : " ^8.0.0" ,
32
- "@types/jest" : " ^24.0.15 " ,
32
+ "@types/jest" : " ^24.0.18 " ,
33
33
"@types/node" : " ^10" ,
34
- "@types/semver" : " ^6.0.1 " ,
35
- "jest" : " ^24.8 .0" ,
34
+ "@types/semver" : " ^6.0.2 " ,
35
+ "jest" : " ^24.9 .0" ,
36
36
"npm-run-all" : " ^4.1.5" ,
37
37
"prettier" : " ^1.18.2" ,
38
- "typescript" : " ^3.5.2 " ,
38
+ "typescript" : " ^3.6.3 " ,
39
39
"yarn-deduplicate" : " ^1.1.1"
40
40
},
41
41
"dependencies" : {
42
42
"fs-extra" : " ^8.1.0" ,
43
43
"loose-envify" : " ^1.1.0" ,
44
44
"object-assign" : " ^4.1.1" ,
45
45
"prop-types" : " ^15.6.2" ,
46
- "semver" : " ^6.2 .0"
46
+ "semver" : " ^6.3 .0"
47
47
}
48
48
}
You can’t perform that action at this time.
0 commit comments