You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, I had not set GitHub Actions here yet, so I manually did the registration for the previous releases. Manual registration requires you to run npm run build-commit before releasing.
Npm does not run prepare if the package is a dependency of another package. Only top-level npm install triggers prepare. But postinstall is triggered no matter if it is top-level or not.
fa39310
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@UziTech I think you should build this package again and update
dist
to take the changes in.fa39310
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
build
is in theprepare
script it should update dist when it installs./cc @aminya
fa39310
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
afaiu the
build
step doesn't occur in installation.fa39310
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I had not set GitHub Actions here yet, so I manually did the registration for the previous releases. Manual registration requires you to run
npm run build-commit
before releasing.https://github.com/atom-ide-community/atom-ide-template/blob/d2173cab457d47fd05446908f52bfc3961716e0e/.github/workflows/CI.yml#L67-L68
fa39310
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm install
should run theprepare
scripts according to the docsfa39310
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does
apm install
not run theprepare
script?fa39310
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apm install
does not:atom-community/atom-ide-template#25
Npm does not run prepare if the package is a dependency of another package. Only top-level
npm install
triggersprepare
. Butpostinstall
is triggered no matter if it is top-level or not.fa39310
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot. That is why I hate build steps.
fa39310
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aviatesk now that you are here, could you take a look at these issues. That package is still awaiting registration.
JunoLab/atom-indent-detective#24
JunoLab/atom-indent-detective#23