Skip to content

Commit 4ae621f

Browse files
committed
chore: update deps and drop cjs support
1 parent dd4606b commit 4ae621f

File tree

9 files changed

+5417
-92
lines changed

9 files changed

+5417
-92
lines changed

.browserslistrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
node >= 12
1+
node >= 16
File renamed without changes.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
node_modules
22
*.log
3-
*.lock
43
/.idea
54
/dist
65
/.nyc_output

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
shamefully-hoist = true
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
module.exports = {
22
extends: require.resolve('@gera2ld/plaid/config/babelrc-base'),
3-
presets: [
4-
],
5-
plugins: [
6-
].filter(Boolean),
73
};

package.json

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,18 @@
77
"scripts": {
88
"ci": "run-s lint",
99
"lint": "eslint src",
10-
"dev": "rollup -wc rollup.conf.js",
10+
"dev": "rollup -wc",
1111
"clean": "del-cli dist",
12-
"build:js": "rollup -c rollup.conf.js",
12+
"build:js": "rollup -c",
1313
"build": "run-s ci clean build:js",
1414
"prepare": "husky install",
1515
"prepublishOnly": "run-s build"
1616
},
17-
"main": "dist/index.common.js",
18-
"module": "dist/index.esm.js",
17+
"type": "module",
18+
"module": "dist/index.js",
19+
"exports": {
20+
"import": "./dist/index.js"
21+
},
1922
"files": [
2023
"dist"
2124
],
@@ -28,16 +31,19 @@
2831
"registry": "https://registry.npmjs.org/"
2932
},
3033
"dependencies": {
31-
"@babel/runtime": "^7.13.10",
32-
"@rollup/pluginutils": "^4.1.0"
34+
"@babel/runtime": "^7.22.10",
35+
"@rollup/pluginutils": "^5.0.3",
36+
"estree-walker": "^3.0.3",
37+
"is-reference": "^3.0.1"
3338
},
3439
"devDependencies": {
35-
"@gera2ld/plaid": "~2.3.0",
36-
"@gera2ld/plaid-rollup": "~2.3.0",
37-
"del-cli": "^3.0.1",
38-
"estree-walker": "^3.0.0",
39-
"husky": "^5.1.3",
40-
"is-reference": "^2.0.0"
40+
"@gera2ld/plaid": "~2.5.9",
41+
"@gera2ld/plaid-rollup": "~2.5.9",
42+
"del-cli": "^5.0.0",
43+
"husky": "^8.0.3"
4144
},
42-
"repository": "[email protected]:violentmonkey/rollup-plugin-userscript.git"
45+
"repository": "[email protected]:violentmonkey/rollup-plugin-userscript.git",
46+
"engines": {
47+
"node": ">=16"
48+
}
4349
}

0 commit comments

Comments
 (0)