Removing js-api external dep as it has been moved into ADF repo (#9255)

* Removing js-api external dep

* Fixed targeting

* Fixed targeting with local js-api

* [affected:*] Fixed targeting with local js-api

* Fixed bundle for CI
This commit is contained in:
Vito Albano
2024-03-07 09:50:37 +00:00
committed by GitHub
parent be45e9d4dc
commit 5dc82f03b4
12 changed files with 49 additions and 28 deletions
+4 -1
View File
@@ -21,7 +21,10 @@
"baseUrl": ".",
"typeRoots": ["node_modules/@types"],
"types": ["node"],
"paths": {}
"paths": {
"@alfresco/js-api": ["../../dist/libs/js-api"],
"@alfresco/js-api/*": ["../../dist/libs/js-api/*"]
}
},
"exclude": ["dist/**/*", "./build.ts", "node_modules"]
}
+5 -1
View File
@@ -3,6 +3,10 @@
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"declaration": true,
"declarationMap": true
"declarationMap": true,
"paths": {
"@alfresco/js-api": ["../../../dist/libs/js-api"],
"@alfresco/js-api/*": ["../../../dist/libs/js-api/*"]
}
}
}
-8
View File
@@ -1,8 +0,0 @@
{
"ngPackage": {
"lib": {
"entryFile": "./resources.ts",
"flatModuleFile": "adf-testing-resources"
}
}
}
-3
View File
@@ -8,9 +8,6 @@
},
{
"path": "./tsconfig.lib.prod.json"
},
{
"path": "./tsconfig.spec.json"
}
],
"compilerOptions": {
+7 -2
View File
@@ -1,8 +1,13 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/bla",
"outDir": "../../dist/out-tsc",
"declaration": true,
"declarationMap": true
"declarationMap": true,
"resolveJsonModule": true,
"paths": {
"@alfresco/js-api": ["../../../dist/libs/js-api"],
"@alfresco/js-api/*": ["../../../dist/libs/js-api/*"]
}
}
}