File tree Expand file tree Collapse file tree 2 files changed +4
-20
lines changed
Expand file tree Collapse file tree 2 files changed +4
-20
lines changed Original file line number Diff line number Diff line change 114114 "command" : " node ./tools/create-nx-workspace.js"
115115 },
116116 "dependsOn" : [" yalc-it" ]
117- },
118- "nx-release-publish" : {
119- "options" : {
120- "packageRoot" : " dist/packages/ngx-deploy-npm"
121- }
122117 }
123118 },
124119 "tags" : []
Original file line number Diff line number Diff line change 33 * It is meant to be called in jest's globalSetup.
44 */
55import { startLocalRegistry } from '@nx/js/plugins/jest/local-registry' ;
6- import { releasePublish , releaseVersion } from 'nx/release ' ;
6+ import { execSync } from 'child_process ' ;
77
88export default async ( ) => {
99 // local registry target to run
@@ -17,18 +17,7 @@ export default async () => {
1717 verbose : false ,
1818 } ) ;
1919
20- await releaseVersion ( {
21- specifier : '0.0.0-e2e' ,
22- stageChanges : false ,
23- gitCommit : false ,
24- gitTag : false ,
25- firstRelease : true ,
26- generatorOptionsOverrides : {
27- skipLockFileUpdate : true ,
28- } ,
29- } ) ;
30- await releasePublish ( {
31- tag : 'e2e' ,
32- firstRelease : true ,
33- } ) ;
20+ execSync (
21+ 'npx nx deploy ngx-deploy-npm --registry=http://localhost:4873 --packageVersion=0.0.0 --tag e2e'
22+ ) ;
3423} ;
You can’t perform that action at this time.
0 commit comments