pulumi/tests/integration/nodejs
Brandon Pollack dae30d004b
Modify packages for the user instead of printing instructions when adding package. (#17815)
This is related to the the previous attempt #17795 where we discovered
the actual root issue wasn't the paths but that a sub package was being
generated unnecessarily (and the paths were ok).

If there are no local dependencies that indicates this is actually
needed and not a duplicate go.mod (differentiating between adding a
package and converting a project etc).

This also contains #17814 which merged into it:

Before we would print instructions, but with built in tools it is not
hard to modify the go.mod on behalf of the user and print out
information.

This still leaves java in a "print instruction" state since there isnt a
standard package managment system like in the other languages.

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

---------

Co-authored-by: Thomas Gummerer <t.gummerer@gmail.com>
2024-12-09 10:19:05 +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-no-dependencies [sdk/nodejs] Allow missing package.json dependencies (#16433) 2024-06-21 10:04:12 +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 Regenerate test `package-lock.json` files (#16387) 2024-06-13 10:52:59 +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
main-overrides-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
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
oom Fix NodeJS OOM detection condition (#17045) 2024-08-22 15:06:16 +00: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
packageadd_npm Modify packages for the user instead of printing instructions when adding package. (#17815) 2024-12-09 10:19:05 +00:00
packageadd_pnpm Modify packages for the user instead of printing instructions when adding package. (#17815) 2024-12-09 10:19:05 +00:00
packageadd_yarn Modify packages for the user instead of printing instructions when adding package. (#17815) 2024-12-09 10:19:05 +00:00
parameterized Add packageReferences feature flag (#17153) 2024-09-13 14:32:53 +00:00
pnpm-workspace Detect pnpm workspaces (#15525) 2024-06-18 13:37:06 +00:00
pulumi-main Fix dependency installation for nodejs projects with a main property (#17391) 2024-09-26 15:22:28 +00:00
regression-12301 Remove unused `package.json` files from tests (#13162) 2024-07-08 14:09:16 +00: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