Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(vats): include index.js in NPM package #8815

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

mhofman
Copy link
Member

@mhofman mhofman commented Jan 25, 2024

closes: #8809

Description

Add missing file to NPM package

Security Considerations

None

Scaling Considerations

None

Documentation Considerations

None

Testing Considerations

Our test coverage is abysmal here, but out of scope.

I have manually verified that the package now contains all expected files

$ tar -tvzf agoric-vats-v0.15.1.tgz | head -n 9
drwxr-xr-x 0/0               0 2024-01-25 18:30 package
-rw-r--r-- 0/0           69166 2024-01-25 18:17 package/CHANGELOG.md
-rw-r--r-- 0/0              69 2024-01-25 18:17 package/README.md
-rw-r--r-- 0/0              49 2024-01-25 18:30 package/exported.d.ts
-rw-r--r-- 0/0             103 2024-01-25 18:30 package/exported.d.ts.map
-rw-r--r-- 0/0              38 2024-01-25 18:17 package/exported.js
-rw-r--r-- 0/0             259 2024-01-25 18:30 package/index.d.ts
-rw-r--r-- 0/0              97 2024-01-25 18:30 package/index.d.ts.map
-rw-r--r-- 0/0             376 2024-01-25 18:17 package/index.js

Upgrade Considerations

Must be included in release branch to be published. Verified that the same change is needed there

@mhofman mhofman requested a review from dckc January 25, 2024 18:32
@mhofman mhofman added the automerge:squash Automatically squash merge label Jan 25, 2024
Comment on lines +58 to +59
"index.*",
"exported.*"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is that normally necessary? surely index.js is included in packages by default

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The files pointed to by main and bin are supposed to be automatically includer, but apparently there are not. Maybe another yarn gremlin?

@mergify mergify bot merged commit c132a31 into master Jan 25, 2024
74 checks passed
@mergify mergify bot deleted the mhofman/8809-fix-npm-files branch January 25, 2024 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:squash Automatically squash merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@agoric/vats package missing index.js
2 participants