1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

Move all custom-scripts to /scripts folder

This commit is contained in:
Ivar 2016-05-01 16:28:30 +02:00
parent dd66921a97
commit c1987a76fc
11 changed files with 9 additions and 9 deletions

View File

@ -71,6 +71,6 @@ npm run docker-test
1. Create `migrations/sql/NNN-your-migration-name.up.sql` with your change in SQL.
2. Create `migrations/sql/NNN-your-migration-name.down.sql` with the rollback of your change in SQL.
3. Run `db-migrate create your-migration-name` and edit the generated file to have this line: `module.exports = require('../lib/migrationRunner').create('NNN-your-migration-name');`
3. Run `db-migrate create your-migration-name` and edit the generated file to have this line: `module.exports = require('../scripts/migration-runner').create('NNN-your-migration-name');`
4. Run `db-migrate up`.
5. Generate LB artifact using `scripts/generate-liquibase-artifact` (TODO: make this internal)

View File

@ -1 +1 @@
module.exports = require('../lib/migrationRunner').create('001-initial-schema');
module.exports = require('../scripts/migration-runner').create('001-initial-schema');

View File

@ -1 +1 @@
module.exports = require('../lib/migrationRunner').create('002-add-description-to-features');
module.exports = require('../scripts/migration-runner').create('002-add-description-to-features');

View File

@ -1,2 +1,2 @@
module.exports = require('../lib/migrationRunner').create('003-add-parameters-template-to-strategies');
module.exports = require('../scripts/migration-runner').create('003-add-parameters-template-to-strategies');

View File

@ -1 +1 @@
module.exports = require('../lib/migrationRunner').create('004-insert-default-strategy');
module.exports = require('../scripts/migration-runner').create('004-insert-default-strategy');

View File

@ -1 +1 @@
module.exports = require('../lib/migrationRunner').create('004-insert-default-strategy-event');
module.exports = require('../scripts/migration-runner').create('004-insert-default-strategy-event');

View File

@ -1 +1 @@
module.exports = require('../lib/migrationRunner').create('005-archived-flag-to-features');
module.exports = require('../scripts/migration-runner').create('005-archived-flag-to-features');

View File

@ -1 +1 @@
module.exports = require('../lib/migrationRunner').create('006-rename-eventtype');
module.exports = require('../scripts/migration-runner').create('006-rename-eventtype');

View File

@ -86,7 +86,7 @@
"xmlbuilder": "^8.2.2"
},
"jest": {
"scriptPreprocessor": "<rootDir>/jest-preprocessor.js",
"scriptPreprocessor": "<rootDir>/scripts/jest-preprocessor.js",
"modulePathIgnorePatterns": [
"<rootDir>/node_modules/npm"
],