-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(rollup): upgrade rollup deps, migrate to mjs config file, enfor…
…ce linting on mjs files (#5830) Co-authored-by: Danny Banks <[email protected]>
- Loading branch information
1 parent
8822de9
commit 545aa6a
Showing
69 changed files
with
459 additions
and
313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
"@aws-amplify/ui-angular": patch | ||
"@aws-amplify/ui-react": patch | ||
"@aws-amplify/ui-react-ai": patch | ||
"@aws-amplify/ui-react-core": patch | ||
"@aws-amplify/ui-react-core-notifications": patch | ||
"@aws-amplify/ui-react-geo": patch | ||
"@aws-amplify/ui-react-liveness": patch | ||
"@aws-amplify/ui-react-native": patch | ||
"@aws-amplify/ui-react-notifications": patch | ||
"@aws-amplify/ui-react-storage": patch | ||
"@aws-amplify/ui": patch | ||
"@aws-amplify/ui-vue": patch | ||
--- | ||
|
||
chore(rollup): upgrade rollup deps, migrate to mjs config file, enforce linting on mjs files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
module.exports = { | ||
extends: ['@aws-amplify/amplify-ui/react'], | ||
ignorePatterns: ['.eslintrc.js', 'dist', 'rollup.config.ts'], | ||
extends: '@aws-amplify/amplify-ui/react', | ||
ignorePatterns: ['.eslintrc.js', 'coverage', 'dist', 'node_modules'], | ||
// point to local tsconfig | ||
parserOptions: { project: ['tsconfig.json'], tsconfigRootDir: __dirname }, | ||
overrides: [ | ||
{ | ||
extends: ['@aws-amplify/amplify-ui/jest'], | ||
files: ['**/__mocks__/**', '**/__tests__/**'], | ||
}, | ||
{ files: '*.mjs' }, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"extends": "@aws-amplify/typescript-config/tsconfig.react.json", | ||
"include": ["jest.*.ts", "src/**/*.ts", "src/**/*.tsx"], | ||
"include": ["*.ts", "*.mjs", "src/**/*.ts", "src/**/*.tsx"], | ||
"exclude": ["node_modules"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
module.exports = { | ||
extends: ['@aws-amplify/amplify-ui/react'], | ||
ignorePatterns: ['.eslintrc.js', 'dist', 'rollup.config.ts'], | ||
extends: '@aws-amplify/amplify-ui/react', | ||
ignorePatterns: ['.eslintrc.js', 'coverage', 'dist', 'node_modules'], | ||
// point to local tsconfig | ||
parserOptions: { project: ['tsconfig.json'], tsconfigRootDir: __dirname }, | ||
overrides: [ | ||
{ | ||
extends: ['@aws-amplify/amplify-ui/jest'], | ||
files: ['**/__mocks__/**', '**/__tests__/**'], | ||
}, | ||
{ files: '*.mjs' }, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"extends": "@aws-amplify/typescript-config/tsconfig.react.json", | ||
"include": ["jest.config.ts", "src/**/*.ts", "src/**/*.tsx"], | ||
"include": ["*.ts", "*.mjs", "src/**/*.ts", "src/**/*.tsx"], | ||
"exclude": ["node_modules"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
module.exports = { | ||
extends: ['@aws-amplify/amplify-ui/react'], | ||
ignorePatterns: ['.eslintrc.js', 'dist'], | ||
extends: '@aws-amplify/amplify-ui/react', | ||
ignorePatterns: ['.eslintrc.js', 'coverage', 'dist', 'node_modules'], | ||
// point to local tsconfig | ||
parserOptions: { project: ['tsconfig.json'], tsconfigRootDir: __dirname }, | ||
overrides: [ | ||
{ | ||
extends: ['@aws-amplify/amplify-ui/jest'], | ||
files: ['**/__mocks__/**', '**/__tests__/**'], | ||
}, | ||
{ files: '*.mjs' }, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"extends": "@aws-amplify/typescript-config/tsconfig.react.json", | ||
"include": ["*.config.ts", "src/**/*.ts", "src/**/*.tsx"], | ||
"include": ["*.mjs", "*.ts", "src/**/*.ts", "src/**/*.tsx"], | ||
"exclude": ["node_modules"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
module.exports = { | ||
extends: ['@aws-amplify/amplify-ui/react'], | ||
ignorePatterns: ['.eslintrc.js', 'dist'], | ||
extends: '@aws-amplify/amplify-ui/react', | ||
ignorePatterns: ['.eslintrc.js', 'coverage', 'dist', 'node_modules'], | ||
// point to local tsconfig | ||
parserOptions: { project: ['tsconfig.json'], tsconfigRootDir: __dirname }, | ||
overrides: [ | ||
{ | ||
extends: ['@aws-amplify/amplify-ui/jest'], | ||
files: ['**/__mocks__/**', '**/__tests__/**'], | ||
}, | ||
{ files: '*.mjs' }, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"extends": "@aws-amplify/typescript-config/tsconfig.react.json", | ||
"include": ["*.config.ts", "src/**/*.ts", "src/**/*.tsx"], | ||
"include": ["*.mjs", "*.ts", "src/**/*.ts", "src/**/*.tsx"], | ||
"exclude": ["node_modules"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
module.exports = { | ||
extends: '@aws-amplify/amplify-ui/react', | ||
ignorePatterns: ['.eslintrc.js', 'dist'], | ||
ignorePatterns: ['.eslintrc.js', 'coverage', 'dist', 'node_modules'], | ||
// point to local tsconfig | ||
parserOptions: { project: ['tsconfig.json'], tsconfigRootDir: __dirname }, | ||
overrides: [ | ||
{ | ||
extends: '@aws-amplify/amplify-ui/jest', | ||
files: ['**/__mocks__/**', '**/__tests__/**'], | ||
}, | ||
{ files: '*.mjs' }, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@aws-amplify/ui-react-core/elements", | ||
"main": "../dist/elements.js", | ||
"module": "../dist/esm/elements/elements.mjs", | ||
"module": "../dist/esm/elements.mjs", | ||
"types": "../dist/types/elements/index.d.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"extends": "@aws-amplify/typescript-config/tsconfig.react.json", | ||
"include": ["*.config.ts", "src/**/*.ts", "src/**/*.tsx"], | ||
"include": ["*.mjs", "*.ts", "src/**/*.ts", "src/**/*.tsx"], | ||
"exclude": ["node_modules"] | ||
} |
Oops, something went wrong.