Skip to content

Commit c1b1432

Browse files
committed
feat(cli): Use specVersion 5.0 in init command
1 parent 1452401 commit c1b1432

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/cli/lib/init/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function getProjectType(hasWebapp, hasSrc, hasTest) {
7272
*/
7373
async function init({cwd = "./"} = {}) {
7474
const projectConfig = {
75-
specVersion: "4.0",
75+
specVersion: "5.0",
7676
metadata: {}
7777
};
7878
let pkg;

packages/cli/test/lib/init/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test("Init for application", async (t) => {
1818
});
1919

2020
t.deepEqual(projectConfig, {
21-
specVersion: "4.0",
21+
specVersion: "5.0",
2222
type: "application",
2323
metadata: {
2424
name: "init-application"
@@ -32,7 +32,7 @@ test("Init for library", async (t) => {
3232
});
3333

3434
t.deepEqual(projectConfig, {
35-
specVersion: "4.0",
35+
specVersion: "5.0",
3636
type: "library",
3737
metadata: {
3838
name: "init-library"

0 commit comments

Comments
 (0)