Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs build #413

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .yarn/patches/@stencil-core-npm-4.22.0-1dd6276cbb.patch

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demos/forms-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@eventstore-ui/assets": "workspace:*",
"@eventstore-ui/configs": "workspace:*",
"@eventstore-ui/icon-manager": "workspace:*",
"@stencil/core": "4.19.2"
"@stencil/core": "4.22.0"
}
}
2 changes: 1 addition & 1 deletion demos/router-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"@eventstore-ui/router": "workspace:*"
},
"devDependencies": {
"@stencil/core": "4.19.2"
"@stencil/core": "4.22.0"
}
}
2 changes: 1 addition & 1 deletion demos/stores-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"@eventstore-ui/utils": "workspace:*"
},
"devDependencies": {
"@stencil/core": "4.19.2"
"@stencil/core": "4.22.0"
}
}
4 changes: 2 additions & 2 deletions documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build": "run-s \"build:*\"",
"build:clean": "rm -rf ./www",
"build:previews": "build-previews ./generated",
"build:docs": "stencil build --prerender",
"build:docs": "node --max_old_space_size=4096 ../node_modules/@stencil/core/bin/stencil build --prerender",
"dev": "run-s build:clean build:previews dev:docs",
"dev:docs": "stencil build --dev --watch --serve",
"prod": "stencil build --watch --serve",
Expand Down Expand Up @@ -59,7 +59,7 @@
"@eventstore-ui/icon-manager": "workspace:*",
"@eventstore-ui/preview-builder": "workspace:*",
"@stencil-community/postcss": "^2.2.0",
"@stencil/core": "4.19.2",
"@stencil/core": "4.22.0",
"@types/jest": "^27.0.3",
"@types/markdown-it": "12.0.3",
"eslint": "^8.4.0",
Expand Down
15 changes: 5 additions & 10 deletions documentation/src/global/polyfills.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
/* eslint-disable @typescript-eslint/no-empty-function */

import { Build } from '@stencil/core';

