From 7282025c1b054fe7386375ceee3f634edea93ddd Mon Sep 17 00:00:00 2001 From: Ryohei Ueda Date: Tue, 3 Jan 2023 14:34:39 -0800 Subject: [PATCH 1/3] Hotfix for failure to find commands * Include node_modules in the extension. * Bump up to 0.0.17 * Add .js suffix to endpoint. --- .vscodeignore | 2 +- package-lock.json | 2 +- package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.vscodeignore b/.vscodeignore index 36c8d79..8a01817 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -3,7 +3,7 @@ .gitignore .vscode-test/** .vscode/** -node_modules/** +# node_modules/** out/**/*.map out/test/** src/** diff --git a/package-lock.json b/package-lock.json index 8ed7167..308d267 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vscode-emacs-tab", - "version": "0.0.9", + "version": "0.0.17", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 62271eb..a7e0b45 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-emacs-tab", "displayName": "vscode-emacs-tab", "description": "emacs like tab behavior", - "version": "0.0.11", + "version": "0.0.17", "publisher": "garaemon", "repository": { "type": "git", @@ -18,7 +18,7 @@ "onCommand:emacs-tab.reindentCurrentLine", "onCommand:emacs-tab.debugEstimateIndentLevel" ], - "main": "./out/extension", + "main": "./out/extension.js", "contributes": { "commands": [ { From c19ba3071ea40fa1a62a0709d01898c58cdc554c Mon Sep 17 00:00:00 2001 From: Ryohei Ueda Date: Tue, 3 Jan 2023 14:38:45 -0800 Subject: [PATCH 2/3] Update from es6 to ES2020 --- tsconfig.json | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 8a1d847..0972901 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,16 +1,12 @@ { "compilerOptions": { "module": "commonjs", - "target": "es6", + "target": "ES2020", "outDir": "out", "lib": [ - "es6" + "ES2020" ], "sourceMap": true, "rootDir": "src" - }, - "exclude": [ - "node_modules", - ".vscode-test" - ] + } } \ No newline at end of file From 0b07cbcd7829c320af5593fde168f5d8452173c2 Mon Sep 17 00:00:00 2001 From: Ryohei Ueda Date: Tue, 3 Jan 2023 14:38:59 -0800 Subject: [PATCH 3/3] Ignore *.vsix files from git --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 8c8220a..f233a4a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ out node_modules .vscode-test/ .vsix +*.vsix