mirror of https://github.com/pulumi/pulumi.git
c7bd2c5859
With the release of v3.113.0, `@pulumi/pulumi` has an optional peer dependency on `typescript`. If trying to use `tsc` directly, you must explicitly add `typescript` as a dependency in your `package.json`. We're calling `tsc` for this test, so we need to add an explicit dependency. Note: This could be a `devDependency`, but the `package.json` files for the other test cases list the `typescript` dependency as a regular `dependency` (see [this](https://github.com/pulumi/pulumi/blob/master/sdk/nodejs/tests/sxs_ts_test/package%5E3.json) and [this](https://github.com/pulumi/pulumi/blob/master/sdk/nodejs/tests/sxs_ts_test/package%5E4.json)), so doing the same here. Fixes https://github.com/pulumi/pulumi/issues/15949 |
||
---|---|---|
.. | ||
.gitignore | ||
README.md | ||
index.ts | ||
package^3.json | ||
package^4.json | ||
package~3.8.3.json | ||
tsconfig.json |
README.md
This test validates that changes we're making in @pulumi/pulumi will be side-by-side compatible with the 'latest' version of @pulumi/pulumi
that has already shipped.
If a change is made that is not compatible, then the process should be:
- Ensure that the change is absolutely what we want to make.
- Disable running this test.
- Commit the change and update the minor version of
@pulumi/pulumi
(i.e. from 0.17.x to 0.18.0). - Flow this change downstream, rev'ing the minor version of all downstream packages.
- Re-enable the test. Because there is now a new 'latest'
@pulumi/pulumi
, this test should pass.
Step '3' indicates that we've made a breaking change, and that if 0.18 is pulled in from any package, that it must be pulled in from all packages.
Step '4' is necessary so that people can pick a set of packages that all agree on using this new @pulumi/pulumi
version. While not necessary to rev the minor version of these packages, we still do so to make it clear that there is a significant change here, and that one should not move to it as readily as they would a patch update.