Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hverlin committed Nov 11, 2024
1 parent 4bae50f commit 774eb7d
Show file tree
Hide file tree
Showing 16 changed files with 575 additions and 413 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
node-version: ${{ matrix.node-version }}

- run: corepack enable && pnpm i --frozen-lockfile
- run: pnpm lint
- run: pnpm compile

publish-vscode-openvsx:
Expand Down
33 changes: 33 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"ignore": ["node_modules", "dist", ".vscode"]
},
"formatter": {
"enabled": true,
"indentStyle": "tab"
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noConfusingVoidType": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
}
}
5 changes: 4 additions & 1 deletion mise.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[tools]
node = '22'
node = '22'

[tasks]
run = 'echo "Hello, World!"'
169 changes: 90 additions & 79 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,81 +1,92 @@
{
"name": "mise-vscode",
"displayName": "Mise VSCode",
"publisher": "hverlin",
"description": "VSCode extension for mise (manged dev tools, tasks and environment variables)",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "https://github.com/hverlin/mise-vscode"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:miseTasksView",
"onView:miseToolsView",
"onView:miseEnvsView"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "mise-panel",
"title": "Mise panel",
"icon": "resources/icon.svg"
}
]
},
"views": {
"mise-panel": [
{
"id": "miseTasksView",
"name": "Mise Tasks"
},
{
"id": "miseToolsView",
"name": "Mise Tools"
},
{
"id": "miseEnvsView",
"name": "Environment Variables"
}
]
},
"commands": [
{
"command": "mise.refreshEntry",
"title": "Refresh",
"icon": "$(refresh)"
}
],
"menus": {
"view/title": [
{
"command": "mise.refreshEntry",
"when": "view == miseTasksView || view == miseToolsView || view == miseEnvsView",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package --no-optional",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map"
},
"devDependencies": {
"@types/vscode": "^1.85.0",
"@types/node": "^22.9.0",
"typescript": "^5.6.3",
"ts-loader": "^9.5.1",
"webpack": "5.96.1",
"webpack-cli": "^5.1.4"
},
"packageManager": "[email protected]+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228"
"name": "mise-vscode",
"displayName": "Mise VSCode",
"publisher": "hverlin",
"description": "VSCode extension for mise (manged dev tools, tasks and environment variables)",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "https://github.com/hverlin/mise-vscode"
},
"bugs": {
"url": "https://github.com/hverlin/mise-vscode/issues"
},
"license": "MIT",
"engines": {
"vscode": "^1.85.0"
},
"categories": ["Other"],
"keywords": [
"mise",
"mise-en-place",
"rtx",
"devtools",
"tasks",
"envs",
"environment variables",
"scripts"
],
"icon": "resources/icon.png",
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "mise-panel",
"title": "Mise panel",
"icon": "$(terminal)"
}
]
},
"views": {
"mise-panel": [
{
"id": "miseTasksView",
"name": "Mise Tasks"
},
{
"id": "miseToolsView",
"name": "Mise Tools"
},
{
"id": "miseEnvsView",
"name": "Environment Variables"
}
]
},
"commands": [
{
"command": "mise.refreshEntry",
"title": "Refresh",
"icon": "$(refresh)"
}
],
"menus": {
"view/title": [
{
"command": "mise.refreshEntry",
"when": "view == miseTasksView || view == miseToolsView || view == miseEnvsView",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package --no-optional",
"compile": "webpack",
"watch": "webpack --watch",
"lint-fix": "biome check --fix",
"lint": "biome ci",
"package": "webpack --mode production --devtool hidden-source-map"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/node": "^22.9.0",
"@types/vscode": "^1.85.0",
"ts-loader": "^9.5.1",
"typescript": "^5.6.3",
"webpack": "5.96.1",
"webpack-cli": "^5.1.4"
},
"packageManager": "[email protected]+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228"
}
91 changes: 91 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added resources/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions resources/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 774eb7d

Please sign in to comment.