Skip to content

Commit 8a316fb

Browse files
authored
Merge pull request #7097 from umbraco/tsc-setup
Updated extension-types location
2 parents 4cc573e + a151450 commit 8a316fb

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

15/umbraco-cms/customizing/development-flow/typescript-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
Make sure to configure your TypeScript compiler so it includes the Global Types from the Backoffice. This enables you to utilize the declared Extension Types. If your project is using other Packages that provides their Extension Types then please list these as well.
44

5-
In your `tsconfig.json` file. Add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/extension-types`:
5+
In your `tsconfig.json` file. Add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/dist-cms/packages/extension-types`:
66

77
```json
88
{
99
"compilerOptions": {
1010
...
1111
"types": [
12-
"@umbraco-cms/backoffice/extension-types"
12+
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
1313
]
1414
}
1515
}

15/umbraco-cms/customizing/development-flow/vite-package-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ npm install --legacy-peer-deps -D @umbraco-cms/backoffice
8282
This disables IntelliSense for external references but keeps the install lean.
8383

8484
7. Open the `tsconfig.json` file.
85-
8. Add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/extension-types`:
85+
8. Add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/dist-cms/packages/extension-types`:
8686

8787
```json
8888
{
8989
"compilerOptions": {
9090
...
9191
"types": [
92-
"@umbraco-cms/backoffice/extension-types"
92+
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
9393
]
9494
}
9595
}

15/umbraco-cms/customizing/extending-overview/extension-types/bundle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ export const manifests: Array<UmbExtensionManifest> = [
5151
{% endcode %}
5252

5353
{% hint style="info" %}
54-
Ensure you have set up your `tsconfig.json` to include the extension-types as global types. Like this:
54+
Ensure you have set up your `tsconfig.json` to include the `extension-types` as global types. Like this:
5555

5656
```json
5757
{
5858
"compilerOptions": {
5959
...
6060
"types": [
61-
"@umbraco-cms/backoffice/extension-types"
61+
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
6262
]
6363
}
6464
}

16/umbraco-cms/customizing/development-flow/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ This will add a package to your devDependencies containing the TypeScript defini
8282

8383
Make sure to configure your TypeScript compiler so it includes the Global Types from the Backoffice. This enables you to utilize the declared Extension Types. If your project is using other Packages that provide their Extension Types, list these as well.
8484

85-
In your `tsconfig.json` file, add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/extension-types`:
85+
In your `tsconfig.json` file, add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/dist-cms/packages/extension-types`:
8686

8787
```json
8888
{
8989
"compilerOptions": {
9090
...
9191
"types": [
92-
"@umbraco-cms/backoffice/extension-types"
92+
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
9393
]
9494
}
9595
}

16/umbraco-cms/customizing/development-flow/vite-package-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ npm install --legacy-peer-deps -D @umbraco-cms/backoffice@x.x.x
7474
This disables IntelliSense for external references but keeps the install lean.
7575

7676
7. Open the `tsconfig.json` file.
77-
8. Add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/extension-types`:
77+
8. Add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/dist-cms/packages/extension-types`:
7878

7979
```json
8080
{
8181
"compilerOptions": {
8282
...
8383
"types": [
84-
"@umbraco-cms/backoffice/extension-types"
84+
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
8585
]
8686
}
8787
}

16/umbraco-cms/customizing/extending-overview/extension-types/bundle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ export const manifests: Array<UmbExtensionManifest> = [
5151
{% endcode %}
5252

5353
{% hint style="info" %}
54-
Ensure you have set up your `tsconfig.json` to include the extension-types as global types. Like this:
54+
Ensure you have set up your `tsconfig.json` to include the `extension-types` as global types. Like this:
5555

5656
```json
5757
{
5858
"compilerOptions": {
5959
...
6060
"types": [
61-
"@umbraco-cms/backoffice/extension-types"
61+
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
6262
]
6363
}
6464
}

0 commit comments

Comments
 (0)