Skip to content

Commit 4abd8fb

Browse files
Merge pull request #3581 from angular-ui/greenkeeper/initial
Update dependencies to enable Greenkeeper 🌴
2 parents 616a130 + 0651ac5 commit 4abd8fb

File tree

6 files changed

+1346
-346
lines changed

6 files changed

+1346
-346
lines changed

.travis.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,38 @@
11
language: node_js
22
node_js:
3-
- 6.9.2
3+
- 8.9.1
4+
45
before_install:
56
- time npm i -g yarn
7+
- yarn global add greenkeeper-lockfile@1
8+
69
install:
710
- time yarn > /dev/null
11+
812
before_script:
913
- export DISPLAY=:99.0
1014
- sh -e /etc/init.d/xvfb start
1115
- "./nodeserver.sh > /dev/null &"
16+
- greenkeeper-lockfile-update
17+
1218
script:
1319
- echo "CORE_BRANCH = x${CORE_BRANCH}x";
1420
# Fetch and build the @uirouter/core branch from github, then install it
1521
- >
1622
if [ "x${CORE_BRANCH}x" != "xx" ] ; then
1723
echo "Installing @uirouter/core from ${CORE_BRANCH}" && \
18-
git clone --depth=10 --branch="${CORE_BRANCH}" https://github.com/ui-router/core.git @uirouter/core && \
19-
pushd @uirouter/core && \
20-
yarn > /dev/null && \
24+
git clone --depth=10 --branch="${CORE_BRANCH}" https://github.com/ui-router/core.git ui-router-core && \
25+
pushd ui-router-core && \
26+
yarn && \
2127
yarn build && \
28+
CORE_PACK_FILENAME=`npm pack` && \
2229
popd && \
23-
npm install ./@uirouter/core ;
30+
yarn add ./ui-router-core/${CORE_PACK_FILENAME} ;
2431
fi
2532
- tsc && npm test
2633

34+
after_script: greenkeeper-lockfile-upload
35+
2736
matrix:
2837
allow_failures:
2938
- env: CORE_BRANCH=
@@ -37,7 +46,8 @@ env:
3746
# If CORE_BRANCH is empty, it will use the @uirouter/core from npm dependencies
3847
# (as specified in package.json)
3948
- CORE_BRANCH=
40-
49+
global:
50+
secure: TanWbkSRljYf0ENPiF3LDM+6RDYyUZoVIIQjUk9UDZ1MBvzEiqISB/zKSXSoYY1JNZpNcXgje2Sl08yGhAugRVodH+FJa/khSkXwRsZAlJuG8qPFAevW4gffvJvPAE7O0uy4jLyyu+Fi9dptdi1zDGsOps/Q+WURH9jWPGmQpj8=
4151
sudo: false
4252

4353
git:

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# AngularUI Router  [![Build Status](https://travis-ci.org/angular-ui/ui-router.svg?branch=master)](https://travis-ci.org/angular-ui/ui-router)
22

