@backstage/cli 0.0.0-nightly-20220429024638 → 0.0.0-nightly-20220430024336
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 +3 -2
- package/config/eslint-factory.js +8 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# @backstage/cli
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20220430024336
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- 6cd1f50ae1: Extended lint rule to prevents imports of stories or tests from production code.
|
|
7
8
|
- 97cce67ac7: Add instructions to `create-github-app` command.
|
|
8
9
|
- 08e12a3a14: Add package global-agent to support behind a proxy for backstage-cli commands like versions:bump.
|
|
9
10
|
- 4d8736eded: Changed Rollup configuration for TypeScript definition plugin to ignore `css`,
|
|
@@ -12,7 +13,7 @@
|
|
|
12
13
|
- 344ea56acc: Bump `commander` to version 9.1.0
|
|
13
14
|
- 8ab2a8226b: Updated the `create-github-app` command to throw an error if the organization argument is a user or a non existing organization.
|
|
14
15
|
- Updated dependencies
|
|
15
|
-
- @backstage/config-loader@0.0.0-nightly-
|
|
16
|
+
- @backstage/config-loader@0.0.0-nightly-20220430024336
|
|
16
17
|
|
|
17
18
|
## 0.17.1-next.0
|
|
18
19
|
|
package/config/eslint-factory.js
CHANGED
|
@@ -130,8 +130,14 @@ function createConfig(dir, extraConfig = {}) {
|
|
|
130
130
|
...(restrictedImports ?? []),
|
|
131
131
|
...(restrictedSrcImports ?? []),
|
|
132
132
|
],
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
patterns: [
|
|
134
|
+
// Avoid cross-package imports
|
|
135
|
+
'**/../../**/*/src/**',
|
|
136
|
+
'**/../../**/*/src',
|
|
137
|
+
// Prevent imports of stories or tests
|
|
138
|
+
'*.stories*',
|
|
139
|
+
'*.test*',
|
|
140
|
+
],
|
|
135
141
|
},
|
|
136
142
|
],
|
|
137
143
|
|
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-
|
|
4
|
+
"version": "0.0.0-nightly-20220430024336",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@backstage/cli-common": "^0.1.8",
|
|
35
35
|
"@backstage/config": "^1.0.0",
|
|
36
|
-
"@backstage/config-loader": "^0.0.0-nightly-
|
|
36
|
+
"@backstage/config-loader": "^0.0.0-nightly-20220430024336",
|
|
37
37
|
"@backstage/errors": "^1.0.0",
|
|
38
38
|
"@backstage/release-manifests": "^0.0.2",
|
|
39
39
|
"@backstage/types": "^1.0.0",
|
|
@@ -125,13 +125,13 @@
|
|
|
125
125
|
"zod": "^3.11.6"
|
|
126
126
|
},
|
|
127
127
|
"devDependencies": {
|
|
128
|
-
"@backstage/backend-common": "^0.0.0-nightly-
|
|
128
|
+
"@backstage/backend-common": "^0.0.0-nightly-20220430024336",
|
|
129
129
|
"@backstage/config": "^1.0.0",
|
|
130
130
|
"@backstage/core-app-api": "^1.0.1",
|
|
131
131
|
"@backstage/core-components": "^0.9.3",
|
|
132
|
-
"@backstage/core-plugin-api": "^0.0.0-nightly-
|
|
133
|
-
"@backstage/dev-utils": "^0.0.0-nightly-
|
|
134
|
-
"@backstage/test-utils": "^0.0.0-nightly-
|
|
132
|
+
"@backstage/core-plugin-api": "^0.0.0-nightly-20220430024336",
|
|
133
|
+
"@backstage/dev-utils": "^0.0.0-nightly-20220430024336",
|
|
134
|
+
"@backstage/test-utils": "^0.0.0-nightly-20220430024336",
|
|
135
135
|
"@backstage/theme": "^0.2.15",
|
|
136
136
|
"@types/diff": "^5.0.0",
|
|
137
137
|
"@types/express": "^4.17.6",
|