Commit Graph

21 Commits

Author SHA1 Message Date
Damian Mooyman
9a11580563
Patch webpack-config temporarily 2017-10-03 18:15:41 +13:00
Damian Mooyman
496b9c8c04 API Implement insert-anchor modal 2017-09-20 13:35:25 +12:00
Saophalkun Ponlu
e5e5a52d66 Change webpack-config dep version 2017-09-20 10:24:02 +12:00
Christopher Joe
e15373ba0e Fixed linting errors and tests 2017-09-18 17:02:07 +12:00
Damian Mooyman
2b2cdb4c44
BUG Fix yarn build 2017-09-12 15:40:44 +12:00
Damian Mooyman
69114126f4
Upgrade webpack-config 2017-06-06 16:22:40 +12:00
Christopher Joe
3c7c639901 Fix remove temp external entries 2017-05-30 12:32:18 +12:00
Chris Joe
d2a5d073e2 Upgrade to webpack2 and cleanup config file (#1833)
* Enhancement switch to the shared webpack config

* upgrade to new webpack-config
2017-05-29 17:24:48 +12:00
Christopher Joe
828e0e973a update webpack settings and switch to yarn 2017-03-06 15:24:19 +13:00
Christopher Joe
0c47bc3e62 Fix viewer and editor groups to only show when the last option is selected
Fix update package.json for linting and building
2017-02-28 10:35:13 +13:00
Ingo Schommer
ec66912bc0 Use sass-lint
See https://github.com/silverstripe/silverstripe-framework/pull/6016
2016-09-27 17:10:47 +13:00
Ingo Schommer
c2132af70f Updated npm-shrinkwrap (failed to build otherwise)
Caused errors with watchpack (dep of webpack)
2016-09-27 17:10:47 +13:00
Sam Minnee
beef8fa072 FIX Switch gulp JavaScript generation to Webpack
See https://github.com/silverstripe/silverstripe-framework/pull/5918
2016-09-14 21:12:39 +12:00
Ingo Schommer
db42ab772f Adding ESLint
Not much too lint yet in terms of new code, but it's consistent with framework and asset-admin modules
2016-04-08 15:08:08 +12:00
Ingo Schommer
925bdde0a5 Added "npm run lock" command 2016-04-08 14:56:01 +12:00
scott1702
3cdb2f1f08 Handle CSS compilation with gulp-sass 2016-04-08 14:55:23 +12:00
Ingo Schommer
23292e22b6 Updated babel dependency 2016-04-08 14:31:48 +12:00
Ingo Schommer
c4a9720730 Fix IE support by using babelify transforms 2016-04-06 09:50:00 +12:00
Ingo Schommer
abe565eb01 JS build tooling fixes
- Relaxed NodeJS dependency to 4.x

- Switch to NPM "dependencies" (rather than dev)
Provides consistency with framework, where these had previously
been broken out between "dependencies" and "devDependencies", which in turn caused issues with "npm shrinkwrap"

- Add npm-shrinkwrap.json: Consistent with framework approach
Using uber's wrapper library since it prevents npm shrinkwrap from failing on file generation,
as well as actually suceeding with an "npm install" once the file is present.

- Don't add comments to dist files via babelify
We've had some issues with different dependencies causing different results based on the environment,
which in turn causes unnecessary diffs - making our work harder to review.
Comments can be read through the ES6 source files, and through source maps when
generated through `npm run build --development`

- Make JS build tooling and naming consistent with framework
2016-03-28 22:22:21 +13:00
Ingo Schommer
ee3158183f "npm run lock" command
Uses https://github.com/uber/npm-shrinkwrap instead of the built-in "npm shrinkwrap" since it works more reliably.
Specifically, "npm install" doesn't fail depending on node_modules/ being installed in the local cache or not.
It also makes npm-shrinkwrap.json easier to diff by more consistently ordering its output between runs.

If you need any convincing that this is a problem, look at the over 400 issues related to "shrinkwrap"
in https://github.com/npm/npm/search?q=shrinkwrap&type=Issues&utf8=%E2%9C%93
2016-03-28 13:45:03 +13:00
scott1702
66f6ecc57e Implement RFC-7 JavaScript module loader in CMS 2016-01-27 14:56:47 +13:00