chore: add symlink to module template

pull/4485/head
mehmet-erim 5 years ago
parent 4a1f987538
commit 07a5c48155

@ -5,7 +5,8 @@
"ng": "ng",
"start": "ng serve dev-app --open",
"build": "ng build my-project-name --prod",
"build:app": "ng build dev-app --prod",
"build:app": "npm run symlink:copy -- --no-watch && ng build dev-app --prod",
"symlink:copy": "symlink copy --angular --packages @my-company-name/my-project-name --prod",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
@ -14,6 +15,11 @@
},
"private": true,
"dependencies": {
"@abp/ng.account": "~3.0.0",
"@abp/ng.identity": "~3.0.0",
"@abp/ng.setting-management": "~3.0.0",
"@abp/ng.tenant-management": "~3.0.0",
"@abp/ng.theme.basic": "~3.0.0",
"@angular/animations": "~9.1.11",
"@angular/common": "~9.1.11",
"@angular/compiler": "~9.1.11",
@ -22,11 +28,6 @@
"@angular/platform-browser": "~9.1.11",
"@angular/platform-browser-dynamic": "~9.1.11",
"@angular/router": "~9.1.11",
"@abp/ng.account": "~3.0.0",
"@abp/ng.identity": "~3.0.0",
"@abp/ng.tenant-management": "~3.0.0",
"@abp/ng.setting-management": "~3.0.0",
"@abp/ng.theme.basic": "~3.0.0",
"rxjs": "~6.5.4",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
@ -36,9 +37,9 @@
"@angular-devkit/build-ng-packagr": "~0.901.9",
"@angular/cli": "~9.1.9",
"@angular/compiler-cli": "~9.1.11",
"@types/node": "^12.11.1",
"@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"codelyzer": "^5.1.2",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~4.2.1",
@ -49,6 +50,7 @@
"karma-jasmine-html-reporter": "^1.4.2",
"ng-packagr": "^9.0.0",
"protractor": "~7.0.0",
"symlink-manager": "^1.5.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~3.8.3"

@ -13,7 +13,7 @@ import { environment } from '../environments/environment';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { APP_ROUTE_PROVIDER } from './route.provider';
import { SharedModule } from './shared/shared.module';
import { ThemeBasicModule } from '@abp/ng.theme.basic';
@NgModule({
imports: [
@ -32,7 +32,7 @@ import { SharedModule } from './shared/shared.module';
TenantManagementConfigModule.forRoot(),
SettingManagementConfigModule.forRoot(),
NgxsModule.forRoot(),
SharedModule,
ThemeBasicModule.forRoot(),
],
providers: [APP_ROUTE_PROVIDER],
declarations: [AppComponent],

@ -1,5 +1,5 @@
{
"name": "my-project-name",
"name": "@my-company-name/my-project-name",
"version": "0.0.1",
"peerDependencies": {
"@angular/common": "^9.1.11",

Loading…
Cancel
Save