@backstage/create-app 0.4.30-next.1 → 0.4.30

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,56 @@
1
1
  # @backstage/create-app
2
2
 
3
+ ## 0.4.30
4
+
5
+ ### Patch Changes
6
+
7
+ - 73cee58fc2: Bumped create-app version.
8
+ - f762386d48: Bumped create-app version.
9
+ - b162bbf464: Bumped create-app version.
10
+ - db76fc6255: The `better-sqlite3` dependency has been moved back to production `"dependencies"` in `packages/backend/package.json`, with instructions in the Dockerfile to move it to `"devDependencies"` if desired. There is no need to apply this change to existing apps, unless you want your production image to have SQLite available as a database option.
11
+ - ab9edd8b58: Updated backend to write stack trace when the backend fails to start up.
12
+
13
+ To apply this change to your Backstage installation, make the following change to `packages/backend/src/index.ts`
14
+
15
+ ```diff
16
+ cors:
17
+ origin: http://localhost:3000
18
+ - console.error(`Backend failed to start up, ${error}`);
19
+ + console.error('Backend failed to start up', error);
20
+ ```
21
+
22
+ - 0174a0a022: Add `PATCH` and `HEAD` to the `Access-Control-Allow-Methods`.
23
+
24
+ To apply this change to your Backstage installation make the following change to your `app-config.yaml`
25
+
26
+ ```diff
27
+ cors:
28
+ origin: http://localhost:3000
29
+ - methods: [GET, POST, PUT, DELETE]
30
+ + methods: [GET, POST, PUT, DELETE, PATCH, HEAD]
31
+ ```
32
+
33
+ ## 0.4.30-next.3
34
+
35
+ ### Patch Changes
36
+
37
+ - Bumped create-app version.
38
+
39
+ ## 0.4.30-next.2
40
+
41
+ ### Patch Changes
42
+
43
+ - 0174a0a022: Add `PATCH` and `HEAD` to the `Access-Control-Allow-Methods`.
44
+
45
+ To apply this change to your Backstage installation make the following change to your `app-config.yaml`
46
+
47
+ ```diff
48
+ cors:
49
+ origin: http://localhost:3000
50
+ - methods: [GET, POST, PUT, DELETE]
51
+ + methods: [GET, POST, PUT, DELETE, PATCH, HEAD]
52
+ ```
53
+
3
54
  ## 0.4.30-next.1
4
55
 
5
56
  ### Patch Changes
package/dist/index.cjs.js CHANGED
@@ -57,99 +57,99 @@ ${chalk__default["default"].red(`${error}`)}
57
57
  }
58
58
  }
59
59
 
60
- var version$K = "1.5.0-next.1";
60
+ var version$K = "1.5.0";
61
61
 
62
- var version$J = "1.0.5-next.0";
62
+ var version$J = "1.0.5";
63
63
 
64
- var version$I = "0.15.0-next.1";
64
+ var version$I = "0.15.0";
65
65
 
66
- var version$H = "0.3.4-next.0";
66
+ var version$H = "0.3.4";
67
67
 
68
68
  var version$G = "1.0.4";
69
69
 
70
70
  var version$F = "1.1.0";
71
71
 
72
- var version$E = "0.18.1-next.0";
72
+ var version$E = "0.18.1";
73
73
 
74
74
  var version$D = "1.0.1";
75
75
 
76
- var version$C = "1.0.5-next.0";
76
+ var version$C = "1.0.5";
77
77
 
78
- var version$B = "0.10.1-next.1";
78
+ var version$B = "0.11.0";
79
79
 
80
- var version$A = "1.0.5-next.0";
80
+ var version$A = "1.0.5";
81
81
 
82
82
  var version$z = "1.1.0";
83
83
 
84
- var version$y = "1.1.3-next.0";
84
+ var version$y = "1.1.3";
85
85
 
86
- var version$x = "1.1.3-next.0";
86
+ var version$x = "1.1.3";
87
87
 
88
88
  var version$w = "0.2.16";
89
89
 
90
- var version$v = "0.8.8-next.1";
90
+ var version$v = "0.8.8";
91
91
 
92
- var version$u = "0.3.35-next.0";
92
+ var version$u = "0.3.35";
93
93
 
94
- var version$t = "0.15.1-next.0";
94
+ var version$t = "0.15.1";
95
95
 
96
- var version$s = "1.5.0-next.1";
96
+ var version$s = "1.5.0";
97
97
 
98
- var version$r = "1.0.5-next.0";
98
+ var version$r = "1.0.5";
99
99
 
100
- var version$q = "1.1.3-next.1";
100
+ var version$q = "1.1.3";
101
101
 
102
- var version$p = "1.3.1-next.1";
102
+ var version$p = "1.3.1";
103
103
 
104
- var version$o = "0.2.20-next.0";
104
+ var version$o = "0.2.20";
105
105
 
106
- var version$n = "0.8.11-next.0";
106
+ var version$n = "0.8.11";
107
107
 
108
- var version$m = "0.3.8-next.0";
108
+ var version$m = "0.3.8";
109
109
 
110
- var version$l = "0.3.39-next.0";
110
+ var version$l = "0.3.39";
111
111
 
112
- var version$k = "0.5.8-next.0";
112
+ var version$k = "0.5.8";
113
113
 
114
- var version$j = "0.3.8-next.0";
114
+ var version$j = "0.3.8";
115
115
 
116
- var version$i = "0.5.8-next.0";
116
+ var version$i = "0.5.8";
117
117
 
118
118
  var version$h = "0.6.3";
119
119
 
120
- var version$g = "0.4.4-next.0";
120
+ var version$g = "0.4.4";
121
121
 
122
- var version$f = "0.6.4-next.0";
122
+ var version$f = "0.6.4";
123
123
 
124
- var version$e = "0.2.29-next.0";
124
+ var version$e = "0.2.29";
125
125
 
126
- var version$d = "0.1.32-next.0";
126
+ var version$d = "0.1.32";
127
127
 
128
- var version$c = "1.5.0-next.1";
128
+ var version$c = "1.5.0";
129
129
 
130
- var version$b = "1.5.0-next.1";
130
+ var version$b = "1.5.0";
131
131
 
132
- var version$a = "1.0.1-next.0";
132
+ var version$a = "1.0.1";
133
133
 
134
- var version$9 = "1.0.1-next.0";
134
+ var version$9 = "1.0.1";
135
135
 
136
- var version$8 = "1.0.1-next.0";
136
+ var version$8 = "1.0.1";
137
137
 
138
- var version$7 = "0.3.6-next.0";
138
+ var version$7 = "0.3.6";
139
139
 
140
- var version$6 = "1.0.1-next.0";
140
+ var version$6 = "1.0.1";
141
141
 
142
- var version$5 = "0.5.15-next.0";
142
+ var version$5 = "0.5.15";
143
143
 
144
- var version$4 = "1.3.1-next.1";
144
+ var version$4 = "1.3.1";
145
145
 
146
- var version$3 = "1.0.3-next.1";
146
+ var version$3 = "1.0.3";
147
147
 
148
- var version$2 = "1.0.3-next.1";
148
+ var version$2 = "1.0.3";
149
149
 
150
- var version$1 = "1.2.1-next.1";
150
+ var version$1 = "1.2.1";
151
151
 
152
- var version = "0.4.7-next.0";
152
+ var version = "0.4.7";
153
153
 
154
154
  const packageVersions = {
155
155
  root: version$K,
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.30-next.1",
4
+ "version": "0.4.30",
5
5
  "private": false,
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -60,5 +60,5 @@
60
60
  "dist",
61
61
  "templates"
62
62
  ],
63
- "gitHead": "62bee85ae500414d27d7828288786de8f4816ef8"
63
+ "gitHead": "a12f6269e3bf224aa7f52475be9152bc52addeed"
64
64
  }
@@ -24,9 +24,9 @@ backend:
24
24
  # Default Helmet Content-Security-Policy values can be removed by setting the key to false
25
25
  cors:
26
26
  origin: http://localhost:3000
27
- methods: [GET, POST, PUT, DELETE]
27
+ methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
28
28
  credentials: true
29
- # This is for local developement only, it is not recommended to use this in production
29
+ # This is for local development only, it is not recommended to use this in production
30
30
  # The production database configuration is stored in app-config.production.yaml
31
31
  database:
32
32
  client: better-sqlite3
@@ -13,7 +13,8 @@ FROM node:16-bullseye-slim
13
13
 
14
14
  WORKDIR /app
15
15
 
16
- # install sqlite3 dependencies, you can skip this if you don't use sqlite3 in the image
16
+ # Install sqlite3 dependencies. You can skip this if you don't use sqlite3 in the image,
17
+ # in which case you should also move better-sqlite3 to "devDependencies" in package.json.
17
18
  RUN apt-get update && \
18
19
  apt-get install -y --no-install-recommends libsqlite3-dev python3 build-essential && \
19
20
  rm -rf /var/lib/apt/lists/* && \
@@ -33,6 +33,7 @@
33
33
  "@backstage/plugin-search-backend-module-pg": "^{{version '@backstage/plugin-search-backend-module-pg'}}",
34
34
  "@backstage/plugin-search-backend-node": "^{{version '@backstage/plugin-search-backend-node'}}",
35
35
  "@backstage/plugin-techdocs-backend": "^{{version '@backstage/plugin-techdocs-backend'}}",
36
+ "better-sqlite3": "^7.5.0",
36
37
  "dockerode": "^3.3.1",
37
38
  "express": "^4.17.1",
38
39
  "express-promise-router": "^4.1.0",
@@ -44,8 +45,7 @@
44
45
  "@types/dockerode": "^3.3.0",
45
46
  "@types/express-serve-static-core": "^4.17.5",
46
47
  "@types/express": "^4.17.6",
47
- "@types/luxon": "^2.0.4",
48
- "better-sqlite3": "^7.5.0"
48
+ "@types/luxon": "^2.0.4"
49
49
  },
50
50
  "files": [
51
51
  "dist"
@@ -104,6 +104,6 @@ async function main() {
104
104
 
105
105
  module.hot?.accept();
106
106
  main().catch(error => {
107
- console.error(`Backend failed to start up, ${error}`);
107
+ console.error('Backend failed to start up', error);
108
108
  process.exit(1);
109
109
  });