mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-6370] switch js-api builds to original node.js (#9114)
* switch js-api builds to original node.js * [ci:force] cleanup ts configs * [ci:force] remove temp hotfix for js-api * remove dead code
This commit is contained in:
15
lib/js-api/tsconfig/tsconfig.base.json
Normal file
15
lib/js-api/tsconfig/tsconfig.base.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"noEmit": false,
|
||||
"mapRoot": ".",
|
||||
"paths": {
|
||||
"@alfresco/js-api": ["./"],
|
||||
"@alfresco/js-api/*": ["./*"]
|
||||
},
|
||||
"inlineSources": true
|
||||
},
|
||||
"files": [
|
||||
"../index.ts"
|
||||
]
|
||||
}
|
8
lib/js-api/tsconfig/tsconfig.cjs.json
Normal file
8
lib/js-api/tsconfig/tsconfig.cjs.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"extends": "./tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es2015",
|
||||
"outDir": "../../../dist/libs/js-api"
|
||||
}
|
||||
}
|
10
lib/js-api/tsconfig/tsconfig.esm2015.json
Normal file
10
lib/js-api/tsconfig/tsconfig.esm2015.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"extends": "./tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"module": "es2015",
|
||||
"importHelpers": true,
|
||||
"moduleResolution": "node",
|
||||
"target": "es2015",
|
||||
"outDir": "../../../dist/libs/js-api/esm2015"
|
||||
}
|
||||
}
|
10
lib/js-api/tsconfig/tsconfig.esm5.json
Normal file
10
lib/js-api/tsconfig/tsconfig.esm5.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"extends": "./tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"module": "es2015",
|
||||
"importHelpers": true,
|
||||
"moduleResolution": "node",
|
||||
"target": "ES2015",
|
||||
"outDir": "../../../dist/libs/js-api/esm5"
|
||||
}
|
||||
}
|
11
lib/js-api/tsconfig/tsconfig.types.json
Normal file
11
lib/js-api/tsconfig/tsconfig.types.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"extends": "./tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"module": "es2015",
|
||||
"target": "esnext",
|
||||
"removeComments": false,
|
||||
"declaration": true,
|
||||
"declarationDir": "../../../dist/libs/js-api/typings",
|
||||
"emitDeclarationOnly": true
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user