Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Use common copy-files script #14406

Merged
merged 32 commits into from
Feb 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
8fab7b2
[core] Add full esmodules build
eps1lon Oct 24, 2018
e5653d7
[core] Add support for yarn workspaces run
eps1lon Oct 25, 2018
3edfadb
Revert "[core] Add support for yarn workspaces run"
eps1lon Dec 14, 2018
2ae7710
[core] Update size-limit
eps1lon Dec 14, 2018
39c1783
[core] esnext -> es
eps1lon Dec 20, 2018
d2d9276
Merge branch 'next' into feat/improve-tree-shaking-v2
eps1lon Feb 1, 2019
cdd1691
[core] Fix incorrect bundle sizes from merge
eps1lon Feb 1, 2019
7f39bc0
[core] Normalize build process
eps1lon Feb 1, 2019
6edcfb3
[core] sort scripts alphanumberic
eps1lon Feb 1, 2019
2db6dad
[core] Add size test for esm build
eps1lon Feb 1, 2019
13cfba8
[core] Fix unresolved module entry
eps1lon Feb 1, 2019
de3e205
[core] revert size limit changes for cjs build
eps1lon Feb 1, 2019
5296982
[core] Fix increased size limit
eps1lon Feb 1, 2019
c1ff40a
[core] update size limits
eps1lon Feb 1, 2019
c3d0fdc
[core] Normalize build scripts in icons and docs
eps1lon Feb 2, 2019
2d13089
Merge branch 'next' into feat/improve-tree-shaking-v2
eps1lon Feb 2, 2019
c3a65d4
fix size limit
eps1lon Feb 2, 2019
5717dca
fix utils build
eps1lon Feb 2, 2019
483484b
[core] Use single workspace copy-files
eps1lon Feb 2, 2019
9f105a6
Merge branch 'next' into core/single-copy-files
eps1lon Feb 3, 2019
57e7a12
[scripts] extract paths
eps1lon Feb 3, 2019
16c6692
[scripts] Use same copy-files in workspace
eps1lon Feb 3, 2019
d6e98c6
[scripts] warn for missing typings instead of throwing
eps1lon Feb 3, 2019
b1f6c3d
[scripts] improve method naming
eps1lon Feb 4, 2019
a5f01f8
[scripts] Fix module path
eps1lon Feb 4, 2019
01aa379
[scripts] Use typings instead of types
eps1lon Feb 4, 2019
0fb7698
[scripts] Use workspace root readme for core only
eps1lon Feb 4, 2019
debc362
[scripts] warn -> error if no typings exists
eps1lon Feb 4, 2019
dc6f200
[scripts] cleanup diff
eps1lon Feb 4, 2019
15da431
[scripts] improve code comments
eps1lon Feb 4, 2019
f7edf98
Merge branch 'next' into core/single-copy-files
eps1lon Feb 4, 2019
9adc179
alternative implementation proposal
oliviertassinari Feb 5, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/material-ui-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"build": "yarn build:cjs && yarn build:esm && yarn build:copy-files",
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel --config-file ../../babel.config.js ./src --out-dir ./build --ignore \"**/*.test.js\"",
"build:esm": "cross-env NODE_ENV=production BABEL_ENV=esm babel --config-file ../../babel.config.js ./src --out-dir ./build/esm --ignore \"**/*.test.js\"",
"build:copy-files": "babel-node --config-file ../../babel.config.js ./scripts/copy-files.js",
"build:copy-files": "node ../../scripts/copy-files.js",
"prebuild": "rimraf build",
"release": "yarn build && npm publish build",
"test": "exit 0"
Expand Down
53 changes: 0 additions & 53 deletions packages/material-ui-docs/scripts/copy-files.js

This file was deleted.

Empty file.
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion packages/material-ui-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel --config-file ../../babel.config.js ./src --out-dir ./build --ignore \"**/*.test.js\"",
"build:esm": "cross-env NODE_ENV=production BABEL_ENV=esm babel --config-file ../../babel.config.js ./src --out-dir ./build/esm --ignore \"**/*.test.js\"",
"build:es": "cross-env NODE_ENV=production BABEL_ENV=es babel --config-file ../../babel.config.js ./src --out-dir ./build/es --ignore \"**/*.test.js\"",
"build:copy-files": "babel-node --config-file ../../babel.config.js ./scripts/copy-files.js",
"build:copy-files": "node ../../scripts/copy-files.js",
"build:typings": "babel-node --config-file ../../babel.config.js ./scripts/create-typings.js",
"prebuild": "rimraf material-design-icons && rimraf build",
"release": "yarn build && npm publish build",
Expand Down
55 changes: 0 additions & 55 deletions packages/material-ui-icons/scripts/copy-files.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/material-ui-lab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel --config-file ../../babel.config.js ./src --out-dir ./build --ignore \"**/*.test.js\"",
"build:esm": "cross-env NODE_ENV=production BABEL_ENV=esm babel --config-file ../../babel.config.js ./src --out-dir ./build/esm --ignore \"**/*.test.js\"",
"build:es": "cross-env NODE_ENV=production BABEL_ENV=es babel --config-file ../../babel.config.js ./src --out-dir ./build/es --ignore \"**/*.test.js\"",
"build:copy-files": "babel-node --config-file ../../babel.config.js ./scripts/copy-files.js",
"build:copy-files": "node ../../scripts/copy-files.js",
"prebuild": "rimraf build",
"release": "yarn build && npm publish build",
"test": "cd ../../ && cross-env NODE_ENV=test mocha 'packages/material-ui-lab/**/*.test.js' --exclude '**/node_modules/**'",
Expand Down
107 changes: 0 additions & 107 deletions packages/material-ui-lab/scripts/copy-files.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/material-ui-styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel --config-file ../../babel.config.js ./src --out-dir ./build --ignore \"**/*.test.js\"",
"build:esm": "cross-env NODE_ENV=production BABEL_ENV=esm babel --config-file ../../babel.config.js ./src --out-dir ./build/esm --ignore \"**/*.test.js\"",
"build:es": "cross-env NODE_ENV=production BABEL_ENV=es babel --config-file ../../babel.config.js ./src --out-dir ./build/es --ignore \"**/*.test.js\"",
"build:copy-files": "babel-node --config-file ../../babel.config.js ./scripts/copy-files.js",
"build:copy-files": "node ../../scripts/copy-files.js",
"prebuild": "rimraf build",
"release": "yarn build && npm publish build",
"test": "cd ../../ && cross-env NODE_ENV=test mocha 'packages/material-ui-styles/**/*.test.js' --exclude '**/node_modules/**'",
Expand Down
69 changes: 0 additions & 69 deletions packages/material-ui-styles/scripts/copy-files.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/material-ui-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel --config-file ../../babel.config.js ./src --out-dir ./build --ignore \"**/*.test.js\"",
"build:esm": "cross-env NODE_ENV=production BABEL_ENV=esm babel --config-file ../../babel.config.js ./src --out-dir ./build/esm --ignore \"**/*.test.js\"",
"build:es": "cross-env NODE_ENV=production BABEL_ENV=es babel --config-file ../../babel.config.js ./src --out-dir ./build/es --ignore \"**/*.test.js\"",
"build:copy-files": "babel-node --config-file ../../babel.config.js ./scripts/copy-files.js",
"build:copy-files": "node ../../scripts/copy-files.js",
"prebuild": "rimraf build",
"release": "yarn build && npm publish build",
"test": "cd ../../ && cross-env NODE_ENV=test mocha 'packages/material-ui-system/**/*.test.js' --exclude '**/node_modules/**'"
Expand Down
Loading