Skip to content

Commit 6e367e9

Browse files
authored
build(deps): remove @aws/fully-qualified-names dependency aws#6807
## Problem FQN not used since 6484c98. And it adds ~1 MB to the vsix size. ## Solution - Drop FQN dependency. - Remove "temporary" hack added a long time ago for mynah: b2dc00a
1 parent 9f2fde8 commit 6e367e9

File tree

4 files changed

+1
-34
lines changed

4 files changed

+1
-34
lines changed

package-lock.json

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/amazonq/scripts/build/copyFiles.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,6 @@ const tasks: CopyTask[] = [
5656
destination: 'vue/',
5757
},
5858

59-
// Mynah
60-
{
61-
target: path.join(
62-
'../../node_modules',
63-
'@aws',
64-
'fully-qualified-names',
65-
'node',
66-
'aws_fully_qualified_names_bg.wasm'
67-
),
68-
destination: path.join('src', 'aws_fully_qualified_names_bg.wasm'),
69-
},
7059
{
7160
target: path.join('../../node_modules', 'web-tree-sitter', 'tree-sitter.wasm'),
7261
destination: path.join('src', 'tree-sitter.wasm'),

packages/core/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,6 @@
440440
},
441441
"devDependencies": {
442442
"@aws-sdk/types": "^3.13.1",
443-
"@aws/fully-qualified-names": "^2.1.4",
444443
"@cspotcode/source-map-support": "^0.8.1",
445444
"@sinonjs/fake-timers": "^10.0.2",
446445
"@types/adm-zip": "^0.4.34",
@@ -497,6 +496,7 @@
497496
"@amzn/amazon-q-developer-streaming-client": "file:../../src.gen/@amzn/amazon-q-developer-streaming-client",
498497
"@amzn/codewhisperer-streaming": "file:../../src.gen/@amzn/codewhisperer-streaming",
499498
"@aws-sdk/client-api-gateway": "<3.696.0",
499+
"@aws-sdk/client-cloudcontrol": "<3.696.0",
500500
"@aws-sdk/client-cloudformation": "<3.696.0",
501501
"@aws-sdk/client-cloudwatch-logs": "<3.696.0",
502502
"@aws-sdk/client-codecatalyst": "<3.696.0",
@@ -510,7 +510,6 @@
510510
"@aws-sdk/client-ssm": "<3.696.0",
511511
"@aws-sdk/client-sso": "<3.696.0",
512512
"@aws-sdk/client-sso-oidc": "<3.696.0",
513-
"@aws-sdk/client-cloudcontrol": "<3.696.0",
514513
"@aws-sdk/credential-provider-env": "<3.696.0",
515514
"@aws-sdk/credential-provider-process": "<3.696.0",
516515
"@aws-sdk/credential-provider-sso": "<3.696.0",

packages/toolkit/scripts/build/copyFiles.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -95,18 +95,6 @@ const tasks: CopyTask[] = [
9595
target: path.join('../../node_modules/aws-core-vscode/dist', 'vue'),
9696
destination: 'vue/',
9797
},
98-
99-
// Mynah
100-
{
101-
target: path.join(
102-
'../../node_modules',
103-
'@aws',
104-
'fully-qualified-names',
105-
'node',
106-
'aws_fully_qualified_names_bg.wasm'
107-
),
108-
destination: path.join('src', 'aws_fully_qualified_names_bg.wasm'),
109-
},
11098
{
11199
target: path.join('../../node_modules', 'web-tree-sitter', 'tree-sitter.wasm'),
112100
destination: path.join('src', 'tree-sitter.wasm'),

0 commit comments

Comments
 (0)