Skip to content

Commit

Permalink
rename .node.js to .cjs.js, closes #73
Browse files Browse the repository at this point in the history
  • Loading branch information
mhkeller committed Sep 1, 2018
1 parent fa93397 commit 013fa6d
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ docs/
documentation.yml
.travis.yml
rollup.config*
src/
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Changelog
Add `verbose` option to `writeData` and `writeDataSync`, which allows you to turn off empty file warnings and also makes the error message more descriptive.

* Add verbose
* Add verbose, closes [#77](https://github.com/mhkeller/indian-ocean/issues/77)
* [2f2fff19a3282c559a18b502eba9262cef75fafd](https://github.com/mhkeller/indian-ocean/commit/2f2fff19a3282c559a18b502eba9262cef75fafd)
* [2233598aa3ce4c6df17f1e39da4c397d1796e620](https://github.com/mhkeller/indian-ocean/commit/2233598aa3ce4c6df17f1e39da4c397d1796e620)

Expand Down
2 changes: 1 addition & 1 deletion dist/indian-ocean.node.js → dist/indian-ocean.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/indian-ocean.cjs.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/indian-ocean.node.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "indian-ocean",
"version": "3.0.2",
"description": "A library for reading in and writing out data in Node.js.",
"main": "dist/indian-ocean.node.js",
"main": "dist/indian-ocean.cjs.js",
"browser": "dist/indian-ocean.browser.es6.js",
"module": "index.node.js",
"types": "index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.node.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
input: 'index.node.js',
output: {
format: 'cjs',
file: 'dist/indian-ocean.node.js',
file: 'dist/indian-ocean.cjs.js',
sourcemap: true
},
plugins: [ nodeResolve(), commonjs(), babel(), sourcemaps() ],
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var fs = require('fs')
var path = require('path')
var io = require('../dist/indian-ocean.node.js')
var io = require('../dist/indian-ocean.cjs.js')
var chai = require('chai')
var assert = chai.assert
var dsv = require('d3-dsv')
Expand Down

0 comments on commit 013fa6d

Please sign in to comment.