Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Sep 8, 2017
1 parent 3cd7740 commit d6ead7d
Show file tree
Hide file tree
Showing 11 changed files with 4,709 additions and 7,860 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- git checkout package-lock.json
- npm run build
- npm run lint
- npm run test
Expand Down
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ environment:

install:
- ps: Install-Product node $env:nodejs_version
- npm install
- git checkout package-lock.json
- yarn install --pure-lockfile

test_script:
- node --version
Expand Down
23 changes: 10 additions & 13 deletions clean-scripts.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const childProcess = require('child_process')
const util = require('util')

const execAsync = util.promisify(childProcess.exec)

module.exports = {
build: [
Expand Down Expand Up @@ -57,19 +60,13 @@ module.exports = {
'git checkout demo/vue/screenshot.png',
'git checkout demo/react/screenshot.png',
'git checkout demo/angular/screenshot.png',
() => new Promise((resolve, reject) => {
childProcess.exec('git status -s', (error, stdout, stderr) => {
if (error) {
reject(error)
} else {
if (stdout) {
reject(new Error(`generated files doesn't match.`))
} else {
resolve()
}
}
}).stdout.pipe(process.stdout)
})
async () => {
const { stdout } = await execAsync('git status -s')
if (stdout) {
console.log(stdout)
throw new Error(`generated files doesn't match.`)
}
}
],
fix: {
ts: `tslint --fix "src/*.ts" "src/*.tsx" "demo/**/*.ts" "demo/**/*.tsx"`,
Expand Down

Large diffs are not rendered by default.

This file was deleted.

2 changes: 1 addition & 1 deletion demo/angular/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
</style>
</head><body>
<app></app>
<script src="./index.bundle-652ee615c546da4696f8e19f88a34cce.js" crossOrigin="anonymous" integrity="sha256-aGV7Ip1AuxncEPZg1W23ClmhMPtqTCm2rwh8PmlSUqI="></script>
<script src="./index.bundle-4b90de7fdf3a7d88a4623ff863a29856.js" crossOrigin="anonymous" integrity="sha256-6+4plv/qLe343jAU+IboDdCF5aibitUW5J3DFEW3GKI="></script>
</body></html>
4 changes: 2 additions & 2 deletions demo/angular/screenshot-src.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
</style>

<app ng-version="4.3.6">
<app ng-version="4.4.0-RC.0">
<div>
<a href="https://github.com/plantain-00/tree-component/tree/master/demo/angular/index.ts" target="_blank">the source code of the demo</a>
<br> default:
Expand Down Expand Up @@ -813,7 +813,7 @@
</tree>
</div>
</app>
<script src="./index.bundle-652ee615c546da4696f8e19f88a34cce.js" crossorigin="anonymous" integrity="sha256-aGV7Ip1AuxncEPZg1W23ClmhMPtqTCm2rwh8PmlSUqI="></script>
<script src="./index.bundle-4b90de7fdf3a7d88a4623ff863a29856.js" crossorigin="anonymous" integrity="sha256-6+4plv/qLe343jAU+IboDdCF5aibitUW5J3DFEW3GKI="></script>
</body>

</html>
4 changes: 2 additions & 2 deletions demo/file-size.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"angularIndexBundleJs": "771 kB 193 kB",
"angularIndexBundleJs": "773 kB 194 kB",
"indexBundleCss": "38.7 kB 9.15 kB",
"reactIndexBundleJs": "164 kB 48.6 kB",
"treeIconPng": "636 B 647 B",
"vueIndexBundleJs": "100 kB 34.3 kB",
"demoAngularIndexHtml": "798 B 546 B",
"demoAngularIndexHtml": "798 B 545 B",
"demoReactIndexHtml": "813 B 549 B",
"demoVueIndexHtml": "813 B 555 B"
}
Loading

0 comments on commit d6ead7d

Please sign in to comment.