Skip to content

Commit 0190278

Browse files
committed
Fix Google Search indexing for playground content pages
1 parent 4897c43 commit 0190278

93 files changed

Lines changed: 691 additions & 805 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
"dev": "npm run dev -w playground",
1717
"build": "npm run build -w playground",
1818
"build:packages": "npm run build -w posecode-parser && npm run build -w posecode-share && npm run build -w posecode-render && npm run build -w posecode-embed && npm run build -w posecode-mcp",
19+
"check:packages": "node scripts/check-packages.mjs",
20+
"changeset": "changeset",
21+
"version-packages": "changeset version && node scripts/sync-mcp-version.mjs",
22+
"release": "npm run build:packages && npm run check:packages && changeset publish",
1923
"prepare:xbot": "node scripts/prepare-xbot.mjs",
2024
"eval": "tsx packages/posecode-eval/src/cli.ts",
2125
"video:cut2": "remotion render video/cut2/index.tsx PosecodeCut2 docs/launch-media/posecode-cut2-builder-16x9.mp4 --public-dir video/cut2/public --codec h264 --crf 16",

packages/posecode-embed/package.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@
44
"description": "Embed a live 3D Posecode movement anywhere with one <script> tag \u2014 the <posecode-player> web component.",
55
"license": "MIT",
66
"type": "module",
7-
"main": "./src/index.ts",
8-
"types": "./src/index.ts",
7+
"main": "./dist/index.js",
8+
"types": "./dist/index.d.ts",
99
"exports": {
10-
".": "./src/index.ts"
10+
".": {
11+
"types": "./dist/index.d.ts",
12+
"import": "./dist/index.js",
13+
"default": "./dist/index.js"
14+
}
1115
},
1216
"files": [
1317
"dist",
@@ -34,9 +38,12 @@
3438
"dependencies": {
3539
"posecode-parser": "0.2.0",
3640
"posecode-render": "0.2.0",
37-
"posecode-share": "0.1.0"
41+
"posecode-share": "0.2.0"
3842
},
3943
"devDependencies": {
4044
"esbuild": "^0.24.2"
45+
},
46+
"publishConfig": {
47+
"access": "public"
4148
}
4249
}

packages/posecode-eval/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "posecode-eval",
33
"version": "0.2.0",
4+
"private": true,
45
"description": "Fidelity eval harness for Posecode: headless kinematic probing + geometric invariant scoring.",
56
"license": "MIT",
67
"type": "module",

packages/posecode-language/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "posecode-language",
33
"version": "0.2.0",
4+
"private": true,
45
"description": "Editor language service for .posecode: diagnostics, completions, and hovers built on posecode-parser. Powers both the playground editor and the LSP.",
56
"license": "MIT",
67
"type": "module",

packages/posecode-lsp/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "posecode-lsp",
33
"version": "0.2.0",
4+
"private": true,
45
"description": "Language Server Protocol implementation for the Posecode (.posecode) DSL: diagnostics, completion, and hover, powered by posecode-language.",
56
"license": "MIT",
67
"type": "module",

packages/posecode-mcp/package.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@
55
"mcpName": "io.github.posecode-dev/posecode-mcp",
66
"license": "MIT",
77
"type": "module",
8-
"main": "./src/index.ts",
9-
"types": "./src/index.ts",
8+
"main": "./dist/index.js",
9+
"types": "./dist/index.d.ts",
1010
"exports": {
11-
".": "./src/index.ts"
11+
".": {
12+
"types": "./dist/index.d.ts",
13+
"import": "./dist/index.js",
14+
"default": "./dist/index.js"
15+
}
1216
},
1317
"bin": {
1418
"posecode-mcp": "dist/posecode-mcp.mjs"
@@ -41,12 +45,15 @@
4145
"dependencies": {
4246
"@modelcontextprotocol/sdk": "^1.12.0",
4347
"posecode-parser": "0.2.0",
44-
"posecode-share": "0.1.0",
48+
"posecode-share": "0.2.0",
4549
"zod": "^3.24.1"
4650
},
4751
"devDependencies": {
4852
"@types/node": "^22.10.2",
4953
"esbuild": "^0.24.2",
5054
"tsx": "^4.19.2"
55+
},
56+
"publishConfig": {
57+
"access": "public"
5158
}
5259
}

packages/posecode-parser/package.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@
44
"description": "Parse the .posecode kinematic motion DSL into a validated, ROM-clamped intermediate representation.",
55
"license": "MIT",
66
"type": "module",
7-
"main": "./src/index.ts",
8-
"types": "./src/index.ts",
7+
"main": "./dist/index.js",
8+
"types": "./dist/index.d.ts",
99
"exports": {
10-
".": "./src/index.ts"
10+
".": {
11+
"types": "./dist/index.d.ts",
12+
"import": "./dist/index.js",
13+
"default": "./dist/index.js"
14+
}
1115
},
1216
"bin": {
1317
"posecode-parser": "dist/cli.js"
@@ -39,5 +43,8 @@
3943
"files": [
4044
"dist",
4145
"README.md"
42-
]
46+
],
47+
"publishConfig": {
48+
"access": "public"
49+
}
4350
}

