@backstage/cli 0.36.4-next.0 → 0.36.4-next.2

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,5 +1,24 @@
1
1
  # @backstage/cli
2
2
 
3
+ ## 0.36.4-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/cli-common@0.3.0-next.0
9
+ - @backstage/cli-module-build@0.1.5-next.2
10
+ - @backstage/cli-module-test-jest@0.1.4-next.0
11
+ - @backstage/cli-node@0.3.4-next.0
12
+ - @backstage/cli-defaults@0.1.4-next.1
13
+
14
+ ## 0.36.4-next.1
15
+
16
+ ### Patch Changes
17
+
18
+ - 61d4881: The shared ESLint configuration now reports unused imports in `config.d.ts` configuration schema files. These declaration files are not covered by the TypeScript compiler's unused-variable checks, which previously allowed a stray import to slip through. Such an import can resolve during local development but break configuration schema loading for consumers of the published package, so it is now caught at lint time.
19
+ - Updated dependencies
20
+ - @backstage/cli-module-build@0.1.5-next.1
21
+
3
22
  ## 0.36.4-next.0
4
23
 
5
24
  ### Patch Changes
@@ -183,6 +183,20 @@ function createConfig(dir, extraConfig = {}) {
183
183
  ],
184
184
  },
185
185
  },
186
+ {
187
+ // The unused variable checks above are disabled for TypeScript files
188
+ // and instead delegated to the TypeScript compiler. The compiler does
189
+ // not however report unused declarations in declaration files, leaving
190
+ // the published config schema declaration unchecked. A stray import in
191
+ // this file resolves fine within the monorepo but breaks config schema
192
+ // extraction in consuming apps, since only the declaration itself is
193
+ // published. We therefore catch unused imports here explicitly.
194
+ files: ['**/config.d.ts'],
195
+ rules: {
196
+ 'no-unused-vars': 'off',
197
+ 'unused-imports/no-unused-imports': 'error',
198
+ },
199
+ },
186
200
  ...(overrides ?? []),
187
201
  ],
188
202
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/cli",
3
- "version": "0.36.4-next.0",
3
+ "version": "0.36.4-next.2",
4
4
  "description": "CLI for developing Backstage plugins and apps",
5
5
  "backstage": {
6
6
  "role": "cli"
@@ -42,11 +42,11 @@
42
42
  "watch": "./src"
43
43
  },
44
44
  "dependencies": {
45
- "@backstage/cli-common": "0.2.2",
46
- "@backstage/cli-defaults": "0.1.4-next.0",
47
- "@backstage/cli-module-build": "0.1.5-next.0",
48
- "@backstage/cli-module-test-jest": "0.1.3",
49
- "@backstage/cli-node": "0.3.3",
45
+ "@backstage/cli-common": "0.3.0-next.0",
46
+ "@backstage/cli-defaults": "0.1.4-next.1",
47
+ "@backstage/cli-module-build": "0.1.5-next.2",
48
+ "@backstage/cli-module-test-jest": "0.1.4-next.0",
49
+ "@backstage/cli-node": "0.3.4-next.0",
50
50
  "@backstage/eslint-plugin": "0.3.1",
51
51
  "@manypkg/get-packages": "^1.1.3",
52
52
  "@spotify/eslint-config-base": "^15.0.0",
@@ -77,15 +77,15 @@
77
77
  "yaml": "^2.0.0"
78
78
  },
79
79
  "devDependencies": {
80
- "@backstage/backend-plugin-api": "1.9.3-next.0",
80
+ "@backstage/backend-plugin-api": "1.9.3-next.1",
81
81
  "@backstage/backend-test-utils": "1.11.5-next.0",
82
82
  "@backstage/catalog-client": "1.16.1-next.0",
83
83
  "@backstage/config": "1.3.8",
84
84
  "@backstage/core-app-api": "1.20.3-next.0",
85
- "@backstage/core-components": "0.18.12-next.0",
85
+ "@backstage/core-components": "0.18.12-next.1",
86
86
  "@backstage/core-plugin-api": "1.12.8-next.0",
87
87
  "@backstage/dev-utils": "1.1.25-next.0",
88
- "@backstage/plugin-auth-backend": "0.29.2-next.0",
88
+ "@backstage/plugin-auth-backend": "0.29.2-next.1",
89
89
  "@backstage/plugin-auth-backend-module-guest-provider": "0.2.21-next.0",
90
90
  "@backstage/plugin-catalog-node": "2.2.3-next.0",
91
91
  "@backstage/plugin-scaffolder-node": "0.13.5-next.0",