V14: umbraco-package.json schema (#14319)

* copy umbraco-package-schema.json over from the New.Client build

* when a project referencing Cms.Targets is  building, we want to copy out the umbraco-package-schema.json file to the project directory if it does not exist

* ignore built output files

* fix typo

* add PackageReference to Umbraco.Cms.Targets to ensure dependent json schema files are copied over

* add to gitignore

* add target to remove the _UmbracoCmsPackageSchemaReference on clean

* Revert "add PackageReference to Umbraco.Cms.Targets to ensure dependent json schema files are copied over"

This reverts commit 339043a36fd0074624c3060ff0113283a9eb6376.

* generate umbraco-package-schema.json on demand in Cms.Targets

* add generated file to .gitignore
This commit is contained in:
Jacob Overgaard
2023-05-31 19:12:00 +02:00
committed by GitHub
parent cdd3adfd3c
commit 33cb74dff1
6 changed files with 25 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Title>Umbraco CMS - Templates</Title>
<Description>Coontains templates for Umbraco CMS.</Description>
<Description>Contains templates for Umbraco CMS.</Description>
<PackageType>Template</PackageType>
<IncludeBuildOutput>false</IncludeBuildOutput>
<IncludeSymbols>false</IncludeSymbols>

View File

@@ -463,6 +463,9 @@ $RECYCLE.BIN/
appsettings-schema.json
appsettings-schema.*.json
# JSON schema file for umbraco-package.json
umbraco-package-schema.json
# Packages created from the backoffice (package.xml/package.zip)
/umbraco/Data/CreatedPackages/