Skip to content

Commit ca895d3

Browse files
committed
Initial release 🚀
0 parents  commit ca895d3

17 files changed

+6808
-0
lines changed

.github/demo.gif

1.21 MB
Loading

.github/workflows/release.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v3
18+
19+
- name: Install node.js
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: 18
23+
24+
- name: Build plugin
25+
run: npm ci && npm run build
26+
working-directory: MysqlExplain.tableplusplugin
27+
28+
- name: Make zip
29+
run: zip tableplus-mysql-explain-plugin-${GITHUB_REF_NAME}.zip MysqlExplain.tableplusplugin/build/* MysqlExplain.tableplusplugin/manifest.json
30+
31+
- name: Release
32+
uses: softprops/action-gh-release@v1
33+
with:
34+
files: tableplus-mysql-explain-plugin-*.zip

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea/

LICENSE

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2023 Tobias Petry (https://explainmysql.com)
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build/
2+
node_modules/
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "MySQL Explain",
3+
"identifier": "com.explainmysql",
4+
"version": "1.0",
5+
"detail": "This plugin helps with analyzing MySQL and MariaDB queries.",
6+
"author": "Tobias Petry",
7+
"authorEmail": "[email protected]",
8+
"site": "https://explainmysql.com",
9+
"scripts": [
10+
{
11+
"location": "main",
12+
"type": "action",
13+
"shortcut": "control+e",
14+
"script": "build/plugin.js",
15+
"name": "Explain SQL"
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)