Skip to content

refactor: simplify xml generation #4942

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

Merged
merged 3 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 3 additions & 3 deletions fixtures/webstudio-features/.template/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { defineConfig } from "vite";
// @ts-ignore
import { reactRouter } from "@react-router/dev/vite";
// @ts-ignore
import { dedupeMeta } from "./proxy-emulator/dedupe-meta";
import { existsSync, readdirSync } from "fs";
// import { dedupeMeta } from "./proxy-emulator/dedupe-meta";
import { existsSync } from "fs";
// @ts-ignore
import path from "path";
// @ts-ignore
Expand Down Expand Up @@ -31,5 +31,5 @@ export default defineConfig({
conditions,
},
},
plugins: [reactRouter(), dedupeMeta],
plugins: [reactRouter()],
});
10 changes: 5 additions & 5 deletions fixtures/webstudio-features/.webstudio/data.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"build": {
"id": "fce42d58-8a67-4f4b-8427-ea7500132e28",
"id": "6f14cdae-073c-4f2c-b535-da3f404f3e36",
"projectId": "cddc1d44-af37-4cb6-a430-d300cf6f932d",
"version": 477,
"createdAt": "2025-02-28T14:52:36.082+00:00",
"updatedAt": "2025-02-28T14:52:36.082+00:00",
"version": 479,
"createdAt": "2025-03-04T16:25:33.097+00:00",
"updatedAt": "2025-03-04T16:25:33.097+00:00",
"pages": {
"meta": {
"siteName": "KittyGuardedZone",
Expand Down Expand Up @@ -2867,7 +2867,7 @@
"instanceId": "SVI6fI342JAxCvwsg4Oc6",
"name": "xmlns:xhtml",
"type": "string",
"value": "http://www.w3.org/1999/xhtml"
"value": "http://www.w3.org/TR/xhtml11/xhtml11_schema.html"
}
],
[
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion fixtures/webstudio-features/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dev": "react-router dev",
"cli": "NODE_OPTIONS='--conditions=webstudio --import=tsx' webstudio",
"fixtures:link": "pnpm cli link --link https://p-cddc1d44-af37-4cb6-a430-d300cf6f932d-dot-${BUILDER_HOST:-main.development.webstudio.is}'?authToken=1cdc6026-dd5b-4624-b89b-9bd45e9bcc3d'",
"fixtures:sync": "pnpm cli sync --buildId fce42d58-8a67-4f4b-8427-ea7500132e28 && pnpm prettier --write ./.webstudio/",
"fixtures:sync": "pnpm cli sync --buildId 6f14cdae-073c-4f2c-b535-da3f404f3e36 && pnpm prettier --write ./.webstudio/",
"fixtures:build": "pnpm cli build --template react-router --template ./.template && pnpm prettier --write ./app/ ./package.json ./tsconfig.json"
},
"private": true,
Expand Down
6 changes: 3 additions & 3 deletions fixtures/webstudio-features/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { defineConfig } from "vite";
// @ts-ignore
import { reactRouter } from "@react-router/dev/vite";
// @ts-ignore
import { dedupeMeta } from "./proxy-emulator/dedupe-meta";
import { existsSync, readdirSync } from "fs";
// import { dedupeMeta } from "./proxy-emulator/dedupe-meta";
import { existsSync } from "fs";
// @ts-ignore
import path from "path";
// @ts-ignore
Expand Down Expand Up @@ -31,5 +31,5 @@ export default defineConfig({
conditions,
},
},
plugins: [reactRouter(), dedupeMeta],
plugins: [reactRouter()],
});
Loading