* feat: conditionally install and build the 'login' and 'backoffice' targets depending on source files * feat: remove the preconditions target, because we are now compiling a file list to check if we need to build * feat: remove the 'clean' targets, because the project will be cleaned if any of the compiled file lists do not exist * feat: remove the preserve.* files as they are no longer needed * Enable default content items again * Remove package.json from restore target inputs * Include generated files as static assets after build * Clean up project files * Exclude CS0618 warning as error and fix CA2264 * Exclude CS0612 warning as error * Suppress removal of test fixture * Use separate property/item groups for backoffice and login project --------- Co-authored-by: Ronald Barendse <ronald@barend.se>
112 lines
2.6 KiB
Plaintext
112 lines
2.6 KiB
Plaintext
#
|
|
# Umbraco CMS .gitignore
|
|
#
|
|
|
|
# Common files
|
|
*.obj
|
|
*.pdb
|
|
*.user
|
|
*.aps
|
|
*.pch
|
|
*.vspscc
|
|
*.orig
|
|
*.suo
|
|
*.vs10x
|
|
*.ndproj
|
|
*.ignorer.*
|
|
|
|
# Common directories
|
|
.DS_Store
|
|
._.DS_Store
|
|
.vs/
|
|
.idea/
|
|
|
|
# Build directories
|
|
[Bb]in/
|
|
[Oo]bj/
|
|
[Db]ebug/
|
|
[Rr]elease/
|
|
|
|
# Tools
|
|
_ReSharper*/
|
|
_NCrunch_*/
|
|
*.ncrunchsolution
|
|
*.ncrunchsolution.user
|
|
*.ncrunchproject
|
|
*.crunchsolution.cache
|
|
tools/NDepend/
|
|
[Tt]est[Rr]esult*
|
|
[Bb]uild[Ll]og.*
|
|
[Ss]ource
|
|
[Ss]andbox
|
|
node_modules
|
|
lib-bower
|
|
*.psess
|
|
*.vspx
|
|
NDependOut/
|
|
QueryResult.htm
|
|
tools/docfx/
|
|
|
|
# csharp-docs
|
|
/build/csharp-docs/api/
|
|
/build/csharp-docs/_site/
|
|
|
|
# Build
|
|
/build.out/
|
|
/build.tmp/
|
|
/build/hooks/
|
|
/build/temp/
|
|
|
|
# Build output
|
|
/build/docs.zip
|
|
/build/ui-docs.zip
|
|
/build/csharp-docs.zip
|
|
/src/Umbraco.Cms.StaticAssets/wwwroot/umbraco/auth
|
|
/src/Umbraco.Cms.StaticAssets/wwwroot/umbraco/backoffice
|
|
/src/Umbraco.Cms.StaticAssets/wwwroot/umbraco/assets
|
|
/src/Umbraco.Cms.StaticAssets/wwwroot/umbraco/js
|
|
/src/Umbraco.Cms.StaticAssets/wwwroot/umbraco/lib
|
|
/src/Umbraco.Cms.StaticAssets/wwwroot/umbraco/views
|
|
/src/Umbraco.Cms.StaticAssets/wwwroot/umbraco/login
|
|
|
|
# Environment specific data
|
|
/src/Umbraco.Web.UI/wwwroot/[Mm]edia/
|
|
/src/Umbraco.Web.UI/App_Code/
|
|
/src/Umbraco.Web.UI/App_Plugins/
|
|
/src/Umbraco.Web.UI/[Uu]mbraco/[Dd]ata/
|
|
/src/Umbraco.Web.UI/[Uu]mbraco/[Ll]ogs/
|
|
/src/Umbraco.Web.UI/[Uu]mbraco/[Mm]odels/
|
|
/src/Umbraco.Web.UI/Views/
|
|
!/src/Umbraco.Web.UI/Views/Partials/blocklist/
|
|
!/src/Umbraco.Web.UI/Views/Partials/grid/
|
|
!/src/Umbraco.Web.UI/Views/_ViewImports.cshtml
|
|
/src/Umbraco.Web.UI/appsettings.json
|
|
/src/Umbraco.Web.UI/appsettings.Development.json
|
|
/src/Umbraco.Web.UI/appsettings.Local.json
|
|
|
|
# Tests
|
|
/tests/Umbraco.Tests.AcceptanceTest/.env
|
|
/tests/Umbraco.Tests.AcceptanceTest/playwright/.auth
|
|
/tests/Umbraco.Tests.Integration.SqlCe/DatabaseContextTests.sdf
|
|
/tests/Umbraco.Tests.Integration.SqlCe/[Uu]mbraco/[Dd]ata/TEMP/
|
|
/tests/Umbraco.Tests.Integration/appsettings.Tests.Local.json
|
|
/tests/Umbraco.Tests.Integration/TEMP/
|
|
/tests/Umbraco.Tests.Integration/[Uu]mbraco/[Dd]ata/
|
|
/tests/Umbraco.Tests.Integration/[Uu]mbraco/[Ll]ogs/
|
|
/tests/Umbraco.Tests.Integration/Views/
|
|
/tests/Umbraco.Tests.UnitTests/[Uu]mbraco/[Dd]ata/TEMP/
|
|
|
|
# Ignore auto-generated schema
|
|
/src/Umbraco.Cms.Targets/tasks/
|
|
/src/Umbraco.Cms.Targets/appsettings-schema.*.json
|
|
/src/Umbraco.Cms.Targets/umbraco-package-schema.json
|
|
/src/Umbraco.Web.UI/appsettings-schema.json
|
|
/src/Umbraco.Web.UI/appsettings-schema.*.json
|
|
/src/Umbraco.Web.UI/umbraco-package-schema.json
|
|
/tests/Umbraco.Tests.Integration/appsettings-schema.json
|
|
/tests/Umbraco.Tests.Integration/appsettings-schema.*.json
|
|
/tests/Umbraco.Tests.Integration/umbraco-package-schema.json
|
|
/src/Umbraco.Cms/appsettings-schema.json
|
|
playwright-report
|
|
trace.zip
|