@backstage/create-app 0.4.33 → 0.4.34-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,10 +1,71 @@
1
1
  # @backstage/create-app
2
2
 
3
- ## 0.4.33
3
+ ## 0.4.34-next.2
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 7f01e61464: Updated the create-app command to no longer require Git to be installed and configured. A git repository will only be initialized if possible and if not already in an git repository.
7
+ - 384eaa2307: Switched Node.js version to support version 16 & 18, rather than 14 & 16. To switch the Node.js version in your own project, apply the following change to the root `package.json`:
8
+
9
+ ```diff
10
+ "engines": {
11
+ - "node": "14 || 16"
12
+ + "node": "16 || 18"
13
+ },
14
+ ```
15
+
16
+ As well as the following change to `packages/app/package.json`:
17
+
18
+ ```diff
19
+ - "@types/node": "^14.14.32",
20
+ + "@types/node": "^16.11.26",
21
+ ```
22
+
23
+ - 864c876e57: Fixed incorrect comments in the templated `app-config.yaml` and `app-config.production.yaml`. The `backend.listen` directive is not in fact needed to override the `backend.baseUrl`, the backend listens to all interfaces by default. The configuration has also been updated to listen to all interfaces, rather than just IPv4 ones, as this is required for Node.js v18. The production configuration now also shows the option to specify `backend.listen` as a single string.
24
+
25
+ To apply this changes to an existing app, make the following change to `app-config.yaml`:
26
+
27
+ ```diff
28
+ - # Uncomment the following host directive to bind to all IPv4 interfaces and
29
+ - # not just the baseUrl hostname.
30
+ - # host: 0.0.0.0
31
+ + # Uncomment the following host directive to bind to specific interfaces
32
+ + # host: 127.0.0.1
33
+ ```
34
+
35
+ And the following change to `app-config.production.yaml`:
36
+
37
+ ```diff
38
+ - listen:
39
+ - port: 7007
40
+ - # The following host directive binds to all IPv4 interfaces when its value
41
+ - # is "0.0.0.0". This is the most permissive setting. The right value depends
42
+ - # on your specific deployment. If you remove the host line entirely, the
43
+ - # backend will bind on the interface that corresponds to the backend.baseUrl
44
+ - # hostname.
45
+ - host: 0.0.0.0
46
+ + # The listener can also be expressed as a single <host>:<port> string. In this case we bind to
47
+ + # all interfaces, the most permissive setting. The right value depends on your specific deployment.
48
+ + listen: ':7007'
49
+ ```
50
+
51
+ - Updated dependencies
52
+ - @backstage/cli-common@0.1.10
53
+
54
+ ## 0.4.33-next.1
55
+
56
+ ### Patch Changes
57
+
58
+ - Bumped create-app version.
59
+
60
+ ## 0.4.33-next.0
61
+
62
+ ### Patch Changes
63
+
64
+ - 4091c73e68: Updated `@swc/core` to `v1.3.9` which fixes a `.tsx` parser bug. You may want to run `yarn backstage-cli versions:bump` to get on latest version including the CLI itself.
65
+ - 80bfac5266: Updated the create-app command to no longer require Git to be installed and configured. A git repository will only be initialized if possible and if not already in an git repository.
66
+ - f905853ad6: Prefer using `Link` from `@backstage/core-components` rather than material-UI.
67
+ - Updated dependencies
68
+ - @backstage/cli-common@0.1.10
8
69
 
9
70
  ## 0.4.32
10
71
 
package/dist/index.cjs.js CHANGED
@@ -57,101 +57,101 @@ ${chalk__default["default"].red(`${error}`)}
57
57
  }
58
58
  }
59
59
 
60
- var version$L = "1.7.1";
60
+ var version$L = "1.8.0-next.2";
61
61
 
62
- var version$K = "1.0.7";
62
+ var version$K = "1.0.8-next.1";
63
63
 
64
- var version$J = "0.15.2";
64
+ var version$J = "0.16.0-next.1";
65
65
 
66
- var version$I = "0.3.6";
66
+ var version$I = "0.3.7-next.1";
67
67
 
68
- var version$H = "1.1.1";
68
+ var version$H = "1.1.2-next.0";
69
69
 
70
- var version$G = "1.1.2";
70
+ var version$G = "1.1.3-next.0";
71
71
 
