Daniel Kuschny
3e02f65f5c
Skip exports if not available by CommonJS ( #8856 )
3 years ago
Kelvin Jin
fd896ba23e
Use modern JS tooling instead of Closure's deprecated Python scripts. ( #8610 )
4 years ago
Joshua Haberman
e8aa635397
Tweak our JavaScript rewrites a bit to handle jspb.* imports.
4 years ago
listonjesse
2ae7cf0e03
Auxillary -> Auxiliary
5 years ago
Peter Marton
13f94b4092
Fix strict JS generator with import in a protofile
7 years ago
Peter Marton
3c4e368473
Test: cover import_style=commonjs_strict
7 years ago
Adam Cozzette
e372df5c97
Fixed failing JS tests
7 years ago
Adam Cozzette
671e075c5e
Use closurebuilder.py in favor of calcdeps.py for compiling JavaScript
...
There are two motivations for this:
1) calcdeps.py is deprecated and replaced by closurebuilder.py.
2) As part of this I was able to tweak things so that the Closure
compiler does not attempt to examine every .js file in the tree under
js/. This makes it possible to put compatibility tests and related files
in a subdirectory without them getting mixed up with the main .js files
we care about.
8 years ago
Adam Cozzette
40f3586412
Fixed remaining JSPB test failures
8 years ago
Guillaume Egles
8335b7d93e
Fix missing import of jspb.Map ( #1885 )
8 years ago
Guillaume Egles
ea081fe220
Fix missing import of jspb.Map ( #1885 )
8 years ago
Josh Haberman
e0e7377119
Fix goog.require()/goog.provide() ordering.
8 years ago
Josh Haberman
7429b91eda
JavaScript: move extension binary info to separate struct.
8 years ago
Josh Haberman
15239361e3
Fix for CommonJS tests.
9 years ago
murgatroid99
c9f8a1b006
Moved CommonJS-specific files into commonjs directory
9 years ago
murgatroid99
a862b6b77f
Fix CommonJS relative require generation, and test it
9 years ago
Josh Haberman
907ad4a004
Properly camelCase when translating to CommonJS.
9 years ago
Josh Haberman
c348af2fc0
Addressed more code review comments.
9 years ago
Josh Haberman
7726cd207c
Integrate review comments.
9 years ago
Josh Haberman
77af5d04b1
Fixed nested message scopes for CommonJS.
9 years ago
Josh Haberman
d6a186a8f1
Added some documentation in comments.
9 years ago
Josh Haberman
9e60036c1b
Moved CommonJS-specific files to commonjs/.
9 years ago