build: tsconfig shared/

This commit is contained in:
eneller committed 2026-03-05 23:39:42 +01:00
1 parent 0dd4b6590d
commit 4f206d9ad9
5 files changed
+24 -3

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import { TestBed } from '@angular/core/testing';
import { DataService } from './data';
describe('Data', () => {
let service: DataService;
beforeEach(() => {
TestBed.configureTestingModule({});
service = TestBed.inject(DataService);
});
it('should be created', () => {
expect(service).toBeTruthy();
});
});
+6
View File
@@ -0,0 +1,6 @@
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root',
})
export class DataService {}
File renamed without changes.
+1 -2
View File
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc/shared",
"declaration": true,
@@ -8,4 +8,3 @@
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
+1 -1
View File
@@ -10,7 +10,7 @@
"module": "es2022",
"lib": ["es2022", "dom"],
"paths": {
"@shared/*": ["shared/*"]
"@shared/*": ["shared/src/*"]
}
},
"exclude": ["node_modules"]