From fb2a71671923e7e6c8607bc96442a971db131e04 Mon Sep 17 00:00:00 2001 From: Esha Noronha Date: Tue, 17 Jun 2025 11:52:19 +0200 Subject: [PATCH] Updated Typescript setup --- 14/umbraco-cms/customizing/development-flow/README.md | 8 ++++++-- 15/umbraco-cms/customizing/development-flow/README.md | 8 ++++++-- 16/umbraco-cms/customizing/development-flow/README.md | 8 ++++++-- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/14/umbraco-cms/customizing/development-flow/README.md b/14/umbraco-cms/customizing/development-flow/README.md index 328d9571a92..a01e3718731 100644 --- a/14/umbraco-cms/customizing/development-flow/README.md +++ b/14/umbraco-cms/customizing/development-flow/README.md @@ -19,7 +19,7 @@ Use Node Version Manager (NVM) for [Windows](https://github.com/coreybutler/nvm- ## Package Setup -### App\_Plugins +### App_Plugins Extensions such as JavaScript, CSS, and manifests, will go into a folder called `App_Plugins`. If you do not have this folder, you can create it at the root of your Umbraco project. @@ -69,10 +69,14 @@ Make sure that you do not install any NPM dependencies directly into the `App_Pl Umbraco publishes an NPM package called `@umbraco-cms/backoffice` that holds typings and other niceties to build extensions. +{% hint style="warning" %} +Ensure that you install the version of the Backoffice package compatible with your Umbraco installation. You can find the appropriate version on the [@umbraco-cms/backoffice npm page](https://www.npmjs.com/package/@umbraco-cms/backoffice). +{% endhint %} + You can install this package by running the command: ```bash -npm install -D @umbraco-cms/backoffice +npm install -D @umbraco-cms/backoffice@x.x.x ``` This will add a package to your devDependencies containing the TypeScript definitions for the Umbraco Backoffice. diff --git a/15/umbraco-cms/customizing/development-flow/README.md b/15/umbraco-cms/customizing/development-flow/README.md index 4a3df0dc1fe..ede385225a8 100644 --- a/15/umbraco-cms/customizing/development-flow/README.md +++ b/15/umbraco-cms/customizing/development-flow/README.md @@ -17,7 +17,7 @@ Use Node Version Manager (NVM) for [Windows](https://github.com/coreybutler/nvm- ## Package Setup -### App\_Plugins +### App_Plugins Extensions such as JavaScript, CSS, and manifests, will go into a folder called `App_Plugins`. If you do not have this folder, you can create it at the root of your Umbraco project. @@ -67,10 +67,14 @@ Make sure that you do not install any NPM dependencies directly into the `App_Pl Umbraco publishes an NPM package called `@umbraco-cms/backoffice` that holds typings and other niceties to build extensions. +{% hint style="warning" %} +Ensure that you install the version of the Backoffice package compatible with your Umbraco installation. You can find the appropriate version on the [@umbraco-cms/backoffice npm page](https://www.npmjs.com/package/@umbraco-cms/backoffice). +{% endhint %} + You can install this package by running the command: ```bash -npm install -D @umbraco-cms/backoffice +npm install -D @umbraco-cms/backoffice@x.x.x ``` This will add a package to your devDependencies containing the TypeScript definitions for the Umbraco Backoffice. diff --git a/16/umbraco-cms/customizing/development-flow/README.md b/16/umbraco-cms/customizing/development-flow/README.md index 216d6a0989d..0f7dc398361 100644 --- a/16/umbraco-cms/customizing/development-flow/README.md +++ b/16/umbraco-cms/customizing/development-flow/README.md @@ -17,7 +17,7 @@ Use Node Version Manager (NVM) for [Windows](https://github.com/coreybutler/nvm- ## Package Setup -### App\_Plugins +### App_Plugins Extensions such as JavaScript, CSS, and manifests, will go into a folder called `App_Plugins`. If you do not have this folder, you can create it at the root of your Umbraco project. @@ -70,10 +70,14 @@ Make sure that you do not install any NPM dependencies directly into the `App_Pl Umbraco publishes an NPM package called `@umbraco-cms/backoffice` that holds typings and other niceties to build extensions. +{% hint style="warning" %} +Ensure that you install the version of the Backoffice package compatible with your Umbraco installation. You can find the appropriate version on the [@umbraco-cms/backoffice npm page](https://www.npmjs.com/package/@umbraco-cms/backoffice). +{% endhint %} + You can install this package by running the command: ```bash -npm install -D @umbraco-cms/backoffice +npm install -D @umbraco-cms/backoffice@x.x.x ``` This will add a package to your devDependencies containing the TypeScript definitions for the Umbraco Backoffice.