Skip to content

Commit

Permalink
chore: update packages version (#2515)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumilingus authored Feb 1, 2024
1 parent b2540ab commit 1ab9d75
Show file tree
Hide file tree
Showing 108 changed files with 235 additions and 235 deletions.
6 changes: 3 additions & 3 deletions examples/decorators/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joint/demo-decorators",
"version": "1.0.0",
"version": "4.0.0",
"main": "src/index.ts",
"homepage": "https://jointjs.com",
"author": {
Expand All @@ -17,8 +17,8 @@
"tsc": "tsc"
},
"dependencies": {
"@joint/decorators": "workspace:^",
"jointjs": "workspace:^"
"@joint/core": "workspace:^",
"@joint/decorators": "workspace:^"
},
"devDependencies": {
"css-loader": "^6.8.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/decorators/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { g, dia, shapes } from 'jointjs';
import { g, dia, shapes } from '@joint/core';
import { Model, View, On, SVGAttribute, Function } from '@joint/decorators';

const shapeNamespace = {
Expand Down
4 changes: 2 additions & 2 deletions examples/dwdm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joint/demo-dwdm",
"version": "1.0.0",
"version": "4.0.0",
"main": "src/index.ts",
"homepage": "https://jointjs.com",
"author": {
Expand All @@ -17,7 +17,7 @@
"tsc": "tsc"
},
"dependencies": {
"jointjs": "workspace:^"
"@joint/core": "workspace:^"
},
"devDependencies": {
"css-loader": "^3.6.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/Monitor.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia } from 'jointjs';
import { dia } from '@joint/core';
import { Card, ExternalLink } from './shapes';

interface MonitorComponent {
Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/data.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia } from 'jointjs';
import { dia } from '@joint/core';
import { Node, Link, NodeLink } from './shapes';

interface INode {
Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, routers } from 'jointjs';
import { dia, routers } from '@joint/core';
import { Node, cellNamespace } from './shapes';
import { ExpandButton, NodePlaceholder, toggleCellAlert } from './shapes/highlighters';
import { multiLinkAnchor } from './shapes/anchors';
Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/layout.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia } from 'jointjs';
import { dia } from '@joint/core';
import { Node, ExternalLink } from './shapes';
import {
NODE_MARGIN_HORIZONTAL, NODE_PADDING_VERTICAL,
Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/anchors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { anchors } from 'jointjs';
import { anchors } from '@joint/core';
import { getPortLinks, isCellHidden } from './utils';

// Shift the anchor point of a link to avoid overlapping with other links (max 2 links per port).
Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/cards/Card.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, util } from 'jointjs';
import { dia, util } from '@joint/core';
import { isCellHidden } from '../utils';
import { CARD_PORT_BG_COLOR, CARD_PORT_COLOR, CARD_PORT_LABEL_COLOR } from '../../theme';

Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/cards/Demultiplexer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { util } from 'jointjs';
import { util } from '@joint/core';
import { Card } from './Card';
import { CARD_BG_COLOR, CARD_COLOR, CARD_LABEL_COLOR } from '../../theme';

Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/cards/FiberProtectionUnit.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { util } from 'jointjs';
import { util } from '@joint/core';
import { Card } from './Card';
import { CARD_BG_COLOR, CARD_COLOR, CARD_LABEL_COLOR } from '../../theme';

Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/cards/LeftAmplifier.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { util } from 'jointjs';
import { util } from '@joint/core';
import { Card } from './Card';
import { CARD_BG_COLOR, CARD_COLOR, CARD_LABEL_COLOR } from '../../theme';

Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/cards/Multiplexer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { util } from 'jointjs';
import { util } from '@joint/core';
import { Card } from './Card';
import { CARD_BG_COLOR, CARD_COLOR, CARD_LABEL_COLOR } from '../../theme';

Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/cards/OpticalPowerMonitoring.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { util } from 'jointjs';
import { util } from '@joint/core';
import { Card } from './Card';
import { CARD_BG_COLOR, CARD_COLOR, CARD_LABEL_COLOR } from '../../theme';

Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/cards/ROADMultiplexer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { util } from 'jointjs';
import { util } from '@joint/core';
import { Card } from './Card';
import { CARD_BG_COLOR, CARD_COLOR, CARD_LABEL_COLOR } from '../../theme';

Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/cards/RightAmplifier.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { util } from 'jointjs';
import { util } from '@joint/core';
import { Card } from './Card';
import { CARD_BG_COLOR, CARD_COLOR, CARD_LABEL_COLOR } from '../../theme';

Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/highlighters.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, highlighters, util } from 'jointjs';
import { dia, highlighters, util } from '@joint/core';
import { Node } from '.';
import { ALERT_COLOR } from '../theme';

Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { shapes } from 'jointjs';
import { shapes } from '@joint/core';
import Node from "./nodes/Node";
import Multiplexer from "./cards/Multiplexer";
import Demultiplexer from './cards/Demultiplexer';
Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/links/ExternalLink.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, util } from 'jointjs';
import { dia, util } from '@joint/core';
import Link from './Link';
import { EXTERNAL_LINK_COLOR } from '../../theme';

Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/links/FiberLink.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, util } from 'jointjs';
import { dia, util } from '@joint/core';
import Link from './Link';
import { FIBER_LINK_COLOR } from '../../theme';

Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/links/Link.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia } from 'jointjs';
import { dia } from '@joint/core';

