Merge pull request #13133 from backstage/rugvip/modulefixes
tweaks to improve module support
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Linting is now ignored for any `.eslintrc.*` files, not just `.eslintrc.js`.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-graphiql': patch
|
||||
---
|
||||
|
||||
Minor internal tweak to lazy loading in order to improve module compatibility.
|
||||
@@ -76,7 +76,7 @@ function createConfig(dir, extraConfig = {}) {
|
||||
...parserOptions,
|
||||
},
|
||||
ignorePatterns: [
|
||||
'.eslintrc.js',
|
||||
'.eslintrc.*',
|
||||
'**/dist/**',
|
||||
'**/dist-types/**',
|
||||
...(ignorePatterns ?? []),
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { withLogCollector } from '@backstage//test-utils';
|
||||
import { withLogCollector } from '@backstage/test-utils';
|
||||
import { AppIdentityProxy } from './AppIdentityProxy';
|
||||
|
||||
describe('AppIdentityProxy', () => {
|
||||
|
||||
@@ -22,7 +22,9 @@ import { GraphQLEndpoint } from '../../lib/api';
|
||||
import { BackstageTheme } from '@backstage/theme';
|
||||
import { Progress } from '@backstage/core-components';
|
||||
|
||||
const GraphiQL = React.lazy(() => import('graphiql'));
|
||||
const GraphiQL = React.lazy(() =>
|
||||
import('graphiql').then(m => ({ default: m.GraphiQL })),
|
||||
);
|
||||
|
||||
const useStyles = makeStyles<BackstageTheme>(theme => ({
|
||||
root: {
|
||||
|
||||
Reference in New Issue
Block a user