Skip to content

Commit

Permalink
fix: possible conflicting versions of "constructs" package for ts fra…
Browse files Browse the repository at this point in the history
…mework (#5587)

Just avoid ts framework relying on its own version of constructs

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
  • Loading branch information
MarkMcCulloh authored Feb 6, 2024
1 parent 8574d5c commit 8afc22e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions libs/@wingcloud/framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
"registry": "https://registry.npmjs.org",
"tag": "latest"
},
"dependencies": {
"constructs": "~10.2.69"
},
"peerDependencies": {
"@winglang/sdk": "*",
"typescript": "^5.3.3"
Expand Down
1 change: 1 addition & 0 deletions libs/@wingcloud/framework/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// re-exporting useful types from the sdk
export { cloud, ex } from "@winglang/sdk";
export { Construct } from "@winglang/sdk/lib/core/types";

// typescript workflow primitives
export { inflight, lift } from "./inflight";
Expand Down
4 changes: 3 additions & 1 deletion libs/@wingcloud/framework/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { platform, std } from "@winglang/sdk";
import { Construct } from "constructs";
import type {
Construct
} from "@winglang/sdk/lib/core/types";

/**
* Properties for a Wing app.
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8afc22e

Please sign in to comment.