Mike Greiling
0d60fa8dc5
update karma deps to work with webpack 2
2017-02-09 10:52:19 -06:00
Mike Greiling
6dd90100bd
upgrade to webpack 2.2.x
2017-02-09 10:52:19 -06:00
Mike Greiling
31c10441fc
upgrade babel to v6
2017-02-09 10:51:36 -06:00
Jacob Schatz
9d62fdfae2
Merge branch 'remove-jquery-ui-datepicker' into 'master'
...
Removed jQuery UI datepicker
See merge request !8421
2017-02-08 23:32:05 +00:00
Clement Ho
ee99bf3c4e
Revert "Merge branch 'fix-karma-coverage' into 'master'"
...
This reverts merge request !9044
2017-02-07 21:32:20 +00:00
Mike Greiling
fbdf54bdcf
fix karma coverage report
2017-02-07 13:27:36 -06:00
Phil Hughes
b138ec3da1
Removed jQuery UI datepicker
...
Part of #18437 to remove jQuery UI. This removes the datepicker
2017-02-06 09:24:50 +00:00
Mike Greiling
61ef5f0edd
add npm run webpack command
2017-02-06 00:23:50 -06:00
Phil Hughes
fc4fcf33bf
Added gzip compression
2017-01-13 11:11:35 -05:00
Mike Greiling
8a643c8fcd
add phantomJS to karma config
2017-01-13 11:07:13 -05:00
Mike Greiling
31af0fbaf8
improve sourcemap generation
2017-01-10 12:30:44 -06:00
Mike Greiling
05b95e712d
update vue library to match vendors directory
2017-01-10 12:30:42 -06:00
Mike Greiling
663936878f
include common libraries within spec_helper
2017-01-10 12:30:42 -06:00
Mike Greiling
0e4aaa06d3
remove remaining vestiges of teaspoon test runner
2017-01-10 12:30:41 -06:00
Luke "Jared" Bennett
7c47cc94c5
Swapped out teaspoon for karma
2017-01-10 12:30:40 -06:00
Mike Greiling
a569aa295a
use karma for javascript testing
2017-01-10 12:30:39 -06:00
Mike Greiling
fe964cc235
migrate all javascript asset bundles and require syntax
2017-01-10 12:30:38 -06:00
Mike Greiling
55f291e8ce
replace application.js sprockets output with webpack-generated equivalent
2017-01-06 10:21:02 -06:00
Mike Greiling
31bd36845b
temporarily regress to babel 5 for parity with sprockets-es6 gem
2017-01-06 10:21:02 -06:00
Mike Greiling
df72d65a02
compile es6/es2015 with babel
2017-01-06 10:21:01 -06:00
Mike Greiling
4c5ff1d08e
add webpack, webpack-rails, and webpack-dev-server along with a simple hello world test
...
Add the following line to GDK Procfile to play with it:
webpack: exec support/exec-cd gitlab npm run dev-server
2017-01-06 10:21:01 -06:00
Luke "Jared" Bennett
bc31040ea9
Fixed lint warning and propose fail or warning
2016-12-10 12:04:54 +00:00
Luke "Jared" Bennett
c145413d1a
Remove JSX/React eslint plugins.
...
Change airbnb eslint config package to `eslint-config-airbnb-base` and update plugins.
Change `airbnb` to `airbnb-base` for .eslintrc `extends` value.
Added changelog entry
Made sure all plugins and envs are set
Corrected new failing specs
2016-11-29 16:15:47 +00:00
Robert Speicher
0676c5c714
Merge branch 'eslint-html-report' into 'master'
...
Generate ESLint HTML report
## What does this MR do?
Generate a HTML report for the linting errors that ESLint discovered
(including files that contain `/* eslint-disable */`).
See merge request !7374
2016-11-23 07:09:05 +00:00
Fatih Acet
7b252e878f
Merge branch '24754-fix-npm-warnings-for-eslint-plugin-import' into 'master'
...
Fix NPM install warnings due to incompatible dependency version
## What does this MR do?
Rolls back `eslint-plugin-import` to semver `^1.16.0` for compatibility with `eslint-config-airbnb`.
## Are there points in the code the reviewer needs to double check?
Shouldn't be.
## Why was this MR needed?
A warning message was being generated every time we run `npm install`, and there are possibly other side effects due to module incompatibility.
## Does this MR meet the acceptance criteria?
- [x] All builds are passing
- [x] Branch has no merge conflicts with `master` (if it does - rebase it please)
## What are the relevant issue numbers?
Closes #24754
See merge request !7641
2016-11-22 19:58:46 +00:00
winniehell
459cd939e7
Generate ESLint HTML report ( !7374 )
2016-11-22 20:25:33 +01:00
Mike Greiling
855567ac58
roll back eslint-plugin-import node module to the version required by eslint-config-airbnb
2016-11-21 17:05:43 -06:00
Luke "Jared" Bennett
aed42cc099
Add node_modules cache to npm related builds
2016-11-19 01:47:59 +00:00
Luke "Jared" Bennett
4f377364ad
Added new .eslintrc for jasmine tests and corrected build_spec
2016-11-04 15:25:22 +00:00
winniehell
1ad62d9684
Check that JavaScript file names match convention ( !7238 )
2016-11-02 11:47:38 +01:00
winniehell
4060807719
Enable linting for ES6 files
2016-10-27 21:35:07 +02:00
winniehell
e5a0d41db0
add ESLint
...
ESLint config: https://github.com/airbnb/javascript
2016-10-26 10:00:55 +02:00