- proxy task is now optional. It will start only if you specify
proxy
section 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.js
contains 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.js
in thetest
task 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
--nomocks
command 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.js
contains new tasks:bumpVersion
- bumps package version number inpackage.json
andpackage/package.json
tag
- Tags the git repository with the version number frompackage.json
pushTags
- pushes tags tomaster
push
- pushes source tomaster
npmPublish
- publishes to npm.js. This is an interactive task, asks for npm username and passwordpublish
- executes all of the above in the sequence.
Gulp
upgraded 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
config
task renamed fromconfig.js
toconstants.js
. The task searches forconstants.json
file by default. - starting with this release, only
*.tpl.html
files 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.