- proxy task is now optional. It will start only if you specify
proxysection in yourgulpfile.js.
- implemented #67. Karma settings are now exposed in the
gulpfile.js, so you can run your tests in Chrome, for example. Thetasks/test.gulp.jscontains the default Karma configuration.
- dependencies updated:
- phantomjs: 2.1,
- karma": 0.13.22,
- karma-coverage: 0.5.5,
- karma-jasmine: 0.3.8,
- karma-spec-reporter: 0.0.26
- fixed #66 - missing Karma plugins in the
package/karma.conf.js - implemented #42. Sinon is now loaded as Karma plugin in
karma.conf.js. Reference to aboslute path tosinon.jsin thetesttask removed.
fixed a dist path typo
$templateCache partials are now configurable.
Gript considers all HTML files in the app directory (except the index.html) as partials by default.
You can change this behaviour by setting up the partials configuration value in the gulpfile.js.
This may come in handy when you don't want a specific HTML file to be converted to Angular $templateCache partial.
- implemented #60. You can prevent the mocks server form starting by using the
--nomockscommand line option.
- implemented #46. From now on, Gript will continue with the default rules and issue a warning if any of the linter configuration is missing:
- scss-lint.yml
- .htmllintrc
- tslint.json
- merged #40
- implemented #6 (Automate release process). Gript's own
gulpfile.jscontains new tasks:bumpVersion- bumps package version number inpackage.jsonandpackage/package.jsontag- Tags the git repository with the version number frompackage.jsonpushTags- pushes tags tomasterpush- pushes source tomasternpmPublish- publishes to npm.js. This is an interactive task, asks for npm username and passwordpublish- executes all of the above in the sequence.
Gulpupgraded to 3.91.
- fixed #58 (html-lint doesn't pick up all files)
- proxy port can now be customized in the config.
- dist server port and hostname can now be customized in the gulpfile.js config
- file created by
configtask renamed fromconfig.jstoconstants.js. The task searches forconstants.jsonfile by default. - starting with this release, only
*.tpl.htmlfiles will be considered as Angular templates and converted to Angular's cache service javascripts. All other HTML files will be just copied into the dist structure. The reason for that is that some apps need HTML files which are not Angular templates.