File tree Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 1
1
# common
2
2
node_modules
3
+ downstream_projects
3
4
.DS_Store
4
5
* ~
5
6
.tscache
Original file line number Diff line number Diff line change 8
8
scripts
9
9
10
10
node_modules
11
+ downstream_projects
11
12
12
13
tslint.json
13
14
tsconfig.json
Original file line number Diff line number Diff line change 1
1
language : node_js
2
- node_js :
3
- - ' 8.9.1'
2
+ node_js : ' 8.9.1'
4
3
5
- before_script :
6
- - export DISPLAY=:99.0
7
- - sh -e /etc/init.d/xvfb start
8
- - " ./nodeserver.sh > /dev/null &"
9
- - greenkeeper-lockfile-update
4
+ cache :
5
+ directories :
6
+ - node_modules
7
+ - downstream_projects
10
8
11
- before_install :
12
- - curl -o- -L https://yarnpkg.com/install.sh | bash
13
- - export PATH="$HOME/.yarn/bin:$PATH"
14
- - yarn global add greenkeeper-lockfile@1
9
+ before_install : npm i -g yarn yalc greenkeeper-lockfile@1
10
+ install : yarn --check-files
15
11
12
+ before_script : greenkeeper-lockfile-update
16
13
script :
17
14
- echo "CORE_BRANCH = x${CORE_BRANCH}x";
18
15
- >
@@ -22,16 +19,13 @@ script:
22
19
pushd ui-router-core && \
23
20
yarn && \
24
21
yarn build && \
25
- CORE_PACK_FILENAME=`npm pack` && \
22
+ yalc publish \
26
23
popd && \
27
- yarn add ./ui-router- core/${CORE_PACK_FILENAME} ;
24
+ yalc add @uirouter/ core ;
28
25
fi
29
26
- npm run travis
30
-
31
27
after_script : greenkeeper-lockfile-upload
32
28
33
- sudo : false
34
-
35
29
git :
36
30
depth : 10
37
31
Original file line number Diff line number Diff line change
1
+ {
2
+ "sample-app-angular" : " https://github.com/ui-router/sample-app-angular.git"
3
+ }
Original file line number Diff line number Diff line change 11
11
"build" : " run-s compile bundle fixmaps:*" ,
12
12
"release" : " release --deps @uirouter/core" ,
13
13
"travis" : " npm run build && npm run noimplicitany && npm run test" ,
14
- "test" : " karma start" ,
14
+ "test" : " karma start && npm run test:downstream" ,
15
+ "test:downstream" : " npm run build && test_downstream_projects" ,
15
16
"noimplicitany" : " tsc --noEmit --noImplicitAny --skipLibCheck --moduleResolution node --target es6 test/noimplicitany.ts" ,
16
17
"debug" : " karma start --singleRun=false --autoWatch=true --autoWatchInterval=1 --browsers=Chrome" ,
17
18
"package" : " npm run build" ,
You can’t perform that action at this time.
0 commit comments