rollup 2.51.1 → 2.52.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/CHANGELOG.md +47 -5
- package/LICENSE.md +70 -0
- package/dist/bin/rollup +3 -3
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +139 -91
- package/dist/es/shared/watch.js +97 -61
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.browser.js.map +1 -1
- package/dist/rollup.d.ts +10 -4
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +78 -49
- package/dist/shared/loadConfigFile.js +16 -10
- package/dist/shared/mergeOptions.js +20 -13
- package/dist/shared/rollup.js +7181 -7131
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +23 -23
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rollup",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.52.2",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"rollup": "dist/bin/rollup"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
|
-
"build": "shx rm -rf dist && git rev-parse HEAD > .commithash && rollup
|
|
13
|
-
"build:cjs": "shx rm -rf dist && rollup
|
|
14
|
-
"build:bootstrap": "dist/bin/rollup
|
|
12
|
+
"build": "shx rm -rf dist && git rev-parse HEAD > .commithash && rollup --config rollup.config.ts --configPlugin typescript && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
|
|
13
|
+
"build:cjs": "shx rm -rf dist && rollup --config rollup.config.ts --configPlugin typescript --configTest && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
|
|
14
|
+
"build:bootstrap": "dist/bin/rollup --config rollup.config.ts --configPlugin typescript && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
|
|
15
15
|
"ci:lint": "npm run lint:nofix",
|
|
16
16
|
"ci:test": "npm run build:cjs && npm run build:bootstrap && npm run test:all",
|
|
17
17
|
"ci:test:only": "npm run build:cjs && npm run build:bootstrap && npm run test:only",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"test:only": "mocha test/test.js",
|
|
39
39
|
"test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit",
|
|
40
40
|
"test:browser": "mocha test/browser/index.js",
|
|
41
|
-
"watch": "rollup
|
|
41
|
+
"watch": "rollup --config rollup.config.ts --configPlugin typescript --watch"
|
|
42
42
|
},
|
|
43
43
|
"repository": "rollup/rollup",
|
|
44
44
|
"keywords": [
|
|
@@ -55,41 +55,41 @@
|
|
|
55
55
|
},
|
|
56
56
|
"homepage": "https://rollupjs.org/",
|
|
57
57
|
"optionalDependencies": {
|
|
58
|
-
"fsevents": "~2.3.
|
|
58
|
+
"fsevents": "~2.3.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@rollup/plugin-alias": "^3.1.2",
|
|
62
62
|
"@rollup/plugin-buble": "^0.21.3",
|
|
63
|
-
"@rollup/plugin-commonjs": "
|
|
63
|
+
"@rollup/plugin-commonjs": "19.0.0",
|
|
64
64
|
"@rollup/plugin-json": "^4.1.0",
|
|
65
65
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
66
66
|
"@rollup/plugin-replace": "^2.4.2",
|
|
67
67
|
"@types/micromatch": "^4.0.1",
|
|
68
|
-
"@types/node": "^10.17.
|
|
68
|
+
"@types/node": "^10.17.60",
|
|
69
69
|
"@types/require-relative": "^0.8.0",
|
|
70
70
|
"@types/signal-exit": "^3.0.0",
|
|
71
71
|
"@types/yargs-parser": "^20.2.0",
|
|
72
|
-
"@typescript-eslint/eslint-plugin": "^4.
|
|
73
|
-
"@typescript-eslint/parser": "^4.
|
|
74
|
-
"acorn": "^8.
|
|
72
|
+
"@typescript-eslint/eslint-plugin": "^4.27.0",
|
|
73
|
+
"@typescript-eslint/parser": "^4.27.0",
|
|
74
|
+
"acorn": "^8.4.0",
|
|
75
75
|
"acorn-jsx": "^5.3.1",
|
|
76
76
|
"acorn-walk": "^8.1.0",
|
|
77
77
|
"buble": "^0.20.0",
|
|
78
|
-
"chokidar": "^3.5.
|
|
78
|
+
"chokidar": "^3.5.2",
|
|
79
79
|
"colorette": "^1.2.2",
|
|
80
|
-
"core-js": "^3.
|
|
80
|
+
"core-js": "^3.14.0",
|
|
81
81
|
"date-time": "^4.0.0",
|
|
82
82
|
"es5-shim": "^4.5.15",
|
|
83
83
|
"es6-shim": "^0.35.6",
|
|
84
|
-
"eslint": "^7.
|
|
84
|
+
"eslint": "^7.28.0",
|
|
85
85
|
"eslint-config-prettier": "^8.3.0",
|
|
86
|
-
"eslint-plugin-import": "^2.23.
|
|
86
|
+
"eslint-plugin-import": "^2.23.4",
|
|
87
87
|
"eslint-plugin-prettier": "^3.4.0",
|
|
88
|
-
"execa": "^5.
|
|
88
|
+
"execa": "^5.1.1",
|
|
89
89
|
"fixturify": "^2.1.1",
|
|
90
90
|
"hash.js": "^1.1.7",
|
|
91
91
|
"husky": "^6.0.0",
|
|
92
|
-
"is-reference": "
|
|
92
|
+
"is-reference": "^3.0.0",
|
|
93
93
|
"lint-staged": "^10.5.4",
|
|
94
94
|
"locate-character": "^2.0.5",
|
|
95
95
|
"magic-string": "^0.25.7",
|
|
@@ -98,13 +98,13 @@
|
|
|
98
98
|
"mocha": "^8.4.0",
|
|
99
99
|
"nyc": "^15.1.0",
|
|
100
100
|
"pinst": "^2.1.6",
|
|
101
|
-
"prettier": "^2.
|
|
101
|
+
"prettier": "^2.3.1",
|
|
102
102
|
"pretty-bytes": "^5.6.0",
|
|
103
103
|
"pretty-ms": "^7.0.1",
|
|
104
104
|
"require-relative": "^0.8.7",
|
|
105
105
|
"requirejs": "^2.3.6",
|
|
106
|
-
"rollup": "^2.
|
|
107
|
-
"rollup-plugin-license": "^2.
|
|
106
|
+
"rollup": "^2.52.0",
|
|
107
|
+
"rollup-plugin-license": "^2.5.0",
|
|
108
108
|
"rollup-plugin-string": "^3.0.0",
|
|
109
109
|
"rollup-plugin-terser": "^7.0.2",
|
|
110
110
|
"rollup-plugin-thatworks": "^1.0.4",
|
|
@@ -116,10 +116,10 @@
|
|
|
116
116
|
"source-map": "^0.7.3",
|
|
117
117
|
"source-map-support": "^0.5.19",
|
|
118
118
|
"sourcemap-codec": "^1.4.8",
|
|
119
|
-
"systemjs": "^6.
|
|
119
|
+
"systemjs": "^6.10.1",
|
|
120
120
|
"terser": "^5.7.0",
|
|
121
|
-
"tslib": "^2.
|
|
122
|
-
"typescript": "^4.2
|
|
121
|
+
"tslib": "^2.3.0",
|
|
122
|
+
"typescript": "^4.3.2",
|
|
123
123
|
"weak-napi": "^2.0.2",
|
|
124
124
|
"yargs-parser": "^20.2.7"
|
|
125
125
|
},
|