Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Remove _.isPlainObject calls in divert.js (x2) #163

Merged
merged 2 commits into from
Feb 27, 2019

Conversation

wincent
Copy link
Contributor

@wincent wincent commented Feb 27, 2019

Also worth noting: these two modules are almost exact duplicates. As a follow-up I am going to look at de-duping them.

Related: #141

@wincent wincent requested a review from julien February 27, 2019 10:14
wincent added a commit that referenced this pull request Feb 27, 2019
As noted in:

#163

This function was duplicated almost verbatim in two packages. Centralize
it in "liferay-theme-tasks" as the first step towards unmonorepoization
discussed in:

#164

Eventually, we might only have two packages:

- generator-liferay-theme (needs to be independent, so yeoman can find
  it).
- liferay-theme-tasks (effectively the public "API" of the SDK).

Test plan: `yarn test` and `yo ./packages/generator-liferay-theme`
(works, apart from expected failure due to us not having published
liferay-theme-deps-7.2 to NPM yet).
Also worth noting: these two modules are almost exact duplicates. As a
follow-up I am going to look at de-duping them.

Related: #141
Required but never used.
wincent added a commit that referenced this pull request Feb 27, 2019
As noted in:

#163

This function was duplicated almost verbatim in two packages. Centralize
it in "liferay-theme-tasks" as the first step towards unmonorepoization
discussed in:

#164

Eventually, we might only have two packages:

- generator-liferay-theme (needs to be independent, so yeoman can find
  it).
- liferay-theme-tasks (effectively the public "API" of the SDK).

Test plan: `yarn test` and `yo ./packages/generator-liferay-theme`
(works, apart from expected failure due to us not having published
liferay-theme-deps-7.2 to NPM yet).
@wincent
Copy link
Contributor Author

wincent commented Feb 27, 2019

#165 is the follow-up to this, building on top of it (which, due to the way GitHub works, means that the commits are duplicated in that one).

@wincent wincent force-pushed the wincent/remove-is-plain-object branch from 8a07aee to d4b4e40 Compare February 27, 2019 12:03
@julien
Copy link
Contributor

julien commented Feb 27, 2019

Just started reviewing :)

@julien julien merged commit dba05f6 into master Feb 27, 2019
@wincent wincent deleted the wincent/remove-is-plain-object branch February 27, 2019 14:31
wincent added a commit that referenced this pull request Feb 27, 2019
As noted in:

#163

This function was duplicated almost verbatim in two packages. Centralize
it in "liferay-theme-tasks" as the first step towards unmonorepoization
discussed in:

#164

Eventually, we might only have two packages:

- generator-liferay-theme (needs to be independent, so yeoman can find
  it).
- liferay-theme-tasks (effectively the public "API" of the SDK).

Test plan: `yarn test` and `yo ./packages/generator-liferay-theme`
(works, apart from expected failure due to us not having published
liferay-theme-deps-7.2 to NPM yet).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants