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

Generator refactoring2 #163

Merged
merged 8 commits into from
Feb 8, 2017
Merged

Conversation

ekryski
Copy link
Member

@ekryski ekryski commented Feb 7, 2017

This PR:

  • Fixes an issue with socket.io
  • Adds a "secret" generator to make it easier to generate new secrets from the CLI
  • Adds support for more databases

@@ -51,7 +51,7 @@ describe('generator-feathers', function() {
});
}

before(() => helpers.run(path.join(__dirname, '..', 'generators', 'app'))
beforeEach(() => helpers.run(path.join(__dirname, '..', 'generators', 'app'))
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 needed to switch this to beforeEach. For some reason when running the tests using the same app and same directory some config values aren't being cleaned up properly. Potentially this is due to it being headless but I went and verified manually that you can generate multiple services with different dbs and different adapters on the same app. It even works if you say, used mongodb and then decided to switch to mongoose.

@daffl daffl merged commit 9fdf115 into generator-refactoring Feb 8, 2017
@daffl daffl deleted the generator-refactoring2 branch February 8, 2017 03:47
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