From 8efe0ea7184544ee9b3b90e762b1e1c38b4790fe Mon Sep 17 00:00:00 2001 From: Matthew Fosdick Date: Thu, 16 May 2019 13:21:58 -0700 Subject: [PATCH 1/2] ensure that published versions always have updated syntaxes --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4ba298f6..6fcda271 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,12 @@ "build": "ruby cpp/generate.rb && ruby c/generate.rb", "pretest": "npm run build", "test": "node test/src/commands/test.js", + "preversion": "npm test", + "version": "npm run build && git add -A syntaxes", "pregenerate-specs": "npm run build", "generate-specs": "node test/src/commands/generate-specs.js", - "sort-specs": "node test/src/commands/sort-specs.js" + "sort-specs": "node test/src/commands/sort-specs.js", + "vscode:prepublish": "npm run build" }, "engines": { "vscode": "^1.0.0" From a0cb6a94f36ef37c5f4776b4c1734301a95f515a Mon Sep 17 00:00:00 2001 From: Matthew Fosdick Date: Thu, 16 May 2019 13:22:17 -0700 Subject: [PATCH 2/2] 1.8.14 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index e16b031d..476730c2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "better-cpp-syntax", - "version": "1.8.13", + "version": "1.8.14", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 6fcda271..c66bba62 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Better C++ Syntax", "description": "The bleeding edge of the VS Code C++ syntax", "icon": "icon.png", - "version": "1.8.13", + "version": "1.8.14", "scripts": { "build": "ruby cpp/generate.rb && ruby c/generate.rb", "pretest": "npm run build",