mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix prefix adf- import (#2657)
* fix prefix adf- import * missing conf file prefix replacement * fix demo shell start
This commit is contained in:
19
lib/core/.npmignore
Normal file
19
lib/core/.npmignore
Normal file
@@ -0,0 +1,19 @@
|
||||
npm-debug.log
|
||||
.idea
|
||||
.npmrc
|
||||
|
||||
coverage/
|
||||
demo/
|
||||
dist/
|
||||
node_modules
|
||||
typings/
|
||||
fonts/
|
||||
|
||||
/.editorconfig
|
||||
/.travis.yml
|
||||
/*.json
|
||||
/karma-test-shim.js
|
||||
/karma.conf.js
|
||||
/gulpfile.ts
|
||||
/.npmignore
|
||||
/.happypack
|
@@ -85,8 +85,8 @@ export function createTranslateLoader(http: HttpClient, logService: LogService)
|
||||
provide: TRANSLATION_PROVIDER,
|
||||
multi: true,
|
||||
useValue: {
|
||||
name: '@adf/core',
|
||||
source: 'assets/@adf/core'
|
||||
name: '@alfresco/core',
|
||||
source: '@alfresco/core'
|
||||
}
|
||||
}
|
||||
],
|
||||
|
@@ -32,8 +32,8 @@ const PipeModule = require('./pipes/pipe.module').PipeModule;
|
||||
const AppConfigModule = require('./app-config/app-config.module').AppConfigModule;
|
||||
const LogService = require('./services/log.service').LogService;
|
||||
const TranslateLoaderService = require('./services/translate-loader.service').TranslateLoaderService;
|
||||
const AppConfigService = require('@alfresco/core').AppConfigService;
|
||||
const AppConfigServiceMock = require('@alfresco/core').AppConfigServiceMock;
|
||||
const AppConfigService = require('@alfresco/adf-core').AppConfigService;
|
||||
const AppConfigServiceMock = require('@alfresco/adf-core').AppConfigServiceMock;
|
||||
|
||||
TestBed.initTestEnvironment(browser.BrowserDynamicTestingModule, browser.platformBrowserDynamicTesting());
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
"description": "Alfresco ADF core",
|
||||
"version": "2.0.0",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"main": "bundles/adf-process-services.js",
|
||||
"main": "bundles/adf-core.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Alfresco/alfresco-ng2-components.git"
|
||||
@@ -26,7 +26,7 @@
|
||||
"@angular/platform-browser-dynamic": "5.0.0",
|
||||
"@angular/router": "5.0.0",
|
||||
"@ngx-translate/core": "8.0.0",
|
||||
"alfresco-js-api": "^2.0.0-de41fd8ca9c1c6f6072d2e06415eef0a71330dc0",
|
||||
"alfresco-js-api": "2.0.0-de41fd8ca9c1c6f6072d2e06415eef0a71330dc0",
|
||||
"chart.js": "2.5.0",
|
||||
"core-js": "2.4.1",
|
||||
"hammerjs": "2.0.8",
|
||||
|
@@ -59,7 +59,7 @@ describe('TranslateLoader', () => {
|
||||
provide: TRANSLATION_PROVIDER,
|
||||
multi: true,
|
||||
useValue: {
|
||||
name: '@alfresco/core',
|
||||
name: '@alfresco/adf-core',
|
||||
source: 'assets/ng2-alfresco-core'
|
||||
}
|
||||
}
|
||||
|
@@ -56,7 +56,7 @@ describe('TranslationService', () => {
|
||||
provide: TRANSLATION_PROVIDER,
|
||||
multi: true,
|
||||
useValue: {
|
||||
name: '@alfresco/core',
|
||||
name: '@alfresco/adf-core',
|
||||
source: 'assets/ng2-alfresco-core'
|
||||
}
|
||||
}
|
||||
|
@@ -19,9 +19,9 @@
|
||||
"outDir": "./dist",
|
||||
"baseUrl" : "./",
|
||||
"paths": {
|
||||
"@alfresco/process-services": ["../process-services"],
|
||||
"@alfresco/content-services": ["../content-services"],
|
||||
"@alfresco/core": ["../core"],
|
||||
"@alfresco/adf-process-services": ["../process-services"],
|
||||
"@alfresco/adf-content-services": ["../content-services"],
|
||||
"@alfresco/adf-core": ["../core"],
|
||||
"@angular/*": ["../node_modules/@angular/*"]
|
||||
},
|
||||
"lib": [
|
||||
|
Reference in New Issue
Block a user