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

remove 'bin/analyze-css.js' & deps #27979

Merged
merged 1 commit into from
Nov 6, 2018
Merged

remove 'bin/analyze-css.js' & deps #27979

merged 1 commit into from
Nov 6, 2018

Conversation

flootr
Copy link
Contributor

@flootr flootr commented Oct 22, 2018

We don't need this script anymore as we're incrementally shifting our CSS pipeline to Webpack which for itself will optimize and split our CSS files.

Changes proposed in this Pull Request

  • Remove bin/analyze-css.js and related dependencies

Testing instructions

  • Make sure removed dependencies aren't used anywhere else

related #27923

@matticbot
Copy link
Contributor

@flootr flootr added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Oct 23, 2018
@flootr flootr closed this Oct 23, 2018
@flootr flootr reopened this Oct 23, 2018
@matticbot matticbot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Oct 23, 2018
@flootr flootr added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Oct 23, 2018
@flootr flootr requested review from stephanethomas and a team October 23, 2018 12:51
Copy link
Contributor

@blowery blowery left a comment

Choose a reason for hiding this comment

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

LGTM

@flootr flootr force-pushed the remove/terminal-kit-dep branch from 47f2fb4 to 238ae94 Compare November 6, 2018 07:52
@flootr flootr merged commit 3996f6d into master Nov 6, 2018
@flootr flootr deleted the remove/terminal-kit-dep branch November 6, 2018 08:16
@matticbot matticbot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Nov 6, 2018
jsnajdr added a commit that referenced this pull request Jan 19, 2020
Finishes the removal started in #27979.
jsnajdr added a commit that referenced this pull request Jan 22, 2020
Finishes the removal started in #27979.
jsnajdr added a commit that referenced this pull request Jan 27, 2020
* Remove the analyze-css NPM script

Finishes the removal started in #27979.

* Update clean scripts: paths of generated files, simplify how they are invoked

Updates the paths of generated files to remove (`server/` to `client/server/`), use
`run-s` to run all `clean:*` scripts at once.

* Update path to stats.json file in whybundled script

* Validate fallback build in a separate script

Makes lines in `package.json` shorter 🙂

* Fix the NODE_ARGS argument in the start-build scripts

`node NODE_ARGS=...` is an error that fails the script invocation:
```
Error: Cannot find module '/Users/jsnajdr/src/wp-desktop/calypso/NODE_ARGS=--max_old_space_size=8192'
```
We want to invoke `node` with `$NODE_ARGS` arguments and supply a default.

* Eliminate the need for setting NODE_PATH when building or running Calypso

It was needed only to `require` two specific files (webpack config for webpack dev server
and search index for devdocs). Updated the webpack `externals` definition to remove that
need.

* Update path to stats.json file in analyze-bundles script

* Consolidate setting max_old_space_size to the build-client scripts that runs webpack

* Remove duplication from build-client and start-build tasks by using cross-env and a *-do subtask

* Settle on PROGRESS=true as the truth marker

* Remove cross-env-shell from start-build-do, as it doesn't set any env vars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants