From 78e60127d3a5a7e26655cd91a5ddad390c1ba006 Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Wed, 10 Jun 2020 17:19:53 +0300 Subject: [PATCH] build: fix some errors --- npm/ng-packs/packages/core/src/public-api.ts | 3 +- npm/ng-packs/scripts/build.ts | 3 + npm/ng-packs/symlink.config.json | 96 -------------------- npm/ng-packs/yarn.lock | 8 +- 4 files changed, 9 insertions(+), 101 deletions(-) delete mode 100644 npm/ng-packs/symlink.config.json diff --git a/npm/ng-packs/packages/core/src/public-api.ts b/npm/ng-packs/packages/core/src/public-api.ts index 56d4098d85..b21dbaf3be 100644 --- a/npm/ng-packs/packages/core/src/public-api.ts +++ b/npm/ng-packs/packages/core/src/public-api.ts @@ -7,7 +7,8 @@ export * from './lib/abstracts'; export * from './lib/actions'; export * from './lib/components'; export * from './lib/constants'; -export { CoreModule } from './lib/core.module'; +export * from './lib/core.module'; +export * from './lib/localization.module'; export * from './lib/directives'; export * from './lib/enums'; export * from './lib/guards'; diff --git a/npm/ng-packs/scripts/build.ts b/npm/ng-packs/scripts/build.ts index 63b2cb593d..5e72245bd6 100644 --- a/npm/ng-packs/scripts/build.ts +++ b/npm/ng-packs/scripts/build.ts @@ -17,6 +17,7 @@ import program from 'commander'; 'symlink', 'copy', '--angular', + '--prod', '--no-watch', '--sync', '--packages', @@ -31,6 +32,7 @@ import program from 'commander'; 'symlink', 'copy', '--angular', + '--prod', '--no-watch', '--all-packages', '--excluded-packages', @@ -45,6 +47,7 @@ import program from 'commander'; 'symlink', 'copy', '--angular', + '--prod', '--no-watch', '--packages', '@abp/ng.feature-management,@abp/ng.permission-management,@abp/ng.account.config,@abp/ng.identity.config,@abp/ng.setting-management.config,@abp/ng.tenant-management.config', diff --git a/npm/ng-packs/symlink.config.json b/npm/ng-packs/symlink.config.json deleted file mode 100644 index 27569184b4..0000000000 --- a/npm/ng-packs/symlink.config.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "yarn": true, - "packages": [ - { - "libraryFolderPath": "packages/core", - "linkFolderPath": "dist/core", - "buildCommand": "yarn ng build core --prod", - "buildCommandRunPath": "./", - "exclude": ["node_modules", "dist"] - }, - { - "libraryFolderPath": "packages/theme-shared", - "linkFolderPath": "dist/theme-shared", - "buildCommand": "yarn ng build theme-shared --prod", - "buildCommandRunPath": "./", - "exclude": ["node_modules", "dist"] - }, - { - "libraryFolderPath": "packages/theme-basic", - "linkFolderPath": "dist/theme-basic", - "buildCommand": "yarn ng build theme-basic --prod", - "buildCommandRunPath": "./", - "exclude": ["node_modules", "dist"] - }, - { - "libraryFolderPath": "packages/account", - "linkFolderPath": "dist/account", - "buildCommand": "yarn ng build account --prod", - "buildCommandRunPath": "./", - "exclude": ["node_modules", "dist"] - }, - { - "libraryFolderPath": "packages/permission-management", - "linkFolderPath": "dist/permission-management", - "buildCommand": "yarn ng build permission-management --prod", - "buildCommandRunPath": "./", - "exclude": ["node_modules", "dist"] - }, - { - "libraryFolderPath": "packages/identity", - "linkFolderPath": "dist/identity", - "buildCommand": "yarn ng build identity --prod", - "buildCommandRunPath": "./", - "exclude": ["node_modules", "dist"] - }, - { - "libraryFolderPath": "packages/feature-management", - "linkFolderPath": "dist/feature-management", - "buildCommand": "yarn ng build feature-management --prod", - "buildCommandRunPath": "./", - "exclude": ["node_modules", "dist"] - }, - { - "libraryFolderPath": "packages/tenant-management", - "linkFolderPath": "dist/tenant-management", - "buildCommand": "yarn ng build tenant-management --prod", - "buildCommandRunPath": "./", - "exclude": ["node_modules", "dist"] - }, - { - "libraryFolderPath": "packages/setting-management", - "linkFolderPath": "dist/setting-management", - "buildCommand": "yarn ng build setting-management --prod", - "buildCommandRunPath": "./", - "exclude": ["node_modules", "dist"] - }, - { - "libraryFolderPath": "packages/setting-management-config", - "linkFolderPath": "dist/setting-management-config", - "buildCommand": "yarn ng build setting-management-config --prod", - "buildCommandRunPath": "./", - "exclude": ["node_modules", "dist"] - }, - { - "libraryFolderPath": "packages/identity-config", - "linkFolderPath": "dist/identity-config", - "buildCommand": "yarn ng build identity-config --prod", - "buildCommandRunPath": "./", - "exclude": ["node_modules", "dist"] - }, - { - "libraryFolderPath": "packages/account-config", - "linkFolderPath": "dist/account-config", - "buildCommand": "yarn ng build account-config --prod", - "buildCommandRunPath": "./", - "exclude": ["node_modules", "dist"] - }, - { - "libraryFolderPath": "packages/tenant-management-config", - "linkFolderPath": "dist/tenant-management-config", - "buildCommand": "yarn ng build tenant-management-config --prod", - "buildCommandRunPath": "./", - "exclude": ["node_modules", "dist"] - } - ] -} diff --git a/npm/ng-packs/yarn.lock b/npm/ng-packs/yarn.lock index 270a26f3a6..afa58bc631 100644 --- a/npm/ng-packs/yarn.lock +++ b/npm/ng-packs/yarn.lock @@ -12528,10 +12528,10 @@ symbol-tree@^3.2.2: resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== -symlink-manager@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/symlink-manager/-/symlink-manager-1.4.3.tgz#c6ada630dd655eecdb7fb10805f54357d8d3dfbd" - integrity sha512-faiwvs0KkNKNdEEUtIXEHDZV/7fULToYONwOKrzVZ0Z4p5ajm7zSGhnKTJgm8WgOcUzhwImJ4Sxo2GOs5k/wSA== +symlink-manager@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/symlink-manager/-/symlink-manager-1.5.0.tgz#106576eecfb611b6c320d3f643d714583248b33f" + integrity sha512-+5n/FYEhoxsLhMqxjTn74676xox3Nkvw71lMgk0jjeTwHnqiqTjp16IPONy6Rld25dCtrTgcDJ7lYkx+b1Diog== dependencies: arg "^4.1.0" chokidar "^3.0.2"