Skip to content

Commit

Permalink
Check names for Command, Preference and Argument (#29)
Browse files Browse the repository at this point in the history
add check for command name
  • Loading branch information
tonka3000 authored Jan 28, 2024
1 parent b359dd4 commit 28ecb17
Show file tree
Hide file tree
Showing 13 changed files with 1,136 additions and 356 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v1
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: "16.x"
node-version: 20
- name: npm install, build, and test
run: |
node --version
Expand All @@ -30,7 +30,7 @@ jobs:
env:
CI: true
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: raycast.vsix
path: "*.vsix"
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
dist/*
node_modules/*
*.json
*.code-snippets
14 changes: 14 additions & 0 deletions .vscode-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// .vscode-test.js
const { defineConfig } = require("@vscode/test-cli");

module.exports = defineConfig([
{
label: "unitTests",
files: "out/test/**/*.test.js",
workspaceFolder: "./",
mocha: {
ui: "tdd",
timeout: 20000,
},
},
]);
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 0.15

- `Name` is now checked for non allowed characters for Command, Preference and Argument
- The tsx file get opened after creating it via `Add Command`

## 0.14

- Add auto completion for `launchCommand` properties `name`, `extensionName` and `ownerOrAuthorName`
Expand Down
Loading

0 comments on commit 28ecb17

Please sign in to comment.