72
- var version$F = "0.20.0";
72
+ var version$F = "0.21.0-next.1";
73
73
 
74
- var version$E = "1.0.3";
74
+ var version$E = "1.0.4-next.0";
75
75
 
76
- var version$D = "1.1.1";
76
+ var version$D = "1.2.0-next.0";
77
77
 
78
- var version$C = "0.11.2";
78
+ var version$C = "0.12.0-next.1";
79
79
 
80
- var version$B = "1.0.7";
80
+ var version$B = "1.1.0-next.0";
81
81
 
82
- var version$A = "1.1.2";
82
+ var version$A = "1.1.3-next.0";
83
83
 
84
- var version$z = "1.1.5";
84
+ var version$z = "1.1.6-next.1";
85
85
 
86
- var version$y = "1.2.1";
86
+ var version$y = "1.2.2-next.0";
87
87
 
88
88
  var version$x = "0.2.16";
89
89
 
90
- var version$w = "0.8.10";
90
+ var version$w = "0.8.11-next.1";
91
91
 
92
- var version$v = "0.3.37";
92
+ var version$v = "0.3.38-next.1";
93
93
 
94
- var version$u = "0.17.0";
94
+ var version$u = "0.17.1-next.1";
95
95
 
96
- var version$t = "0.2.6";
96
+ var version$t = "0.2.7-next.1";
97
97
 
98
- var version$s = "1.6.0";
98
+ var version$s = "1.6.1-next.1";
99
99
 
100
- var version$r = "1.0.7";
100
+ var version$r = "1.0.8-next.0";
101
101
 
102
- var version$q = "1.2.0";
102
+ var version$q = "1.2.1-next.1";
103
103
 
104
- var version$p = "1.5.0";
104
+ var version$p = "1.5.1-next.1";
105
105
 
106
- var version$o = "0.2.22";
106
+ var version$o = "0.2.23-next.1";
107
107
 
108
- var version$n = "0.9.0";
108
+ var version$n = "0.9.1-next.1";
109
109
 
110
- var version$m = "0.3.10";
110
+ var version$m = "0.3.11-next.1";
111
111
 
112
- var version$l = "0.3.41";
112
+ var version$l = "0.3.42-next.1";
113
113
 
114
- var version$k = "0.5.10";
114
+ var version$k = "0.5.11-next.1";
115
115
 
116
- var version$j = "0.3.10";
116
+ var version$j = "0.3.11-next.1";
117
117
 
118
- var version$i = "0.5.10";
118
+ var version$i = "0.6.0-next.1";
119
119
 
120
- var version$h = "0.7.0";
120
+ var version$h = "0.7.1-next.0";
121
121
 
122
- var version$g = "0.4.6";
122
+ var version$g = "0.4.7-next.0";
123
123
 
124
- var version$f = "0.7.0";
124
+ var version$f = "0.7.1-next.1";
125
125
 
126
- var version$e = "0.2.31";
126
+ var version$e = "0.2.32-next.1";
127
127
 
128
- var version$d = "0.1.34";
128
+ var version$d = "0.1.35-next.1";
129
129
 
130
- var version$c = "1.7.0";
130
+ var version$c = "1.8.0-next.1";
131
131
 
132
- var version$b = "1.7.0";
132
+ var version$b = "1.8.0-next.2";
133
133
 
134
- var version$a = "1.0.3";
134
+ var version$a = "1.0.4-next.1";
135
135
 
136
- var version$9 = "1.2.0";
136
+ var version$9 = "1.2.1-next.1";
137
137
 
138
- var version$8 = "1.1.0";
138
+ var version$8 = "1.1.1-next.1";
139
139
 
140
- var version$7 = "0.4.1";
140
+ var version$7 = "0.4.2-next.1";
141
141
 
142
- var version$6 = "1.0.3";
142
+ var version$6 = "1.0.4-next.1";
143
143
 
144
- var version$5 = "0.5.17";
144
+ var version$5 = "0.5.18-next.1";
145
145
 
146
- var version$4 = "1.3.3";
146
+ var version$4 = "1.4.0-next.2";
147
147
 
148
- var version$3 = "1.0.5";
148
+ var version$3 = "1.0.6-next.1";
149
149
 
150
- var version$2 = "1.0.5";
150
+ var version$2 = "1.0.6-next.1";
151
151
 
152
- var version$1 = "1.4.0";
152
+ var version$1 = "1.4.1-next.1";
153
153
 
