Browse Source

build: fix some errors

pull/2883/head
mehmet-erim 6 years ago
parent
commit
78e60127d3
  1. 3
      npm/ng-packs/packages/core/src/public-api.ts
  2. 3
      npm/ng-packs/scripts/build.ts
  3. 96
      npm/ng-packs/symlink.config.json
  4. 8
      npm/ng-packs/yarn.lock

3
npm/ng-packs/packages/core/src/public-api.ts

@ -7,7 +7,8 @@ export * from './lib/abstracts';
export * from './lib/actions'; export * from './lib/actions';
export * from './lib/components'; export * from './lib/components';
export * from './lib/constants'; 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/directives';
export * from './lib/enums'; export * from './lib/enums';
export * from './lib/guards'; export * from './lib/guards';

3
npm/ng-packs/scripts/build.ts

@ -17,6 +17,7 @@ import program from 'commander';
'symlink', 'symlink',
'copy', 'copy',
'--angular', '--angular',
'--prod',
'--no-watch', '--no-watch',
'--sync', '--sync',
'--packages', '--packages',
@ -31,6 +32,7 @@ import program from 'commander';
'symlink', 'symlink',
'copy', 'copy',
'--angular', '--angular',
'--prod',
'--no-watch', '--no-watch',
'--all-packages', '--all-packages',
'--excluded-packages', '--excluded-packages',
@ -45,6 +47,7 @@ import program from 'commander';
'symlink', 'symlink',
'copy', 'copy',
'--angular', '--angular',
'--prod',
'--no-watch', '--no-watch',
'--packages', '--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', '@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',

96
npm/ng-packs/symlink.config.json

@ -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"]
}
]
}

8
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" resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2"
integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==
symlink-manager@^1.4.3: symlink-manager@^1.5.0:
version "1.4.3" version "1.5.0"
resolved "https://registry.yarnpkg.com/symlink-manager/-/symlink-manager-1.4.3.tgz#c6ada630dd655eecdb7fb10805f54357d8d3dfbd" resolved "https://registry.yarnpkg.com/symlink-manager/-/symlink-manager-1.5.0.tgz#106576eecfb611b6c320d3f643d714583248b33f"
integrity sha512-faiwvs0KkNKNdEEUtIXEHDZV/7fULToYONwOKrzVZ0Z4p5ajm7zSGhnKTJgm8WgOcUzhwImJ4Sxo2GOs5k/wSA== integrity sha512-+5n/FYEhoxsLhMqxjTn74676xox3Nkvw71lMgk0jjeTwHnqiqTjp16IPONy6Rld25dCtrTgcDJ7lYkx+b1Diog==
dependencies: dependencies:
arg "^4.1.0" arg "^4.1.0"
chokidar "^3.0.2" chokidar "^3.0.2"

Loading…
Cancel
Save