Skip to content

Commit

Permalink
[INTERNAL] init: Use specVerson "2.2"
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomByte committed Aug 11, 2020
1 parent c5b01af commit b8618f4
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 @@ -67,7 +67,7 @@ function getProjectType(hasWebapp, hasSrc, hasTest) {
*/
async function init({cwd = "./"} = {}) {
const projectConfig = {
specVersion: "2.1",
specVersion: "2.2",
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 @@ -13,7 +13,7 @@ test("Init for application", async (t) => {
});

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

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

0 comments on commit b8618f4

Please sign in to comment.