loopwind 0.18.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/REGISTRY_SETUP.md +1 -55
  2. package/dist/commands/add.d.ts.map +1 -1
  3. package/dist/commands/add.js +0 -3
  4. package/dist/commands/add.js.map +1 -1
  5. package/dist/lib/installer.d.ts +0 -8
  6. package/dist/lib/installer.d.ts.map +1 -1
  7. package/dist/lib/installer.js +1 -48
  8. package/dist/lib/installer.js.map +1 -1
  9. package/dist/sdk/compiler.d.ts +94 -0
  10. package/dist/sdk/compiler.d.ts.map +1 -0
  11. package/dist/sdk/compiler.js +122 -0
  12. package/dist/sdk/compiler.js.map +1 -0
  13. package/dist/sdk/index.d.ts +1 -1
  14. package/dist/sdk/index.d.ts.map +1 -1
  15. package/dist/sdk/index.js +1 -1
  16. package/dist/sdk/index.js.map +1 -1
  17. package/dist/sdk/template.d.ts +30 -43
  18. package/dist/sdk/template.d.ts.map +1 -1
  19. package/dist/sdk/template.js +52 -73
  20. package/dist/sdk/template.js.map +1 -1
  21. package/examples/template-compiler-workflow.ts +251 -0
  22. package/output/sdk-static.jpg +0 -0
  23. package/package.json +7 -1
  24. package/test-jsx-support.mjs +146 -0
  25. package/test-sdk-source-config.mjs +427 -0
  26. package/test-templates/config-test.mjs +17 -0
  27. package/website/astro.config.mjs +10 -0
  28. package/website/dist/.gitkeep +1 -0
  29. package/website/dist/_worker.js/index.js +1 -1
  30. package/website/dist/_worker.js/{manifest_BAAoOzaU.mjs → manifest_CT_D-YDe.mjs} +1 -1
  31. package/website/dist/llm.txt +1 -1
  32. package/website/dist/sdk/index.html +405 -102
  33. package/website/dist/sitemap.xml +12 -12
  34. package/website/package-lock.json +1077 -17
  35. package/website/package.json +5 -1
  36. package/website/public/.gitkeep +1 -0
  37. package/website/deploy.sh +0 -19
  38. package/website/public/.assetsignore +0 -3
  39. package/website/wrangler.toml +0 -12
@@ -7,10 +7,13 @@
7
7
  "start": "astro dev",
8
8
  "build": "astro check && astro build",
9
9
  "preview": "astro preview",
10
+ "deploy": "astro build && wrangler deploy",
11
+ "cf:deploy": "wrangler deploy",
10
12
  "astro": "astro"
11
13
  },
12
14
  "dependencies": {
13
15
  "@astrojs/check": "^0.9.3",
16
+ "@astrojs/cloudflare": "^11.1.0",
14
17
  "@astrojs/mdx": "^3.1.7",
15
18
  "astro": "^4.15.11",
16
19
  "loopwind": "latest",
@@ -18,7 +21,8 @@
18
21
  },
19
22
  "devDependencies": {
20
23
  "@tailwindcss/vite": "^4.0.0",
21
- "tailwindcss": "^4.0.0"
24
+ "tailwindcss": "^4.0.0",
25
+ "wrangler": "^3.86.1"
22
26
  }
23
27
  }
24
28
 
@@ -1,3 +1,4 @@
1
1
  # Place demo videos here
2
2
  # Generate with: loopwind render video-intro '{"title":"loopwind","subtitle":"Generate videos with React + Tailwind"}' --out public/demo-intro.mp4
3
3
 
4
+
package/website/deploy.sh DELETED
@@ -1,19 +0,0 @@
1
- #!/bin/bash
2
-
3
- # Cloudflare deployment script for loopwind docs
4
- # Based on: https://developers.cloudflare.com/workers/framework-guides/web-apps/astro/
5
-
6
- set -e
7
-
8
- echo "🚀 Deploying loopwind docs to Cloudflare..."
9
-
10
- # Build the Astro site
11
- echo "📦 Building Astro site..."
12
- npm run build
13
-
14
- # Deploy to Cloudflare
15
- echo "☁️ Deploying to Cloudflare..."
16
- npx wrangler deploy
17
-
18
- echo "✅ Deployment complete!"
19
-
@@ -1,3 +0,0 @@
1
- _worker.js
2
- _routes.json
3
-
@@ -1,12 +0,0 @@
1
- name = "loopwind-docs"
2
- main = "./dist/_worker.js/index.js"
3
- compatibility_date = "2024-11-20"
4
- compatibility_flags = ["nodejs_compat"]
5
-
6
- [assets]
7
- binding = "ASSETS"
8
- directory = "./dist"
9
-
10
- [observability]
11
- enabled = true
12
-