jsx_rosetta 0.1.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.
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jsx_rosetta
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Sean McCleary
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: |
13
+ jsx_rosetta is a JSX-to-Rails translator. It parses JSX via Babel
14
+ (over a Node sidecar), lowers the parsed AST into a framework-agnostic
15
+ semantic IR, and emits target output via pluggable backends. The
16
+ initial backend produces ViewComponent classes paired with ERB
17
+ templates; additional backends (Phlex, Slim, Phoenix LiveView, etc.)
18
+ can be added against the same IR.
19
+ email:
20
+ - seanmcc@gmail.com
21
+ executables:
22
+ - jsx_rosetta
23
+ extensions: []
24
+ extra_rdoc_files: []
25
+ files:
26
+ - CHANGELOG.md
27
+ - CODE_OF_CONDUCT.md
28
+ - LICENSE.txt
29
+ - PLAN.md
30
+ - README.md
31
+ - Rakefile
32
+ - exe/jsx_rosetta
33
+ - lib/jsx_rosetta.rb
34
+ - lib/jsx_rosetta/ast.rb
35
+ - lib/jsx_rosetta/ast/inflector.rb
36
+ - lib/jsx_rosetta/ast/node.rb
37
+ - lib/jsx_rosetta/ast/types.rb
38
+ - lib/jsx_rosetta/ast/visitor.rb
39
+ - lib/jsx_rosetta/backend.rb
40
+ - lib/jsx_rosetta/backend/base.rb
41
+ - lib/jsx_rosetta/backend/rails_view.rb
42
+ - lib/jsx_rosetta/backend/routes_script.rb
43
+ - lib/jsx_rosetta/backend/view_component.rb
44
+ - lib/jsx_rosetta/backend/view_component/expression_translator.rb
45
+ - lib/jsx_rosetta/cli.rb
46
+ - lib/jsx_rosetta/ir.rb
47
+ - lib/jsx_rosetta/ir/lowering.rb
48
+ - lib/jsx_rosetta/ir/types.rb
49
+ - lib/jsx_rosetta/node_bridge.rb
50
+ - lib/jsx_rosetta/parse_error.rb
51
+ - lib/jsx_rosetta/parser.rb
52
+ - lib/jsx_rosetta/routes.rb
53
+ - lib/jsx_rosetta/version.rb
54
+ - node/.gitignore
55
+ - node/package-lock.json
56
+ - node/package.json
57
+ - node/parse.js
58
+ homepage: https://github.com/mrinterweb/jsx_rosetta
59
+ licenses:
60
+ - MIT
61
+ metadata:
62
+ homepage_uri: https://github.com/mrinterweb/jsx_rosetta
63
+ source_code_uri: https://github.com/mrinterweb/jsx_rosetta
64
+ bug_tracker_uri: https://github.com/mrinterweb/jsx_rosetta/issues
65
+ changelog_uri: https://github.com/mrinterweb/jsx_rosetta/blob/main/CHANGELOG.md
66
+ rubygems_mfa_required: 'true'
67
+ rdoc_options: []
68
+ require_paths:
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 3.2.0
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ requirements: []
81
+ rubygems_version: 4.0.6
82
+ specification_version: 4
83
+ summary: Translate JSX components into Rails ViewComponent (Ruby class + ERB template).
84
+ test_files: []