mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4859] Make sure the ng build insight works (#5141)
* Make sure the ng build insight works * Fix styles
This commit is contained in:
committed by
Denys Vuika
parent
93419ffa7b
commit
6860ab73ab
@@ -734,7 +734,7 @@
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-ng-packagr:build",
|
||||
"options": {
|
||||
"tsConfig": "lib/extensions/tsconfig.lib.json",
|
||||
"tsConfig": "lib/insights/tsconfig.lib.json",
|
||||
"project": "lib/insights/ng-package.json"
|
||||
},
|
||||
"configurations": {
|
||||
@@ -746,8 +746,8 @@
|
||||
"test": {
|
||||
"builder": "@angular-devkit/build-angular:karma",
|
||||
"options": {
|
||||
"main": "lib/insights/test.ts",
|
||||
"tsConfig": "lib/extensions/tsconfig.spec.json",
|
||||
"main": "lib/insights/src/test.ts",
|
||||
"tsConfig": "lib/insights/tsconfig.spec.json",
|
||||
"karmaConfig": "lib/insights/karma.conf.js",
|
||||
"codeCoverage": true,
|
||||
"sourceMap": true
|
||||
@@ -758,7 +758,7 @@
|
||||
"options": {
|
||||
"tsConfig": [
|
||||
"lib/insights/tsconfig.lib.json",
|
||||
"lib/insights/tsconfig.lib.json"
|
||||
"lib/insights/tsconfig.spec.json"
|
||||
],
|
||||
"exclude": [
|
||||
"**/node_modules/**"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
var Bundler = require('scss-bundle').Bundler;
|
||||
var writeFileSync = require('fs-extra').writeFileSync;
|
||||
|
||||
new Bundler().Bundle('./lib/insights/styles/_index.scss', '**/*.scss').then(result => {
|
||||
new Bundler().Bundle('./lib/insights/src/lib/styles/_index.scss', '**/*.scss').then(result => {
|
||||
writeFileSync('./lib/dist/insights/_theming.scss', result.bundledContent);
|
||||
});
|
||||
|
@@ -6,7 +6,7 @@ var mkdirpSync = require('fs-extra').mkdirpSync;
|
||||
writeFileSync('./lib/dist/core/_theming.scss', result.bundledContent);
|
||||
});
|
||||
|
||||
new Bundler().Bundle('./lib/insights/styles/_index.scss', '**/*.scss').then(result => {
|
||||
new Bundler().Bundle('./lib/insights/src/lib/styles/_index.scss', '**/*.scss').then(result => {
|
||||
writeFileSync('./lib/dist/insights/_theming.scss', result.bundledContent);
|
||||
});
|
||||
|
||||
|
@@ -1,18 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2019 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from './public-api';
|
@@ -15,7 +15,4 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from './analytics-process/index';
|
||||
export * from './diagram/index';
|
||||
|
||||
export * from './insights.module';
|
||||
export * from './src/public-api';
|
||||
|
@@ -1,18 +0,0 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2019 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from './public-api';
|
@@ -1,12 +1,9 @@
|
||||
{
|
||||
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
|
||||
"workingDirectory" : "./ng_work",
|
||||
"src": "../insights/",
|
||||
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
|
||||
"dest": "../dist/insights/",
|
||||
"lib": {
|
||||
"languageLevel": [ "dom", "es2016" ],
|
||||
"comments" : "none",
|
||||
"entryFile": "./public-api.ts",
|
||||
"languageLevel": [ "dom", "es2017" ],
|
||||
"entryFile": "src/public-api.ts",
|
||||
"flatModuleFile": "adf-insights",
|
||||
"umdModuleIds": {
|
||||
"@alfresco/js-api": "@alfresco/js-api",
|
||||
|
@@ -28,7 +28,6 @@
|
||||
"@alfresco/js-api": "3.5.0",
|
||||
"rxjs": ">=6.2.2",
|
||||
"@alfresco/adf-core": "3.5.0",
|
||||
"@alfresco/adf-content-services": "3.5.0",
|
||||
"@ngx-translate/core": ">=11.0.0",
|
||||
"chart.js": ">=2.5.0",
|
||||
"core-js": ">=2.5.4",
|
||||
|
@@ -47,7 +47,7 @@ import { FlexLayoutModule } from '@angular/flex-layout';
|
||||
DiagramsModule,
|
||||
MaterialModule,
|
||||
FlexLayoutModule,
|
||||
CoreModule.forChild()
|
||||
CoreModule
|
||||
],
|
||||
declarations: [
|
||||
AnalyticsComponent,
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user