Skip to content

Commit

Permalink
Added esnext as a build target. (#3230)
Browse files Browse the repository at this point in the history
  • Loading branch information
maclockard authored and adidahiya committed Jan 8, 2019
1 parent 3d26565 commit 7e8bf8e
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 64 deletions.
4 changes: 3 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Core styles & components",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts",
"style": "lib/css/blueprint.css",
"unpkg": "dist/core.bundle.js",
Expand All @@ -18,7 +19,8 @@
"clean": "rm -rf dist/* && rm -rf lib/*",
"compile": "run-p \"compile:*\"",
"compile:esm": "tsc -p ./src",
"compile:cjs": "tsc -p ./src/tsconfig.cjs.json",
"compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
"compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
"compile:css": "sass-compile ./src --functions ./scripts/sass-inline-svg.js",
"dev": "run-p \"compile:esm -- --watch\" \"compile:css -- --watch\"",
"dist": "run-s \"dist:*\"",
Expand Down
7 changes: 0 additions & 7 deletions packages/core/src/tsconfig.cjs.json

This file was deleted.

4 changes: 3 additions & 1 deletion packages/datetime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Components for interacting with dates and times",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts",
"style": "lib/css/blueprint-datetime.css",
"unpkg": "dist/datetime.bundle.js",
Expand All @@ -14,7 +15,8 @@
"clean": "rm -rf dist/* && rm -rf lib/*",
"compile": "run-p \"compile:*\"",
"compile:esm": "tsc -p ./src",
"compile:cjs": "tsc -p ./src/tsconfig.cjs.json",
"compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
"compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
"compile:css": "sass-compile ./src",
"dev": "run-p \"compile:esm -- --watch\" \"compile:css -- --watch\"",
"dist": "run-s \"dist:*\"",
Expand Down
7 changes: 0 additions & 7 deletions packages/datetime/src/tsconfig.cjs.json

This file was deleted.

4 changes: 3 additions & 1 deletion packages/docs-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Blueprint theme for documentalist",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts",
"style": "lib/css/docs-theme.css",
"unpkg": "dist/docs-theme.bundle.js",
Expand All @@ -14,7 +15,8 @@
"clean": "rm -rf dist/* && rm -rf lib/*",
"compile": "run-p \"compile:*\"",
"compile:esm": "tsc -p ./src",
"compile:cjs": "tsc -p ./src/tsconfig.cjs.json",
"compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
"compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
"compile:css": "sass-compile ./src",
"dev": "run-p \"compile:esm -- --watch\" \"compile:css -- --watch\"",
"dist": "run-s \"dist:*\"",
Expand Down
7 changes: 0 additions & 7 deletions packages/docs-theme/src/tsconfig.cjs.json

This file was deleted.

4 changes: 3 additions & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Components, fonts, icons, and css files for creating and displaying icons.",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts",
"style": "lib/css/blueprint-icons.css",
"unpkg": "dist/icons.bundle.js",
Expand All @@ -15,7 +16,8 @@
"compile": "npm-run-all -s \"compile:pre\" -p \"compile:*\"",
"compile:pre": "generate-icons-source",
"compile:esm": "tsc -p ./src",
"compile:cjs": "tsc -p ./src/tsconfig.cjs.json",
"compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
"compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
"compile:css": "sass-compile ./src",
"dev": "run-p \"compile:esm -- --watch\" \"compile:css -- --watch\"",
"dist": "run-s \"dist:*\"",
Expand Down
7 changes: 0 additions & 7 deletions packages/icons/src/tsconfig.cjs.json

This file was deleted.

4 changes: 3 additions & 1 deletion packages/labs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Incubator for unstable and in-development Blueprint components",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts",
"style": "lib/css/blueprint-labs.css",
"unpkg": "dist/labs.bundle.js",
Expand All @@ -14,7 +15,8 @@
"clean": "rm -rf dist/* && rm -rf lib/*",
"compile": "run-p \"compile:*\"",
"compile:esm": "tsc -p ./src",
"compile:cjs": "tsc -p ./src/tsconfig.cjs.json",
"compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
"compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
"compile:css": "sass-compile ./src",
"dev": "run-p \"compile:esm -- --watch\" \"compile:css -- --watch\"",
"dist": "run-s \"dist:*\"",
Expand Down
7 changes: 0 additions & 7 deletions packages/labs/src/tsconfig.cjs.json

This file was deleted.

4 changes: 3 additions & 1 deletion packages/select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Components related to selecting items from a list",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts",
"style": "lib/css/blueprint-select.css",
"unpkg": "dist/select.bundle.js",
Expand All @@ -14,7 +15,8 @@
"clean": "rm -rf dist/* && rm -rf lib/*",
"compile": "run-p \"compile:*\"",
"compile:esm": "tsc -p ./src",
"compile:cjs": "tsc -p ./src/tsconfig.cjs.json",
"compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
"compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
"compile:css": "sass-compile ./src",
"dev": "run-p \"compile:esm -- --watch\" \"compile:css -- --watch\"",
"dist": "run-s \"dist:*\"",
Expand Down
7 changes: 0 additions & 7 deletions packages/select/src/tsconfig.cjs.json

This file was deleted.

4 changes: 3 additions & 1 deletion packages/table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Scalable interactive table component",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts",
"style": "lib/css/table.css",
"unpkg": "dist/table.bundle.js",
Expand All @@ -14,7 +15,8 @@
"clean": "rm -rf dist/* && rm -rf lib/*",
"compile": "run-p \"compile:*\"",
"compile:esm": "tsc -p ./src",
"compile:cjs": "tsc -p ./src/tsconfig.cjs.json",
"compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
"compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
"compile:css": "sass-compile ./src",
"dev": "run-p \"compile:esm -- --watch\" \"compile:css -- --watch\"",
"dist": "run-s \"dist:*\"",
Expand Down
7 changes: 0 additions & 7 deletions packages/table/src/tsconfig.cjs.json

This file was deleted.

4 changes: 3 additions & 1 deletion packages/timezone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Components related to timezone selection and UI",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts",
"style": "lib/css/blueprint-timezone.css",
"unpkg": "dist/timezone.bundle.js",
Expand All @@ -14,7 +15,8 @@
"clean": "rm -rf dist/* && rm -rf lib/*",
"compile": "run-p \"compile:*\"",
"compile:esm": "tsc -p ./src",
"compile:cjs": "tsc -p ./src/tsconfig.cjs.json",
"compile:cjs": "tsc -p ./src -m commonjs --outDir lib/cjs",
"compile:esnext": "tsc -p ./src -t esnext --outDir lib/esnext",
"compile:css": "sass-compile ./src",
"dev": "run-p \"compile:esm -- --watch\" \"compile:css -- --watch\"",
"dist": "run-s \"dist:*\"",
Expand Down
7 changes: 0 additions & 7 deletions packages/timezone/src/tsconfig.cjs.json

This file was deleted.

1 comment on commit 7e8bf8e

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added esnext as a build target. (#3230)

Previews: documentation | landing | table

Please sign in to comment.