Skip to content

Commit f23c40a

Browse files
committed
Merge remote-tracking branch 'origin/staging' into HEAD
2 parents e0be8c2 + 941a470 commit f23c40a

File tree

1,414 files changed

+5457
-4827
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,414 files changed

+5457
-4827
lines changed
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": "fix(CodeTransform): Updating commands for copying dependencies"
4+
}
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": "Amazon Q: Fix code snippet borders, action button border radius, text alignment and overlay UI issues"
4+
}

.eslintignore

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ src/codewhisperer/client/codewhispererclient.d.ts
1212
src/codewhisperer/client/codewhispereruserclient.d.ts
1313
src/amazonqFeatureDev/client/featuredevproxyclient.d.ts
1414
src/testFixtures/**
15-
packages/toolkit/src/shared/telemetry/clienttelemetry.d.ts
16-
packages/toolkit/src/codewhisperer/client/codewhispererclient.d.ts
17-
packages/toolkit/src/codewhisperer/client/codewhispereruserclient.d.ts
18-
packages/toolkit/src/amazonqFeatureDev/client/featuredevproxyclient.d.ts
19-
packages/toolkit/src/testFixtures/**
15+
packages/core/src/shared/telemetry/clienttelemetry.d.ts
16+
packages/core/src/codewhisperer/client/codewhispererclient.d.ts
17+
packages/core/src/codewhisperer/client/codewhispereruserclient.d.ts
18+
packages/core/src/amazonqFeatureDev/client/featuredevproxyclient.d.ts
19+
packages/core/src/testFixtures/**

.github/CODEOWNERS

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
* @aws/aws-ides-team
2-
packages/toolkit/src/codewhisperer/ @aws/codewhisperer-team
3-
packages/toolkit/src/amazonqFeatureDev/ @aws/earlybird
4-
packages/toolkit/src/codewhispererChat/ @aws/aws-mynah
5-
packages/toolkit/src/amazonq/ @aws/aws-mynah
2+
packages/core/src/codewhisperer/ @aws/codewhisperer-team
3+
packages/core/src/amazonqFeatureDev/ @aws/earlybird
4+
packages/core/src/codewhispererChat/ @aws/aws-mynah
5+
packages/core/src/amazonq/ @aws/aws-mynah

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
version: 2
88
updates:
99
- package-ecosystem: 'npm'
10-
directory: './packages/toolkit/' # Location of package manifests.
10+
directory: './packages/core/' # Location of package manifests.
1111
target-branch: 'master' # Avoid updates to "staging".
1212
commit-message:
1313
prefix: 'deps'
@@ -25,7 +25,7 @@ updates:
2525
- '@smithy*'
2626
- 'smithy*'
2727
- package-ecosystem: 'github-actions'
28-
directory: './packages/toolkit/'
28+
directory: './packages/core/'
2929
target-branch: 'master' # Avoid updates to "staging".
3030
commit-message:
3131
prefix: 'deps'

.gitignore

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,34 +19,37 @@ __pycache__
1919
/dependency-graph.svg
2020

2121
# Auto generated definitions
22-
packages/toolkit/src/**/*.gen.ts
22+
packages/*/src/**/*.gen.ts
2323
src.gen/*
24+
2425
# Telemetry definition for testing adding telemetry
25-
packages/toolkit/src/shared/telemetry/vscodeTelemetry.json
26+
packages/core/src/shared/telemetry/vscodeTelemetry.json
2627

2728
# Test reports
2829
.test-reports
2930

3031
# Auto generated type definitions
31-
packages/toolkit/src/shared/telemetry/clienttelemetry.d.ts
32-
packages/toolkit/src/codewhisperer/client/codewhispererclient.d.ts
33-
packages/toolkit/src/codewhisperer/client/codewhispereruserclient.d.ts
34-
packages/toolkit/src/amazonqFeatureDev/client/featuredevproxyclient.d.ts
32+
packages/core/src/shared/telemetry/clienttelemetry.d.ts
33+
packages/core/src/codewhisperer/client/codewhispererclient.d.ts
34+
packages/core/src/codewhisperer/client/codewhispereruserclient.d.ts
35+
packages/core/src/amazonqFeatureDev/client/featuredevproxyclient.d.ts
3536

3637
# Generated by tests
37-
packages/toolkit/src/testFixtures/**/bin
38-
packages/toolkit/src/testFixtures/**/obj
38+
packages/core/src/testFixtures/**/bin
39+
packages/core/src/testFixtures/**/obj
3940

