mirror of https://github.com/abpframework/abp.git
8 changed files with 31 additions and 3 deletions
@ -0,0 +1 @@ |
|||
export * from './account.service'; |
|||
@ -0,0 +1,2 @@ |
|||
export * from './roles/roles.component'; |
|||
export * from './users/users.component'; |
|||
@ -0,0 +1,21 @@ |
|||
// ESM syntax is supported.
|
|||
import execa from 'execa'; |
|||
import fse from 'fs-extra'; |
|||
|
|||
(async () => { |
|||
await execa('yarn', ['install', '--ignore-scripts'], { |
|||
stdout: 'inherit', |
|||
cwd: '../../../templates/app/angular', |
|||
}); |
|||
|
|||
await fse.remove('../../../templates/app/angular/node_modules/@abp'); |
|||
|
|||
await fse.copy('../node_modules/@abp', '../../../templates/app/angular/node_modules/@abp', { |
|||
overwrite: true, |
|||
}); |
|||
|
|||
await execa('yarn', ['ng', 'build', '--prod'], { |
|||
stdout: 'inherit', |
|||
cwd: '../../../templates/app/angular', |
|||
}); |
|||
})(); |
|||
Loading…
Reference in new issue