Alternative bootstrap and/or building #42
mauricioszabo
started this conversation in
Pulsar Features
Replies: 0 comments 1 reply
-
Alternative to APM_PATHHonestly, I don't think running a binary and parsing results is a good way to check for packages inside Atom/Pulsar. So honestly I'm thinking about using APM (or PAPM for that matter) directly - using it as a library inside the editor. That means we will not depend on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
One of the main pain points of people wanting to join the codebase is how to start hacking the editor:
./script/bootstrap
expect a really old version of Node.JS, even considering that we can run the editor on Node 16 without any change.So, I decided to experiment if we can make things faster. The work is at the branch build-without-scripts and I had to use
yarn
although I would prefer to usepnpm
(faster build, occupy less space on our disk, and also Yarn have telemetry by default) becausenpm
was failing in interesting ways without even a stacktrace to check what's wrong.For building, I decided to try electron-build. So, everything 100% works with some exceptions:
yarn start
) packages can't be installed and/or checked. This is becauseapm
needs to be on a specific part of the code. I worked-around this by adding an env varAPM_PATH
, but I'll discuss an alternative on a subtopicapm
is not exposed on PATHNow, what do we gain?
Requesting for comments on these issues, to see if we want to proceed on this path :)
Beta Was this translation helpful? Give feedback.
All reactions