Skip to content

Commit ad8a850

Browse files
nstepienamanmahajan7
authored andcommitted
umd -> commonjs (#1645)
1 parent 2e56c14 commit ad8a850

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/coverage
33
/packages/*/dist
44
/packages/*/lib
5-
/packages/*/umd
5+
/packages/*/commonjs
66

77
node_modules
88
npm-debug.log

docs/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ For maintainers only.
105105
- `npm i`
106106
- Build the release files:
107107
- `npm run build`
108-
- `npm run build-umd`
108+
- `npm run build-commonjs`
109109
- Update the docs:
110110
- `npm run docs`
111111
- Update the changelog, if necessary.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"postinstall": "lerna bootstrap --no-ci",
99
"prebuild": "node tools/buildStylesheets.js",
1010
"build": "lerna run build",
11-
"build-umd": "lerna run build-umd",
11+
"build-commonjs": "lerna run build-commonjs",
1212
"start": "node webpack-dev-server.js",
1313
"eslint": "eslint --report-unused-disable-directives --ext js,ts,tsx --max-warnings 0 -f codeframe --cache --color packages/react-data-grid/src packages/react-data-grid-addons/src tests examples",
1414
"fix-eslint": "npm run eslint -- --fix",

packages/react-data-grid-addons/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"description": "A set of addons for react-data-grid",
55
"author": "Adazzle",
66
"license": "MIT",
7-
"main": "umd/index.js",
7+
"main": "commonjs/index.js",
88
"module": "lib/index.js",
99
"files": [
1010
"dist",
1111
"lib",
12-
"umd"
12+
"commonjs"
1313
],
1414
"sideEffects": false,
1515
"repository": "adazzle/react-data-grid",
@@ -24,7 +24,7 @@
2424
],
2525
"scripts": {
2626
"build": "tsc",
27-
"build-umd": "tsc --module umd --outdir umd --esModuleInterop"
27+
"build-commonjs": "tsc --module commonjs --outdir commonjs --esModuleInterop"
2828
},
2929
"dependencies": {
3030
"lodash": "^4.17.11",

packages/react-data-grid/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"description": "Excel-like grid component built with React, with editors, keyboard navigation, copy & paste, and the like",
55
"author": "Adazzle",
66
"license": "MIT",
7-
"main": "umd/index.js",
7+
"main": "commonjs/index.js",
88
"module": "lib/index.js",
99
"types": "lib/index.d.ts",
1010
"files": [
1111
"dist",
1212
"lib",
13-
"umd"
13+
"commonjs"
1414
],
1515
"sideEffects": false,
1616
"repository": "adazzle/react-data-grid",
@@ -26,7 +26,7 @@
2626
],
2727
"scripts": {
2828
"build": "tsc",
29-
"build-umd": "tsc --module umd --outdir umd --esModuleInterop"
29+
"build-commonjs": "tsc --module commonjs --outdir commonjs --esModuleInterop"
3030
},
3131
"dependencies": {
3232
"classnames": "^2.2.6",

0 commit comments

Comments
 (0)