4041
# Generated by copyFiles.ts
4142
packages/*/README*
4243
packages/*/CHANGELOG.md
4344
packages/*/LICENSE
4445
packages/*/NOTICE
46+
packages/toolkit/package.nls.json
47+
packages/toolkit/resources
4548

4649
# Icons
47-
packages/toolkit/resources/icons/cloud9/generated/**
48-
packages/toolkit/resources/fonts/aws-toolkit-icons.woff
49-
packages/toolkit/resources/css/icons.css
50+
packages/*/resources/icons/cloud9/generated/**
51+
packages/*/resources/fonts/aws-toolkit-icons.woff
52+
packages/*/resources/css/icons.css
5053

5154
# local configuration
5255
.local.env

.prettierignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ src.gen/**
1111
src/shared/telemetry/service-2.json
1212
src/testFixtures/**
1313

14-
packages/toolkit/src/shared/telemetry/service-2.json
15-
packages/toolkit/src/testFixtures/**
14+
packages/core/src/shared/telemetry/service-2.json
15+
packages/core/src/testFixtures/**

CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ codebase and sending pull requests.
99
## Getting Started
1010

1111
This project is set up as a typescript monorepo. The documentation throughout this project
12-
is referring to the subproject in [`packages/toolkit/`](./packages/toolkit/). For more information,
13-
see [ARCHITECTURE.md](./docs/ARCHITECTURE.md#monorepo-structure)
12+
is referring to the subprojects [`packages/toolkit/`](./packages/toolkit/) and [`packages/core/`](./packages/core/).
13+
Please see [ARCHITECTURE.md](./docs/ARCHITECTURE.md#monorepo-structure) to understand the
14+
structure of thispackage before contributing.
1415

1516
### Find things to do
1617

@@ -40,8 +41,8 @@ Then clone the repository and install NPM packages:
4041

4142
### Run
4243

43-
Due to the monorepo structure of the project, you can run the extension in VSCode by either opening the
44-
`aws-toolkit-vscode/packages/toolkit` folder directly, or adding it as a root folder in the VSCode Workspace.
44+
Due to the monorepo structure of the project, you must have the `aws-toolkit-vscode/packages/toolkit` folder open as root folder in the workspace.
45+
The easiest way to open the project: File > Open Workspace from File > choose `aws-toolkit-vscode/aws-toolkit-vscode.code-workspace`
4546

4647
To run the extension from VSCode as a Node.js app:
4748

@@ -161,9 +162,8 @@ See [web.md](./docs/web.md) for working with the web mode implementation of the
161162
See [TESTPLAN.md](./docs/TESTPLAN.md) to understand the project's test
162163
structure, mechanics and philosophy.
163164
164-
You can run tests directly from VSCode. Due to the monorepo structure of the project, you must either open
165-
the `aws-toolkit-vscode/packages/toolkit/` folder directly, or add it as a root folder in the VSCode Workspace.
166-
Then:
165+
You can run tests directly from VSCode. Due to the monorepo structure of the project, you must have the `aws-toolkit-vscode/packages/toolkit` folder open as root folder in the workspace.
166+
The easiest way to open the project: File > Open Workspace from File > choose `aws-toolkit-vscode/aws-toolkit-vscode.code-workspace`
167167
168168
1. Select `View > Debug`, or select the Debug pane from the sidebar.
169169
2. From the dropdown at the top of the Debug pane, select the `Extension Tests` configuration.

aws-toolkit-vscode.code-workspace

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"folders": [
3+
{
4+
"path": "."
5+
},
6+
{
7+
"path": "packages/core"
8+
},
9+
{
10+
"path": "packages/toolkit"
11+
},
12+
{
13+
"path": "packages/amazonq"
14+
}
15+
],
16+
"settings": {
17+
"typescript.tsdk": "node_modules/typescript/lib"
18+
}
19+
}

buildspec/linuxE2ETests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ env:
88
AWS_TOOLKIT_TEST_NO_COLOR: '1'
99
# Suppress noisy apt-get/dpkg warnings like "debconf: unable to initialize frontend: Dialog").
1010
DEBIAN_FRONTEND: 'noninteractive'
11+
# Required dir overrides, otherwise the test will likely fail due to too long path names.
12+
# E.g. WARNING: IPC handle <path> is longer than 107 chars, try a shorter --user-data-dir
13+
# followed by Error: Could not delete obsolete instance handle Error: ENOENT: no such file or directory, unlink <path>
14+
AWS_TOOLKIT_TEST_CACHE_DIR: '/tmp/.vscode-test/'
15+
AWS_TOOLKIT_TEST_USER_DIR: '/tmp/.vscode-test/user-data/'
1116

1217
phases:
1318
install:

0 commit comments

Comments
 (0)