export default abstract class Link extends dia.Link {

Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/links/NodeLink.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, util } from 'jointjs';
import { dia, util } from '@joint/core';
import Link from './Link';
import { NODE_LINK_COLOR } from '../../theme';

Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/nodes/Node.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, util } from 'jointjs';
import { dia, util } from '@joint/core';
import { NODE_BG_COLOR, NODE_HEADER_BG_COLOR, NODE_HEADER_COLOR, NODE_IP_COLOR } from '../../theme';

export const HEADER_HEIGHT = 40;
Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/shapes/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia } from 'jointjs';
import { dia } from '@joint/core';

export function isCellHidden(cell: dia.Cell): boolean {
return Boolean(cell.get('hidden'));
Expand Down
2 changes: 1 addition & 1 deletion examples/dwdm/src/theme.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { util } from 'jointjs';
import { util } from '@joint/core';

const PATTERN_1 = (fgColor: string, bgColor: string) => {
return {
Expand Down
6 changes: 3 additions & 3 deletions examples/fta-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joint/demo-fta-js",
"version": "1.0.0",
"version": "4.0.0",
"main": "src/index.js",
"homepage": "https://jointjs.com",
"author": {
Expand All @@ -17,8 +17,8 @@
"tsc": "tsc"
},
"dependencies": {
"@joint/layout-directed-graph": "workspace:^",
"jointjs": "workspace:^"
"@joint/core": "workspace:^",
"@joint/layout-directed-graph": "workspace:^"
},
"devDependencies": {
"css-loader": "3.5.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/fta-js/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, elementTools, shapes as defaultShapes, util } from 'jointjs';
import { dia, elementTools, shapes as defaultShapes, util } from '@joint/core';
import { DirectedGraph } from '@joint/layout-directed-graph';

import '../css/fta.css'
Expand Down
6 changes: 3 additions & 3 deletions examples/isometric/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joint/demo-isometric",
"version": "1.0.0",
"version": "4.0.0",
"main": "src/index.ts",
"homepage": "https://jointjs.com",
"author": {
Expand All @@ -17,8 +17,8 @@
"tsc": "tsc"
},
"dependencies": {
"@joint/decorators": "workspace:^",
"jointjs": "workspace:^"
"@joint/core": "workspace:^",
"@joint/decorators": "workspace:^"
},
"devDependencies": {
"css-loader": "^6.8.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/isometric/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { g, dia } from 'jointjs';
import { g, dia } from '@joint/core';
import Obstacles from './obstacles';
import IsometricShape, { View } from './shapes/isometric-shape';
import { Computer, Database, ActiveDirectory, User, Firewall, Switch, Router, Link, cellNamespace } from './shapes';
Expand Down
2 changes: 1 addition & 1 deletion examples/isometric/src/obstacles.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { g, dia, mvc } from 'jointjs';
import { g, dia, mvc } from '@joint/core';
import { GRID_COUNT, GRID_SIZE } from './theme';

// Simplified version of obstacle detection.
Expand Down
2 changes: 1 addition & 1 deletion examples/isometric/src/shapes/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { shapes } from 'jointjs';
import { shapes } from '@joint/core';

import { Link } from './link/link'
import { Switch } from './switch/switch'
Expand Down
2 changes: 1 addition & 1 deletion examples/isometric/src/shapes/isometric-shape.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, g, elementTools } from 'jointjs';
import { dia, g, elementTools } from '@joint/core';
import { CenterBasedHeightControl, PyramidHeightControl, SizeControl, ProportionalSizeControl, CONNECT_TOOL_PRESET } from '../tools';

export const ISOMETRIC_HEIGHT_KEY = 'isometric-height';
Expand Down
2 changes: 1 addition & 1 deletion examples/isometric/src/shapes/link/link.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, shapes } from 'jointjs';
import { dia, shapes } from '@joint/core';
import { TargetArrowHeadTool, RemoveTool } from '../../tools';

export class Link extends shapes.standard.Link {
Expand Down
2 changes: 1 addition & 1 deletion examples/isometric/src/shapes/user/user.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { g, elementTools } from 'jointjs';
import { g, elementTools } from '@joint/core';
import { Model, Function } from '@joint/decorators';
import svg from './user.svg';
import IsometricShape, { CONNECT_KEY } from '../isometric-shape';
Expand Down
2 changes: 1 addition & 1 deletion examples/isometric/src/tools/center-based-height-tool.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, elementTools, g } from 'jointjs';
import { dia, elementTools, g } from '@joint/core';
import { GRID_SIZE } from '../theme';
import { ISOMETRIC_HEIGHT_TOOL_MARKUP } from './tools';
import IsometricShape from '../shapes/isometric-shape';
Expand Down
2 changes: 1 addition & 1 deletion examples/isometric/src/tools/proportional-size-tool.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, elementTools, g } from 'jointjs';
import { dia, elementTools, g } from '@joint/core';
import IsometricShape, { PyramidShape } from '../shapes/isometric-shape';
import { SIZE_TOOL_MARKUP } from './tools';
import { GRID_SIZE } from '../theme';
Expand Down
2 changes: 1 addition & 1 deletion examples/isometric/src/tools/pyramid-height-tool.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { elementTools, dia, g } from 'jointjs';
import { elementTools, dia, g } from '@joint/core';
import { PyramidShape } from '../shapes/isometric-shape';
import { ISOMETRIC_HEIGHT_TOOL_MARKUP } from './tools';
import { GRID_SIZE } from '../theme';
Expand Down
2 changes: 1 addition & 1 deletion examples/isometric/src/tools/size-tool.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, elementTools, g } from 'jointjs';
import { dia, elementTools, g } from '@joint/core';
import IsometricShape from '../shapes/isometric-shape';
import { GRID_SIZE } from '../theme';
import { SIZE_TOOL_MARKUP } from './tools';
Expand Down
2 changes: 1 addition & 1 deletion examples/isometric/src/tools/tools.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, linkTools, util } from 'jointjs';
import { dia, linkTools, util } from '@joint/core';
import { BG_COLOR, GRID_SIZE, HIGHLIGHT_COLOR } from '../theme';

