mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
526 B
21 lines
526 B
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',
|
|
});
|
|
})();
|