pulumi/tests/integration/nodejs
Julien P 5a19d754d7
Fix codepaths computation when working dir is nested relative to package.json (#15601)
# Description

When using `tsc` to precompile typescript in a monorepo, we need to work
relative to the location of `package.json`, not where the pulumi program
lives (which is usually nested further down).

## 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`

<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [ ] I have added tests that prove my fix is effective or that my
feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [ ] I have run `make changelog` and committed the
`changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the
Pulumi Cloud,
then the service should honor older versions of the CLI where this
change would not exist.
You must then bump the API version in
/pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2024-03-08 16:16:47 +00:00
..
codepaths Unskip tests skipped in #15555, #15556, #15557 (#15573) 2024-03-05 09:12:53 +00:00
codepaths-nested Unskip tests skipped in #15555, #15556, #15557 (#15573) 2024-03-05 09:12:53 +00:00
codepaths-tsc Fix codepaths computation when working dir is nested relative to package.json (#15601) 2024-03-08 16:16:47 +00:00
codepaths-workspaces Unskip tests skipped in #15555, #15556, #15557 (#15573) 2024-03-05 09:12:53 +00:00
codepaths-workspaces-tsc Fix codepaths computation when working dir is nested relative to package.json (#15601) 2024-03-08 16:16:47 +00:00
compiler_options [langhost/node] More ESM support: `nodeargs`, main entrypoints, and tests (#8655) 2022-01-04 18:54:38 -08:00
esm-js [langhost/node] More ESM support: `nodeargs`, main entrypoints, and tests (#8655) 2022-01-04 18:54:38 -08:00
esm-js-main [langhost/node] More ESM support: `nodeargs`, main entrypoints, and tests (#8655) 2022-01-04 18:54:38 -08:00
esm-package-json-in-parent-dir-without-main [sdk/nodejs] Support loading package.json from parent dir 2023-06-29 07:57:43 -07:00
esm-srcdir-ts Bump semver and @pulumi/pulumi 2023-06-30 00:59:22 +00:00
esm-ts [langhost/node] More ESM support: `nodeargs`, main entrypoints, and tests (#8655) 2022-01-04 18:54:38 -08:00
esm-ts-compiled Bump nodejs integration test version 2022-11-15 16:36:18 -08:00
esm-ts-default-export [sdk/nodejs] Support top-level default exports in ESM (#8766) 2022-01-22 18:33:28 -08:00
esm-ts-nested-src [sdk/nodejs] Support loading package.json from parent dir 2023-06-29 07:57:43 -07:00
esm-ts-specifier-resolution-node [langhost/node] More ESM support: `nodeargs`, main entrypoints, and tests (#8655) 2022-01-04 18:54:38 -08:00
esm-with-package-json-in-parent-dir [sdk/nodejs] Support loading package.json from parent dir 2023-06-29 07:57:43 -07:00
npm-and-yarn-not-a-workspace Detect npm and yarn workspaces setups (#15421) 2024-02-16 08:25:12 +00:00
npm-and-yarn-workspaces Detect npm and yarn workspaces setups (#15421) 2024-02-16 08:25:12 +00:00
omit-stacktrace updated error message to catch syntax errors (#10465) 2022-08-23 21:33:29 -05:00
package-json-in-parent-dir-without-main [sdk/nodejs] Support loading package.json from parent dir 2023-06-29 07:57:43 -07:00
regression-12301 Revert package.json lookup fix. 2023-05-15 14:14:57 -04:00
ts-with-package-json-in-parent-dir [sdk/nodejs] Support loading package.json from parent dir 2023-06-29 07:57:43 -07:00
undefined-stack-output Warn about undefined stack outputs 2023-07-28 14:33:04 +01:00
yarn-workspaces-nohoist Detect npm and yarn workspaces setups (#15421) 2024-02-16 08:25:12 +00:00
.gitignore [langhost/node] More ESM support: `nodeargs`, main entrypoints, and tests (#8655) 2022-01-04 18:54:38 -08:00