Commit Graph

246 Commits

Author SHA1 Message Date
Pete Bacon Darwin 84951af9e0 chore(package.json): update dist-tag for 1.7.x 2020-06-01 13:04:39 +01:00
George Kalpakas 479699fdcb chore(package): fix scripts for latest Node 10.x on Windows 2020-02-02 11:24:30 +02:00
Michał Gołębiowski-Owczarek 019dded64b chore(*): update jQuery from 3.2.1 to 3.4.0
This updates jQuery to 3.4.0 to ensure future security fixes won't break it.

Closes #16863
2019-04-12 11:29:42 +02:00
George Kalpakas a0ed1b73ff chore(package): upgrade to latest karma-sauce-launcher
Based on angular/angular#27634.
2019-01-10 21:42:11 +02:00
George Kalpakas e44c3ac327 chore(package): upgrade to latest karma
This includes a Karma fix that affects CI flakiness.
Based on angular/angular#27735.
2019-01-10 21:42:11 +02:00
Frederik Prijck 6482297185 chore(package): rename to angular to match npm
Previously, angularjs was used as the name inside the package.json file.
However, angularjs is published to npm using angular.
To avoid conflicts, the name is updated to reflect the same name as being published on npm.

Fixes #16799

Closes #16800
2018-12-27 20:29:11 +02:00
Pete Bacon Darwin 3b333f3b9f chore(package): update protractor & webdriver dependencies 2018-12-02 10:06:18 +00:00
Martin Staffa f9e651d113 chore(*): update karma
This allows us to remove the workaround added in #16645
2018-11-26 14:53:23 +01:00
George Kalpakas df0d5d245e chore(package): fix scripts for Node 10.x on Windows 2018-11-12 13:19:31 +02:00
Michał Gołębiowski-Owczarek b1d0a83d01 chore(*): update minimum Yarn version, do some Yarn-related cleanups
Included changes:

*Update minimum Yarn version from 1.3.2 to 1.10.1*

Yarn 1.10 added the integrity field to the lockfile, making newer Yarn users
have their lockfile changed a lot if they run `yarn`. This commit updates the
required Yarn version to be at least 1.10.1 and changes Travis & Jenkins to use
Yarn 1.10.1

*Change the package.json's engines grunt field to grunt-cli*

The grunt field suggested it's the grunt package version we're checking while
we check the grunt-cli version instead.

*Stop separating Yarn script arguments from script names via " -- "*

The " -- " separator is necessary in npm but not in Yarn. In fact, it's
deprecated in Yarn and some future version is supposed to start passing this
parameter directly to the scripts which may break them.

*Don't install grunt-cli globally during the build*

It's enough to use `yarn grunt` instead of `grunt` and the global grunt-cli
installation is no longer needed.

*Use `yarn grunt` instead of `yarn run grunt`*

The former form is shorter.

*Don't define the `grunt` Yarn script*

As opposed to npm, `yarn binName` invokes a binary named `binName` exposed
by the respective package so the `grant` Yarn script is no longer needed.

*Allow Node versions newer than 8; bump the minimum*

Closes #16714
2018-10-11 16:36:49 +02:00
George Kalpakas fa715abf45 chore(doc-gen): upgrade dgeni-packages to 0.26.5
Related: #16671, angular/dgeni-packages#271
2018-08-23 15:08:29 +03:00
George Kalpakas c8acff1cdc chore(karma): upgrade karma and related dependencies to latest versions 2018-07-21 13:40:34 +03:00
George Kalpakas c387e0d79d chore(doc-gen): error on unmatched links
Closes #16597
2018-06-12 14:45:22 +03:00
Pete Bacon Darwin 7d121accdf chore(package.json): update docs app to use latest version of AngularJS 2018-05-21 10:19:44 +01:00
Martin Staffa 6f85b3b699 chore(package.json): change distTag to "latest" 2018-05-09 19:40:07 +02:00
Martin Staffa 9f1793fd2d chore(eslint): allow ES6 for node scripts 2018-02-12 14:34:06 +01:00
Martin Staffa 62e2ec18e6 chore(node): add karma launchers for Edge, IE, and Safari
That makes it easier to run the tests with these browsers locally.

