# Multiple 'discourse' javascript packages in discourse repo

**URL:** https://meta.discourse.org/t/multiple-discourse-javascript-packages-in-discourse-repo/220365
**Category:** Development
**Created:** [March 7, 2022, 9:07pm UTC](https://meta.discourse.org/t/multiple-discourse-javascript-packages-in-discourse-repo/220365 "2022-03-07T21:07:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ryantm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryantm/32/134063_2.png) [@ryantm](https://meta.discourse.org/u/ryantm)
#### Post date: [March 7, 2022, 9:08pm UTC](https://meta.discourse.org/t/multiple-discourse-javascript-packages-in-discourse-repo/220365/1 "2022-03-07T21:08:00Z")

</div>

I’m trying to understand the structure of the Javascript projects in the Discourse repo. I’m not super familiar with Javascript development, so forgive me if this is obvious, but it seems like there are two projects named “discourse”. One in the top-level, and one in `app/assets/javascripts/discourse`.

- [discourse/package.json at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/main/package.json)
- [https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/package.json](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/package.json)

What is the distinction between the two? Should they have different names?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 8, 2022, 3:14am UTC](https://meta.discourse.org/t/multiple-discourse-javascript-packages-in-discourse-repo/220365/2 "2022-03-08T03:14:37Z")

</div>

Feels related to the ember-cli move, not entirely sure why there are two package.json files, probably an intermediate step on our part. @cvx ?