if (Build.isServer) {
document.queryCommandSupported = () => false;
global.MutationObserver = class {
if (typeof global !== 'undefined') {
document.queryCommandSupported ??= () => false;
global.MutationObserver ??= class {
disconnect() {}
observe() {}
takeRecords() {
return [];
}
};
global.ResizeObserver = class {
global.ResizeObserver ??= class {
disconnect() {}
observe() {}
unobserve() {}
};

global.UIEvent = class {} as any;
global.UIEvent ??= class {} as any;
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"typescript": "5.1.6"
},
"resolutions": {
"semver": "7.5.4"
"semver": "7.5.4",
"@stencil/core": "patch:@stencil/core@npm%3A4.22.0#~/.yarn/patches/@stencil-core-npm-4.22.0-1dd6276cbb.patch"
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@eventstore-ui/theme": "workspace:*",
"@eventstore-ui/utils": "workspace:*",
"@stencil-community/postcss": "^2.2.0",
"@stencil/core": "4.19.2",
"@stencil/core": "4.22.0",
"jest": "^27.4.5",
"npm-run-all": "^4.1.5",
"puppeteer": "^19.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@eventstore-ui/theme": "workspace:*",
"@eventstore-ui/utils": "workspace:*",
"@stencil-community/postcss": "^2.2.0",
"@stencil/core": "4.19.2",
"@stencil/core": "4.22.0",
"jest": "^27.4.5",
"npm-run-all": "^4.1.5",
"puppeteer": "^19.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/fields/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@eventstore-ui/theme": "workspace:*",
"@eventstore-ui/utils": "workspace:*",
"@stencil-community/postcss": "^2.2.0",
"@stencil/core": "4.19.2",
"@stencil/core": "4.22.0",
"jest": "^27.4.5",
"npm-run-all": "^4.1.5",
"puppeteer": "^19.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@eventstore-ui/components": "workspace:*",
"@eventstore-ui/stores": "workspace:*",
"@eventstore-ui/utils": "workspace:*",
"@stencil/core": "4.19.2",
"@stencil/core": "4.22.0",
"@types/jest": "^27.0.3",
"babel-jest": "^27.5.1",
"jest": "^27.4.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/illustrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"devDependencies": {
"@eventstore-ui/theme": "workspace:*",
"@stencil-community/postcss": "^2.2.0",
"@stencil/core": "4.19.2",
"@stencil/core": "4.22.0",
"case-anything": "^2.1.10",
"jest": "^27.4.5",
"npm-run-all": "^4.1.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@eventstore-ui/theme": "workspace:*",
"@eventstore-ui/utils": "workspace:*",
"@stencil-community/postcss": "^2.2.0",
"@stencil/core": "4.19.2",
"@stencil/core": "4.22.0",
"jest": "^27.4.5",
"npm-run-all": "^4.1.5",
"puppeteer": "^19.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.12.7",
"@eventstore-ui/utils": "workspace:*",
"@stencil/core": "4.19.2",
"@stencil/core": "4.22.0",
"@types/jest": "^27.0.3",
"babel-jest": "^27.5.1",
"jest": "^27.4.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/stores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.12.7",
"@eventstore-ui/utils": "workspace:*",
"@stencil/core": "4.19.2",
"@stencil/core": "4.22.0",
"@types/jest": "^27.0.3",
"babel-jest": "^27.5.1",
"jest": "^27.4.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.12.7",
"@eventstore-ui/utils": "workspace:*",
"@stencil/core": "4.19.2",
"@stencil/core": "4.22.0",
"babel-jest": "^27.5.1",
"jest": "^27.4.5",
"rollup": "^4.18.0",
Expand Down
43 changes: 26 additions & 17 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,7 @@ __metadata:
"@eventstore-ui/utils": "workspace:*"
"@floating-ui/dom": "npm:0.4.1"
"@stencil-community/postcss": "npm:^2.2.0"
"@stencil/core": "npm:4.19.2"
"@stencil/core": "npm:4.22.0"
jest: "npm:^27.4.5"
npm-run-all: "npm:^4.1.5"
puppeteer: "npm:^19.5.0"
Expand Down Expand Up @@ -2093,7 +2093,7 @@ __metadata:
"@eventstore-ui/theme": "workspace:*"
"@eventstore-ui/utils": "workspace:*"
"@stencil-community/postcss": "npm:^2.2.0"
"@stencil/core": "npm:4.19.2"
"@stencil/core": "npm:4.22.0"
"@types/jest": "npm:^27.0.3"
"@types/markdown-it": "npm:12.0.3"
eslint: "npm:^8.4.0"
Expand Down Expand Up @@ -2123,7 +2123,7 @@ __metadata:
"@eventstore-ui/theme": "workspace:*"
"@eventstore-ui/utils": "workspace:*"
"@stencil-community/postcss": "npm:^2.2.0"
"@stencil/core": "npm:4.19.2"
"@stencil/core": "npm:4.22.0"
jest: "npm:^27.4.5"
npm-run-all: "npm:^4.1.5"
puppeteer: "npm:^19.5.0"
Expand All @@ -2150,7 +2150,7 @@ __metadata:
"@eventstore-ui/theme": "workspace:*"
"@eventstore-ui/utils": "workspace:*"
"@stencil-community/postcss": "npm:^2.2.0"
"@stencil/core": "npm:4.19.2"
"@stencil/core": "npm:4.22.0"
imask: "npm:7.6.1"
jest: "npm:^27.4.5"
npm-run-all: "npm:^4.1.5"
Expand All @@ -2174,7 +2174,7 @@ __metadata:
"@eventstore-ui/components": "workspace:*"
"@eventstore-ui/stores": "workspace:*"
"@eventstore-ui/utils": "workspace:*"
"@stencil/core": "npm:4.19.2"
"@stencil/core": "npm:4.22.0"
"@types/jest": "npm:^27.0.3"
babel-jest: "npm:^27.5.1"
jest: "npm:^27.4.5"
Expand Down Expand Up @@ -2215,7 +2215,7 @@ __metadata:
dependencies:
"@eventstore-ui/theme": "workspace:*"
"@stencil-community/postcss": "npm:^2.2.0"
"@stencil/core": "npm:4.19.2"
"@stencil/core": "npm:4.22.0"
case-anything: "npm:^2.1.10"
jest: "npm:^27.4.5"
npm-run-all: "npm:^4.1.5"
Expand All @@ -2242,7 +2242,7 @@ __metadata:
"@eventstore-ui/theme": "workspace:*"
"@eventstore-ui/utils": "workspace:*"
"@stencil-community/postcss": "npm:^2.2.0"
"@stencil/core": "npm:4.19.2"
"@stencil/core": "npm:4.22.0"
jest: "npm:^27.4.5"
npm-run-all: "npm:^4.1.5"
puppeteer: "npm:^19.5.0"
Expand Down Expand Up @@ -2292,7 +2292,7 @@ __metadata:
"@babel/preset-env": "npm:^7.12.11"
"@babel/preset-typescript": "npm:^7.12.7"
"@eventstore-ui/utils": "workspace:*"
"@stencil/core": "npm:4.19.2"
"@stencil/core": "npm:4.22.0"
"@types/jest": "npm:^27.0.3"
babel-jest: "npm:^27.5.1"
jest: "npm:^27.4.5"
Expand All @@ -2312,7 +2312,7 @@ __metadata:
"@babel/preset-env": "npm:^7.12.11"
"@babel/preset-typescript": "npm:^7.12.7"
"@eventstore-ui/utils": "workspace:*"
"@stencil/core": "npm:4.19.2"
"@stencil/core": "npm:4.22.0"
"@types/jest": "npm:^27.0.3"
babel-jest: "npm:^27.5.1"
jest: "npm:^27.4.5"
Expand All @@ -2333,7 +2333,7 @@ __metadata:
"@babel/preset-env": "npm:^7.12.11"
"@babel/preset-typescript": "npm:^7.12.7"
"@eventstore-ui/utils": "workspace:*"
"@stencil/core": "npm:4.19.2"
"@stencil/core": "npm:4.22.0"
babel-jest: "npm:^27.5.1"
jest: "npm:^27.4.5"
rollup: "npm:^4.18.0"
Expand Down Expand Up @@ -3040,12 +3040,21 @@ __metadata:
languageName: node
linkType: hard

"@stencil/core@npm:4.19.2":
version: 4.19.2
resolution: "@stencil/core@npm:4.19.2"
"@stencil/core@npm:4.22.0":
version: 4.22.0
resolution: "@stencil/core@npm:4.22.0"
bin:
stencil: bin/stencil
checksum: 9e188af9988e9068368e8e512f3146833b1241f2aee562d2aecb4654cec6bacd5b76c80ea8e4c47322d9586186211cefaf93fd4525a729103fa95bd2e4cbb602
checksum: 6e23a197e9f332670396a25a6707c0c5874debaeef96ca54ad3cd27c4fd252d7727899a3239bbb9a0eaf81ee11bc5a8237bf0fa4ff352c171909ad9ee581179f
languageName: node
linkType: hard

"@stencil/core@patch:@stencil/core@npm%3A4.22.0#~/.yarn/patches/@stencil-core-npm-4.22.0-1dd6276cbb.patch":
version: 4.22.0
resolution: "@stencil/core@patch:@stencil/core@npm%3A4.22.0#~/.yarn/patches/@stencil-core-npm-4.22.0-1dd6276cbb.patch::version=4.22.0&hash=54b949"
bin:
stencil: bin/stencil
checksum: 69acb254271bf8116a7833f67d6f734bf65355a634f8d2cf604bba6635784ce651200b370ebc76f4f6bc505c0192ae7387bd21a5f6d9005cd09530f2f8d80d0d
languageName: node
linkType: hard

Expand Down Expand Up @@ -5763,7 +5772,7 @@ __metadata:
"@eventstore-ui/stores": "workspace:*"
"@eventstore-ui/theme": "workspace:*"
"@eventstore-ui/utils": "workspace:*"
"@stencil/core": "npm:4.19.2"
"@stencil/core": "npm:4.22.0"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -9702,7 +9711,7 @@ __metadata:
resolution: "router-demo@workspace:demos/router-demo"
dependencies:
"@eventstore-ui/router": "workspace:*"
"@stencil/core": "npm:4.19.2"
"@stencil/core": "npm:4.22.0"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -10074,7 +10083,7 @@ __metadata:
dependencies:
"@eventstore-ui/stores": "workspace:*"
"@eventstore-ui/utils": "workspace:*"
"@stencil/core": "npm:4.19.2"
"@stencil/core": "npm:4.22.0"
languageName: unknown
linkType: soft

Expand Down
Loading