Skip to content

Commit

Permalink
Merge pull request #80 from taylrj/remove-orangutan
Browse files Browse the repository at this point in the history
Remove `orangutan` repo
  • Loading branch information
taylrj authored Nov 11, 2020
2 parents f658c96 + 9454b8d commit f229575
Show file tree
Hide file tree
Showing 14 changed files with 7 additions and 733 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# orangutan
# orangutan-monorepo

This repository is a monorepo containing several npm packages used by the website of online news media [The Reporter](https://www.twreporter.org).

- [orangutan](#orangutan)
- [orangutan-monorepo](#orangutan-monorepo)
- [Packages](#packages)
- [Developing Environment](#developing-environment)
- [Yarn Workspaces](#yarn-workspaces)
Expand All @@ -16,6 +16,11 @@ This repository is a monorepo containing several npm packages used by the websit

See [`packages`](https://github.com/twreporter/orangutan-monorepo/tree/master/packages)

Note that `orangutan` used to be an all-in-one package which can be utilized to generate embedded code of other packages.
The goal was to prevent dependencies from reloading when multiple components of other packages exist on the same page.
However, it brings other issues. For example, when multiple embedded code built by `orangutan` in different version on the same page, the dependency reloading issue would be even severer since they might change between each version.
Therefore, `orangutan` is removed in this [PR](https://github.com/twreporter/orangutan-monorepo/pull/80).

## Developing Environment

### Yarn Workspaces
Expand Down
7 changes: 0 additions & 7 deletions packages/dual-channel/src/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
import ReactComponent from './app'
import path from 'path'
import { buildEmbeddedCode } from './build-code'

export default {
ReactComponent,
buildEmbeddedCode,
getWebpackEntry: () => {
return path.resolve(__dirname, './build-code/client.js')
},
getTestData: () => {
return require('./test-data/data.json')
},
}
234 changes: 0 additions & 234 deletions packages/orangutan/CHANGELOG.md

This file was deleted.

24 changes: 0 additions & 24 deletions packages/orangutan/Makefile

This file was deleted.

4 changes: 0 additions & 4 deletions packages/orangutan/README.md

This file was deleted.

Loading

0 comments on commit f229575

Please sign in to comment.