Open jmikedupont2 opened 2 months ago
I am not sure that turbo dev
is supported. What did you want to do? Do the changes in #145 fix this particular issue? If so, there might still be other issues with the command. I think it is better to run only the dev script of the package you want to change.
I am just following the readme,
To start all applications:
pnpm turbo dev
I worked around this by removing the custom eslint totally. https://github.com/jsonresume/jsonresume.org/pull/147 here are my changes, this bug went away. This is my first time ever working with eslint and storybrook so please excuse my totall ignorance of all standards.
I can reproduce the issue. I think we only have a dev script in four packages atm:
registry
homepage2
@jsonresume/stack-overflow
jsonresume-theme-full
It seems to me the registry
and homepage2
do run fine.
jsonresume-theme-full
has a problematic dev script which should be removed:
https://github.com/jsonresume/jsonresume.org/blob/40b46fe4492f3d7baebb1fc8609864e4c2311cfb/packages/jsonresume-theme-full/package.json#L24
It tries to use npx
to install livereloadx
on the fly and run it. This is a no no for me. livereloadx
should be a development dependency of jsonresume-theme-full
. Since user confirmation is needed to allow the installation of livereloadx
, the script hangs when run via turbo
. Even it if were to fail, I am not sure if it be useful for the overall stack. I let the script install livereloadx
locally and then the script succeeds but does not provide anything useful on the web server. The readme also references non existent files live dev/index.html
etc. I think a lot of stuff has changed in the package and the people doing the changes forgot to update the Readme and the scripts. Also the migration to this monorepo here has been done rather sloppily, probably because of time constraints. I would for now just remove all the scripts from the package.
Now the dev
script of @jsonresume/theme-stackoverflow
(which is maintained by myself) starts a storybook server for the react components used in the theme. This is also irrelevant for the overall stack, as long as the build
script works, which it does.
So what should we do now? I recommend the following and would like a confirmation from @thomasdavis:
turbo dev
on a global level. I think it makes little sense for this to be supported. Lets imagine we have 20 themes which all have a storybook which starts when running the dev
script. They would all try to run on port 6006. What is more important is to make build
a dependency for dev
. So if one would run turbo dev
in package A and packages B and C are dependencies of package A, then turbo
would first (try to) build packages B and C before starting the dev
script in package A. Maybe we could add a dev
script in the root package.json
which does something like echo "Please run the dev scripts individually" && exit 1;
.jsonresume-theme-full
since it is all outdated and makes little sense (the Readme even talks of installing node 15 and using npm
etc.)@jsonresume/theme-stackoverflow
. fwiw: I will just do that without waiting for confirmation.So for me and as I hoped, #145 fixes the broken dev
script of @jsonresume/theme-stackoverflow
. Once #145 has been merged, the last task in above list should be fixed. @thomasdavis could you please review and approve #145?
https://github.com/meta-introspector/json-crypto-wallet.org/actions/runs/10832551866 I have gotten my version to finally lint and build by removing more eslint stuff.
I am sorry, I do not see how this is related.
This is related because it's a fork of the code I try to get it run I had to make some changes to get it to run I was trying to get the GitHub actions to run and I encountered all types of difficulties and I documented some of those so this is the general Improvement and some things that have to be fixed for this project but I did spend some time on it and as a new user it was hard to get this thing to deploy or run in the GitHub actions
Ah, okay. json-crypto-wallet
is a surprising name for a fork. Please create issues and PRs to this repo here to get support. I cannot provide support for forks.
Once you have made a PR, I am happy to discuss improvements. However in your past PRs I saw a certain mixture of concerns (adding new buttons and fixing ci scripts in the same PR). It will be easier if you make multiple PRs, one for each topic. Also please create issues before creating PRs so we can discuss the tasks first before looking at the solutions.
my plan is to add a set of crypto wallet to mix so that the users can accept and send payments and host them in github secrets. We can close this issue because i resolved the open issues.
I am happy that your issues have been fixed. The issue you described still persists here, so I will keep the issue open. Thank you for finding the issue for us.
I have been on a holiday, let me digest this and get back to it.
Good morning @thomasdavis, I hope you had a good start after the vacation. Please have a look and let's work on closing this, if you can.
running
pnpm turbo dev