Code Monkey home page Code Monkey logo

jazelle's People

Contributors

ajbogh avatar albertywu avatar alexmsmithca avatar angus-c avatar btford avatar chasestarr avatar chrisdothtml avatar denyska avatar derekju avatar dewtea avatar dianasuvorova avatar dylanvann avatar kevingrandon avatar lhorie avatar micburks avatar mike-kaufman avatar pdufour avatar rtsao avatar salgnt avatar sbalabanov avatar shykisto avatar uberopensourcebot avatar vicapow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jazelle's Issues

`jz outdated --json` emits invalid json

running jz outdated --json emits output that is not valid json.

In particular,

  • the list of entries are not wrapped in [ and ] at the head and tail of the outpu
  • the list of entries are not delimited by commas.

See code here:

for (const result of results) {
const formatted = [];
if (dedup) {
formatted.push(result);
} else {
result.installed.forEach(version =>
formatted.push({
...result,
installed: [version],
})
);
}
if (json) logger('[');
formatted.forEach((entry, i) =>
json
? logger(
JSON.stringify(entry) + (i !== formatted.length - 1 ? ',' : '')
)
: logger(entry.packageName, entry.installed.join(' '), entry.latest)
);
if (json) logger(']');
}

installation with yarn2.

  1. Readme needs to be updated that with yarn2 correct command is yarn dlx jazelle not yarn global add jazelle
  2. 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

Installation in a polyglot repo?

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

  • BUILD
  • package.json
  • yarn.lock

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?

New repo fails on M1 mac

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.