@timo9378/flow2code 0.1.9 → 0.2.1

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 (50) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +15 -2
  3. package/dist/cli.js +74 -7
  4. package/dist/compiler.cjs +32 -2
  5. package/dist/compiler.d.cts +6 -0
  6. package/dist/compiler.d.ts +6 -0
  7. package/dist/compiler.js +32 -2
  8. package/dist/server.d.ts +1 -1
  9. package/dist/server.js +1227 -1010
  10. package/out/404.html +1 -1
  11. package/out/__next.__PAGE__.txt +4 -4
  12. package/out/__next._full.txt +13 -13
  13. package/out/__next._head.txt +4 -4
  14. package/out/__next._index.txt +6 -6
  15. package/out/__next._tree.txt +2 -2
  16. package/out/_next/static/chunks/05328cd26bdc795c.js +176 -0
  17. package/out/_next/static/chunks/06e01c846ae01892.js +1 -0
  18. package/out/_next/static/chunks/1011f174944c0ca2.js +70 -0
  19. package/out/_next/static/chunks/1570e9ba5f1b44ed.js +5 -0
  20. package/out/_next/static/chunks/6167fccccde2e675.css +1 -0
  21. package/out/_next/static/chunks/{b112c2f519e4b429.js → 7cd04052abfadac1.js} +1 -1
  22. package/out/_next/static/chunks/8091c1216a95d294.js +1 -0
  23. package/out/_next/static/chunks/98d53aae29c36c6b.js +1 -0
  24. package/out/_next/static/chunks/a6dad97d9634a72d.js.map +1 -1
  25. package/out/_next/static/chunks/{b163b5d7cccbcf42.js → b05daf00cdc6058f.js} +1 -1
  26. package/out/_next/static/chunks/b3419ee3e3a616d9.js +1 -0
  27. package/out/_next/static/chunks/{acf223168ac429f7.js → be40d79540010a0d.js} +1 -1
  28. package/out/_next/static/chunks/{turbopack-576234c945ffdc44.js → turbopack-9da9810f42c97265.js} +1 -1
  29. package/out/_not-found/__next._full.txt +11 -11
  30. package/out/_not-found/__next._head.txt +4 -4
  31. package/out/_not-found/__next._index.txt +6 -6
  32. package/out/_not-found/__next._not-found/__PAGE__.txt +2 -2
  33. package/out/_not-found/__next._not-found.txt +3 -3
  34. package/out/_not-found/__next._tree.txt +2 -2
  35. package/out/_not-found.html +1 -1
  36. package/out/_not-found.txt +11 -11
  37. package/out/index.html +2 -2
  38. package/out/index.txt +13 -13
  39. package/package.json +130 -124
  40. package/out/_next/static/chunks/0bc0a50347ee5f3c.js +0 -51
  41. package/out/_next/static/chunks/58bf94a9d7047ec0.js +0 -125
  42. package/out/_next/static/chunks/6b84376656bd9887.js +0 -1
  43. package/out/_next/static/chunks/83ab8820627f8bfe.css +0 -1
  44. package/out/_next/static/chunks/ab8888d4b78b94be.js +0 -5
  45. package/out/_next/static/chunks/b6e8711267bccbbd.js +0 -1
  46. package/out/_next/static/chunks/fbca595129527827.js +0 -1
  47. package/scripts/publish-all.sh +0 -56
  48. /package/out/_next/static/{Ma0MmC8j1mxpQbtLwNajF → dSp6-CaehEDKVU9OSJABu}/_buildManifest.js +0 -0
  49. /package/out/_next/static/{Ma0MmC8j1mxpQbtLwNajF → dSp6-CaehEDKVU9OSJABu}/_clientMiddlewareManifest.json +0 -0
  50. /package/out/_next/static/{Ma0MmC8j1mxpQbtLwNajF → dSp6-CaehEDKVU9OSJABu}/_ssgManifest.js +0 -0
@@ -1,56 +0,0 @@
1
- #!/usr/bin/env bash
2
- # Publish all unpublished versions to npm
3
- # Usage: bash scripts/publish-all.sh
4
- #
5
- # Each version requires an OTP from your authenticator app.
6
- # The script will prompt you for each one.
7
-
8
- set -e
9
-
10
- CURRENT_BRANCH=$(git branch --show-current)
11
-
12
- # Versions to publish: commit_hash:version
13
- VERSIONS=(
14
- "c20778d:0.1.5"
15
- "130d96e:0.1.6"
16
- "b98cbef:0.1.7"
17
- "67109d7:0.1.8"
18
- "90978d8:0.1.9"
19
- )
20
-
21
- echo "=== Publishing unpublished versions to npm ==="
22
- echo "Current branch: $CURRENT_BRANCH"
23
- echo ""
24
-
25
- for entry in "${VERSIONS[@]}"; do
26
- IFS=":" read -r commit version <<< "$entry"
27
- echo "──────────────────────────────────────"
28
- echo "Publishing v${version} (commit: ${commit})"
29
- echo "──────────────────────────────────────"
30
-
31
- # Checkout the commit
32
- git checkout -f "$commit" 2>/dev/null
33
-
34
- # Install deps
35
- pnpm install --frozen-lockfile 2>/dev/null
36
-
37
- # Build
38
- pnpm build:cli 2>&1 | tail -3
39
-
40
- # Prompt for OTP and publish
41
- echo "Waiting for Passkey authentication..."
42
- npm publish --access public
43
-
44
- echo "✓ v${version} published successfully!"
45
- echo ""
46
- done
47
-
48
- # Return to original branch
49
- git checkout -f "$CURRENT_BRANCH"
50
- pnpm install --frozen-lockfile 2>/dev/null
51
-
52
- echo ""
53
- echo "=== All versions published! ==="
54
- echo ""
55
- echo "Now publish v0.2.0 (current HEAD):"
56
- echo " pnpm build:cli && npm publish --access public --otp=YOUR_OTP"