Code Monkey home page Code Monkey logo

nxtest's Introduction

NX Test

This is a test repo for troubleshooting an issue related to nx.

After cloning this repo, cd into workspace and clone the following: https://github.com/ngageoint/opensphere https://github.com/ngageoint/opensphere-plugin-geopackage

Globally install pnpm

After cloning pnpm install to install deps

pnpm nx init fails so I manually added a nx.json file

pnpm nx graph succeeds but gives empty graph

Also included an example multipackage script at pnpm run lint-all

This should provide the minimum level of set up to reproduce the issue.

One more thing

We reference our internal deps a little differently so after cloning you may want to change the dependency in workspace/opensphere-plugin-geopackage/package.json from "opensphere": "0.0.0-development" to "opensphere": "workspace:*"

Notes

"cacheDirectory": "~/nx" in nx.json is not what we really use, we use a shared mount We also set export NX_PROJECT_GRAPH_CACHE_DIRECTORY="/opt/dev/nx" so our nxdeps.json files don't stomp on eachother

reference: https://nrwlcommunity.slack.com/archives/CMFKWPU6Q/p1663264619089729

original repo: https://github.com/ngageoint/opensphere-yarn-workspace

nxtest's People

Contributors

wisestmumbler avatar schmidtk avatar btuttle avatar wallw-teal avatar

Watchers

 avatar

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.