Skip to content

Commit fd29e22

Browse files
authored
chore: update imports to joint-plus signature and remove types dependencies (#7)
1 parent 8925565 commit fd29e22

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
node_modules
33
package-lock.json
44

5-
# rappid
6-
rappid.tgz
5+
# joint-plus
6+
joint-plus.tgz

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This git repository is intended for instructional purposes. It is the source cod
44

55
### Prerequisites
66

7-
To run the following code, you will need a [JointJS+ license](https://www.jointjs.com/license) that comes with the JointJS+ installable package file `rappid.tgz`.
7+
To run the following code, you will need a [JointJS+ license](https://www.jointjs.com/license) that comes with the JointJS+ installable package file `joint-plus.tgz`.
88

99
### Dependencies
1010

@@ -27,7 +27,7 @@ Change into the `joint-plus-tutorial-vue` directory.
2727
cd joint-plus-tutorial-vue
2828
```
2929

30-
For this tutorial, you need to place your own `rappid.tgz` file in the root directory.
30+
For this tutorial, you need to place your own `joint-plus.tgz` file in the root directory.
3131

3232
When that is completed, you can install the dependencies.
3333

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"dependencies": {
1515
"vue": "^3.3.4",
16-
"@clientio/rappid": "file:rappid.tgz"
16+
"@joint/plus": "file:joint-plus.tgz"
1717
},
1818
"devDependencies": {
1919
"@rushstack/eslint-patch": "^1.3.2",
@@ -29,8 +29,6 @@
2929
"prettier": "^3.0.0",
3030
"typescript": "~5.1.6",
3131
"vite": "^4.4.6",
32-
"vue-tsc": "^1.8.6",
33-
"@types/backbone": "latest",
34-
"@types/jquery": "latest"
32+
"vue-tsc": "^1.8.6"
3533
}
3634
}

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import { ref, onMounted } from 'vue';
3-
import { dia, ui, shapes } from '@clientio/rappid/rappid.js';
3+
import { dia, ui, shapes } from '@joint/plus';
44
55
const canvas = ref<Element | null>(null);
66

src/assets/main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '@clientio/rappid/rappid.css';
1+
@import '@joint/plus/joint-plus.css';
22

33
body {
44
height: 100vh;
@@ -8,4 +8,4 @@ body {
88

99
#app {
1010
height: 100%;
11-
}
11+
}

0 commit comments

Comments
 (0)