@rollup/plugin-commonjs 19.0.1 → 21.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/plugin-commonjs",
3
- "version": "19.0.1",
3
+ "version": "21.0.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -20,14 +20,15 @@
20
20
  },
21
21
  "scripts": {
22
22
  "build": "rollup -c",
23
- "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
24
- "ci:lint": "pnpm run build && pnpm run lint",
23
+ "ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov",
24
+ "ci:lint": "pnpm build && pnpm lint",
25
25
  "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
26
- "ci:test": "pnpm run test -- --verbose && pnpm run test:ts",
26
+ "ci:test": "pnpm test -- --verbose && pnpm test:ts",
27
27
  "prebuild": "del-cli dist",
28
- "prepare": "pnpm run build",
29
- "prepublishOnly": "pnpm -w run lint && pnpm run test:ts",
30
- "pretest": "pnpm run build",
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",
31
32
  "test": "ava",
32
33
  "test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
33
34
  },
@@ -62,7 +63,7 @@
62
63
  "@rollup/plugin-node-resolve": "^8.4.0",
63
64
  "locate-character": "^2.0.5",
64
65
  "require-relative": "^0.8.7",
65
- "rollup": "^2.39.0",
66
+ "rollup": "^2.58.0",
66
67
  "shx": "^0.3.2",
67
68
  "source-map": "^0.7.3",
68
69
  "source-map-support": "^0.5.19",