rollup 2.77.0 → 3.0.0-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +31 -2
- package/dist/bin/rollup +78 -72
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +1603 -1556
- package/dist/es/shared/watch.js +2 -2
- package/dist/loadConfigFile.js +5 -4
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.browser.js.map +1 -1
- package/dist/rollup.d.ts +26 -55
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +126 -12
- package/dist/shared/mergeOptions.js +2 -2
- package/dist/shared/rollup.js +1542 -1495
- package/dist/shared/watch-cli.js +3 -3
- package/dist/shared/watch.js +2 -2
- package/package.json +13 -12
- package/CHANGELOG.md +0 -6671
package/dist/shared/watch-cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js
|
|
4
|
-
Fri, 15 Jul 2022
|
|
3
|
+
Rollup.js v3.0.0-2
|
|
4
|
+
Fri, 15 Jul 2022 15:25:15 GMT - commit 13b0ef8778ca5ccfd54b113ef545bf235a4c7e34
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -476,7 +476,7 @@ async function watch(command) {
|
|
|
476
476
|
case 'BUNDLE_END':
|
|
477
477
|
warnings.flush();
|
|
478
478
|
if (!silent)
|
|
479
|
-
loadConfigFile_js.stderr(loadConfigFile_js.green(`created ${loadConfigFile_js.bold(event.output.map(rollup.relativeId).join(', '))} in ${loadConfigFile_js.bold(cli.
|
|
479
|
+
loadConfigFile_js.stderr(loadConfigFile_js.green(`created ${loadConfigFile_js.bold(event.output.map(rollup.relativeId).join(', '))} in ${loadConfigFile_js.bold(cli.prettyMilliseconds(event.duration))}`));
|
|
480
480
|
runWatchHook('onBundleEnd');
|
|
481
481
|
if (event.result && event.result.getTimings) {
|
|
482
482
|
cli.printTimings(event.result.getTimings());
|
package/dist/shared/watch.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rollup",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-2",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"lint:nofix": "eslint . && prettier --check \"**/*.md\"",
|
|
21
21
|
"lint:markdown": "prettier --write \"**/*.md\"",
|
|
22
22
|
"perf": "npm run build:cjs && node --expose-gc scripts/perf.js",
|
|
23
|
-
"perf:debug": "node --inspect-brk scripts/perf-debug.js",
|
|
24
23
|
"perf:init": "node scripts/perf-init.js",
|
|
25
24
|
"postpublish": "git push && git push --tags",
|
|
26
25
|
"prepare": "husky install && npm run build",
|
|
@@ -66,9 +65,9 @@
|
|
|
66
65
|
"@rollup/plugin-typescript": "^8.3.3",
|
|
67
66
|
"@rollup/pluginutils": "^4.2.1",
|
|
68
67
|
"@types/estree": "0.0.52",
|
|
69
|
-
"@types/node": "^
|
|
68
|
+
"@types/node": "^14.18.21",
|
|
70
69
|
"@types/signal-exit": "^3.0.1",
|
|
71
|
-
"@types/yargs-parser": "^
|
|
70
|
+
"@types/yargs-parser": "^21.0.0",
|
|
72
71
|
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
73
72
|
"@typescript-eslint/parser": "^5.30.5",
|
|
74
73
|
"acorn": "^8.7.1",
|
|
@@ -85,20 +84,21 @@
|
|
|
85
84
|
"eslint-config-prettier": "^8.5.0",
|
|
86
85
|
"eslint-plugin-import": "^2.26.0",
|
|
87
86
|
"eslint-plugin-prettier": "^4.2.1",
|
|
88
|
-
"execa": "^
|
|
87
|
+
"execa": "^6.1.0",
|
|
89
88
|
"fixturify": "^2.1.1",
|
|
90
89
|
"fs-extra": "^10.1.0",
|
|
90
|
+
"get-package-type": "^0.1.0",
|
|
91
91
|
"hash.js": "^1.1.7",
|
|
92
|
-
"husky": "^
|
|
92
|
+
"husky": "^8.0.1",
|
|
93
93
|
"is-reference": "^3.0.0",
|
|
94
|
-
"lint-staged": "^
|
|
94
|
+
"lint-staged": "^13.0.3",
|
|
95
95
|
"locate-character": "^2.0.5",
|
|
96
96
|
"magic-string": "^0.26.2",
|
|
97
|
-
"mocha": "^
|
|
97
|
+
"mocha": "^10.0.0",
|
|
98
98
|
"nyc": "^15.1.0",
|
|
99
99
|
"prettier": "^2.7.1",
|
|
100
|
-
"pretty-bytes": "^
|
|
101
|
-
"pretty-ms": "^
|
|
100
|
+
"pretty-bytes": "^6.0.0",
|
|
101
|
+
"pretty-ms": "^8.0.0",
|
|
102
102
|
"requirejs": "^2.3.6",
|
|
103
103
|
"rollup": "^2.75.7",
|
|
104
104
|
"rollup-plugin-license": "^2.8.1",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"tslib": "^2.4.0",
|
|
116
116
|
"typescript": "^4.7.4",
|
|
117
117
|
"weak-napi": "^2.0.2",
|
|
118
|
-
"yargs-parser": "^
|
|
118
|
+
"yargs-parser": "^21.0.1"
|
|
119
119
|
},
|
|
120
120
|
"files": [
|
|
121
121
|
"dist/**/*.js",
|
|
@@ -125,7 +125,8 @@
|
|
|
125
125
|
"dist/rollup.browser.js.map"
|
|
126
126
|
],
|
|
127
127
|
"engines": {
|
|
128
|
-
"node": ">=
|
|
128
|
+
"node": ">=14.0.0",
|
|
129
|
+
"npm": ">=8.0.0"
|
|
129
130
|
},
|
|
130
131
|
"exports": {
|
|
131
132
|
".": {
|