Closes #16407
2018-01-15 13:07:45 +01:00
Martin Staffa 2da4917af4 chore(node): update semver
Closes #16396
2018-01-09 12:57:45 +01:00
Michał Gołębiowski-Owczarek ff2ce9ddde chore(*): get rid of Bower in favor of Yarn aliases & checked-in packages
Bower was used to install multiple versions of jQuery which is now handled
using Yarn aliases. The remaining two packages, closure-compiler and
ng-closure-compiler were installed from zip files which is not supported by Yarn
(see https://github.com/yarnpkg/yarn/issues/1483); the first of them exists
on npm as the google-closure-compiler but only versions newer than we used are
published and they don't work with ng-closure-compiler so - instead - both were
checked in to the repository.

Fixes #16268
Fixes #14961
Ref yarnpkg/yarn#1483
2018-01-08 13:01:21 +01:00
Martin Staffa 8da3aef91c chore(node): update karma to 2.0.0
Also reduce karma log level on Travis to INFO.
Before, the log level was DEBUG, but it seems that
prior to karma 2.0.0, the debug messages were not outoput on Karma,
so this simply restores the status quo (and prevents cluttering the log).
2018-01-08 10:41:06 +01:00
Martin Staffa 8988157861 chore(node): update jasmine to 2.8.0, and adjust tests 2018-01-08 10:41:06 +01:00
Martin Staffa 0cd3921782 fix(ngScenario): completely remove the angular scenario runner
The runner has been deprecated and undocumented since 2014:
See commit 8d6d126899d4b1927360599403a7592011243270

Closes #9405

BREAKING CHANGE:

The angular scenario runner end-to-end test framework has been
removed from the project and will no longer be available on npm
or bower starting with 1.7.0.
It was deprecated and removed from the documentation in 2014.
Applications that still use it should migrate to
[Protractor](http://www.protractortest.org).
Technically, it should also be possible to continue using an
older version of the scenario runner, as the underlying APIs have
not changed. However, we do not guarantee future compatibility.
2017-12-14 11:50:36 +01:00
Michał Gołębiowski-Owczarek a7688100e3 build(*): update Node from 6 to 8, update Yarn
Angular (2+) switched to Node 8 and so should we.

Closes #16360
Ref angular/angular#20807
Ref angular/angular#20832
2017-12-07 19:26:32 +01:00
Martin Staffa bf758d0bef chore(node): update karma-sauce-launcher
Related to #14961
Closes #16281
2017-10-16 11:51:00 +02:00
Martin Staffa 0616dde95e chore(travis): add commitplease validation to ci-checks
This will provide feedback to contributors without getting in the way of writing invalid commit messages locally. 

The git hook integration is turned off.

Committers who push directly to the repo can be expected to use correct commit messages ;) Most changes go through PRs anyway.

Note that "Merge commit" messages and everything starting with "WIP" is always allowed by commitplease. Follow issue https://github.com/jzaefferer/commitplease/issues/101 for more info.

Related to #14888 
Closes #16097
2017-07-12 12:02:18 +02:00
Martin Staffa 030ae660bb chore(travis): use "karma-spec-reporter"
dots reporter creates lots of empty space that makes it tedious to scroll
through the logs. "Spec" is configured to only report on failures.
2017-06-13 10:40:09 +01:00
Martin Staffa a86a3195b4 chore(*): update protractor
Update protractor to latest 5.1.2 to make it work with Chrome 58 on Jenkins.
This protractor version is not compatible with FF 53 and directConnect, but this should be irrelevant as Travis does not use directConnect and on Jenkins we don't test FF.

Closes #15991
2017-05-17 09:22:34 +02:00
Martin Staffa e1dd00e4ef chore(*): update jasmine-core to 2.5.2
This might resolve an issue where Firefox 51+ fails on Jenkins at this
test: https://github.com/angular/angular.js/blob/8a89586bede0256494cb3027d856f1ebf592afde/test/ng/directive/ngOptionsSpec.js#L2891

The failure can also be reproduced locally when running the whole test suite with the
Firefox window unfocused. With 2.5.2, the failure happens too, but much less
frequent.

Latest jasmine (2.6.2) has problems with some browsers, see here:
https://github.com/jasmine/jasmine/issues/1327

Closes #15978
2017-05-10 14:10:23 +02:00
Michał Gołębiowski 1069086299 chore(*): update all Karma-related packages except Karma
The updated karma-chrome-launcher adds support for ChromeHeadless &
ChromeCanaryHeadless launchers; test with:

    karma start karma-jqlite.conf.js --browsers=ChromeCanaryHeadless

The updated karma-firefox-launcher disables multi-process which may increase
stability on Jenkins.

Closes #15966
2017-05-06 17:50:42 +02:00
Michał Gołębiowski ad0bb83819 chore(browserstack): Update browserstacktunnel-wrapper, fix options
Only the latest version of the package works correctly (the backend for it at
BrowserStack is not versioned) and the options have changed in the new version
of the package.

Also, iOS 8.0 is no longer available on BrowserStack, only 8.3 is. Instead,
this commit changes it to 9.3 as we shouldn't be testing on 8 anymore anyway.

Closes #15892
2017-04-12 13:20:43 +02:00
Michał Gołębiowski dcdd5def8f test(jQuery): run tests with jQuery 2.1, 2.2 & 3.2
Also, update jQuery 2.2.x mentions in the tutorial to 3.2.x.

Closes #15843
2017-03-27 11:23:49 +02:00
Michał Gołębiowski 3d0abffbc0 chore(yarn): rely on Travis built-in Yarn support, update Yarn in Jenkins
On Travis we now rely on built-in Yarn support and we only cache the Yarn cache,
not node_modules. This creates a more stable environment as we don't install
over previous node_modules state but we still won't download packages from the
internet in the second run for the same yarn.lock as Yarn takes packages from
its local cache if they exist there.

We install a new Yarn verison manually on Jenkins; the location of the install
script changed.

Closes #15851
2017-03-22 22:49:51 +01:00
Peter Bacon Darwin 0ef193f1a3 chore(docs): don't use bower for docs dependencies 2017-01-30 13:31:56 +00:00
Peter Bacon Darwin eba7c28261 chore(package): relax yarn version constraint 2017-01-19 08:18:40 +00:00
Georgios Kalpakas 2e27df690c chore(*): update dgeni-packages (and other devDependencies)
`dgeni-packages` prior to version 0.16.3 specified `engine.yarn: '^0.17.9'`,
which was unnecessarily strict and would cause any task to fail if someone had a
yarn version >=0.18.0.
Other devDependencies were also updated (because why not).

Closes #15600
2017-01-12 00:33:26 +02:00
Peter Bacon Darwin cfc16b17f7 chore(deps): update changez-angular version 2016-12-23 10:52:32 +00:00
Peter Bacon Darwin d08e31984d chore(doc-gen): update to dgeni-packages@0.16.2 2016-12-16 14:08:37 +00:00
Peter Bacon Darwin 9595337f67 chore(package): update docs app to run on 1.6.0 2016-12-08 23:42:55 +00:00
Peter Bacon Darwin 4e7f652b5f chore(package): update dist-tag for master/1.7 2016-12-08 13:56:34 +00:00
Peter Bacon Darwin dfef3bf2d4 chore(package): update dist-tag for 1.6.0 release 2016-12-08 10:18:07 +00:00
Peter Bacon Darwin fc89a85406 chore(jenkins): fix yarn and grunt installation 2016-12-07 10:53:37 +00:00
Peter Bacon Darwin 5dd3a35f47 chore(grunt): run gulp directly rather than through npm 2016-11-29 13:25:58 +00:00
Peter Bacon Darwin ca139dee8e chore(utils): install npm-run to simplify scripts 2016-11-29 13:25:58 +00:00
Peter Bacon Darwin 05c3336f92 chore(dependencies): USE YARN (and node 6) 2016-11-29 13:24:50 +00:00
Peter Bacon Darwin 752c989152 chore(package.json): update to latest dgeni-packages 2016-11-18 11:28:14 +00:00
Peter Bacon Darwin 0f45adebea chore(package.json): update to latest version of shelljs 2016-11-15 09:59:18 +00:00
Peter Bacon Darwin 53cb1d7d40 chore(protractor): upgrade to latest 4.0.10
This fixes problems with testing against Chrome 54.
2016-11-05 11:33:14 +00:00
Peter Bacon Darwin ad3a1f9dea chore(package.json): bump for new minor version 2016-10-26 21:13:29 +01:00
Peter Bacon Darwin 491d23ed57 chore(deps): add changez 2016-10-26 17:50:04 +01:00
Martin Staffa 9fbad3c7c2 chore(*): use binaries from node_modules/.bin
Closes #15071
2016-09-05 22:04:36 +02:00