@backstage/create-app 0.6.1-next.2 → 0.6.1
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 +43 -0
- package/dist/package.json.cjs.js +1 -1
- package/dist/packages/app-defaults/package.json.cjs.js +1 -1
- package/dist/packages/backend-defaults/package.json.cjs.js +1 -1
- package/dist/packages/canon/package.json.cjs.js +1 -1
- package/dist/packages/cli/package.json.cjs.js +1 -1
- package/dist/packages/core-app-api/package.json.cjs.js +1 -1
- package/dist/packages/core-components/package.json.cjs.js +1 -1
- package/dist/packages/core-plugin-api/package.json.cjs.js +1 -1
- package/dist/packages/integration-react/package.json.cjs.js +1 -1
- package/dist/packages/repo-tools/package.json.cjs.js +1 -1
- package/dist/packages/test-utils/package.json.cjs.js +1 -1
- package/dist/packages/theme/package.json.cjs.js +1 -1
- package/dist/plugins/api-docs/package.json.cjs.js +1 -1
- package/dist/plugins/app-backend/package.json.cjs.js +1 -1
- package/dist/plugins/auth-backend/package.json.cjs.js +1 -1
- package/dist/plugins/auth-backend-module-github-provider/package.json.cjs.js +1 -1
- package/dist/plugins/auth-backend-module-guest-provider/package.json.cjs.js +1 -1
- package/dist/plugins/auth-node/package.json.cjs.js +1 -1
- package/dist/plugins/catalog/package.json.cjs.js +1 -1
- package/dist/plugins/catalog-backend/package.json.cjs.js +1 -1
- package/dist/plugins/catalog-backend-module-logs/package.json.cjs.js +1 -1
- package/dist/plugins/catalog-backend-module-scaffolder-entity-model/package.json.cjs.js +1 -1
- package/dist/plugins/catalog-graph/package.json.cjs.js +1 -1
- package/dist/plugins/catalog-import/package.json.cjs.js +1 -1
- package/dist/plugins/catalog-react/package.json.cjs.js +1 -1
- package/dist/plugins/kubernetes/package.json.cjs.js +1 -1
- package/dist/plugins/kubernetes-backend/package.json.cjs.js +1 -1
- package/dist/plugins/org/package.json.cjs.js +1 -1
- package/dist/plugins/permission-backend/package.json.cjs.js +1 -1
- package/dist/plugins/permission-backend-module-policy-allow-all/package.json.cjs.js +1 -1
- package/dist/plugins/permission-node/package.json.cjs.js +1 -1
- package/dist/plugins/permission-react/package.json.cjs.js +1 -1
- package/dist/plugins/proxy-backend/package.json.cjs.js +1 -1
- package/dist/plugins/scaffolder/package.json.cjs.js +1 -1
- package/dist/plugins/scaffolder-backend/package.json.cjs.js +1 -1
- package/dist/plugins/scaffolder-backend-module-github/package.json.cjs.js +1 -1
- package/dist/plugins/search/package.json.cjs.js +1 -1
- package/dist/plugins/search-backend/package.json.cjs.js +1 -1
- package/dist/plugins/search-backend-module-catalog/package.json.cjs.js +1 -1
- package/dist/plugins/search-backend-module-pg/package.json.cjs.js +1 -1
- package/dist/plugins/search-backend-module-techdocs/package.json.cjs.js +1 -1
- package/dist/plugins/search-backend-node/package.json.cjs.js +1 -1
- package/dist/plugins/search-react/package.json.cjs.js +1 -1
- package/dist/plugins/techdocs/package.json.cjs.js +1 -1
- package/dist/plugins/techdocs-backend/package.json.cjs.js +1 -1
- package/dist/plugins/techdocs-module-addons-contrib/package.json.cjs.js +1 -1
- package/dist/plugins/techdocs-react/package.json.cjs.js +1 -1
- package/dist/plugins/user-settings/package.json.cjs.js +1 -1
- package/package.json +4 -4
- package/templates/default-app/examples/template/template.yaml +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,48 @@
|
|
|
1
1
|
# @backstage/create-app
|
|
2
2
|
|
|
3
|
+
## 0.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5590536: Bumped create-app version.
|
|
8
|
+
- 2fc663a: Bumped create-app version.
|
|
9
|
+
- edabbd6: Updated the root `package.json` in the template to use the new `backstage-cli repo start` command.
|
|
10
|
+
|
|
11
|
+
The `yarn dev` command is now redundant and has been removed from the template. We recommend existing projects to add these or similar scripts to help redirect users:
|
|
12
|
+
|
|
13
|
+
```json
|
|
14
|
+
{
|
|
15
|
+
"scripts": {
|
|
16
|
+
"dev": "echo \"Use 'yarn start' instead\"",
|
|
17
|
+
"start-backend": "echo \"Use 'yarn start backend' instead\""
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
- a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
|
|
23
|
+
|
|
24
|
+
<https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html>
|
|
25
|
+
|
|
26
|
+
- c761cf5: **BREAKING** The `publish:github` scaffolder action now defaults to initializing with a branch named "main" instead of "master" when creating new repositories.
|
|
27
|
+
|
|
28
|
+
If you or your organization have relied on all new github repositories having a default branch name of "master" you **must** set the `defaultBranch: 'master'` in your existing templates that feature the `publish:github` scaffolder action.
|
|
29
|
+
|
|
30
|
+
To keep using the name "master" for your new github repos, these are the **required** changes:
|
|
31
|
+
|
|
32
|
+
```diff
|
|
33
|
+
- id: publish
|
|
34
|
+
name: Publish
|
|
35
|
+
action: publish:github
|
|
36
|
+
input:
|
|
37
|
+
allowedHosts: ['github.com']
|
|
38
|
+
description: This is ${{ parameters.name }}
|
|
39
|
+
repoUrl: ${{ parameters.repoUrl }}
|
|
40
|
+
+ defaultBranch: 'master'
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
- Updated dependencies
|
|
44
|
+
- @backstage/cli-common@0.1.15
|
|
45
|
+
|
|
3
46
|
## 0.6.1-next.2
|
|
4
47
|
|
|
5
48
|
### Patch Changes
|
package/dist/package.json.cjs.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/create-app",
|
|
3
|
-
"version": "0.6.1
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "A CLI that helps you create your own Backstage app",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "cli"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"watch": "./src"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@backstage/cli-common": "0.1.15",
|
|
46
|
+
"@backstage/cli-common": "^0.1.15",
|
|
47
47
|
"chalk": "^4.0.0",
|
|
48
48
|
"commander": "^12.0.0",
|
|
49
49
|
"fs-extra": "^11.2.0",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"recursive-readdir": "^2.2.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@backstage/backend-test-utils": "1.
|
|
57
|
-
"@backstage/cli": "0.32.0
|
|
56
|
+
"@backstage/backend-test-utils": "^1.4.0",
|
|
57
|
+
"@backstage/cli": "^0.32.0",
|
|
58
58
|
"@types/command-exists": "^1.2.0",
|
|
59
59
|
"@types/fs-extra": "^11.0.0",
|
|
60
60
|
"@types/inquirer": "^8.1.3",
|
|
@@ -48,6 +48,8 @@ spec:
|
|
|
48
48
|
name: ${{ parameters.name }}
|
|
49
49
|
|
|
50
50
|
# This step publishes the contents of the working directory to GitHub.
|
|
51
|
+
# If you or your organization prefer another default branch name over 'main'
|
|
52
|
+
# you can change that here.
|
|
51
53
|
- id: publish
|
|
52
54
|
name: Publish
|
|
53
55
|
action: publish:github
|
|
@@ -55,6 +57,7 @@ spec:
|
|
|
55
57
|
allowedHosts: ['github.com']
|
|
56
58
|
description: This is ${{ parameters.name }}
|
|
57
59
|
repoUrl: ${{ parameters.repoUrl }}
|
|
60
|
+
defaultBranch: 'main'
|
|
58
61
|
|
|
59
62
|
# The final step is to register our new component in the catalog.
|
|
60
63
|
- id: register
|