Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Document "the module pattern" for using prod/dep archetype dependencies. #110

Merged
merged 3 commits into from
Apr 4, 2016

Conversation

ryan-roemer
Copy link
Member

/cc @coopy @boygirl @chaseadamsio @shakefon @exogen @baer

* Add documentation on how to use the module pattern for dev dependencies.
  Fixes #107
* Add documentation on how to use for application dependencies. Fixes #83
@coveralls
Copy link

Coverage Status

Coverage remained the same at 91.585% when pulling ba19877 on bug-arch-requires into 78890a9 on master.

lib-name@right-version
```

This unfortunately mean that the search path for `require("lib-name")` is:
Copy link
Contributor

Choose a reason for hiding this comment

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

mean -> means

@boygirl
Copy link
Contributor

boygirl commented Apr 3, 2016

A couple minor typos, but your explanation of the module pattern makes sense to me.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 91.585% when pulling 84ecb0b on bug-arch-requires into 78890a9 on master.

archetype dependencies.
Node.js files in the normal production archetype do not need a
`<archetype>/require.js` file akin to the dev archetype because
`<archetype>/node_modules` is already at top of the require search path.

Choose a reason for hiding this comment

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

should this be "at the top"?

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

@coopy
Copy link

coopy commented Apr 4, 2016

A couple of minor comments; LGTM!

ryan-roemer added a commit to FormidableLabs/builder-victory-component that referenced this pull request Apr 4, 2016
* Sister PR to Builder documentation PR at FormidableLabs/builder#110
* Switches to "the module pattern" for all dev dependencies.
* Provides a require for prod archetype as well.
* Harmonizes travis config with other repos (and does npm2 and npm3 installs for each node)
* Harmonizes config/webpack/docs/webpack.config.hot.js with config/webpack/demo/webpack.config.hot.js
@coveralls
Copy link

Coverage Status

Coverage remained the same at 91.585% when pulling e8316a0 on bug-arch-requires into 78890a9 on master.

ryan-roemer added a commit to FormidableLabs/builder-victory-component that referenced this pull request Apr 4, 2016
* Sister PR to Builder documentation PR at FormidableLabs/builder#110

* Switches to "the module pattern" for all dev dependencies.

* Provides a require for prod archetype as well.

* Harmonizes travis config with other repos (and does npm2 and npm3 installs for each node)

* Harmonizes config/webpack/docs/webpack.config.hot.js with config/webpack/demo/webpack.config.hot.js
@ryan-roemer ryan-roemer merged commit a22ce67 into master Apr 4, 2016
@ryan-roemer ryan-roemer deleted the bug-arch-requires branch April 4, 2016 23:38
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.

None yet

5 participants