Skip to content

Commit

Permalink
[FIX] init: Use specVersion 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
matz3 committed Apr 4, 2023
1 parent b3ce44e commit 45d0422
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/init/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function getProjectType(hasWebapp, hasSrc, hasTest) {
*/
async function init({cwd = "./"} = {}) {
const projectConfig = {
specVersion: "2.6",
specVersion: "3.0",
metadata: {}
};
let pkg;
Expand Down
4 changes: 2 additions & 2 deletions test/lib/init/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test("Init for application", async (t) => {
});

t.deepEqual(projectConfig, {
specVersion: "2.6",
specVersion: "3.0",
type: "application",
metadata: {
name: "init-application"
Expand All @@ -32,7 +32,7 @@ test("Init for library", async (t) => {
});

t.deepEqual(projectConfig, {
specVersion: "2.6",
specVersion: "3.0",
type: "library",
metadata: {
name: "init-library"
Expand Down

0 comments on commit 45d0422

Please sign in to comment.