-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to monorepo structure (to easily add test apps) #767
Conversation
c2078ec
to
67fdfc7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall, I think we need to do a couple things:
- Rebase on top of Remove travis in-favor of GitHub actions #773 (once it lands)
- Ensure the top level README is a duplicate of hte package's README (eventually we can add a GH Actions job to validate, but just copying for now is fine)
- Create a
CONTRIBUTING.md
(starting with the default one would be good) that mentions how to link / use the nested workspace for linking purposes - Copy the LICENSE file into the project root
.github/workflows/ci.yml
Outdated
@@ -0,0 +1,66 @@ | |||
name: CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should drop away when we rebase
.travis.yml
Outdated
@@ -29,6 +29,7 @@ cache: | |||
before_install: | |||
- npm config set spin false | |||
- npm install -g npm@4 | |||
- cd packages/ember-cli-fastboot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this change will have to be made over in the GH actions setup.
appveyor.yml
Outdated
@@ -17,6 +17,7 @@ branches: | |||
install: | |||
- ps: Install-Product node $env:nodejs_version | |||
- npm config set spin false | |||
- cd packages/ember-cli-fastboot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this file will be deleted
"release-it": { | ||
"plugins": { | ||
"release-it-lerna-changelog": { | ||
"infile": "CHANGELOG.md" | ||
} | ||
}, | ||
"git": { | ||
"tagName": "v${version}" | ||
}, | ||
"github": { | ||
"release": true | ||
} | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need to tweak this too, I'll do that in a follow up.
@@ -41,7 +41,7 @@ jobs: | |||
- name: Yarn Install | |||
run: yarn install --ignore-engines | |||
- name: Run Mocha Tests | |||
run: yarn test:mocha | |||
run: yarn workspace ember-cli-fastboot test:mocha |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These commands are failing CI, not exactly sure why. Can you run it locally without error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I closed the PR and re opened the PR again and it is now working.
@rwjblue ^^
Move ember-cli-fastboot addon to packages/ember-cli-fastboot
This PR is the base for moving tests to a monorepo structure following the discussion here.
#765