Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 4.0.0 alpha.2 [master] #2492

Closed
wants to merge 48 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
1c202b5
chore: monorepo architecture (part 1) [dev] (#2309)
zbynekstara Aug 23, 2023
ec0fb38
feat(examples): add Tree of Life example
kumilingus Aug 31, 2023
f44eba9
chore: fix yarn.lock after commit fac8959 (#2322)
zbynekstara Sep 5, 2023
014a53b
fix(examples.tree-of-life): improve styling [dev] (#2325)
kumilingus Sep 6, 2023
0fc2abf
feat: backbone removal initial stage [dev] (#2386)
zbynekstara Nov 8, 2023
8ff2784
Updates for monorepo best practices (part 1) [dev] (#2389)
zbynekstara Nov 9, 2023
71bf103
chore: rename general-shapes to shapes-general [dev] (#2390)
zbynekstara Nov 9, 2023
ff5ae96
chore: remove lodash from dependencies (#2399)
zbynekstara Nov 20, 2023
415d841
chore: remove backbone from dependencies [dev] (#2407)
jamesgeorgewilliams Nov 26, 2023
a68365d
chore: updates for monorepo best practices (part 2) [dev] (#2400)
zbynekstara Dec 7, 2023
15a73d1
refactor!: JQuery Removal (#2414)
kumilingus Dec 8, 2023
29da5f0
refactor(shapes)!: remove legacy shapes (#2422)
kumilingus Dec 11, 2023
d7f83b5
refactor(shapes)!: remove devs shapes; update standard shapes (#2425)
kumilingus Dec 12, 2023
bca6884
refactor(css): remove basic shapes CSS (#2426)
kumilingus Dec 12, 2023
fa5b94a
refactor(dia.Paper)!: change sorting default to APPROX (#2427)
kumilingus Dec 12, 2023
80ab3ee
feat(highlighters.Opacity)!: add alphaValue option (#2428)
kumilingus Dec 12, 2023
5e743f3
feat(Vectorizer)!: support camel case attributes, add attributeNames …
kumilingus Dec 12, 2023
5fcc12a
fix(examples): webpack css import fix, cleanup package.json imports, …
zbynekstara Dec 14, 2023
f7bb456
refactor(dia.Paper): remove linkConnectionPoint option (#2437)
kumilingus Dec 14, 2023
ae5b9cd
refactor(dia.Link)!: remove legacy attributes from the default label …
kumilingus Dec 14, 2023
8fbe4e0
refactor(dia.Paper)!: remove deprecated perpendicularLinks option (#2…
kumilingus Dec 14, 2023
8558a53
refactor(dia.Link)!: remove smooth and manhattan attributes (#2438)
kumilingus Dec 14, 2023
5717ca9
feat(highlighters.stroke)!: add nonScalingStroke option (#2442)
kumilingus Dec 18, 2023
f5d59c3
fix(examples/isometric): fixed isometric example (#2441)
Geliogabalus Dec 18, 2023
5e5d06c
refactor(layout.DirectedGraph)!: separate module [dev] (#2429)
zbynekstara Dec 18, 2023
72b070b
refactor(dia.LinkView)!: remove support for legacy link view (#2446)
kumilingus Dec 19, 2023
d36e498
refactor(linkTools, elementTools)!: change Remove tool name (#2447)
kumilingus Dec 19, 2023
88c2221
chore(@joint/layout-directed-graph): create UMD version for main + mi…
zbynekstara Dec 21, 2023
e0cf97a
feat(dia.Cell)!: add mergeArrays options to constructor
kumilingus Dec 28, 2023
e4a8630
refactor!: drop CSS (#2449)
kumilingus Dec 28, 2023
b38fffb
fix(attributes.filter)!: fix filter attribute for links (#2450)
kumilingus Dec 28, 2023
8a3e121
feat(mvc.Collection): update collection methods (#2461)
jamesgeorgewilliams Jan 3, 2024
a042179
chore: remove joint-core dist folder (#2467)
zbynekstara Jan 3, 2024
5a6bd96
types(dia.CellView): improve the findNode return type specificity (#2…
kumilingus Jan 4, 2024
bffa2c0
fix(mvc.$): add missing filter() method, fix html() to accept numbers…
kumilingus Jan 4, 2024
0e6d464
docs(mvc.Collection): add docs and testing for updated collection met…
jamesgeorgewilliams Jan 12, 2024
229672e
feat(mvc.$): update methods for better backwards compatibility (#2471)
kumilingus Jan 12, 2024
ee3e219
Release v4.0.0-alpha.1 (#2477)
zbynekstara Jan 15, 2024
1d392a1
refactor(dia.Paper)!: add SVG grid layer (#2458)
kumilingus Jan 16, 2024
da5000b
refactor(dia.CellView)!: early evaluation of calc attributes (#2459)
kumilingus Jan 16, 2024
c5217ea
docs(mvc.View): merge View and ViewBase (#2479)
jamesgeorgewilliams Jan 17, 2024
910dfd9
refactor(dia.CellView)!: disable useCSSSelectors by default (#2478)
kumilingus Jan 17, 2024
430664b
chore(types): add index.d.ts, use api-extractor (#2473)
zbynekstara Jan 17, 2024
7da9bd9
refactor: Use joint directly in typescript tests and in ts-demo (#2485)
zbynekstara Jan 18, 2024
5ec5d2f
types(util): make debounce options optional (#2480)
kumilingus Jan 18, 2024
6b1b54f
fix(linkTools.Vertices): fix to fire mouseleave event when redundancy…
kumilingus Jan 18, 2024
cc74f36
fix(mvc.Dom): remove event listeners on element removal; fix(linkToo…
kumilingus Jan 18, 2024
2855684
Release v4.0.0-alpha.2
zbynekstara Jan 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ root = true
# 4 space indentation
[*.js]
indent_style = space
indent_size = 4
indent_size = 4
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated
13 changes: 7 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
build/
node_modules/
coverage/
*.log
demo/**/dist/**
/test/ts/*.js
/test/ts/*.js.map
.tscache/
.DS_Store
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
4 changes: 2 additions & 2 deletions .lgtm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
path_classifiers:
test:
- test
- '**/test'
generated:
- dist
- '**/dist'
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ addons:

before_install:
- npm install -g grunt-cli
- corepack enable

install: npm install
install:
- yarn install

before_script:
- grunt install
- yarn run dist

script:
- npm run test
- npm run lint
- yarn run test
- yarn run lint
28 changes: 28 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

873 changes: 873 additions & 0 deletions .yarn/releases/yarn-3.4.1.cjs

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
logFilters:
- level: discard
text: "load-grunt-config@npm:0.19.2 doesn't provide grunt (p9ff33), requested by jit-grunt"

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.4.1.cjs
90 changes: 45 additions & 45 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ Further **information**, **examples** and **documentation** can be found at [joi
* SVG based
* ... a lot more


## Supported browsers

* Latest Google Chrome (including mobile)
Expand All @@ -61,106 +60,107 @@ If you want to work on *JointJS* locally, use the following guidelines to get st
Make sure you have the following dependencies installed on your system:
* [Node.js](https://nodejs.org/)
* [grunt-cli](http://gruntjs.com/using-the-cli)
* git
* [git](https://git-scm.com/)
* [yarn](https://yarnpkg.com/getting-started/install)

Make sure that you are using Yarn version >= 2.0.0, so that you have access to [Yarn workspace ranges](https://yarnpkg.com/features/workspaces#workspace-ranges-workspace) functionality. If you are using [Volta](https://volta.sh/), it will automatically read this restriction from `package.json`.

### Setup

Clone this git repository:
```
```bash
git clone https://github.com/clientIO/joint.git
```

Change into the joint directory:
```
Navigate to the `joint` directory:
```bash
cd joint
```

Install all NPM dependencies:
```
npm install
Install all dependencies:
```bash
yarn install
```

Generate build files from the source code:
```
grunt install
Generate distribution files from the source code:
```bash
yarn run dist
```

You are ready now to browse our demos:
You are now ready to browse our example applications, which combine functionality from multiple JointJS packages:
```bash
cd examples
```
cd demo
Refer to each application's `README.md` file for additional instructions.

You can also browse the demo applications of our JointJS Core package:
```bash
cd packages/joint-core/demo
```
Most demos can be run by simply opening the `index.html` file in your browser. Some demos have additional instructions, which you can find in their respective `README.md` files.

### Tests

To run all tests:
```
grunt test
```bash
yarn run test
```

To run only the server-side tests:
```
grunt test:server
```bash
yarn run test-server
```

To run only the client-side tests:
```
grunt test:client
```bash
yarn run test-client
```

To run only TypeScript tests:
```bash
yarn run test-ts
```

### Lint

To check for linting errors in `src` and `types` directories:

```
npm run lint
```bash
yarn run lint
```

To auto fix errors, run eslint for `src` and `types` directories:

```
npm run lint:fix
```bash
yarn run lint-fix
```

### Code Coverage Reports

To output a code coverage report in HTML:
```
grunt test:coverage
```bash
yarn run test-coverage
```

To output a code coverage report in [lcov format](http://ltp.sourceforge.net/coverage/lcov/geninfo.1.php):
```
grunt test:coverage --reporter="lcov"
```

The output for all unit tests will be saved in the `coverage` directory.


### Building Distribution Files

The `dist` directory contains pre-built distribution files. To re-build them, run the following:
```
grunt dist
```bash
yarn run test-coverage-lcov
```

The output for all unit tests will be saved in the `packages/joint-core/coverage` directory.

## Documentation

The source for the *JointJS* documentation (plus *Geometry* and *Vectorizer* libraries) are included in this repository; see the `docs` directory. The documentation can be built into stand-alone HTML documents like this:
The source files for the *JointJS* documentation (plus *Geometry* and *Vectorizer* libraries) are included in this repository; see the `packages/joint-core/docs` directory. The documentation can be built into stand-alone HTML documents like this:
```bash
yarn run build-docs
```
grunt build:docs
```
The output of the above command can be found at `build/docs`.

The output of the above command can be found at `packages/joint-core/build/docs`.

## Contributors

<a href="https://github.com/clientIO/joint/graphs/contributors">
<img src="https://contrib.rocks/image?repo=clientIO/joint" />
</a>


## License

The *JointJS* library is licensed under the [Mozilla Public License 2.0](https://github.com/clientIO/joint/blob/master/LICENSE).
Expand Down
170 changes: 0 additions & 170 deletions css/layout.css

This file was deleted.

Loading