@rollup/plugin-commonjs 18.0.0 → 19.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/CHANGELOG.md +36 -0
- package/README.md +46 -1
- package/dist/index.es.js +443 -323
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +443 -323
- package/dist/index.js.map +1 -1
- package/package.json +14 -14
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/plugin-commonjs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.0.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"description": "Convert CommonJS modules to ES2015",
|
|
8
8
|
"license": "MIT",
|
|
9
|
-
"repository":
|
|
9
|
+
"repository": {
|
|
10
|
+
"url": "rollup/plugins",
|
|
11
|
+
"directory": "packages/commonjs"
|
|
12
|
+
},
|
|
10
13
|
"author": "Rich Harris <richard.a.harris@gmail.com>",
|
|
11
14
|
"homepage": "https://github.com/rollup/plugins/tree/master/packages/commonjs/#readme",
|
|
12
15
|
"bugs": "https://github.com/rollup/plugins/issues",
|
|
@@ -17,18 +20,15 @@
|
|
|
17
20
|
},
|
|
18
21
|
"scripts": {
|
|
19
22
|
"build": "rollup -c",
|
|
20
|
-
"ci:coverage": "nyc pnpm
|
|
21
|
-
"ci:lint": "pnpm
|
|
23
|
+
"ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov",
|
|
24
|
+
"ci:lint": "pnpm build && pnpm lint",
|
|
22
25
|
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
|
|
23
|
-
"ci:test": "pnpm
|
|
24
|
-
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
|
|
25
|
-
"lint:docs": "prettier --single-quote --arrow-parens avoid --trailing-comma none --write README.md",
|
|
26
|
-
"lint:js": "eslint --fix --cache src test types --ext .js,.ts",
|
|
27
|
-
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
|
|
26
|
+
"ci:test": "pnpm test -- --verbose && pnpm test:ts",
|
|
28
27
|
"prebuild": "del-cli dist",
|
|
29
|
-
"prepare": "pnpm
|
|
30
|
-
"
|
|
31
|
-
"pretest": "pnpm
|
|
28
|
+
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
|
|
29
|
+
"prerelease": "pnpm build",
|
|
30
|
+
"pretest": "pnpm build",
|
|
31
|
+
"release": "pnpm plugin:release --workspace-root -- --pkg $npm_package_name",
|
|
32
32
|
"test": "ava",
|
|
33
33
|
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
|
|
34
34
|
},
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"require"
|
|
48
48
|
],
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"rollup": "^2.
|
|
50
|
+
"rollup": "^2.38.3"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@rollup/pluginutils": "^3.1.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@rollup/plugin-node-resolve": "^8.4.0",
|
|
64
64
|
"locate-character": "^2.0.5",
|
|
65
65
|
"require-relative": "^0.8.7",
|
|
66
|
-
"rollup": "^2.
|
|
66
|
+
"rollup": "^2.39.0",
|
|
67
67
|
"shx": "^0.3.2",
|
|
68
68
|
"source-map": "^0.7.3",
|
|
69
69
|
"source-map-support": "^0.5.19",
|