upgrade dependencies (#178)
This commit is contained in:
parent
17cfb4ab6d
commit
90e842e45b
9 changed files with 3758 additions and 2465 deletions
|
@ -8,9 +8,11 @@
|
|||
|
||||
# dependencies
|
||||
/bower_components/
|
||||
/node_modules/
|
||||
|
||||
# misc
|
||||
/coverage/
|
||||
!.*
|
||||
|
||||
# ember-try
|
||||
/.node_modules.ember-try/
|
||||
|
|
|
@ -16,17 +16,20 @@ module.exports = {
|
|||
es6: true
|
||||
},
|
||||
rules: {
|
||||
'ember/no-observers': 'warn'
|
||||
},
|
||||
overrides: [
|
||||
// node files
|
||||
{
|
||||
files: [
|
||||
'.eslintrc.js',
|
||||
'.template-lintrc.js',
|
||||
'ember-cli-build.js',
|
||||
'testem.js',
|
||||
'blueprints/*/index.js',
|
||||
'config/**/*.js',
|
||||
'lib/*/index.js'
|
||||
'lib/*/index.js',
|
||||
'server/**/*.js'
|
||||
],
|
||||
parserOptions: {
|
||||
sourceType: 'script',
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -13,6 +13,8 @@
|
|||
/api/vendor/
|
||||
|
||||
# misc
|
||||
/.env*
|
||||
/.pnp*
|
||||
/.sass-cache
|
||||
/connect.lock
|
||||
/coverage/
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
/* global window */
|
||||
window.deprecationWorkflow = window.deprecationWorkflow || {};
|
||||
window.deprecationWorkflow.config = {
|
||||
/* global self */
|
||||
self.deprecationWorkflow = self.deprecationWorkflow || {};
|
||||
self.deprecationWorkflow.config = {
|
||||
workflow: [
|
||||
{ handler: "silence", matchId: "ember-cli-page-object.old-collection-api" },
|
||||
{ handler: "silence", matchId: "ember-name-key-usage" },
|
||||
{ handler: "silence", matchId: "ember-metal.run.sync" },
|
||||
{ handler: "silence", matchId: "ember-runtime.deprecate-copy-copyable" }
|
||||
]
|
||||
};
|
||||
|
|
21
config/release.js
Normal file
21
config/release.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
/* jshint node:true */
|
||||
// var RSVP = require('rsvp');
|
||||
|
||||
// For details on each option run `ember help release`
|
||||
module.exports = {
|
||||
// local: true,
|
||||
// remote: 'some_remote',
|
||||
// annotation: "Release %@",
|
||||
// message: "Bumped version to %@",
|
||||
// manifest: [ 'package.json', 'bower.json', 'someconfig.json' ],
|
||||
// publish: true,
|
||||
// strategy: 'date',
|
||||
// format: 'YYYY-MM-DD',
|
||||
// timezone: 'America/Los_Angeles',
|
||||
//
|
||||
// beforeCommit: function(project, versions) {
|
||||
// return new RSVP.Promise(function(resolve, reject) {
|
||||
// // Do custom things here...
|
||||
// });
|
||||
// }
|
||||
};
|
|
@ -4,6 +4,13 @@ const EmberApp = require('ember-cli/lib/broccoli/ember-app');
|
|||
|
||||
module.exports = function(defaults) {
|
||||
let app = new EmberApp(defaults, {
|
||||
autoImport: {
|
||||
// exclude sjcl from auto imports as it's imported through `app.import()`
|
||||
// to avoid blowing up build size
|
||||
// https://github.com/ef4/ember-auto-import/issues/208
|
||||
exclude: ['sjcl'],
|
||||
forbidEval: true,
|
||||
},
|
||||
'buildInfoOptions': {
|
||||
'metaTemplate': 'version={SEMVER}'
|
||||
},
|
||||
|
|
44
package.json
44
package.json
|
@ -17,41 +17,42 @@
|
|||
"test": "ember test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ember/jquery": "^0.5.2",
|
||||
"@ember/optional-features": "^0.6.3",
|
||||
"@ember/jquery": "^0.6.0",
|
||||
"@ember/optional-features": "^0.7.0",
|
||||
"bootstrap-sass": "^3.3.7",
|
||||
"ember-ajax": "^4.0.0",
|
||||
"ember-awesome-macros": "^3.1.0",
|
||||
"ember-bootstrap": "kaliber5/ember-bootstrap",
|
||||
"ember-ajax": "^5.0.0",
|
||||
"ember-auto-import": "^1.3.0",
|
||||
"ember-awesome-macros": "^4.0.0",
|
||||
"ember-bootstrap": "^2.6.1",
|
||||
"ember-bootstrap-cp-validations": "^1.0.0",
|
||||
"ember-cli": "~3.4.4",
|
||||
"ember-cli": "~3.8.2",
|
||||
"ember-cli-acceptance-test-helpers": "^1.0.0",
|
||||
"ember-cli-app-version": "^3.2.0",
|
||||
"ember-cli-babel": "^6.16.0",
|
||||
"ember-cli-babel": "^7.1.2",
|
||||
"ember-cli-browser-navigation-button-test-helper": "^0.1.1",
|
||||
"ember-cli-browserstack": "^0.0.7",
|
||||
"ember-cli-chart": "^3.3.1",
|
||||
"ember-cli-clipboard": "^0.11.1",
|
||||
"ember-cli-content-security-policy": "^1.0.0",
|
||||
"ember-cli-dependency-checker": "^3.0.0",
|
||||
"ember-cli-deprecation-workflow": "^0.2.3",
|
||||
"ember-cli-dependency-checker": "^3.1.0",
|
||||
"ember-cli-deprecation-workflow": "^1.0.1",
|
||||
"ember-cli-eslint": "^4.2.3",
|
||||
"ember-cli-flash": "^1.4.0",
|
||||
"ember-cli-htmlbars": "^3.0.0",
|
||||
"ember-cli-htmlbars-inline-precompile": "^1.0.3",
|
||||
"ember-cli-inject-live-reload": "^1.8.2",
|
||||
"ember-cli-mirage": "^0.4.10",
|
||||
"ember-cli-mirage": "^1.0.0-beta.1",
|
||||
"ember-cli-moment-shim": "^3.7.1",
|
||||
"ember-cli-page-object": "^1.11.0",
|
||||
"ember-cli-release": "^0.2.9",
|
||||
"ember-cli-sass": "^8.0.1",
|
||||
"ember-cli-release": "^1.0.0-beta.2",
|
||||
"ember-cli-sass": "^10.0.0",
|
||||
"ember-cli-sri": "^2.1.1",
|
||||
"ember-cli-template-lint": "^1.0.0-beta.1",
|
||||
"ember-cli-uglify": "^2.1.0",
|
||||
"ember-composable-helpers": "^2.1.0",
|
||||
"ember-cp-validations": "^3.5.0",
|
||||
"ember-data": "~3.4.0",
|
||||
"ember-data-model-fragments": "^3.3.0",
|
||||
"ember-cp-validations": "^4.0.0-beta.8",
|
||||
"ember-data": "~3.8.0",
|
||||
"ember-data-model-fragments": "^4.0.0",
|
||||
"ember-i18n": "^5.0.2",
|
||||
"ember-i18n-cp-validations": "^3.0.2",
|
||||
"ember-load-initializers": "^1.1.0",
|
||||
|
@ -59,20 +60,20 @@
|
|||
"ember-maybe-import-regenerator": "^0.1.6",
|
||||
"ember-moment": "^7.8.0",
|
||||
"ember-page-title": "^5.0.0",
|
||||
"ember-power-calendar": "^0.11.1",
|
||||
"ember-power-calendar": "^0.13.1",
|
||||
"ember-power-calendar-moment": "^0.1.4",
|
||||
"ember-qunit": "^4.4.0",
|
||||
"ember-radio-buttons": "^4.0.1",
|
||||
"ember-resolver": "^5.0.1",
|
||||
"ember-source": "~3.4.0",
|
||||
"ember-source": "~3.8.0",
|
||||
"ember-test-selectors": "^2.0.0",
|
||||
"ember-transition-helper": "^1.0.0",
|
||||
"ember-truth-helpers": "^2.1.0",
|
||||
"eslint-plugin-ember": "^5.2.0",
|
||||
"eslint-plugin-ember": "^6.4.1",
|
||||
"fs-extra": "^7.0.1",
|
||||
"loader.js": "^4.7.0",
|
||||
"qunit-dom": "^0.7.1",
|
||||
"sass": "^1.15.2",
|
||||
"qunit-dom": "^0.8.0",
|
||||
"sass": "^1.19.0",
|
||||
"sjcl": "^1.0.8"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -85,6 +86,7 @@
|
|||
]
|
||||
},
|
||||
"resolutions": {
|
||||
"chart.js": "~2.6.0"
|
||||
"chart.js": "~2.6.0",
|
||||
"jquery": "~3.3.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { alias } from '@ember/object/computed';
|
||||
import { run } from '@ember/runloop';
|
||||
import { module, test } from 'qunit';
|
||||
import { setupRenderingTest } from 'ember-qunit';
|
||||
|
@ -306,17 +305,16 @@ module('Integration | Component | create options datetime', function(hooks) {
|
|||
// which validates according to poll model it belongs to
|
||||
// therefore each option needs to be pushed to poll model to have it as
|
||||
// it's owner
|
||||
run(() => {
|
||||
this.set('poll', this.store.createRecord('poll', {
|
||||
isFindADate: true,
|
||||
isMakeAPoll: false
|
||||
}));
|
||||
this.set('options', alias('poll.options'));
|
||||
this.get('options').pushObjects([
|
||||
{ title: '2015-01-01' },
|
||||
{ title: '2015-02-02' }
|
||||
]);
|
||||
let poll = this.store.createRecord('poll', {
|
||||
isFindADate: true,
|
||||
isMakeAPoll: false
|
||||
});
|
||||
poll.options.pushObjects([
|
||||
{ title: '2015-01-01' },
|
||||
{ title: '2015-02-02' }
|
||||
]);
|
||||
this.set('options', poll.options);
|
||||
|
||||
await render(hbs`{{create-options-datetime dates=options}}`);
|
||||
assert.ok(
|
||||
findAll('.has-error').length === 0 && findAll('.has-success').length === 0,
|
||||
|
|
Loading…
Reference in a new issue