Confortable development enviroment #672
Unanswered
ivanmatiaspascual
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want all.
Wishes:
1) I want a polyrepo for my client side ecosystem, not a monorepo. My project application as dependant and project library react-financial-charts as dependency, but not as part of the monorepo lerna like the package stories.
2) The most important thing: debugging the library react-financial-charts from my application project. Able to get into the dependency project library react-financial-charts from my application project with de debugger. Benefits:
- Reverse ingeniering to observe the behaiver of the library with some param values and param that i dont undertend at first.
- Analize issues
- Analize performance
3) Feature go to definition if i may
Tests:
a) Linking: npm link
1- Publish to /usr/lib/node_modules
Comments:
That uses symbolic links, but this not get the others dependencies.
2- Install
Comments:
This point to /usr/lib/node_modules in package.json.
Problems:
b) Linking: npm link <project>
1- Publish to /usr/lib/node_modules
Comments:
Problems:
2- Install
Comments:
c) Linking: Relaive path to the library project, in package.json -> file:../react-financial-charts/packages/charts
A good project as an example of lerna monorepo recommends use this (https://github.com/Hy-Vee/lerna-yarn-workspaces-monorepo)
Comments:
Problems:
I keep on this idea and i try to test 2 more things:
c.1) Add to react-financial-charts inlineSources (tsconfig.json -> compilerOptions -> "declarationMap": true and "inlineSources": true)
Comments:
Problems:
c.2) Add to react-financial-charts sourceRoot (tsconfig.json -> compilerOptions -> "declarationMap": true and "sourceRoot": "../react-financial-charts/packages/indicators/src")
Comments:
Problems:
Please give me some ideas!
I think i hate lerna, but i am not sure.
Beta Was this translation helpful? Give feedback.
All reactions