diff --git a/.gitignore b/.gitignore index 509117820d8d..459a7ab33774 100644 --- a/.gitignore +++ b/.gitignore @@ -103,6 +103,7 @@ tools/docfx/ /src/Umbraco.Web.UI/appsettings-schema.json /src/Umbraco.Web.UI/appsettings-schema.*.json /src/Umbraco.Web.UI/umbraco-package-schema.json +/src/Umbraco.Web.UI.Client/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 diff --git a/src/Umbraco.Web.UI.Client/.storybook/preview.js b/src/Umbraco.Web.UI.Client/.storybook/preview.js index 262cfe4e4471..85d5f8b223ee 100644 --- a/src/Umbraco.Web.UI.Client/.storybook/preview.js +++ b/src/Umbraco.Web.UI.Client/.storybook/preview.js @@ -19,7 +19,7 @@ import { umbExtensionsRegistry } from '../src/packages/core/extension-registry'; import { UmbIconRegistry } from '../src/packages/core/icon-registry/icon.registry'; import { UmbLitElement } from '../src/packages/core/lit-element'; import { umbLocalizationRegistry } from '../src/packages/core/localization'; -import customElementManifests from '../dist-cms/custom-elements.json'; +import customElementManifests from '../custom-elements.json'; import icons from '../src/packages/core/icon-registry/icons'; import '../src/libs/context-api/provide/context-provider.element'; diff --git a/src/Umbraco.Web.UI.Client/package.json b/src/Umbraco.Web.UI.Client/package.json index 12b8fdd0e6d6..1789c901a8db 100644 --- a/src/Umbraco.Web.UI.Client/package.json +++ b/src/Umbraco.Web.UI.Client/package.json @@ -149,7 +149,7 @@ "backoffice:test:e2e": "npx playwright test", "build-storybook": "npm run wc-analyze && storybook build", "build:for:cms": "npm run build && npm run build:workspaces && npm run generate:manifest && npm run package:validate && node ./devops/build/copy-to-cms.js", - "build:for:npm": "npm run build -- --declaration && npm run generate:manifest && npm run package:validate", + "build:for:npm": "npm run build -- --declaration && npm run generate:manifest && npm run package:validate && npm run generate:jsonschema:dist && npm run wc-analyze", "build:for:static": "vite build", "build:vite": "tsc && vite build --mode staging", "build:workspaces": "npm run build -ws --if-present", @@ -170,7 +170,7 @@ "generate:icons": "node ./devops/icons/index.js", "generate:overrides": "node ./devops/tsc/index.js", "generate:jsonschema:imports": "node ./devops/json-schema-generator/index.js", - "generate:jsonschema:dist": "typescript-json-schema --required --include \"./src/json-schema/umbraco-package-schema.ts\" --out dist-cms/umbraco-package-schema.json tsconfig.json UmbracoPackage", + "generate:jsonschema:dist": "typescript-json-schema --required --include \"./src/json-schema/umbraco-package-schema.ts\" --out ./umbraco-package-schema.json tsconfig.json UmbracoPackage", "generate:jsonschema": "typescript-json-schema --required --include \"./src/json-schema/umbraco-package-schema.ts\"", "generate:check-const-test": "node ./devops/generate-check-const-test/index.js", "lint:errors": "npm run lint -- --quiet", @@ -187,7 +187,7 @@ "test:watch": "npm run generate:check-const-test && web-test-runner --watch", "test": "npm run generate:check-const-test && web-test-runner", "wc-analyze:vscode": "wca **/*.element.ts --format vscode --outFile dist-cms/vscode-html-custom-data.json", - "wc-analyze": "wca **/*.element.ts --outFile dist-cms/custom-elements.json", + "wc-analyze": "wca **/*.element.ts --outFile ./custom-elements.json", "generate:tsconfig": "node ./devops/tsconfig/index.js", "generate:manifest": "node ./devops/build/create-umbraco-package.js", "package:validate": "node ./devops/package/validate-exports.js",