Skip to content

Commit

Permalink
remove cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
pranjal-jain committed Jul 23, 2024
1 parent cece3ff commit 60b6aa5
Show file tree
Hide file tree
Showing 42 changed files with 0 additions and 54 deletions.
13 changes: 0 additions & 13 deletions conf/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,4 @@ const configs = [
}
]

if (!isWatching) {
configs.push({
...common,
output: {
file: `./packages/${pkg}/dist/nivo-${pkg}.cjs.js`,
format: 'cjs',
name: `@anarock/nivo-${pkg}`,
sourcemap: true,
},
plugins: commonPlugins,
})
}

export default configs
1 change: 0 additions & 1 deletion packages/annotations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"charts",
"annotations"
],
"main": "./dist/nivo-annotations.cjs.js",
"module": "./dist/nivo-annotations.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/arcs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"d3",
"arcs"
],
"main": "./dist/nivo-arcs.cjs.js",
"module": "./dist/nivo-arcs.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/axes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"react",
"axes"
],
"main": "./dist/nivo-axes.cjs.js",
"module": "./dist/nivo-axes.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"bar-chart"
],
"main": "./dist/nivo-bar.cjs.js",
"module": "./dist/nivo-bar.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/boxplot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"statistics",
"stats"
],
"main": "./dist/nivo-boxplot.cjs.js",
"module": "./dist/nivo-boxplot.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/bullet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"bullet-chart"
],
"main": "./dist/nivo-bullet.cjs.js",
"module": "./dist/nivo-bullet.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/bump/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"bump-chart",
"area-bump-chart"
],
"main": "./dist/nivo-bump.cjs.js",
"module": "./dist/nivo-bump.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/calendar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"calendar"
],
"main": "./dist/nivo-calendar.cjs.js",
"module": "./dist/nivo-calendar.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/canvas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"d3",
"canvas"
],
"main": "./dist/nivo-canvas.cjs.js",
"module": "./dist/nivo-canvas.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/chord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"chord-diagram"
],
"main": "./dist/nivo-chord.cjs.js",
"module": "./dist/nivo-chord.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/circle-packing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"circle-packing"
],
"main": "./dist/nivo-circle-packing.cjs.js",
"module": "./dist/nivo-circle-packing.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/colors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"url": "https://github.com/plouc/nivo.git",
"directory": "packages/colors"
},
"main": "./dist/nivo-colors.cjs.js",
"module": "./dist/nivo-colors.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"url": "https://github.com/plouc/nivo.git",
"directory": "packages/core"
},
"main": "./dist/nivo-core.cjs.js",
"module": "./dist/nivo-core.es.js",
"types": "./index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"url": "https://github.com/plouc/nivo.git",
"directory": "packages/express"
},
"main": "./dist/nivo-express.cjs.js",
"module": "./dist/nivo-express.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/funnel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"funnel"
],
"main": "./dist/nivo-funnel.cjs.js",
"module": "./dist/nivo-funnel.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/generators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"url": "https://github.com/plouc/nivo.git",
"directory": "packages/generators"
},
"main": "./dist/nivo-generators.cjs.js",
"module": "./dist/nivo-generators.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/geo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"geo",
"map"
],
"main": "./dist/nivo-geo.cjs.js",
"module": "./dist/nivo-geo.es.js",
"files": [
"README.md",
Expand Down
1 change: 0 additions & 1 deletion packages/grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"directory": "packages/grid"
},
"sideEffects": false,
"main": "./dist/nivo-grid.cjs.js",
"module": "./dist/nivo-grid.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/heatmap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"heatmap"
],
"main": "./dist/nivo-heatmap.cjs.js",
"module": "./dist/nivo-heatmap.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/legends/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"url": "https://github.com/plouc/nivo.git",
"directory": "packages/legends"
},
"main": "./dist/nivo-legends.cjs.js",
"module": "./dist/nivo-legends.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/line/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"line-chart"
],
"main": "./dist/nivo-line.cjs.js",
"module": "./dist/nivo-line.es.js",
"types": "./index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/marimekko/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"url": "https://github.com/plouc/nivo.git",
"directory": "packages/marimekko"
},
"main": "./dist/nivo-marimekko.cjs.js",
"module": "./dist/nivo-marimekko.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"directed-layout",
"network"
],
"main": "./dist/nivo-network.cjs.js",
"module": "./dist/nivo-network.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/parallel-coordinates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"parrallel-coordinates-chart"
],
"sideEffects": false,
"main": "./dist/nivo-parallel-coordinates.cjs.js",
"module": "./dist/nivo-parallel-coordinates.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/pie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"pie-chart"
],
"main": "./dist/nivo-pie.cjs.js",
"module": "./dist/nivo-pie.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/polar-axes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"axes",
"polar"
],
"main": "./dist/nivo-polar-axes.cjs.js",
"module": "./dist/nivo-polar-axes.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/radar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"radar-chart"
],
"main": "./dist/nivo-radar.cjs.js",
"module": "./dist/nivo-radar.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/radial-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"radial-bar-chart"
],
"main": "./dist/nivo-radial-bar.cjs.js",
"module": "./dist/nivo-radial-bar.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/sankey/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"sankey-diagram"
],
"main": "./dist/nivo-sankey.cjs.js",
"module": "./dist/nivo-sankey.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/scales/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"url": "https://github.com/plouc/nivo.git",
"directory": "packages/scales"
},
"main": "./dist/nivo-scales.cjs.js",
"module": "./dist/nivo-scales.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/scatterplot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"scatterplot"
],
"main": "./dist/nivo-scatterplot.cjs.js",
"module": "./dist/nivo-scatterplot.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"url": "https://github.com/plouc/nivo.git",
"directory": "packages/static"
},
"main": "./dist/nivo-static.cjs.js",
"module": "./dist/nivo-static.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"stream-chart"
],
"main": "./dist/nivo-stream.cjs.js",
"module": "./dist/nivo-stream.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/sunburst/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"sunburst-chart"
],
"main": "./dist/nivo-sunburst.cjs.js",
"module": "./dist/nivo-sunburst.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/swarmplot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"force",
"swarmplot"
],
"main": "./dist/nivo-swarmplot.cjs.js",
"module": "./dist/nivo-swarmplot.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/text/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"directory": "packages/text"
},
"sideEffects": false,
"main": "./dist/nivo-text.cjs.js",
"module": "./dist/nivo-text.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"url": "https://github.com/plouc/nivo.git",
"directory": "packages/tooltip"
},
"main": "./dist/nivo-tooltip.cjs.js",
"module": "./dist/nivo-tooltip.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"hierarchy",
"tree"
],
"main": "./dist/nivo-tree.cjs.js",
"module": "./dist/nivo-tree.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/treemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"treemap-chart"
],
"main": "./dist/nivo-treemap.cjs.js",
"module": "./dist/nivo-treemap.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/voronoi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"charts",
"voronoi"
],
"main": "./dist/nivo-voronoi.cjs.js",
"module": "./dist/nivo-voronoi.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/waffle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"waffle-chart"
],
"sideEffects": false,
"main": "./dist/nivo-waffle.cjs.js",
"module": "./dist/nivo-waffle.es.js",
"types": "./dist/types/index.d.ts",
"files": [
Expand Down

0 comments on commit 60b6aa5

Please sign in to comment.