Skip to content

Commit

Permalink
chore: upgrading rollup to latest version []
Browse files Browse the repository at this point in the history
  • Loading branch information
2wce committed May 22, 2024
1 parent 411d45b commit f038e38
Show file tree
Hide file tree
Showing 10 changed files with 212 additions and 90 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
"devDependencies": {
"@commitlint/cli": "19.0.3",
"@commitlint/config-conventional": "17.4.2",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "15.2.3",
"@types/benchmark": "^2.1.4",
"@types/faker": "^4.1.12",
"@types/jest": "^27.0.1",
Expand All @@ -55,10 +57,9 @@
"lerna": "^6.0.3",
"lint-staged": "13.0.3",
"prettier": "^2.7.1",
"rollup": "^1.32.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup": "^3.2.5",
"rollup-plugin-copy": "3.5.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/contentful-slatejs-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"scripts": {
"lint": "tslint -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"prebuild": "rimraf dist",
"build": "tsc && rollup -c rollup.config.ts",
"start": "rollup -c rollup.config.ts -w",
"build": "tsc && rollup -c --bundleConfigAsCjs rollup.config.ts",
"start": "rollup -c --bundleConfigAsCjs rollup.config.ts -w",
"test": "jest",
"test:watch": "jest --watch",
"test:prod": "yarn test -- --coverage --no-cache",
Expand Down
10 changes: 2 additions & 8 deletions packages/rich-text-from-markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
},
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc --module commonjs && rollup -c rollup.config.js",
"start": "tsc && rollup -c rollup.config.js -w",
"build": "tsc --module commonjs && rollup -c --bundleConfigAsCjs rollup.config.js",
"start": "tsc && rollup -c --bundleConfigAsCjs rollup.config.js -w",
"lint": "tslint -t codeFrame '@(src|bin)/*.ts'",
"test": "jest"
},
Expand All @@ -46,12 +46,6 @@
"faker": "^4.1.0",
"jest": "^27.1.0",
"rimraf": "^2.6.3",
"rollup": "^1.32.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.2",
"tslint": "^6.1.3",
"typescript": "^5.3.2"
Expand Down
10 changes: 2 additions & 8 deletions packages/rich-text-html-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
},
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc --module commonjs && rollup -c rollup.config.js",
"start": "tsc && rollup -c rollup.config.js -w",
"build": "tsc --module commonjs && rollup -c --bundleConfigAsCjs rollup.config.js",
"start": "tsc && rollup -c --bundleConfigAsCjs rollup.config.js -w",
"lint": "tslint -t codeFrame '@(src|bin)/*.ts'",
"test": "jest"
},
Expand All @@ -35,12 +35,6 @@
"jest": "^27.1.0",
"lodash.clonedeep": "^4.5.0",
"rimraf": "^2.6.3",
"rollup": "^1.32.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^4.2.3",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.2",
"tslint": "^6.1.3",
"typescript": "^5.3.2"
Expand Down
10 changes: 2 additions & 8 deletions packages/rich-text-links/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"registry": "https://npm.pkg.github.com/"
},
"scripts": {
"build": "tsc --module commonjs && rollup -c rollup.config.js",
"build": "tsc --module commonjs && rollup -c --bundleConfigAsCjs rollup.config.js",
"prebuild": "rimraf dist",
"start": "tsc && rollup -c rollup.config.js -w",
"start": "tsc && rollup -c --bundleConfigAsCjs rollup.config.js -w",
"lint": "tslint -t codeFrame '@(src|bin)/*.ts'",
"test": "jest"
},
Expand All @@ -31,12 +31,6 @@
"devDependencies": {
"jest": "^27.1.0",
"rimraf": "^2.6.3",
"rollup": "^1.32.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.2",
"tslint": "^6.1.3",
"typescript": "^5.3.2"
Expand Down
10 changes: 2 additions & 8 deletions packages/rich-text-plain-text-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"registry": "https://npm.pkg.github.com/"
},
"scripts": {
"build": "tsc --module commonjs && rollup -c rollup.config.js",
"build": "tsc --module commonjs && rollup -c --bundleConfigAsCjs rollup.config.js",
"prebuild": "rimraf dist",
"start": "tsc && rollup -c rollup.config.js -w",
"start": "tsc && rollup -c --bundleConfigAsCjs rollup.config.js -w",
"lint": "tslint -t codeFrame '@(src|bin)/*.ts'",
"test": "jest"
},
Expand All @@ -31,12 +31,6 @@
"devDependencies": {
"jest": "^27.1.0",
"rimraf": "^2.6.3",
"rollup": "^1.32.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.2",
"tslint": "^6.1.3",
"typescript": "^5.3.2"
Expand Down
10 changes: 2 additions & 8 deletions packages/rich-text-react-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
},
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc --module commonjs && rollup -c rollup.config.js",
"start": "tsc && rollup -c rollup.config.js -w",
"build": "tsc --module commonjs && rollup -c --bundleConfigAsCjs rollup.config.js",
"start": "tsc && rollup -c --bundleConfigAsCjs rollup.config.js -w",
"lint": "tslint -t codeFrame '@(src|bin)/*.ts'",
"test": "jest"
},
Expand All @@ -39,12 +39,6 @@
"react": "^16.4.1",
"react-dom": "^16.4.1",
"rimraf": "^2.6.3",
"rollup": "^1.32.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.2",
"tslint": "^6.1.3",
"typescript": "^5.3.2"
Expand Down
11 changes: 2 additions & 9 deletions packages/rich-text-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
},
"scripts": {
"prebuild": "rimraf dist",
"build": "yarn generate-json-schema && tsc --module commonjs && rollup -c rollup.config.js",
"start": "tsc && rollup -c rollup.config.js -w",
"build": "yarn generate-json-schema && tsc --module commonjs && rollup -c --bundleConfigAsCjs rollup.config.js",
"start": "tsc && rollup -c --bundleConfigAsCjs rollup.config.js -w",
"lint": "tslint -t codeFrame '@(src|bin)/*.ts'",
"generate-json-schema": "ts-node -O '{\"module\": \"commonjs\"}' ./tools/jsonSchemaGen",
"test": "jest"
Expand All @@ -33,13 +33,6 @@
"faker": "^4.1.0",
"jest": "^27.1.0",
"rimraf": "^2.6.3",
"rollup": "^1.32.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-copy": "^2.0.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.2.1",
"tslint": "^6.1.3",
Expand Down
6 changes: 3 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import json from 'rollup-plugin-json';
import sourceMaps from 'rollup-plugin-sourcemaps';
import typescript from 'rollup-plugin-typescript2';
import json from 'rollup-plugin-json';

export default (outputFile, overrides = {}) => ({
input: 'src/index.ts',
Expand Down
Loading

0 comments on commit f038e38

Please sign in to comment.