Skip to content

add prepare script#190

Open
Luc-Mcgrady wants to merge 1 commit into
ceifa:mainfrom
Luc-Mcgrady:main
Open

add prepare script#190
Luc-Mcgrady wants to merge 1 commit into
ceifa:mainfrom
Luc-Mcgrady:main

Conversation

@Luc-Mcgrady

Copy link
Copy Markdown

Allows you to install the package with the syntax:

pnpm i github:ceifa/steamworks.js

and have it build correctly.

@ceifa

ceifa commented Jun 11, 2025

Copy link
Copy Markdown
Owner

The published artifact is already built. It doesn't makes sense that you needed to build it after installing.
If that really happened, it should actually be an issue.

@ceifa ceifa closed this Jun 11, 2025
@Luc-Mcgrady

Luc-Mcgrady commented Jun 11, 2025

Copy link
Copy Markdown
Author

I believe prepare isn't run when installing through a package manager, only through git and before being published?

https://docs.npmjs.com/cli/v8/using-npm/scripts#life-cycle-scripts
npm/cli#2890 (comment)

@ceifa

ceifa commented Jun 11, 2025

Copy link
Copy Markdown
Owner

I just realized you are trying to install directly from github, sorry

@ceifa ceifa reopened this Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants