@backstage/create-app 0.4.18 → 0.4.19-next.0

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,75 @@
1
1
  # @backstage/create-app
2
2
 
3
+ ## 0.4.19-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 22f4ecb0e6: Switched the `file:` dependency for a `link:` dependency in the `backend` package. This makes sure that the `app` package is linked in rather than copied.
8
+
9
+ To apply this update to an existing app, make the following change to `packages/backend/package.json`:
10
+
11
+ ```diff
12
+ "dependencies": {
13
+ - "app": "file:../app",
14
+ + "app": "link:../app",
15
+ "@backstage/backend-common": "^{{version '@backstage/backend-common'}}",
16
+ ```
17
+
18
+ - 1dd5a02e91: **BREAKING:** Updated `knex` to major version 1, which also implies changing out
19
+ the underlying `sqlite` implementation.
20
+
21
+ The old `sqlite3` NPM library has been abandoned by its maintainers, which has
22
+ led to unhandled security reports and other issues. Therefore, in the `knex` 1.x
23
+ release line they have instead switched over to the [`@vscode/sqlite3`
24
+ library](https://github.com/microsoft/vscode-node-sqlite3) by default, which is
25
+ actively maintained by Microsoft.
26
+
27
+ This means that as you update to this version of Backstage, there are two
28
+ breaking changes that you will have to address in your own repository:
29
+
30
+ ## Bumping `knex` itself
31
+
32
+ All `package.json` files of your repo that used to depend on a 0.x version of
33
+ `knex`, should now be updated to depend on the 1.x release line. This applies in
34
+ particular to `packages/backend`, but may also occur in backend plugins or
35
+ libraries.
36
+
37
+ ```diff
38
+ - "knex": "^0.95.1",
39
+ + "knex": "^1.0.2",
40
+ ```
41
+
42
+ Almost all existing database code will continue to function without modification
43
+ after this bump. The only significant difference that we discovered in the main
44
+ repo, is that the `alter()` function had a slightly different signature in
45
+ migration files. It now accepts an object with `alterType` and `alterNullable`
46
+ fields that clarify a previous grey area such that the intent of the alteration
47
+ is made explicit. This is caught by `tsc` and your editor if you are using the
48
+ `@ts-check` and `@param` syntax in your migration files
49
+ ([example](https://github.com/backstage/backstage/blob/master/plugins/catalog-backend/migrations/20220116144621_remove_legacy.js#L17)),
50
+ which we strongly recommend.
51
+
52
+ See the [`knex` documentation](https://knexjs.org/#Schema-alter) for more
53
+ information about the `alter` syntax.
54
+
55
+ Also see the [`knex` changelog](https://knexjs.org/#changelog) for information
56
+ about breaking changes in the 1.x line; if you are using `RETURNING` you may
57
+ want to make some additional modifications in your code.
58
+
59
+ ## Switching out `sqlite3`
60
+
61
+ All `package.json` files of your repo that used to depend on `sqlite3`, should
62
+ now be updated to depend on `@vscode/sqlite3`. This applies in particular to
63
+ `packages/backend`, but may also occur in backend plugins or libraries.
64
+
65
+ ```diff
66
+ - "sqlite3": "^5.0.1",
67
+ + "@vscode/sqlite3": "^5.0.7",
68
+ ```
69
+
70
+ These should be functionally equivalent, except that the new library will have
71
+ addressed some long standing problems with old transitive dependencies etc.
72
+
3
73
  ## 0.4.18
4
74
 
5
75
  ### Patch Changes
package/dist/index.cjs.js CHANGED
@@ -55,91 +55,91 @@ ${chalk__default["default"].red(`${error}`)}
55
55
  }
56
56
  }
57
57
 
58
- var version$G = "0.4.18";
58
+ var version$G = "0.4.19-next.0";
59
59
 
60
- var version$F = "0.1.6";
60
+ var version$F = "0.1.7-next.0";
61
61
 
62
- var version$E = "0.10.6";
62
+ var version$E = "0.10.7-next.0";
63
63
 
64
- var version$D = "0.1.5";
64
+ var version$D = "0.1.6-next.0";
65
65
 
66
66
  var version$C = "0.5.5";
67
67
 
68
68
  var version$B = "0.9.10";
69
69
 
70
- var version$A = "0.13.1";
70
+ var version$A = "0.13.2-next.0";
71
71
 
72
72
  var version$z = "0.1.13";
73
73
 
74
74
  var version$y = "0.5.2";
75
75
 
76
- var version$x = "0.8.7";
76
+ var version$x = "0.8.8-next.0";
77
77
 
78
78
  var version$w = "0.6.0";
79
79
 
80
80
  var version$v = "0.2.0";
81
81
 
82
- var version$u = "0.1.20";
82
+ var version$u = "0.1.21-next.0";
83
83
 
84
84
  var version$t = "0.2.4";
85
85
 
86
86
  var version$s = "0.2.14";
87
87
 
88
- var version$r = "0.7.1";
88
+ var version$r = "0.7.2-next.0";
89
89
 
90
- var version$q = "0.3.23";
90
+ var version$q = "0.3.24-next.0";
91
91
 
92
- var version$p = "0.9.0";
92
+ var version$p = "0.10.0-next.0";
93
93
 
94
- var version$o = "0.7.11";
94
+ var version$o = "0.7.12-next.0";
95
95
 
96
96
  var version$n = "0.1.2";
97
97
 
98
- var version$m = "0.6.13";
98
+ var version$m = "0.6.14-next.0";
99
99
 
100
- var version$l = "0.21.2";
100
+ var version$l = "0.21.3-next.0";
101
101
 
102
- var version$k = "0.2.9";
102
+ var version$k = "0.2.10-next.0";
103
103
 
104
- var version$j = "0.8.0";
104
+ var version$j = "0.8.1-next.0";
105
105
 
106
- var version$i = "0.2.36";
106
+ var version$i = "0.2.37-next.0";
107
107
 
108
- var version$h = "0.3.28";
108
+ var version$h = "0.3.29-next.0";
109
109
 
110
- var version$g = "0.4.34";
110
+ var version$g = "0.4.35-next.0";
111
111
 
112
- var version$f = "0.2.36";
112
+ var version$f = "0.2.37-next.0";
113
113
 
114
- var version$e = "0.4.1";
114
+ var version$e = "0.4.2-next.0";
115
115
 
116
116
  var version$d = "0.4.0";
117
117
 
118
118
  var version$c = "0.3.0";
119
119
 
120
- var version$b = "0.4.2";
120
+ var version$b = "0.4.3-next.0";
121
121
 
122
- var version$a = "0.2.17";
122
+ var version$a = "0.2.18-next.0";
123
123
 
124
- var version$9 = "0.1.20";
124
+ var version$9 = "0.1.21-next.0";
125
125
 
126
- var version$8 = "0.12.1";
126
+ var version$8 = "0.12.2-next.0";
127
127
 
128
- var version$7 = "0.15.23";
128
+ var version$7 = "0.15.24-next.0";
129
129
 
130
- var version$6 = "0.6.1";
130
+ var version$6 = "0.6.2-next.0";
131
131
 
132
- var version$5 = "0.4.1";
132
+ var version$5 = "0.4.2-next.0";
133
133
 
134
134
  var version$4 = "0.4.5";
135
135
 
136
- var version$3 = "0.5.4";
136
+ var version$3 = "0.5.5-next.0";
137
137
 
138
- var version$2 = "0.13.2";
138
+ var version$2 = "0.13.3-next.0";
139
139
 
140
- var version$1 = "0.13.2";
140
+ var version$1 = "0.13.3-next.0";
141
141
 
142
- var version = "0.3.18";
142
+ var version = "0.3.19-next.0";
143
143
 
144
144
  const packageVersions = {
145
145
  "@backstage/app-defaults": version$F,
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.18",
4
+ "version": "0.4.19-next.0",
5
5
  "private": false,
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -57,5 +57,5 @@
57
57
  "dist",
58
58
  "templates"
59
59
  ],
60
- "gitHead": "f944a625c4a8ec7f6a6237502691da9209ce6b14"
60
+ "gitHead": "e6f167225d843beeb974c287c3364d951b587626"
61
61
  }
@@ -14,7 +14,7 @@
14
14
  "migrate:create": "knex migrate:make -x ts"
15
15
  },
16
16
  "dependencies": {
17
- "app": "file:../app",
17
+ "app": "link:../app",
18
18
  "@backstage/backend-common": "^{{version '@backstage/backend-common'}}",
19
19
  "@backstage/backend-tasks": "^{{version '@backstage/backend-tasks'}}",
20
20
  "@backstage/catalog-model": "^{{version '@backstage/catalog-model'}}",
@@ -40,7 +40,7 @@
40
40
  "pg": "^8.3.0",
41
41
  {{/if}}
42
42
  {{#if dbTypeSqlite}}
43
- "sqlite3": "^5.0.1",
43
+ "@vscode/sqlite3": "^5.0.7",
44
44
  {{/if}}
45
45
  "winston": "^3.2.1"
46
46
  },