Skip to content

Commit

Permalink
remove activationEvents for command (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli authored Feb 1, 2023
1 parent 584d759 commit 366fa08
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 39 deletions.
4 changes: 1 addition & 3 deletions generators/app/templates/ext-command-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
"categories": [
"Other"
],
"activationEvents": [
<%- JSON.stringify(`onCommand:${name}.helloWorld`) %>
],
"activationEvents": [],
"main": "./extension.js",
"contributes": {
"commands": [{
Expand Down
4 changes: 1 addition & 3 deletions generators/app/templates/ext-command-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
"categories": [
"Other"
],
"activationEvents": [
<%- JSON.stringify(`onCommand:${name}.helloWorld`) %>
],
"activationEvents": [],
"main": "./out/extension.js",<% if (insiders) { %>
"enabledApiProposals": [],<% } %>
"contributes": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
"categories": [
"Other"
],
"activationEvents": [
<%- JSON.stringify(`onCommand:${name}.helloWorld`) %>
],
"activationEvents": [],
"main": "./dist/extension.js",<% if (insiders) { %>
"enabledApiProposals": [],<% } %>
"contributes": {
Expand Down
4 changes: 1 addition & 3 deletions generators/app/templates/ext-command-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
"categories": [
"Other"
],
"activationEvents": [
<%- JSON.stringify(`onCommand:${name}.helloWorld`) %>
],
"activationEvents": [],
"browser": "./dist/web/extension.js",
"contributes": {
"commands": [
Expand Down
36 changes: 9 additions & 27 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -580,9 +580,7 @@ describe('test code generator', function () {
"engines": {
"vscode": engineVersion
},
"activationEvents": [
"onCommand:testCom.helloWorld"
],
"activationEvents": [],
"devDependencies": devDependencies([
"@types/vscode",
"@types/glob",
Expand Down Expand Up @@ -643,9 +641,7 @@ describe('test code generator', function () {
"engines": {
"vscode": engineVersion
},
"activationEvents": [
"onCommand:testCom.helloWorld"
],
"activationEvents": [],
"devDependencies": devDependencies([
"@types/vscode",
"@types/glob",
Expand Down Expand Up @@ -722,9 +718,7 @@ describe('test code generator', function () {
"engines": {
"vscode": engineVersion
},
"activationEvents": [
"onCommand:testCom.helloWorld"
],
"activationEvents": [],
"devDependencies": devDependencies([
"@types/vscode",
"@types/glob",
Expand Down Expand Up @@ -802,9 +796,7 @@ describe('test code generator', function () {
"engines": {
"vscode": engineVersion
},
"activationEvents": [
"onCommand:testCom.helloWorld"
],
"activationEvents": [],
"devDependencies": devDependencies([
"@types/vscode",
"@types/glob",
Expand Down Expand Up @@ -872,9 +864,7 @@ describe('test code generator', function () {
"engines": {
"vscode": engineVersion
},
"activationEvents": [
"onCommand:testCom.helloWorld"
],
"activationEvents": [],
"devDependencies": devDependencies([
"@types/vscode",
"@types/glob",
Expand Down Expand Up @@ -942,9 +932,7 @@ describe('test code generator', function () {
"engines": {
"vscode": engineVersion
},
"activationEvents": [
"onCommand:testCom.helloWorld"
],
"activationEvents": [],
"devDependencies": devDependencies([
"@types/vscode",
"@types/glob",
Expand Down Expand Up @@ -1001,9 +989,7 @@ describe('test code generator', function () {
"engines": {
"vscode": engineVersion
},
"activationEvents": [
"onCommand:testCom.helloWorld"
],
"activationEvents": [],
"devDependencies": devDependencies([
"@types/vscode",
"@types/glob",
Expand Down Expand Up @@ -1245,9 +1231,7 @@ describe('test code generator', function () {
"engines": {
"vscode": engineVersion
},
"activationEvents": [
"onCommand:testCom.helloWorld"
],
"activationEvents": [],
"devDependencies": devDependencies([
"@types/vscode",
"@types/mocha",
Expand Down Expand Up @@ -1313,9 +1297,7 @@ describe('test code generator', function () {
"engines": {
"vscode": engineVersion
},
"activationEvents": [
"onCommand:testCom.helloWorld"
],
"activationEvents": [],
"devDependencies": devDependencies([
"@types/vscode",
"@types/mocha",
Expand Down

0 comments on commit 366fa08

Please sign in to comment.