diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 026d3ac2..06af8c3a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,7 +24,7 @@ world once again even better! 2.2. "Does not work", is not a proper problem description -Neither is, "see title". When you follow the issue template and provide all informations asked for +Neither is, "see title". When you follow the issue template and provide all information asked for you should be pretty fine, in providing us exactly the information we need to help you. 2.3. Follow the CoC and contribute, not attack @@ -57,7 +57,7 @@ this project: 6. Create a commit that complies with our conventions, which you can view [here](https://github.com/conventional-changelog/conventional-changelog/tree/35e60b5be6027fb2784c5103eee111f6f99b045e/packages/conventional-changelog-angular) and last but not least also comply to the [DCO](https://github.com/probot/dco#how-it-works). - Which easiest work with just commiting via `git commit -s -m 'your commit message'`. + Which easiest work with just committing via `git commit -s -m 'your commit message'`. 7. Push to your fork and submit a pull request. diff --git a/api.js b/api.js index 885d173f..734d320b 100644 --- a/api.js +++ b/api.js @@ -105,7 +105,7 @@ function dbmigrate (plugins, isModule, options, callback) { dbmigrate.prototype = { /** * Add a global defined variable to db-migrate, to enable access from - * local migrations without configuring pathes. + * local migrations without configuring paths. * * @return boolean */ diff --git a/lib/driver/index.js b/lib/driver/index.js index e7339409..05282710 100644 --- a/lib/driver/index.js +++ b/lib/driver/index.js @@ -37,7 +37,7 @@ exports.connect = function (config, intern, callback) { if (config.driver === undefined) { throw new Error( - 'config must include a driver key specifing which driver to use' + 'config must include a driver key specifying which driver to use' ); } diff --git a/lib/executors/versioned/v2.js b/lib/executors/versioned/v2.js index f2cb3b67..d7319333 100644 --- a/lib/executors/versioned/v2.js +++ b/lib/executors/versioned/v2.js @@ -57,7 +57,7 @@ const execUnit = { chain.transferInt(); log.error( - 'An error occured. No alternative failure strategy defined. Rolling back!', + 'An error occurred. No alternative failure strategy defined. Rolling back!', err ); await execUnit.down(context, driver, file, { abort: true }); @@ -95,7 +95,7 @@ const execUnit = { chain.transferInt(); log.error( - 'An error occured. No alternative failure strategy defined. Rolling back!', + 'An error occurred. No alternative failure strategy defined. Rolling back!', err ); await execUnit.down(context, driver, file); diff --git a/lib/interface/seederInterface.js b/lib/interface/seederInterface.js index d5aa53bc..71154fe3 100644 --- a/lib/interface/seederInterface.js +++ b/lib/interface/seederInterface.js @@ -34,7 +34,7 @@ * To note: If you rollback a migration, linked to a seeder, db-migrate will * also rollback the seed. This is also a reason why you can't rollback a * specific migration, you would going to break that much, you probably loose - * a bunch of valueable time. + * a bunch of valuable time. */ var Promise = require('bluebird'); diff --git a/lib/walker.js b/lib/walker.js index 10b980c0..bd42cab0 100644 --- a/lib/walker.js +++ b/lib/walker.js @@ -36,7 +36,7 @@ const Walker = function (driver, directory, mode, intern, prefix, opts = {}) { * i: index * c: schema * f: foreignKey - * e: extra items for the schema (like ENUM tyes) + * e: extra items for the schema (like ENUM types) */ this.internals.schema = { i: {}, c: {}, f: {}, e: {} }; /** diff --git a/package.json b/package.json index d2dabba3..4dc3b097 100644 --- a/package.json +++ b/package.json @@ -27,8 +27,8 @@ "seeds", "seeder", "migrator", - "programatic", - "programable", + "programmatic", + "programmable", "api" ], "version": "1.0.0-beta.35", diff --git a/test/integration/api_test.js b/test/integration/api_test.js index 931e4cad..2704deca 100644 --- a/test/integration/api_test.js +++ b/test/integration/api_test.js @@ -56,7 +56,7 @@ lab.experiment('api', function () { } /** - * Create a migration with the programatic API and overwrite process.exit. + * Create a migration with the programmatic API and overwrite process.exit. */ function overwriteExit () { process.exit = function (err) {