Skip to content

Commit 0d49535

Browse files
authored
fix: update file extension list and update mynah to consume minor ui fixes (#5435)
### Problem - Some file types in the file extension list are compiled files, which are irrelevant to use for CodeGen or other purposes. - fixes mynah ui issues: - Command selection fails when switching focus or copy pasting a prompt mynah-ui#87 - VsCode tab scrollbar shrinks height of tabs mynah-ui#90 ### Solution - Update mynah-ui to consume minor bug fixes - fix: prompt quick action handling edge cases mynah-ui#88 - fix: header in card not wrapping mynah-ui#91 - Update file extension allow list to remove compiled file & add a few file types
1 parent fc017b0 commit 0d49535

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

package-lock.json

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Q feature dev: update file extension list and minor UI fixes"
4+
}

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4112,7 +4112,7 @@
41124112
"@aws-sdk/property-provider": "3.46.0",
41134113
"@aws-sdk/smithy-client": "^3.46.0",
41144114
"@aws-sdk/util-arn-parser": "^3.46.0",
4115-
"@aws/mynah-ui": "^4.15.5",
4115+
"@aws/mynah-ui": "^4.15.6",
41164116
"@gerhobbelt/gitignore-parser": "^0.2.0-9",
41174117
"@iarna/toml": "^2.2.5",
41184118
"@smithy/middleware-retry": "^2.3.1",

packages/core/src/shared/filetypes.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ export const codefileExtensions = new Set([
159159
'.cfc',
160160
'.cfm',
161161
'.cjs',
162-
'.class',
163162
'.clj',
164163
'.cljc',
165164
'.cljs',
@@ -181,7 +180,6 @@ export const codefileExtensions = new Set([
181180
'.dpr',
182181
'.e',
183182
'.el',
184-
'.elc',
185183
'.elm',
186184
'.erl',
187185
'.ex',
@@ -269,8 +267,6 @@ export const codefileExtensions = new Set([
269267
'.psm1',
270268
'.purs',
271269
'.py',
272-
'.pyc',
273-
'.pyo',
274270
'.pyw',
275271
'.qs',
276272
'.r',
@@ -306,6 +302,7 @@ export const codefileExtensions = new Set([
306302
'.scd',
307303
'.scm',
308304
'.scss',
305+
'.sass',
309306
'.sh',
310307
'.shen',
311308
'.sig',
@@ -337,6 +334,7 @@ export const codefileExtensions = new Set([
337334
'.xi',
338335
'.xml',
339336
'.yaml',
337+
'.yml',
340338
'.zig',
341339
])
342340

0 commit comments

Comments
 (0)