Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/purple-tips-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@aws-amplify/plugin-types': patch
'@aws-amplify/cli-core': patch
'@aws-amplify/sandbox': patch
---

making some adjustments based on our recent typescipt upgrade
24 changes: 16 additions & 8 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@octokit/webhooks-types": "^7.5.1",
"@shopify/eslint-plugin": "^43.0.0",
"@types/fs-extra": "^11.0.1",
"@types/node": "^18.15.11",
"@types/node": "^20.19.5",
"@types/prettier": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^8.23.0",
"@typescript-eslint/parser": "^8.23.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"execa": "^9.5.1",
"kleur": "^4.1.5",
"ora": "8.2.0",
"semver": "^7.6.3",
"strip-ansi": "^7.1.0",
"wrap-ansi": "^9.0.0",
"semver": "^7.6.3",
"zod": "3.25.17"
}
}
4 changes: 2 additions & 2 deletions packages/plugin-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
},
"license": "Apache-2.0",
"peerDependencies": {
"@aws-sdk/types": "^3.734.0",
"aws-cdk-lib": "^2.189.1",
"constructs": "^10.0.0",
"@aws-sdk/types": "^3.734.0"
"constructs": "^10.0.0"
},
"dependencies": {
"@aws-cdk/toolkit-lib": "1.6.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/sandbox/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import { BackendIdentifier } from '@aws-amplify/plugin-types';
import { ClientConfigFormat } from '@aws-amplify/client-config';
import EventEmitter from 'events';
import { EventEmitter } from 'events';
import { Format } from '@aws-amplify/cli-core';
import { Printer } from '@aws-amplify/cli-core';
import { SDKProfileResolver } from '@aws-amplify/plugin-types';
Expand Down
1 change: 1 addition & 0 deletions packages/sandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
},
"devDependencies": {
"@types/debounce-promise": "^3.1.6",
"@types/events": "^3.0.3",
"@types/parse-gitignore": "^1.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/sandbox/src/file_watching_sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import fs from 'fs';
import _open from 'open';
// EventEmitter is a class name and expected to have PascalCase
// eslint-disable-next-line @typescript-eslint/naming-convention
import EventEmitter from 'events';
import { EventEmitter } from 'events';
import {
GetParameterCommand,
ParameterNotFound,
Expand Down
2 changes: 1 addition & 1 deletion packages/sandbox/src/sandbox.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// EventEmitter is a class name and expected to have PascalCase
// eslint-disable-next-line @typescript-eslint/naming-convention
import EventEmitter from 'events';
import { EventEmitter } from 'events';
import { ClientConfigFormat } from '@aws-amplify/client-config';
import { BackendIdentifier } from '@aws-amplify/plugin-types';

Expand Down
3 changes: 2 additions & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"strictPropertyInitialization": false,
"skipLibCheck": true,
"esModuleInterop": true,
"resolveJsonModule": true
"resolveJsonModule": true,
"types": ["node"]
},
"exclude": ["**/node_modules", "**/lib"]
}
Loading