This repository was archived by the owner on Nov 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ jasmine_node_test(
6464 "@npm//shelljs" ,
6565 "@npm//node-fetch" ,
6666 "@npm//zone.js" ,
67+ "//modules/common:npm_package" ,
6768 "//modules/express-engine:npm_package" ,
6869 ":npm_package" ,
6970 ] + glob ([
Original file line number Diff line number Diff line change @@ -71,6 +71,16 @@ export async function createArchitect(root: Path) {
7171 ) ;
7272 }
7373
74+ const ngUniveralCommonmNodePackages = path . join ( ngUniversalNodePackages , 'common' ) ;
75+ if ( ! existsSync ( ngUniveralCommonmNodePackages ) ) {
76+ cp (
77+ '-ru' ,
78+ path . join (
79+ require . resolve ( 'nguniversal/modules/common/npm_package/package.json' ) , '../' ) ,
80+ ngUniveralCommonmNodePackages ,
81+ ) ;
82+ }
83+
7484 const { workspace } = await workspaces . readWorkspace (
7585 workspaceSysPath ,
7686 workspaces . createWorkspaceHost ( host ) ,
Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ GLOBALS = {
7272 "@angular/platform-browser" : "ng.platformBrowser" ,
7373 "@angular/platform-browser-dynamic" : "ng.platformBrowserDynamic" ,
7474 "@angular/platform-server" : "ng.platformServer" ,
75+ "@nguniversal/common" : "nguniversal.common" ,
76+ "@nguniversal/common/engine" : "nguniversal.common.engine" ,
77+ "@nguniversal/common/tokens" : "nguniversal.common.tokens" ,
7578 "@nguniversal/aspnetcore-engine/tokens" : "nguniversal.aspnetcoreEngine.tokens" ,
7679 "@nguniversal/express-engine/tokens" : "nguniversal.expressEngine.tokens" ,
7780 "@nguniversal/hapi-engine/tokens" : "nguniversal.hapiEngine.tokens" ,
You can’t perform that action at this time.
0 commit comments