rollup 2.38.0 → 2.38.4
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 +41 -0
- package/README.md +2 -2
- package/dist/bin/rollup +2 -2
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +1044 -1045
- package/dist/es/shared/watch.js +15 -6
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.browser.js +4 -3
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +15 -6
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/mergeOptions.js +2 -2
- package/dist/shared/rollup.js +1025 -1026
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +19 -20
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.38.
|
|
3
|
+
"version": "2.38.4",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -10,34 +10,33 @@
|
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "shx rm -rf dist && git rev-parse HEAD > .commithash && rollup -c && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
|
|
13
|
-
"build:
|
|
13
|
+
"build:cjs": "shx rm -rf dist && rollup -c --configTest && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
|
|
14
14
|
"build:bootstrap": "dist/bin/rollup -c && 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
|
-
"ci:test": "npm run build:
|
|
17
|
-
"ci:test:only": "npm run build:
|
|
18
|
-
"ci:coverage": "npm run build:
|
|
16
|
+
"ci:test": "npm run build:cjs && npm run build:bootstrap && npm run test:all",
|
|
17
|
+
"ci:test:only": "npm run build:cjs && npm run build:bootstrap && npm run test:only",
|
|
18
|
+
"ci:coverage": "npm run build:cjs && nyc --reporter lcovonly mocha && codecov",
|
|
19
19
|
"lint": "npm run lint:ts -- --fix && npm run lint:js -- --fix && npm run lint:markdown",
|
|
20
20
|
"lint:nofix": "npm run lint:ts && npm run lint:js && npm run lint:markdown",
|
|
21
21
|
"lint:ts": "tslint --project .",
|
|
22
22
|
"lint:js": "eslint test/test.js test/*/index.js test/utils.js test/**/_config.js",
|
|
23
23
|
"lint:markdown": "markdownlint --config markdownlint.json docs/**/*.md",
|
|
24
|
-
"perf": "npm run build:
|
|
24
|
+
"perf": "npm run build:cjs && node --expose-gc scripts/perf.js",
|
|
25
25
|
"perf:debug": "node --inspect-brk scripts/perf-debug.js",
|
|
26
26
|
"perf:init": "node scripts/perf-init.js",
|
|
27
|
-
"prepare": "npm run build",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"test": "npm run test
|
|
34
|
-
"test:
|
|
35
|
-
"test:coverage": "nyc --reporter html mocha",
|
|
27
|
+
"prepare": "npm run build:cjs && npm run build:bootstrap",
|
|
28
|
+
"security": "npm audit",
|
|
29
|
+
"test": "npm run build && npm run test:all",
|
|
30
|
+
"test:cjs": "npm run build:cjs && npm run test:only",
|
|
31
|
+
"test:quick": "mocha -b test/test.js",
|
|
32
|
+
"test:all": "npm run test:only && npm run test:browser && npm run test:typescript && npm run test:leak && npm run test:package",
|
|
33
|
+
"test:coverage": "npm run build:cjs && shx rm -rf coverage/* && nyc --reporter html mocha test/test.js",
|
|
34
|
+
"test:coverage:browser": "npm run build && shx rm -rf coverage/* && nyc mocha test/browser/index.js",
|
|
36
35
|
"test:leak": "node --expose-gc test/leak/index.js",
|
|
37
36
|
"test:package": "node scripts/test-package.js",
|
|
38
|
-
"test:only": "mocha",
|
|
39
|
-
"test:
|
|
40
|
-
"test:
|
|
37
|
+
"test:only": "mocha test/test.js",
|
|
38
|
+
"test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit",
|
|
39
|
+
"test:browser": "mocha test/browser/index.js",
|
|
41
40
|
"watch": "rollup -cw"
|
|
42
41
|
},
|
|
43
42
|
"repository": "rollup/rollup",
|
|
@@ -55,7 +54,7 @@
|
|
|
55
54
|
},
|
|
56
55
|
"homepage": "https://rollupjs.org/",
|
|
57
56
|
"optionalDependencies": {
|
|
58
|
-
"fsevents": "~2.1
|
|
57
|
+
"fsevents": "~2.3.1"
|
|
59
58
|
},
|
|
60
59
|
"devDependencies": {
|
|
61
60
|
"@rollup/plugin-alias": "^3.1.1",
|
|
@@ -75,7 +74,7 @@
|
|
|
75
74
|
"acorn-static-class-features": "^0.2.4",
|
|
76
75
|
"acorn-walk": "^8.0.1",
|
|
77
76
|
"buble": "^0.20.0",
|
|
78
|
-
"chokidar": "^3.
|
|
77
|
+
"chokidar": "^3.5.1",
|
|
79
78
|
"codecov": "^3.8.1",
|
|
80
79
|
"colorette": "^1.2.1",
|
|
81
80
|
"core-js": "^3.8.2",
|