Files
Umbraco-CMS/src/Umbraco.Web.UI.Client/tsconfig.json
Jacob Overgaard 796533ff11 Refactor libs into @umbraco-cms/backoffice/* (#608)
* merge libs rollup configs to one rollup

* move css from libs to src/core

* run rollup on cms build

* move test-utils to /utils folder

* move css to src/core

* mark @umbraco-cms/backoffice as external when building for CMS

* rename all models to include @umbraco-cms/backoffice in their path to allow us to publish as a single module

* rename all imports to @umbraco-cms/backoffice/*

* rename events to umb-events to avoid rollup error of protected module name(?)

* test that libs can build

* move css to src/core

* move umb-lit-element and modal elements to src/core

* move some modal interfaces back to libs/modal

* move the icon store into src/core since it is very localized to the backoffice

* comment out build:libs for now since Github runs out of memory

* rename to match tsconfig alias

* add package.json to libs

* only make libs for lib folders

* turn off emit for typescript since we are handling types for libs separately

* build libs locally

* add script to move libs to final destination with some transform

* move libs after build

* move package.json to dist folder first (so we can publish from there)

* remove inline comments

* ensure the outputDir exists

* Remove re-export of extensions-registry library from models library

* move to individual files to avoid circular imports

* check if outputDir exists before trying to create it

* write transforms first in dist file and then copy the file to outputDir

* ensure all umbraco types are external

* copy information from main package.json file
2023-03-21 11:41:06 +01:00

54 lines
2.1 KiB
JSON

{
"compilerOptions": {
"module": "esnext",
"target": "esnext",
"lib": ["es2020", "dom", "dom.iterable"],
"noEmit": true,
"outDir": "./types",
"strict": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"isolatedModules": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"useDefineForClassFields": false,
"skipLibCheck": true,
"resolveJsonModule": true,
"baseUrl": ".",
"paths": {
"@umbraco-cms/backoffice/backend-api": ["libs/backend-api"],
"@umbraco-cms/backoffice/context-api": ["libs/context-api"],
"@umbraco-cms/backoffice/controller": ["libs/controller"],
"@umbraco-cms/backoffice/css": ["libs/css/custom-properties.css"],
"@umbraco-cms/backoffice/element": ["libs/element"],
"@umbraco-cms/backoffice/element.js": ["libs/element"],
"@umbraco-cms/backoffice/entity-action": ["libs/entity-action"],
"@umbraco-cms/backoffice/events": ["libs/umb-events"],
"@umbraco-cms/backoffice/extensions-api": ["libs/extensions-api"],
"@umbraco-cms/backoffice/extensions-registry": ["libs/extensions-registry"],
"@umbraco-cms/backoffice/modal": ["libs/modal"],
"@umbraco-cms/backoffice/models": ["libs/models"],
"@umbraco-cms/backoffice/notification": ["libs/notification"],
"@umbraco-cms/backoffice/observable-api": ["libs/observable-api"],
"@umbraco-cms/backoffice/property-editor": ["libs/property-editor"],
"@umbraco-cms/backoffice/repository": ["libs/repository"],
"@umbraco-cms/backoffice/resources": ["libs/resources"],
"@umbraco-cms/backoffice/store": ["libs/store"],
"@umbraco-cms/backoffice/utils": ["libs/utils"],
"@umbraco-cms/backoffice/workspace": ["libs/workspace"],
"@umbraco-cms/internal/lit-element": ["src/core/lit-element"],
"@umbraco-cms/internal/modal": ["src/core/modal"],
"@umbraco-cms/internal/router": ["src/core/router"],
"@umbraco-cms/internal/test-utils": ["utils/test-utils.ts"]
}
},
"include": ["src/**/*.ts", "apps/**/*.ts", "libs/**/*.ts", "e2e/**/*.ts"],
"references": [
{
"path": "./tsconfig.node.json"
}
]
}