3+
[![Greenkeeper badge](https://badges.greenkeeper.io/angular-ui/ui-router.svg)](https://greenkeeper.io/)
4+
35
**Note: this is the Angular 1.x source for UI-Router version 1.0. If you are looking for the source for UI-Router
46
version 0.2.x, it can be found [here](https://github.com/angular-ui/ui-router/tree/legacy)**
57

package.json

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -81,39 +81,37 @@
8181
"@types/angular": "^1.5.14",
8282
"@types/angular-animate": "^1.5.5",
8383
"@types/angular-mocks": "1.5.11",
84-
"@types/jasmine": "2.6.0",
85-
"@types/jquery": "^1.10.31",
84+
"@types/jasmine": "2.8.2",
85+
"@types/jquery": "^3.2.17",
8686
"@uirouter/publish-scripts": "2.0.8",
87-
"conventional-changelog": "1.1.6",
88-
"conventional-changelog-cli": "1.3.4",
87+
"conventional-changelog": "1.1.7",
88+
"conventional-changelog-cli": "1.3.5",
8989
"dts-downlevel": "^0.3.0",
9090
"fork-ts-checker-webpack-plugin": "^0.2.8",
9191
"jasmine-core": "2.8.0",
92-
"karma": "1.7.1",
92+
"karma": "2.0.0",
9393
"karma-chrome-launcher": "2.2.0",
9494
"karma-jasmine": "^1.0.2",
9595
"karma-phantomjs-launcher": "^1.0.2",
9696
"karma-sourcemap-loader": "^0.3.7",
97-
"karma-webpack": "2.0.5",
97+
"karma-webpack": "2.0.9",
9898
"lodash": "^4.5.1",
99-
"replace-in-file": "2.6.4",
100-
"rollup": "0.50.0",
99+
"replace-in-file": "3.1.0",
100+
"rollup": "0.52.3",
101101
"rollup-plugin-node-resolve": "3.0.0",
102-
"rollup-plugin-progress": "0.4.0",
103102
"rollup-plugin-sourcemaps": "^0.4.1",
104103
"rollup-plugin-uglify": "2.0.1",
105-
"rollup-plugin-visualizer": "0.3.1",
106104
"shelljs": "^0.7.0",
107105
"shx": "0.2.2",
108-
"ts-loader": "3.0.5",
106+
"ts-loader": "3.2.0",
109107
"tslint": "5.8.0",
110-
"typedoc": "^0.8.0",
108+
"typedoc": "^0.9.0",
111109
"typedoc-plugin-external-module-name": "1.0.10",
112110
"typedoc-plugin-internal-external": "1.0.10",
113111
"typedoc-plugin-single-line-tags": "1.0.0",
114112
"typedoc-plugin-ui-router": "^1.0.0",
115-
"typescript": "2.5.3",
113+
"typescript": "2.6.2",
116114
"ui-router-typedoc-themes": "^1.0.1",
117-
"webpack": "3.8.1"
115+
"webpack": "3.10.0"
118116
}
119117
}

rollup.config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import nodeResolve from 'rollup-plugin-node-resolve';
22
import uglify from 'rollup-plugin-uglify';
3-
import progress from 'rollup-plugin-progress';
43
import sourcemaps from 'rollup-plugin-sourcemaps';
5-
import visualizer from 'rollup-plugin-visualizer';
64

75
const MINIFY = process.env.MINIFY;
86
const MONOLITHIC = process.env.MONOLITHIC;
@@ -45,12 +43,10 @@ const onwarn = (warning) => {
4543

4644
const plugins = [
4745
nodeResolve({jsnext: true}),
48-
progress({ clearLine: false }),
4946
sourcemaps(),
5047
];
5148

5249
if (MINIFY) plugins.push(uglify(uglifyOpts));
53-
if (ROUTER && MINIFY) plugins.push(visualizer({ sourcemap: true }));
5450

5551
const extension = MINIFY ? ".min.js" : ".js";
5652

src/directives/viewDirective.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ function $ViewDirectiveFill($compile: angular.ICompileService,
354354
let data: UIViewData = $element.data('$uiView');
355355
if (!data) {
356356
$element.html(initial);
357-
$compile($element.contents())(scope);
357+
$compile($element.contents() as any)(scope);
358358
return;
359359
}
360360

@@ -363,7 +363,7 @@ function $ViewDirectiveFill($compile: angular.ICompileService,
363363
$element.html(cfg.getTemplate($element, resolveCtx) || initial);
364364
trace.traceUIViewFill(data.$uiView, $element.html());
365365

366-
let link = $compile($element.contents());
366+
let link = $compile($element.contents() as any);
367367
let controller = cfg.controller;
368368
let controllerAs: string = getControllerAs(cfg);
369369
let resolveAs: string = getResolveAs(cfg);

0 commit comments

Comments
 (0)