Skip to content

Commit

Permalink
feat: update to typescript 2.6 and angular 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Jan 11, 2018
1 parent 26b70ae commit 3c7c014
Show file tree
Hide file tree
Showing 16 changed files with 148 additions and 148 deletions.
2 changes: 1 addition & 1 deletion clean-scripts.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const vueTemplateCommand = `file2variable-cli --config packages/vue/src/file2var
const angularTemplateCommand = `file2variable-cli packages/angular/src/*.template.html -o packages/angular/src/variables.ts --html-minify --base packages/angular/src`
const ngcSrcCommand = [
`ngc -p packages/core/src`,
`cd ./packages/vue/ && npm run tsc`,
`tsc -p packages/vue/src`,
`tsc -p packages/react/src`,
`ngc -p packages/angular/src`
]
Expand Down
6 changes: 3 additions & 3 deletions file-size.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"angularDemoAotIndexBundleJs": "442 kB 116 kB",
"angularDemoJitIndexBundleJs": "814 kB 208 kB",
"angularDemoAotIndexBundleJs": "443 kB 117 kB",
"angularDemoJitIndexBundleJs": "817 kB 210 kB",
"coreDemoIndexBundleCss": "39 kB 9.19 kB",
"coreDemoTreeIconPng": "636 B 647 B",
"reactDemoIndexBundleJs": "119 kB 36.2 kB",
"vueDemoIndexBundleJs": "113 kB 38.3 kB",
"packagesAngularDemoAotIndexHtml": "855 B 564 B",
"packagesAngularDemoAotIndexHtml": "855 B 570 B",
"packagesAngularDemoJitIndexHtml": "855 B 566 B",
"packagesReactDemoIndexHtml": "867 B 573 B",
"packagesVueDemoIndexHtml": "867 B 575 B"
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
},
"homepage": "https://github.com/plantain-00/tree-component#readme",
"devDependencies": {
"@angular/compiler": "5.1.3",
"@angular/compiler-cli": "5.1.3",
"@angular/core": "5.1.3",
"@commitlint/cli": "5.2.8",
"@angular/compiler": "5.2.0",
"@angular/compiler-cli": "5.2.0",
"@angular/core": "5.2.0",
"@commitlint/cli": "6.0.1",
"@commitlint/config-angular": "5.1.1",
"@types/jasmine": "2.8.3",
"@types/puppeteer": "0.13.9",
Expand All @@ -34,15 +34,15 @@
"clean-scripts": "1.7.0",
"file2variable-cli": "1.8.1",
"github-fork-ribbon-css": "0.2.1",
"http-server": "0.10.0",
"http-server": "0.11.1",
"image2base64-cli": "2.2.0",
"jasmine": "2.8.0",
"karma": "2.0.0",
"karma-chrome-launcher": "2.2.0",
"karma-firefox-launcher": "1.1.0",
"karma-jasmine": "1.1.1",
"karma-webpack": "2.0.9",
"lerna": "^2.5.1",
"lerna": "2.6.0",
"less": "2.7.3",
"markdownlint-cli": "0.6.0",
"no-unused-export": "1.4.5",
Expand All @@ -53,8 +53,8 @@
"standard": "10.0.3",
"stylelint": "8.4.0",
"stylelint-config-standard": "18.0.0",
"tslint": "5.8.0",
"typescript": "2.4.2",
"tslint": "5.9.1",
"typescript": "2.6.2",
"watch-then-execute": "1.1.1",
"webpack": "3.10.0"
},
Expand Down

Large diffs are not rendered by default.

This file was deleted.

2 changes: 1 addition & 1 deletion packages/angular/demo/aot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
</style>
</head><body>
<app></app>
<script src="./index.bundle-c9021c82d44c5e515b05f0be10eee869.js" crossOrigin="anonymous" integrity="sha256-Xwm9nx8PoszXtlDv7iQ8KeB2pQDVtwZpoi2irwNsfHI="></script>
<script src="./index.bundle-81e31217846963ad46181a76f8cd14ef.js" crossOrigin="anonymous" integrity="sha256-HybZcwWFxDXKmWTDJlpkMFJE1UdaxMDrHAPNhuknZQM="></script>
</body></html>

This file was deleted.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/angular/demo/jit/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
</style>
</head><body>
<app></app>
<script src="./index.bundle-b14d66f25077304ddd26ae2ecccdbd84.js" crossOrigin="anonymous" integrity="sha256-UrKgJvMcmhLu/4c4RybljxC1TrFO2FinUYGQhoZtY6o="></script>
<script src="./index.bundle-c45cf9c957ba97bd3fc4a9d22cc658cf.js" crossOrigin="anonymous" integrity="sha256-bSxMNnD470yIFHoVYLJbuzwaM9Z3iVhEmilYP2jRoWw="></script>
</body></html>
6 changes: 3 additions & 3 deletions packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
"tree-component": "^5.1.1"
},
"devDependencies": {
"@angular/platform-browser": "5.1.3",
"@angular/platform-browser-dynamic": "5.1.3",
"@angular/platform-browser": "5.2.0",
"@angular/platform-browser-dynamic": "5.2.0",
"core-js": "2.5.3",
"rxjs": "5.5.6",
"zone.js": "0.8.19"
"zone.js": "0.8.20"
},
"peerDependencies": {
"@angular/common": "5",
Expand Down
30 changes: 15 additions & 15 deletions packages/angular/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,32 @@


"@angular/common@5":
version "5.1.3"
resolved "https://registry.yarnpkg.com/@angular/common/-/common-5.1.3.tgz#db517c00a95f72885eb2091098eaed4f95494a63"
version "5.2.0"
resolved "https://registry.yarnpkg.com/@angular/common/-/common-5.2.0.tgz#d184fb90763da1d1bab1f6c4f41dd80c79e47506"
dependencies:
tslib "^1.7.1"

"@angular/core@5":
version "5.1.3"
resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.1.3.tgz#b739f69834c344285250a384d0c203dd36778a37"
version "5.2.0"
resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.2.0.tgz#f91bf83de3e0defd621adcc007c25d7cd5a85af1"
dependencies:
tslib "^1.7.1"

"@angular/forms@5":
version "5.1.3"
resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-5.1.3.tgz#fe4c0c37c504e78c85f8e50db6e098705fa72f4c"
version "5.2.0"
resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-5.2.0.tgz#b5fb6b9ba97334bca0e3202d7fee6b9162cbc824"
dependencies:
tslib "^1.7.1"

"@angular/platform-browser-dynamic@5.1.3":
version "5.1.3"
resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.1.3.tgz#ad37e4dbd5251e7ea256ad9323fe11c848d04050"
"@angular/platform-browser-dynamic@5.2.0":
version "5.2.0"
resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.2.0.tgz#6d3e074363606b559c3319d2433d1c08ccaefbad"
dependencies:
tslib "^1.7.1"

"@angular/platform-browser@5.1.3":
version "5.1.3"
resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-5.1.3.tgz#5abe7809009eff6bff3bf89faba96fe066fb2036"
"@angular/platform-browser@5.2.0":
version "5.2.0"
resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-5.2.0.tgz#89cbc8abf54171ecf3dd9a40970b4982eecc9f73"
dependencies:
tslib "^1.7.1"

Expand All @@ -50,6 +50,6 @@ tslib@^1.7.1:
version "1.8.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.8.1.tgz#6946af2d1d651a7b1863b531d6e5afa41aa44eac"

zone.js@0.8.19:
version "0.8.19"
resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.8.19.tgz#a4b522cd9e8b7b616a638c297d720d4c7f292f71"
zone.js@0.8.20:
version "0.8.20"
resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.8.20.tgz#a218c48db09464b19ff6fc8f0d4bb5b1046e185d"
4 changes: 2 additions & 2 deletions packages/core/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@


"@types/node@*":
version "8.5.7"
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.5.7.tgz#9c498c35af354dcfbca3790fb2e81129e93cf0e2"
version "9.3.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.3.0.tgz#3a129cda7c4e5df2409702626892cb4b96546dd5"

tslib@1:
version "1.8.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/react/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@


"@types/node@*":
version "8.5.7"
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.5.7.tgz#9c498c35af354dcfbca3790fb2e81129e93cf0e2"
version "9.3.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.3.0.tgz#3a129cda7c4e5df2409702626892cb4b96546dd5"

"@types/react-dom@16.0.3":
version "16.0.3"
Expand Down
6 changes: 0 additions & 6 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
"type": "git",
"url": "git+https://github.com/plantain-00/tree-component.git"
},
"scripts": {
"tsc": "tsc -p src"
},
"author": "York Yao",
"license": "MIT",
"bugs": {
Expand All @@ -25,9 +22,6 @@
"vue": "2",
"vue-class-component": "6"
},
"devDependencies": {
"typescript": "2.6.2"
},
"peerDependencies": {
"tree-component": "^5.1.1",
"vue": "2",
Expand Down
4 changes: 0 additions & 4 deletions packages/vue/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
# yarn lockfile v1


typescript@2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.6.2.tgz#3c5b6fd7f6de0914269027f03c0946758f7673a4"

vue-class-component@6:
version "6.1.2"
resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-6.1.2.tgz#87ac0265b0db71a3f49f10d90e4f69f9be9c2fbd"
Expand Down

0 comments on commit 3c7c014

Please sign in to comment.