Commit Graph

21 Commits

Author SHA1 Message Date
Austin Burdine fd6f2551bb Bower => NPM (#972)
no issue

- Convert validator to an npm dependency
  - clean up validator imports
  - fix validator function imports
  - remove unused validator extensions
- Convert devicejs to an npm dependency
- Convert remaining used bower deps to npm deps
- 🔥 Remove bower & unused bower dependencies
- remove globals imports in favor of direct module imports where possible
2018-03-19 17:56:09 +00:00
Katharina Irrgang 28b0c7f329 Recommend Node v8 (#963)
no issue
- update travis.yml
2018-03-05 09:44:36 +00:00
Kevin Ansfield 67e63a4f9c Switch to using recommended Node.js version on Travis
no issue
- developers should always be using our recommended Node.js version
- having Travis run on an older Node.js version was causing issues occasionally because dependencies would inadvertently drop 4.x support, this is mostly a non-issue for Ghost-Admin because the supported node version is only relevant to developers and build environments
2018-02-19 18:01:53 +00:00
Kevin Ansfield 7afb88a0c2 Switch to eslint-plugin-ghost extending plugin:ghost/ember
no issue
- fix lint errors in lib/gh-koenig
- fix ghost:base eslint errors
- update ember plugin refs, remove ember-suave plugin refs
- remove old jshint refs
- add `lint:js` script
- switch to `eslint-plugin-ghost` extending `plugin:ghost/ember`
2018-01-12 12:17:56 +00:00
Kevin Ansfield bfb27f677a Bump dependencies (#887)
no issue

- ember/ember-data/ember-cli@2.16
- bump all outdated dependencies that do not require additional work or more extensive tests
- bump sub-dependencies in yarn.lock
- use `broccoli-uglify-sourcemap` (same dep as already used in `ember-cli-uglify`) instead of a separate `broccoli-uglify-js` package for building production codemirror assets
- add `/concat-stats-for` to `.gitignore` so that filesize stats from `CONCAT_STATS=true ember build` don't end up in the repo
2017-10-12 17:42:10 +02:00
Kevin Ansfield 7f03fa62c2 Run Chrome in headless mode on Travis
no issue
- align Travis config more closely to default ember-cli setup
- run Chrome in headless mode in CI (Travis + `ember test`, `ember test --server` is "dev" mode)
- install yarn via install script rather than npm
- remove broccoli cache from Travis cache (not sure it ever worked?)
- remove forced node-sass install (no longer needed)
- add `testem` as a top-level dep to force the latest version (ember-data is pinned at 1.15)
2017-09-02 16:39:49 -04:00
Kevin Ansfield 39a976cd9d Upgrade to Ember 2.15.0
no issue
- bumped `ember`, `ember-cli`, `ember-data` and related dependencies
- bumped yarn.lock sub-dependencies
- use new public `router` service in place of the private `-routing` service
2017-09-02 16:18:10 -04:00
Kevin Ansfield 15f92b2c35 Re-enable yarn in Travis
no issue
- we had [previously reverted](e939e8be6c) the use of `yarn` on Travis as we suspected it as being a culprit in failing editor builds, that wasn't the real cause so this switches us back to using `yarn`
2017-02-19 10:59:51 -06:00
Kevin Ansfield fabb82aa44 🏃 persist broccoli cache on Travis for faster builds
no issue
- persisting the broccoli cache should dramatically speed up the client builds on Travis as it will only need to rebuild changed files and those that depend on them
2017-02-19 10:59:51 -06:00
Kevin Ansfield e939e8be6c Revert Travis config back to npm 2017-01-26 15:11:50 +00:00
Austin Burdine 238c94bd1c Use latest version of yarn (installed via npm) (#508)
no issue
- adds yarn cache to travis
- uses latest version of yarn via npm install
2017-01-26 14:32:46 +00:00
Austin Burdine 1556004236 Add workaround for yarn node-sass bug (#498) 2017-01-20 09:31:45 +00:00
Austin Burdine 8ba530ca65 add yarn.lock file and update travis (#494)
no issue
- add yarn.lock file with latest dependencies
- update travis to install via yarn
2017-01-16 19:14:25 +00:00
Austin Burdine 27c64f6c34 Add code coverage (#481)
no issue
- adds code coverage via ember-cli-code-coverage
- add coverage and ember-cli-code-coverage deps
2017-01-09 23:00:12 +00:00
Kevin Ansfield 2265ee25c8 switch from jshint/jscs to eslint
no issue
- drop `jshint`, `jscs`, and `ember-suave` dependencies
- remove `grunt` related linting dependencies and tasks
- remove linting build from Travis so that linting can be performed as part of the normal test suite (refs TryGhost/Ghost#7427)
- add `ember-cli-eslint` and `eslint-plugin-ember-suave` dependencies
- configure `eslint` to match our previous coding style
- update config to run eslint tests as part of the normal test run
- add `npm run lint` command to only run linter tests
2016-11-14 13:25:36 +00:00
Hannah Wolfe eb31c438d5 Fix: travis exception for greenkeeper branches (#130)
- travis terminology is inconsistent :(
2016-07-15 10:51:00 -06:00
Hannah Wolfe dec555a9d4 Recommend Node v4 & use as default (#126)
refs TryGhost/Ghost#7098

- Use Node v4 as our default build environment
- Change engines in package.json to match Ghost core
2016-07-15 12:12:17 +01:00
Austin Burdine 7c57a7cef6 add buildAboutPage task to Gruntfile (#90) 2016-06-28 18:36:00 +01:00
Austin Burdine 70f92b0d2c Add greenkeeper branch ignores to travis
This prevents greenkeeper branches from being built as they will always by run in the PR.
2016-06-22 10:31:11 -06:00
Kevin Ansfield b8dc8c698f Add Gruntfile.js, setup linting task and Travis build
refs #23
- add `grunt lint`
- add lint build to Travis matrix
2016-06-02 17:19:30 +01:00
Kevin Ansfield 39622c4e28 Add initial Travis config file
no issue
- basic testing of the admin client with both Chrome and Firefox
2016-05-19 13:33:14 +01:00