Skip to content

Commit 6f303f7

Browse files
committed
refactor(amazonqFeatureDev): put package.nls.json back to root
1 parent 09972b3 commit 6f303f7

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

packages/amazonq/scripts/build/copyFiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const tasks: CopyTask[] = [
3232

3333
{ target: path.join('../core', 'resources'), destination: path.join('..', 'resources') },
3434
{
35-
target: path.join('../core/src/shared/i18n/', 'package.nls.json'),
35+
target: path.join('../core', 'package.nls.json'),
3636
destination: path.join('..', 'package.nls.json'),
3737
},
3838
{ target: 'test/unit/amazonqGumby/resources' },
File renamed without changes.

packages/core/scripts/build/generateConfigurationAttributes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as fs from 'fs'
77
import { JSONSchema4 } from 'json-schema'
88
import { compile } from 'json-schema-to-typescript'
99
import packageJson from '../../package.json'
10-
import * as nlsJson from '../../src/shared/i18n/package.nls.json'
10+
import * as nlsJson from '../../package.nls.json'
1111

1212
const config = [
1313
{

packages/core/src/amazonqFeatureDev/util/i18n-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6-
import translations from '../../../src/shared/i18n/package.nls.json'
6+
import translations from '../../../package.nls.json'
77
import { localize } from '../../shared/utilities/vsCodeUtils'
88

99
export const i18n = (code: string) => {

packages/toolkit/scripts/build/copyFiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const tasks: CopyTask[] = [
3131

3232
{ target: path.join('../core', 'resources'), destination: path.join('..', 'resources') },
3333
{
34-
target: path.join('../core/src/shared/i18n/', 'package.nls.json'),
34+
target: path.join('../core/', 'package.nls.json'),
3535
destination: path.join('..', 'package.nls.json'),
3636
},
3737
{ target: path.join('../core', 'src', 'templates'), destination: path.join('src', 'templates') },

0 commit comments

Comments
 (0)