Skip to content

Commit 400e3a8

Browse files
authored
Merge pull request #27 from upsetjs/upgrade
build: upgrade dependencies
2 parents a6cc3d6 + b702c6c commit 400e3a8

File tree

9 files changed

+3225
-3071
lines changed

9 files changed

+3225
-3071
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 & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
packageExtensions:
2-
eslint-config-airbnb-typescript@*:
3-
dependencies:
4-
eslint-config-airbnb-base: "*"
5-
eslint-module-utils@*:
6-
dependencies:
7-
eslint-import-resolver-node: "*"
8-
9-
yarnPath: .yarn/releases/yarn-4.0.2.cjs
1+
yarnPath: .yarn/releases/yarn-4.2.2.cjs

package.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
},
2323
"global": "CytoscapeBubbleSets",
2424
"dependencies": {
25-
"@types/cytoscape": "^3.19.16",
25+
"@types/cytoscape": "^3.21.2",
2626
"@types/lodash.throttle": "^4.1.9",
27-
"bubblesets-js": "^2.3.0",
27+
"bubblesets-js": "^2.3.2",
2828
"lodash.throttle": "^4.1.1"
2929
},
3030
"peerDependencies": {
@@ -50,39 +50,39 @@
5050
"src/**/*.tsx"
5151
],
5252
"devDependencies": {
53-
"@babel/core": "^7.23.7",
54-
"@babel/preset-env": "^7.23.8",
53+
"@babel/core": "^7.24.7",
54+
"@babel/preset-env": "^7.24.7",
5555
"@rollup/plugin-babel": "^6.0.4",
56-
"@rollup/plugin-commonjs": "^25.0.7",
56+
"@rollup/plugin-commonjs": "^26.0.1",
5757
"@rollup/plugin-node-resolve": "^15.2.3",
58-
"@rollup/plugin-replace": "^5.0.5",
58+
"@rollup/plugin-replace": "^5.0.7",
5959
"@rollup/plugin-typescript": "^11.1.6",
60-
"@types/jest": "^29.5.11",
61-
"@typescript-eslint/eslint-plugin": "^6.19.0",
62-
"@typescript-eslint/parser": "^6.19.0",
63-
"@yarnpkg/sdks": "^3.1.0",
64-
"cytoscape": "^3.28.1",
65-
"cytoscape-layers": "^2.4.3",
66-
"eslint": "^8.56.0",
67-
"eslint-config-airbnb-typescript": "^17.1.0",
60+
"@types/jest": "^29.5.12",
61+
"@typescript-eslint/eslint-plugin": "^7.12.0",
62+
"@typescript-eslint/parser": "^7.12.0",
63+
"@yarnpkg/sdks": "^3.1.2",
64+
"cytoscape": "^3.29.2",
65+
"cytoscape-layers": "^2.4.4",
66+
"eslint": "^8.57.0",
67+
"eslint-config-airbnb-typescript": "^18.0.0",
6868
"eslint-config-prettier": "^9.1.0",
6969
"eslint-config-react-app": "^7.0.1",
7070
"eslint-plugin-flowtype": "^8.0.3",
7171
"eslint-plugin-import": "^2.29.1",
7272
"eslint-plugin-jsx-a11y": "^6.8.0",
7373
"eslint-plugin-prettier": "^5.1.3",
74-
"eslint-plugin-react": "^7.33.2",
75-
"eslint-plugin-react-hooks": "^4.6.0",
74+
"eslint-plugin-react": "^7.34.2",
75+
"eslint-plugin-react-hooks": "^4.6.2",
7676
"jest": "^29.7.0",
77-
"prettier": "^3.2.4",
78-
"rimraf": "^5.0.5",
79-
"rollup": "^4.9.6",
80-
"rollup-plugin-dts": "^6.1.0",
77+
"prettier": "^3.3.1",
78+
"rimraf": "^5.0.7",
79+
"rollup": "^4.18.0",
80+
"rollup-plugin-dts": "^6.1.1",
8181
"rollup-plugin-terser": "^7.0.2",
82-
"ts-jest": "^29.1.1",
83-
"tslib": "^2.6.2",
84-
"typedoc": "^0.25.7",
85-
"typescript": "^5.3.3"
82+
"ts-jest": "^29.1.4",
83+
"tslib": "^2.6.3",
84+
"typedoc": "^0.25.13",
85+
"typescript": "^5.4.5"
8686
},
8787
"resolutions": {
8888
"@typescript-eslint/eslint-plugin": "^6.19.0",
@@ -94,9 +94,9 @@
9494
"start": "yarn run watch",
9595
"watch": "rollup -c -w",
9696
"build": "rollup -c",
97-
"test": "jest --passWithNoTests",
98-
"test:watch": "jest --passWithNoTests --watch",
99-
"test:coverage": "jest --passWithNoTests --coverage",
97+
"test": "yarn node --experimental-vm-modules $(yarn bin jest) --passWithNoTests --detectOpenHandles --forceExit",
98+
"test:watch": "yarn run test --watch",
99+
"test:coverage": "yarn run test --coverage",
100100
"lint": "yarn run eslint && yarn run prettier",
101101
"fix": "yarn run eslint:fix && yarn run prettier:write",
102102
"prettier:write": "prettier \"*\" \"*/**\" --write",
@@ -106,5 +106,5 @@
106106
"docs": "typedoc src/index.ts",
107107
"prepare": "yarn run build"
108108
},
109-
"packageManager": "yarn@4.0.2"
109+
"packageManager": "yarn@4.2.2"
110110
}

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: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2019",
3+
"target": "ES2018",
44
"module": "ESNext",
5-
"lib": ["DOM", "ES2019"],
5+
"lib": ["DOM", "ES2020"],
66
"importHelpers": false,
77
"declaration": false,
88
"sourceMap": true,
99
"strict": true,
1010
"removeComments": true,
11-
"verbatimModuleSyntax": true,
11+
"verbatimModuleSyntax": false,
1212
"experimentalDecorators": true,
1313
"forceConsistentCasingInFileNames": true,
1414
"strictBindCallApply": true,
@@ -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)