Skip to content

Commit 11ecea5

Browse files
authored
Merge pull request #39 from sgratzl/upgrade
build: upgrade dependencies
2 parents 9b2e63e + e443a66 commit 11ecea5

File tree

10 files changed

+3206
-3044
lines changed

10 files changed

+3206
-3044
lines changed

.github/dependabot.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: 'github-actions'
5+
directory: '/'
6+
schedule:
7+
interval: 'monthly'
8+
target-branch: 'dev'
9+
labels:
10+
- 'dependencies'
11+
- 'chore'
12+
- package-ecosystem: 'npm'
13+
directory: '/'
14+
schedule:
15+
interval: 'monthly'
16+
target-branch: 'dev'
17+
labels:
18+
- 'dependencies'
19+
- 'chore'

.yarn/releases/yarn-4.0.2.cjs

Lines changed: 0 additions & 893 deletions
This file was deleted.

.yarn/releases/yarn-4.2.2.cjs

Lines changed: 894 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
yarnPath: .yarn/releases/yarn-4.0.2.cjs
1+
yarnPath: .yarn/releases/yarn-4.2.2.cjs

package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"global": "CytoscapeLayers",
2323
"dependencies": {
24-
"@types/cytoscape": "^3.19.16"
24+
"@types/cytoscape": "^3.21.2"
2525
},
2626
"peerDependencies": {
2727
"cytoscape": "^3.23.0"
@@ -48,38 +48,38 @@
4848
"@typescript-eslint/parser": "^6.19.0"
4949
},
5050
"devDependencies": {
51-
"@babel/core": "^7.23.7",
52-
"@babel/preset-env": "^7.23.8",
51+
"@babel/core": "^7.24.7",
52+
"@babel/preset-env": "^7.24.7",
5353
"@rollup/plugin-babel": "^6.0.4",
54-
"@rollup/plugin-commonjs": "^25.0.7",
54+
"@rollup/plugin-commonjs": "^26.0.1",
5555
"@rollup/plugin-node-resolve": "^15.2.3",
56-
"@rollup/plugin-replace": "^5.0.5",
56+
"@rollup/plugin-replace": "^5.0.7",
5757
"@rollup/plugin-typescript": "^11.1.6",
58-
"@types/jest": "^29.5.11",
59-
"@typescript-eslint/eslint-plugin": "^6.19.0",
60-
"@typescript-eslint/parser": "^6.19.0",
61-
"@yarnpkg/sdks": "^3.1.0",
62-
"cytoscape": "^3.28.1",
63-
"eslint": "^8.56.0",
64-
"eslint-config-airbnb-typescript": "^17.1.0",
58+
"@types/jest": "^29.5.12",
59+
"@typescript-eslint/eslint-plugin": "^7.12.0",
60+
"@typescript-eslint/parser": "^7.12.0",
61+
"@yarnpkg/sdks": "^3.1.2",
62+
"cytoscape": "^3.29.2",
63+
"eslint": "^8.57.0",
64+
"eslint-config-airbnb-typescript": "^18.0.0",
6565
"eslint-config-prettier": "^9.1.0",
6666
"eslint-config-react-app": "^7.0.1",
6767
"eslint-plugin-flowtype": "^8.0.3",
6868
"eslint-plugin-import": "^2.29.1",
6969
"eslint-plugin-jsx-a11y": "^6.8.0",
7070
"eslint-plugin-prettier": "^5.1.3",
71-
"eslint-plugin-react": "^7.33.2",
72-
"eslint-plugin-react-hooks": "^4.6.0",
71+
"eslint-plugin-react": "^7.34.2",
72+
"eslint-plugin-react-hooks": "^4.6.2",
7373
"jest": "^29.7.0",
74-
"prettier": "^3.2.4",
75-
"rimraf": "^5.0.5",
76-
"rollup": "^4.9.6",
77-
"rollup-plugin-dts": "^6.1.0",
74+
"prettier": "^3.3.1",
75+
"rimraf": "^5.0.7",
76+
"rollup": "^4.18.0",
77+
"rollup-plugin-dts": "^6.1.1",
7878
"rollup-plugin-terser": "^7.0.2",
79-
"ts-jest": "^29.1.1",
80-
"tslib": "^2.6.2",
81-
"typedoc": "^0.25.7",
82-
"typescript": "^5.3.3"
79+
"ts-jest": "^29.1.4",
80+
"tslib": "^2.6.3",
81+
"typedoc": "^0.25.13",
82+
"typescript": "^5.4.5"
8383
},
8484
"scripts": {
8585
"clean": "rimraf build node_modules \"*.tgz\" \"*.tsbuildinfo\" \"samples/*.js\" \"samples/*.map\"",
@@ -89,9 +89,9 @@
8989
"samples": "tsc -p samples/tsconfig.json",
9090
"samples:watch": "tsc -p samples/tsconfig.json -w",
9191
"build": "rollup -c",
92-
"test": "jest --passWithNoTests",
93-
"test:watch": "jest --passWithNoTests --watch",
94-
"test:coverage": "jest --passWithNoTests --coverage",
92+
"test": "yarn node --experimental-vm-modules $(yarn bin jest) --passWithNoTests --detectOpenHandles --forceExit",
93+
"test:watch": "yarn run test --watch",
94+
"test:coverage": "yarn run test --coverage",
9595
"lint": "yarn run eslint && yarn run prettier",
9696
"fix": "yarn run eslint:fix && yarn run prettier:write",
9797
"prettier:write": "prettier \"*\" \"*/**\" --write",
@@ -101,7 +101,7 @@
101101
"docs": "typedoc src/index.ts",
102102
"prepare": "yarn run build"
103103
},
104-
"packageManager": "yarn@4.0.2",
104+
"packageManager": "yarn@4.2.2",
105105
"dependenciesMeta": {
106106
107107
"unplugged": true

samples/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"noFallthroughCasesInSwitch": true,
1919
"moduleResolution": "node",
2020
"jsx": "react",
21-
"esModuleInterop": true,
21+
"esModuleInterop": true
2222
},
23-
"include": ["./*.ts"],
23+
"include": ["./*.ts"]
2424
}

tsconfig.c.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"outDir": "build",
55
"declaration": true,
66
"declarationMap": true,
7-
"noEmit": false,
7+
"noEmit": true,
88
"composite": true
99
}
1010
}

tsconfig.eslint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"extends": "./tsconfig.c.json",
3-
"include": ["src/**/*.ts", "src/**/*.tsx", "*.js"]
3+
"include": ["src/**/*.ts", "src/**/*.tsx", "*.js", "docs/**/*.ts"]
44
}

tsconfig.json

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2019",
3+
"target": "ES2018",
44
"module": "ESNext",
55
"lib": ["DOM", "ES2020"],
66
"importHelpers": false,
@@ -26,18 +26,8 @@
2626
"noEmit": true,
2727
"paths": {
2828
"@": ["./src"],
29-
"*": ["*", "node_modules/*"],
30-
},
31-
},
32-
"include": ["src/**/*.ts", "src/**/*.tsx"],
33-
34-
"typedocOptions": {
35-
"name": "TSLibrary",
36-
"out": "./docs",
37-
"theme": "default",
38-
"excludeExternals": true,
39-
"excludePrivate": true,
40-
"includeVersion": true,
41-
"hideGenerator": true,
29+
"*": ["*", "node_modules/*"]
30+
}
4231
},
32+
"include": ["src/**/*.ts", "src/**/*.tsx", "docs/**/*.tsx"]
4333
}

0 commit comments

Comments
 (0)