parent
8555016eec
commit
3a8f74e392
|
@ -1 +1 @@
|
||||||
export * from './fake-hero.service';
|
export * from './test-hero.service';
|
||||||
|
|
|
@ -35,7 +35,12 @@ BOILERPLATE_PATHS.i18n = [...cliRelativePath, 'angular.json', 'package.json'];
|
||||||
|
|
||||||
BOILERPLATE_PATHS['service-worker'] = [...cliRelativePath, 'angular.json', 'package.json'];
|
BOILERPLATE_PATHS['service-worker'] = [...cliRelativePath, 'angular.json', 'package.json'];
|
||||||
|
|
||||||
BOILERPLATE_PATHS.testing = [...cliRelativePath, 'angular.json'];
|
BOILERPLATE_PATHS.testing = [
|
||||||
|
...cliRelativePath,
|
||||||
|
'angular.json',
|
||||||
|
'src/tsconfig.app.json',
|
||||||
|
'src/tsconfig.spec.json'
|
||||||
|
];
|
||||||
|
|
||||||
BOILERPLATE_PATHS.universal = [...cliRelativePath, 'angular.json', 'package.json'];
|
BOILERPLATE_PATHS.universal = [...cliRelativePath, 'angular.json', 'package.json'];
|
||||||
|
|
||||||
|
@ -93,7 +98,7 @@ class ExampleBoilerPlate {
|
||||||
|
|
||||||
// Copy the boilerplate common files
|
// Copy the boilerplate common files
|
||||||
const useCommonBoilerplate = exampleConfig.useCommonBoilerplate !== false;
|
const useCommonBoilerplate = exampleConfig.useCommonBoilerplate !== false;
|
||||||
|
|
||||||
if (useCommonBoilerplate) {
|
if (useCommonBoilerplate) {
|
||||||
BOILERPLATE_PATHS.common.forEach(filePath => this.copyFile(BOILERPLATE_COMMON_BASE_PATH, exampleFolder, filePath));
|
BOILERPLATE_PATHS.common.forEach(filePath => this.copyFile(BOILERPLATE_COMMON_BASE_PATH, exampleFolder, filePath));
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
"extends": "../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "../out-tsc/app",
|
||||||
|
"types": []
|
||||||
|
},
|
||||||
|
"exclude": [
|
||||||
|
"test.ts",
|
||||||
|
"**/*.spec.ts",
|
||||||
|
"**/*.avoid.ts",
|
||||||
|
"**/*.0.ts",
|
||||||
|
"**/*.1.ts",
|
||||||
|
"**/*.1b.ts",
|
||||||
|
"**/*.2.ts",
|
||||||
|
"**/*.3.ts",
|
||||||
|
"**/*.4.ts",
|
||||||
|
"**/*.5.ts",
|
||||||
|
"**/*.6.ts",
|
||||||
|
"**/*.7.ts",
|
||||||
|
"**/testing"
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"extends": "../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "../out-tsc/spec",
|
||||||
|
"types": [
|
||||||
|
"jasmine",
|
||||||
|
"node"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"test.ts",
|
||||||
|
"polyfills.ts"
|
||||||
|
],
|
||||||
|
"include": [
|
||||||
|
"**/*.spec.ts",
|
||||||
|
"**/*.d.ts",
|
||||||
|
"**/testing"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue