Skip to content

Commit e3e4b1f

Browse files
authored
chore: update imports to joint-plus signature (#6)
1 parent 40b0858 commit e3e4b1f

8 files changed

+11
-12
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ testem.log
4646
.DS_Store
4747
Thumbs.db
4848

49-
# rappid
50-
rappid.tgz
49+
# joint-plus
50+
joint-plus.tgz

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
This git repository is intended for instructional purposes. It is the source code that accompanies a JointJS+ blog post "Integration with Angular" which can be found [here](https://resources.jointjs.com/tutorial/angular).
44

5-
### Prerequisites
5+
### 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-angular` directory.
2727
cd joint-plus-tutorial-angular
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

angular.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@
8989
"test": {
9090
"builder": "@angular-devkit/build-angular:karma",
9191
"options": {
92-
"main": "src/test.ts",
93-
"polyfills": "src/polyfills.ts",
92+
"polyfills": ["src/polyfills.ts", "zone.js/testing"],
9493
"tsConfig": "tsconfig.spec.json",
9594
"karmaConfig": "karma.conf.js",
9695
"inlineStyleLanguage": "scss",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@angular/platform-browser": "^16.2.6",
1919
"@angular/platform-browser-dynamic": "^16.2.6",
2020
"@angular/router": "^16.2.6",
21-
"@clientio/rappid": "file:rappid.tgz",
21+
"@joint/plus": "file:joint-plus.tgz",
2222
"rxjs": "^7.8.1",
2323
"tslib": "^2.6.2",
2424
"zone.js": "~0.13.0"

src/app/app.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { AfterViewInit, OnInit, Component, ElementRef, ViewChild } from '@angular/core';
2-
import { dia, ui, shapes } from '@clientio/rappid';
2+
import { dia, ui, shapes } from '@joint/plus';
33

44
@Component({
55
selector: 'app-root',

src/styles.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* You can add global styles to this file, and also import other style files */
2-
@import "~@clientio/rappid/rappid.css";
2+
@import "~@joint/plus/joint-plus.css";
33

44
body {
55
height: 100vh;

tsconfig.app.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"files": [
99
"src/main.ts",
1010
"src/polyfills.ts",
11-
"node_modules/@clientio/rappid/index.ts"
11+
"node_modules/@joint/plus/index.ts"
1212
],
1313
"include": [
1414
"src/**/*.d.ts"

tsconfig.spec.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"files": [
1111
"src/test.ts",
1212
"src/polyfills.ts",
13-
"node_modules/@clientio/rappid/index.ts"
13+
"node_modules/@joint/plus/index.ts"
1414
],
1515
"include": [
1616
"src/**/*.spec.ts",

0 commit comments

Comments
 (0)