Skip to content

Commit 808f8da

Browse files
authored
Added a build step + removed the automatic version patching (#10)
* Added a build step + removed the automatic version patching * Update README.md Fixed image + import links + license
1 parent 468a870 commit 808f8da

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

.github/workflows/publish.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
with:
1616
registry-url: 'https://registry.npmjs.org'
1717
- run: npm ci
18+
- run: npm run build
1819
- run: npm publish --provenance --access public
1920
env:
2021
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

+8-10
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ You can open it by holding a key (``Shift`` by default) during a certain amount
1616

1717
You can check a demonstration of this plugin [here](##). [SOON]
1818

19-
![image](https://github.com/SuperDelphi/grapesjs-keymaps-dialog/assets/44942598/0e4ff5b2-1695-4ce2-9b16-7d331d7220b9)
20-
21-
19+
![demo](https://github.com/SuperDelphi/grapesjs-keymaps-dialog/assets/44942598/32a4bc74-d8ff-4855-910f-fb6e6167c168)
2220

2321
## Options
2422

@@ -34,11 +32,11 @@ You can check a demonstration of this plugin [here](##). [SOON]
3432
## Download
3533

3634
* CDN
37-
* `https://unpkg.com/grapesjs-keymaps-dialog`
35+
* `https://unpkg.com/@silexlabs/grapesjs-keymaps-dialog`
3836
* NPM
39-
* `npm i grapesjs-keymaps-dialog`
37+
* `npm i silexlabs@grapesjs-keymaps-dialog`
4038
* GIT
41-
* `git clone https://github.com/SuperDelphi/grapesjs-keymaps-dialog.git`
39+
* `git clone https://github.com/silexlabs/grapesjs-keymaps-dialog.git`
4240

4341

4442

@@ -48,7 +46,7 @@ Directly in the browser
4846
```html
4947
<link href="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet"/>
5048
<script src="https://unpkg.com/grapesjs"></script>
51-
<script src="path/to/grapesjs-keymaps-dialog.min.js"></script>
49+
<script src="https://unpkg.com/@silexlabs/grapesjs-keymaps-dialog"></script>
5250

5351
<div id="gjs"></div>
5452

@@ -67,7 +65,7 @@ Directly in the browser
6765
Modern javascript
6866
```js
6967
import grapesjs from 'grapesjs';
70-
import plugin from 'grapesjs-keymaps-dialog';
68+
import plugin from '@silexlabs/grapesjs-keymaps-dialog';
7169
import 'grapesjs/dist/css/grapes.min.css';
7270

7371
const editor = grapesjs.init({
@@ -91,7 +89,7 @@ const editor = grapesjs.init({
9189
Clone the repository
9290

9391
```sh
94-
$ git clone https://github.com/SuperDelphi/grapesjs-keymaps-dialog.git
92+
$ git clone https://github.com/silexlabs/grapesjs-keymaps-dialog.git
9593
$ cd grapesjs-keymaps-dialog
9694
```
9795

@@ -117,4 +115,4 @@ $ npm run build
117115

118116
## License
119117

120-
MIT
118+
AGPL-3.0-or-later

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"scripts": {
1111
"start": "grapesjs-cli serve",
12-
"build": "grapesjs-cli build",
12+
"build": "grapesjs-cli build --patch=false",
1313
"bump": "npm version patch -m 'Bump v%s'"
1414
},
1515
"keywords": [

0 commit comments

Comments
 (0)