packages/posecode-render/package.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@
44
"description": "Render a Posecode IR as an animated 3D human figure (skinned character or procedural mannequin) with Three.js.",
55
"license": "MIT",
66
"type": "module",
7-
"main": "./src/index.ts",
8-
"types": "./src/index.ts",
7+
"main": "./dist/index.js",
8+
"types": "./dist/index.d.ts",
99
"exports": {
10-
".": "./src/index.ts"
10+
".": {
11+
"types": "./dist/index.d.ts",
12+
"import": "./dist/index.js",
13+
"default": "./dist/index.js"
14+
}
1115
},
1216
"dependencies": {
1317
"three": "^0.171.0"
@@ -39,5 +43,8 @@
3943
"files": [
4044
"dist",
4145
"README.md"
42-
]
46+
],
47+
"publishConfig": {
48+
"access": "public"
49+
}
4350
}

packages/posecode-share/package.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
{
22
"name": "posecode-share",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "Encode/decode .posecode documents to URL-safe share tokens \u2014 the distribution primitive for Posecode permalinks and embeds.",
55
"license": "MIT",
66
"type": "module",
7-
"main": "./src/index.ts",
8-
"types": "./src/index.ts",
7+
"main": "./dist/index.js",
8+
"types": "./dist/index.d.ts",
99
"exports": {
10-
".": "./src/index.ts"
10+
".": {
11+
"types": "./dist/index.d.ts",
12+
"import": "./dist/index.js",
13+
"default": "./dist/index.js"
14+
}
1115
},
1216
"repository": {
1317
"type": "git",
@@ -28,5 +32,8 @@
2832
"files": [
2933
"dist",
3034
"README.md"
31-
]
35+
],
36+
"publishConfig": {
37+
"access": "public"
38+
}
3239
}

playground/index.html

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>Posecode: Describe Human Movement as Text, Animated in 3D</title>
7-
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
8-
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png" />
9-
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16.png" />
10-
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
7+
<link rel="icon" type="image/png" sizes="192x192" href="/favicon-192.png" />
8+
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
119
<meta
1210
name="description"
1311
content="Posecode is an open-source text-to-motion language for LLMs. Describe exercises, physiotherapy, yoga, or dance in plain text and watch an anatomically safe 3D figure animate in your browser."
@@ -16,17 +14,17 @@
1614
name="keywords"
1715
content="text to motion, LLM animation, kinematic motion protocol, 3D human movement, exercise animation, physiotherapy animation, pose language, AI motion generation, ChatGPT animation, Claude animation, open source motion language"
1816
/>
19-
<link rel="canonical" href="https://posecode.org/" />
17+
<link rel="canonical" href="https://www.posecode.org/" />
2018
<meta name="theme-color" content="#0a0d12" />
2119
<meta property="og:title" content="Posecode: human movement, written as text" />
2220
<meta
2321
property="og:description"
2422
content="A Mermaid-style language for kinematic motion. LLMs write it; the browser renders an animated, anatomically safe 3D figure."
2523
/>
2624
<meta property="og:type" content="website" />
27-
<meta property="og:url" content="https://posecode.org/" />
25+
<meta property="og:url" content="https://www.posecode.org/" />
2826
<meta property="og:site_name" content="Posecode" />
29-
<meta property="og:image" content="https://posecode.org/og.png" />
27+
<meta property="og:image" content="https://www.posecode.org/og.png" />
3028
<meta property="og:image:width" content="1200" />
3129
<meta property="og:image:height" content="630" />
3230
<meta name="twitter:card" content="summary_large_image" />
@@ -35,7 +33,7 @@
3533
name="twitter:description"
3634
content="A Mermaid-style language for kinematic motion. LLMs write it; the browser renders an animated, anatomically safe 3D figure."
3735
/>
38-
<meta name="twitter:image" content="https://posecode.org/og.png" />
36+
<meta name="twitter:image" content="https://www.posecode.org/og.png" />
3937
<link rel="preconnect" href="https://fonts.googleapis.com" />
4038
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
4139
<!-- Load fonts without blocking render: fetch as a low-priority stylesheet
@@ -65,16 +63,16 @@
6563
"@graph": [
6664
{
6765
"@type": "WebSite",
68-
"@id": "https://posecode.org/#website",
69-
"url": "https://posecode.org/",
66+
"@id": "https://www.posecode.org/#website",
67+
"url": "https://www.posecode.org/",
7068
"name": "Posecode",
7169
"description": "An open-source text-to-motion language for LLMs. Describe human movement as text; render it as an animated 3D figure in the browser."
7270
},
7371
{
7472
"@type": "SoftwareApplication",
75-
"@id": "https://posecode.org/#app",
73+
"@id": "https://www.posecode.org/#app",
7674
"name": "Posecode",
77-
"url": "https://posecode.org/",
75+
"url": "https://www.posecode.org/",
7876
"applicationCategory": "DeveloperApplication",
7977
"operatingSystem": "Any (web browser)",
8078
"description": "Posecode is a tiny language LLMs can write to describe human movement: exercises, stretches, physiotherapy, yoga, and dance. The browser renders it as an animated 3D figure, with every joint clamped to a safe range of motion.",
@@ -85,7 +83,7 @@
8583
},
8684
{
8785
"@type": "FAQPage",
88-
"@id": "https://posecode.org/#faq",
86+
"@id": "https://www.posecode.org/#faq",
8987
"mainEntity": [
9088
{
9189
"@type": "Question",

0 commit comments

Comments
 (0)