@backstage/cli 0.0.0-nightly-20220312021830 → 0.0.0-nightly-20220315022536

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,10 +1,15 @@
1
1
  # @backstage/cli
2
2
 
3
- ## 0.0.0-nightly-20220312021830
3
+ ## 0.0.0-nightly-20220315022536
4
+
5
+ ### Minor Changes
6
+
7
+ - 217547ae51: **BREAKING**: The provided Jest configuration now only matches files with a `.test.` infix, rather than any files that is suffixed with `test.<ext>`. In particular this means that files named just `test.ts` will no longer be considered a test file.
4
8
 
5
9
  ### Patch Changes
6
10
 
7
11
  - 947ae3b40e: Applied the fix from version `0.15.3` of this package, which is part of the `v0.71.1` release of Backstage.
12
+ - 19eed0edd9: Fix for `overrides` not being properly forwarded from the extra configuration passed to `@backstage/cli/config/eslint-factory`.
8
13
 
9
14
  ## 0.15.3
10
15
 
@@ -37,6 +37,7 @@ function createConfig(dir, extraConfig = {}) {
37
37
  env,
38
38
  parserOptions,
39
39
  ignorePatterns,
40
+ overrides,
40
41
 
41
42
  rules,
42
43
  tsRules,
@@ -173,6 +174,7 @@ function createConfig(dir, extraConfig = {}) {
173
174
  ],
174
175
  },
175
176
  },
177
+ ...(overrides ?? []),
176
178
  ],
177
179
  };
178
180
  }
package/config/jest.js CHANGED
@@ -112,7 +112,7 @@ async function getProjectConfig(targetPath, displayName) {
112
112
  },
113
113
 
114
114
  // A bit more opinionated
115
- testMatch: ['**/?(*.)test.{js,jsx,ts,tsx,mjs,cjs}'],
115
+ testMatch: ['**/*.test.{js,jsx,ts,tsx,mjs,cjs}'],
116
116
 
117
117
  transformIgnorePatterns: [`/node_modules/(?:${transformIgnorePattern})/`],
118
118
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/cli",
3
3
  "description": "CLI for developing Backstage plugins and apps",
4
- "version": "0.0.0-nightly-20220312021830",
4
+ "version": "0.0.0-nightly-20220315022536",
5
5
  "private": false,
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -121,13 +121,13 @@
121
121
  "zod": "^3.11.6"
122
122
  },
123
123
  "devDependencies": {
124
- "@backstage/backend-common": "^0.0.0-nightly-20220312021830",
124
+ "@backstage/backend-common": "^0.0.0-nightly-20220315022536",
125
125
  "@backstage/config": "^0.1.15",
126
- "@backstage/core-components": "^0.0.0-nightly-20220312021830",
127
- "@backstage/core-plugin-api": "^0.0.0-nightly-20220312021830",
128
- "@backstage/core-app-api": "^0.0.0-nightly-20220312021830",
129
- "@backstage/dev-utils": "^0.0.0-nightly-20220312021830",
130
- "@backstage/test-utils": "^0.0.0-nightly-20220312021830",
126
+ "@backstage/core-components": "^0.0.0-nightly-20220315022536",
127
+ "@backstage/core-plugin-api": "^0.0.0-nightly-20220315022536",
128
+ "@backstage/core-app-api": "^0.0.0-nightly-20220315022536",
129
+ "@backstage/dev-utils": "^0.0.0-nightly-20220315022536",
130
+ "@backstage/test-utils": "^0.0.0-nightly-20220315022536",
131
131
  "@backstage/theme": "^0.2.15",
132
132
  "@types/diff": "^5.0.0",
133
133
  "@types/express": "^4.17.6",