pulumi/tests/integration/nodejs/main-overrides-package-json
Julien P 13ffd51017
Only look for main in package.json if no entyrpoint was set via Pulumi.yaml (#16363)
# Description

`main` in Pulumi.yaml is supposed to take precedence over `main` in
`package.json`, but we inadvertently broke this in
cf1189bf2c

Fixes https://github.com/pulumi/pulumi/issues/16274

## Checklist

- [x] I have run `make tidy` to update any new dependencies
- [x] I have run `make lint` to verify my code passes the lint check
  - [x] I have formatted my code using `gofumpt`
2024-06-11 11:36:34 +00:00
..
Pulumi.yaml Only look for main in package.json if no entyrpoint was set via Pulumi.yaml (#16363) 2024-06-11 11:36:34 +00:00
entrypoint.js Only look for main in package.json if no entyrpoint was set via Pulumi.yaml (#16363) 2024-06-11 11:36:34 +00:00
index.js Only look for main in package.json if no entyrpoint was set via Pulumi.yaml (#16363) 2024-06-11 11:36:34 +00:00
package.json Only look for main in package.json if no entyrpoint was set via Pulumi.yaml (#16363) 2024-06-11 11:36:34 +00:00