154
- var version = "0.5.0";
154
+ var version = "0.5.1-next.1";
155
155
 
156
156
  const packageVersions = {
157
157
  root: version$L,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/create-app",
3
3
  "description": "A CLI that helps you create your own Backstage app",
4
- "version": "0.4.33",
4
+ "version": "0.4.34-next.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -42,7 +42,7 @@
42
42
  "recursive-readdir": "^2.2.2"
43
43
  },
44
44
  "devDependencies": {
45
- "@backstage/cli": "^0.20.0",
45
+ "@backstage/cli": "^0.21.0-next.1",
46
46
  "@types/command-exists": "^1.2.0",
47
47
  "@types/fs-extra": "^9.0.1",
48
48
  "@types/inquirer": "^8.1.3",
@@ -9,14 +9,9 @@ backend:
9
9
  # callers. When its value is "http://localhost:7007", it's strictly private
10
10
  # and can't be reached by others.
11
11
  baseUrl: http://localhost:7007
12
- listen:
13
- port: 7007
14
- # The following host directive binds to all IPv4 interfaces when its value
15
- # is "0.0.0.0". This is the most permissive setting. The right value depends
16
- # on your specific deployment. If you remove the host line entirely, the
17
- # backend will bind on the interface that corresponds to the backend.baseUrl
18
- # hostname.
19
- host: 0.0.0.0
12
+ # The listener can also be expressed as a single <host>:<port> string. In this case we bind to
13
+ # all interfaces, the most permissive setting. The right value depends on your specific deployment.
14
+ listen: ':7007'
20
15
 
21
16
  # config options: https://node-postgres.com/api/client
22
17
  database:
@@ -15,9 +15,8 @@ backend:
15
15
  baseUrl: http://localhost:7007
16
16
  listen:
17
17
  port: 7007
18
- # Uncomment the following host directive to bind to all IPv4 interfaces and
19
- # not just the baseUrl hostname.
20
- # host: 0.0.0.0
18
+ # Uncomment the following host directive to bind to specific interfaces
19
+ # host: 127.0.0.1
21
20
  csp:
22
21
  connect-src: ["'self'", 'http:', 'https:']
23
22
  # Content-Security-Policy directives follow the Helmet format: https://helmetjs.github.io/#reference
@@ -3,7 +3,7 @@
3
3
  "version": "1.0.0",
4
4
  "private": true,
5
5
  "engines": {
6
- "node": "14 || 16"
6
+ "node": "16 || 18"
7
7
  },
8
8
  "scripts": {
9
9
  "dev": "concurrently \"yarn start\" \"yarn start-backend\"",
@@ -1,5 +1,5 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
- import { Link, makeStyles } from '@material-ui/core';
2
+ import { makeStyles } from '@material-ui/core';
3
3
  import HomeIcon from '@material-ui/icons/Home';
4
4
  import ExtensionIcon from '@material-ui/icons/Extension';
5
5
  import MapIcon from '@material-ui/icons/MyLocation';
@@ -7,7 +7,6 @@ import LibraryBooks from '@material-ui/icons/LibraryBooks';
7
7
  import CreateComponentIcon from '@material-ui/icons/AddCircleOutline';
8
8
  import LogoFull from './LogoFull';
9
9
  import LogoIcon from './LogoIcon';
10
- import { NavLink } from 'react-router-dom';
11
10
  import {
12
11
  Settings as SidebarSettings,
13
12
  UserSettingsSignInAvatar,
@@ -23,6 +22,7 @@ import {
23
22
  SidebarScrollWrapper,
24
23
  SidebarSpace,
25
24
  useSidebarOpenState,
25
+ Link,
26
26
  } from '@backstage/core-components';
27
27
  import MenuIcon from '@material-ui/icons/Menu';
28
28
  import SearchIcon from '@material-ui/icons/Search';
@@ -48,13 +48,7 @@ const SidebarLogo = () => {
48
48
 
49
49
  return (
50
50
  <div className={classes.root}>
51
- <Link
52
- component={NavLink}
53
- to="/"
54
- underline="none"
55
- className={classes.link}
56
- aria-label="Home"
57
- >
51
+ <Link to="/" underline="none" className={classes.link} aria-label="Home">
58
52
  {isOpen ? <LogoFull /> : <LogoIcon />}
59
53
  </Link>
60
54
  </div>