uber-web / jazelle Goto Github PK
View Code? Open in Web Editor NEWIncremental, cacheable builds for large Javascript monorepos using Bazel
License: MIT License
Incremental, cacheable builds for large Javascript monorepos using Bazel
License: MIT License
running jz outdated --json
emits output that is not valid json.
In particular,
[
and ]
at the head and tail of the outpuSee code here:
Lines 160 to 182 in c2e9658
yarn dlx jazelle
not yarn global add jazelle
yarn dlx jazelle
throws an error while appears to be working correctly:yarn dlx jazelle
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 1s 654ms
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 222ms
➤ YN0000: ┌ Generating workspace-deps.txt
➤ YN0000: └ Completed
➤ YN0000: Done in 1s 926ms
/private/var/folders/fz/tds93qq164s2q0sv2zgbd7k40000gn/T/xfs-24c61363/dlx-30285/.yarn/unplugged/jazelle-npm-0.0.0-standalone.32-canary-0ecae71df3/node_modules/jazelle/bin/bootstrap.sh:3
realpath() {
^
SyntaxError: Unexpected token '{'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.external_module_.Module._load (/private/var/folders/fz/tds93qq164s2q0sv2zgbd7k40000gn/T/xfs-24c61363/dlx-30285/.pnp.js:4902:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
Hi, love this project idea and cool to see it develop!
I have a monorepo with a setup of
WORKSPACE
BUILD
java-package-1
java-2
... (dozens more)
frontend
where frontend code is all in a subfolder, there is no package.json or yarn lock in the root of the monorepo. From what I can tell, Jazelle expects those files to be in the root. Is there a way of overriding this?
Currently only targets dependencies and devDependencies. Should also target peerDependencies.
Trying to run jz lint
throws the error:
ERROR: /Users/christopherthomas/github/xiot/jazelle-test/WORKSPACE:9:21: fetching _jazelle_dependencies rule //external:jazelle_dependencies: Traceback (most recent call last):
File "/private/var/tmp/_bazel_christopherthomas/fef563f5da3b0b72a80e398e2ba88e0c/external/jazelle/rules/jazelle-dependencies.bzl", line 50, column 25, in _jazelle_dependencies_impl
sha256 = node_sha256[binary],
Error: key "darwin-arm64" not found in dictionary
It looks like like darwin-arm64
is missing from the jazelle_dependencies/node_sha256
in WORKSPACE
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.