Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Directory restructure #1184

Merged

Conversation

wldcordeiro
Copy link
Contributor

Associated Issue: #1153

Summary of Changes

  • reorganize the directories of the project to follow the src/ convention rather than a public/js convention.

Testing

  • passes npm test
  • passes npm run lint

Screenshots/Videos (OPTIONAL)

@jasonLaster @jlongster want to give this a good review? Might have missed something. One test also fails for me with a timeout. Not sure what I can do about that.

  1. sources should download a sourcemap and create sources:
    Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.

@jasonLaster
Copy link
Contributor

Awesome! This will land before the toolbox console work.

My guess is the timeout I'd related to the node try script moving network requests

Thanks for doing this!

@wldcordeiro
Copy link
Contributor Author

Gah, I really don't get the failure. It's not present in master currently but is in this branch. @jasonLaster if you could give it a try and see if you have any ideas it'd be great (I'll be on IRC tomorrow or should be, I just need to configure my client heh)

@jasonLaster
Copy link
Contributor

@wldcordeiro just pushed a fix. It was tough to track down!

jasonLaster and others added 6 commits November 14, 2016 12:37
@Garbee helped us expand the scope of our js lints recently. One of the
consequences was that there were some matched files that were ignored,
which showed up in eslint warnings.

This addressees that by:
1. moving tree.js to the sham modules package
2. burning imstruct
3. narrowing the scope of the glob to just the toolbox, the other
packages don't matter.
   * devtools-modules we don't want to change,
   * devtools-sham-modules are copy paste and tweaks from devtools-modules. so we don't want to match
   * devtools-config is tiny and will likely go away with the toolbox work
   * network-config is even smaller and could likely go away soon too...
@jasonLaster jasonLaster force-pushed the directory-restructure branch from 51f235c to 4cc4dcd Compare November 14, 2016 18:08
@jasonLaster
Copy link
Contributor

@wldcordeiro just rebased. this should hopefully be good to go soon

@wldcordeiro
Copy link
Contributor Author

Looks good now. Tried it out locally and tests pass as well as CI

@jasonLaster jasonLaster force-pushed the directory-restructure branch from 4cc4dcd to 9884c63 Compare November 14, 2016 19:47
Copy link
Contributor

@jasonLaster jasonLaster left a comment

Choose a reason for hiding this comment

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

👍

This is amazing work @wldcordeiro. You've changed the shape of the project. This is not easy at this scale with this many moving pieces!

@jasonLaster jasonLaster merged commit ad275f6 into firefox-devtools:master Nov 14, 2016
@wldcordeiro wldcordeiro deleted the directory-restructure branch November 14, 2016 20:03
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