From a11660d96d4727258336adb2e19413876178b151 Mon Sep 17 00:00:00 2001 From: Krishna Acondy Date: Mon, 15 Mar 2021 08:57:44 +0000 Subject: [PATCH] fix(build): move syntax and language folders out of source folder --- {src/languages => languages}/sas.json | 0 package.json | 9 +++++---- {src/syntaxes => syntaxes}/sas.tmLanguage.json | 0 3 files changed, 5 insertions(+), 4 deletions(-) rename {src/languages => languages}/sas.json (100%) rename {src/syntaxes => syntaxes}/sas.tmLanguage.json (100%) diff --git a/src/languages/sas.json b/languages/sas.json similarity index 100% rename from src/languages/sas.json rename to languages/sas.json diff --git a/package.json b/package.json index 5163912..704914f 100644 --- a/package.json +++ b/package.json @@ -32,14 +32,14 @@ "extensions": [ ".sas" ], - "configuration": "./src/languages/sas.json" + "configuration": "./languages/sas.json" } ], "grammars": [ { "language": "sas", "scopeName": "source.sas", - "path": "./src/syntaxes/sas.tmLanguage.json" + "path": "./syntaxes/sas.tmLanguage.json" } ], "iconThemes": [ @@ -99,12 +99,13 @@ ], "scripts": { "vscode:prepublish": "npm run compile", - "compile": "tsc -p ./ && cp -r ./themes/ ./out/themes/", + "compile": "tsc -p ./", "watch": "tsc -watch -p ./", "pretest": "npm run compile && npm run lint", "lint": "eslint src --ext ts", "test": "node ./out/test/runTest.js", - "semantic-release": "semantic-release -d" + "semantic-release": "semantic-release -d", + "package:lib": "vsce package" }, "devDependencies": { "@types/glob": "^7.1.3", diff --git a/src/syntaxes/sas.tmLanguage.json b/syntaxes/sas.tmLanguage.json similarity index 100% rename from src/syntaxes/sas.tmLanguage.json rename to syntaxes/sas.tmLanguage.json