Skip to content
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

Merged
merged 9 commits into from
Jul 25, 2020

Conversation

kiwiupover
Copy link
Member

@kiwiupover kiwiupover commented Jul 8, 2020

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

Copy link
Member

@rwjblue rwjblue left a 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

@@ -0,0 +1,66 @@
name: CI
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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

Comment on lines +94 to +106
"release-it": {
"plugins": {
"release-it-lerna-changelog": {
"infile": "CHANGELOG.md"
}
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true
}
},
Copy link
Member

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
Copy link
Member

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?

Copy link
Member Author

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 ^^

@kiwiupover kiwiupover closed this Jul 24, 2020
@kiwiupover kiwiupover reopened this Jul 24, 2020
@rwjblue rwjblue merged commit 9016896 into ember-fastboot:master Jul 25, 2020
@rwjblue rwjblue changed the title Monorepo Migrate to monorepo structure (to easily add test apps) Jul 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants