Skip to content

Commit

Permalink
Next v3 (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
sushantdhiman authored Sep 8, 2017
1 parent 4998412 commit 480f3fc
Show file tree
Hide file tree
Showing 93 changed files with 1,974 additions and 2,932 deletions.
24 changes: 24 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"presets": [
["env", {
"targets": {
"node": "4.0"
},
"exclude": [
"transform-async-to-generator",
"transform-regenerator"
],
"useBuiltIns": true
}]
],
"plugins": [
"transform-object-rest-spread",
["transform-async-to-module-method", {
"module": "bluebird",
"method": "coroutine"
}]
],
"ignore": [
"src/assets"
]
}
49 changes: 49 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"rules": {
"no-console": "off",
"no-extra-parens": "warn",
"valid-jsdoc": "off",
"new-cap": ["warn", {"properties": false}],
"comma-spacing": ["error", {"before": false, "after": true}],
"no-extra-boolean-cast": "warn",
"strict": ["warn", "global"],
"no-var": "error",
"prefer-const": "error",
"semi": ["error", "always"],
"space-before-function-paren": ["warn", "always"],
"keyword-spacing": ["warn"],
"prefer-arrow-callback": "error",
"arrow-parens": ["error", "as-needed"],
"comma-style": ["warn", "last"],
"no-bitwise": "off",
"no-cond-assign": ["error", "except-parens"],
"curly": "off",
"eqeqeq": "error",
"no-extend-native": "error",
"wrap-iife": ["error", "any"],
"indent": ["error", 2, {"SwitchCase": 1}],
"no-use-before-define": "off",
"no-caller": "error",
"no-undef": "error",
"no-unused-vars": "error",
"no-irregular-whitespace": "error",
"max-depth": ["error", 8],
"quotes": ["error", "single", {"avoidEscape": true}],
"linebreak-style": "error",
"no-loop-func": "warn",
"object-shorthand": "error",
"one-var-declaration-per-line": "warn",
"comma-dangle": "warn",
"no-shadow": "warn",
"camelcase": "warn"
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"env": {
"node": true,
"mocha": true,
"es6": true
}
}
20 changes: 10 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@ pids
*.pid
*.seed

# Editor files
.vscode

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Vagrant intermediate storage
var/vagrant/.vagrant

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# Deployed apps should consider commenting this line out:
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
# Extra folders
node_modules
lib
test/support/tmp/*
!test/support/tmp/.gitkeep

test/support/tmp
# Extra files
package-lock.json
npm-debug.log
57 changes: 0 additions & 57 deletions .jscsrc

This file was deleted.

19 changes: 0 additions & 19 deletions .jshintrc

This file was deleted.

4 changes: 0 additions & 4 deletions .mention-bot

This file was deleted.

20 changes: 20 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

node_modules

package-lock.json
.vscode
npm-debug.log
50 changes: 29 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,35 @@
before_script:
- "mysql -e 'create database sequelize_test;'"
- "psql -c 'create database sequelize_test;' -U postgres"
- npm install js2coffee@$(echo $JS2COFFEE)
- npm install sequelize@$(echo $SEQUELIZE)

script:
- travis_retry node_modules/.bin/gulp

env:
- JS2COFFEE=2.0.0 DIALECT=mysql SEQUELIZE=3.30.4
- JS2COFFEE=2.0.0 DIALECT=postgres SEQUELIZE=4.1.0

language: node_js

node_js:
- "4.0"
- "6.0"

sudo: false
dist: trusty

addons:
postgresql: "9.4"
language: node_js

cache:
directories:
- node_modules

jobs:
include:
- stage: tests
node_js: 4
env: DIALECT=mysql SEQUELIZE=3.30.4
- stage: tests
node_js: 4
env: DIALECT=postgres SEQUELIZE=3.30.4
- stage: tests
node_js: 4
env: DIALECT=sqlite SEQUELIZE=3.30.4
- stage: tests
node_js: 6
env: DIALECT=postgres SEQUELIZE=latest
- stage: tests
node_js: 6
env: DIALECT=sqlite SEQUELIZE=latest

before_script:
- "mysql -e 'create database sequelize_test;'"
- "psql -c 'create database sequelize_test;' -U postgres"
- npm install sequelize@$(echo $SEQUELIZE)
- npm run build

script:
- npm run test
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,32 @@ All notable changes to this project will be documented in this file.

## Upcoming


## v3.0.0 - 1st, Sep 2017

### Removed
- `db:migrate:old_schema`
- `--coffee` support
- `help:*` commands

### Fixed
- Drop Gulp [#344](https://github.com/sequelize/cli/issues/344)
- NSP Vulnerability [#466](https://github.com/sequelize/cli/issues/466)
- Non functional with Node 7 [#383](https://github.com/sequelize/cli/issues/383)
- Unable to find Gulp [#138](https://github.com/sequelize/cli/issues/138)
- Reintegrate Gulp [#5](https://github.com/sequelize/cli/issues/5)
- Unable to seed multiple files [#523](https://github.com/sequelize/cli/issues/523)
- No Gulpfile found [#480](https://github.com/sequelize/cli/issues/480)
- Exit Code(1) when migration undo fail [#394](https://github.com/sequelize/cli/issues/394)
- ES2015 [#389](https://github.com/sequelize/cli/issues/389)
- `--coffee` flag dont work with `.rc` file [#244](https://github.com/sequelize/cli/issues/244)
- CLI dont halt on error [#106](https://github.com/sequelize/cli/issues/106)

### Improvements
- No Gulp, better startup time
- Proper exit codes
- Remove dependency on `moment` , `findup-sync`, `gulp` and `gulp-help`

## v2.8.0 - 2017-08-04
### Added
- Timestamps db:migrate:schema:timestamps:add [#460](https://github.com/sequelize/cli/pull/460)
Expand Down
Loading

0 comments on commit 480f3fc

Please sign in to comment.