const SIZE = 6;
Expand Down
2 changes: 1 addition & 1 deletion examples/isometric/src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { g, V, dia, util } from 'jointjs';
import { g, V, dia, util } from '@joint/core';
import IsometricShape, { View } from './shapes/isometric-shape';
import { GRID_COUNT, GRID_SIZE, SCALE, ISOMETRIC_SCALE, ROTATION_DEGREES } from './theme';
import { Link } from './shapes';
Expand Down
6 changes: 3 additions & 3 deletions examples/layout-directed-graph/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joint/demo-layout-directed-graph",
"version": "1.0.0",
"version": "4.0.0",
"description": "JointJS - Directed Graph Layout Demo",
"main": "./index.js",
"homepage": "https://jointjs.com",
Expand All @@ -19,8 +19,8 @@
"start": "webpack serve --config webpack.config.js"
},
"dependencies": {
"@joint/layout-directed-graph": "workspace:^",
"jointjs": "workspace:^"
"@joint/core": "workspace:^",
"@joint/layout-directed-graph": "workspace:^"
},
"devDependencies": {
"@babel/core": "7.10.4",
Expand Down
2 changes: 1 addition & 1 deletion examples/layout-directed-graph/src/directed-graph.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as joint from 'jointjs';
import * as joint from '@joint/core';
import { DirectedGraph } from '@joint/layout-directed-graph';

function val(view, selector, val) {
Expand Down
4 changes: 2 additions & 2 deletions examples/list/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joint/demo-list",
"version": "1.0.0",
"version": "4.0.0",
"main": "src/index.ts",
"homepage": "https://jointjs.com",
"author": {
Expand All @@ -17,7 +17,7 @@
"tsc": "tsc"
},
"dependencies": {
"jointjs": "workspace:^"
"@joint/core": "workspace:^"
},
"devDependencies": {
"css-loader": "3.5.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/list/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia, shapes, g, linkTools, util } from 'jointjs';
import { dia, shapes, g, linkTools, util } from '@joint/core';

const GRID_SIZE = 8;
const PADDING_S = GRID_SIZE;
Expand Down
6 changes: 3 additions & 3 deletions examples/shapes-general/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joint/demo-shapes-general",
"version": "1.0.0",
"version": "4.0.0",
"main": "src/index.ts",
"homepage": "https://jointjs.com",
"author": {
Expand All @@ -17,9 +17,9 @@
"tsc": "tsc"
},
"dependencies": {
"@joint/core": "workspace:^",
"@joint/shapes-general": "workspace:^",
"@joint/shapes-general-tools": "workspace:^",
"jointjs": "workspace:^"
"@joint/shapes-general-tools": "workspace:^"
},
"devDependencies": {
"css-loader": "^6.8.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/shapes-general/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dia } from 'jointjs';
import { dia } from '@joint/core';
import {
LinkedProcess,
Input,
Expand Down
4 changes: 2 additions & 2 deletions examples/tree-of-life/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joint/demo-tree-of-life",
"version": "1.0.0",
"version": "4.0.0",
"main": "src/index.ts",
"author": {
"name": "client IO",
Expand All @@ -16,7 +16,7 @@
"tsc": "tsc"
},
"dependencies": {
"jointjs": "workspace:^",
"@joint/core": "workspace:^",
"perfect-freehand": "^1.2.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/tree-of-life/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
attributes,
elementTools,
highlighters,
} from 'jointjs';
} from '@joint/core';

import '../index.css'

Expand Down
Loading

0 comments on commit 1ab9d75

Please sign in to comment.