This repository was archived by the owner on Jul 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +553
-1541
lines changed Expand file tree Collapse file tree 5 files changed +553
-1541
lines changed Original file line number Diff line number Diff line change
1
+ ## 11.0.0
2
+
3
+ * upgrade to typescript 2.9.2
4
+ * gulp is now a peer dependancy rather
5
+ * remove use of gulp-util as it is deprecated
6
+
1
7
## 10.0.0
2
8
3
9
* upgrade to typescript 2.8.3 and webpack 4
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ Wraps together:
4
4
5
5
* webpack
6
6
* typescript
7
- * babel
8
7
* gulp
9
8
* tslint
10
9
@@ -13,7 +12,7 @@ leaving you a nice simple bundle to use in your browser
13
12
14
13
## setting up
15
14
16
- * install node > v4 + npm (note: node v6 is preferred)
15
+ * install node > v4 + npm (note: node v8 is preferred)
17
16
* npm init your project in a folder ` npm init `
18
17
* install global gulp ` npm install -g gulp `
19
18
* add gulp package ` npm install gulp --save-dev `
@@ -86,7 +85,6 @@ You now have the following commands:
86
85
87
86
* linting (tslint)
88
87
* typescript (ts -> es6)
89
- * babel (es6 -> es5)
90
88
* webpack (bundling)
91
89
92
90
and then dump out the bundles.
Original file line number Diff line number Diff line change 1
- 'use strict' ;
2
-
3
- const gutil = require ( 'gulp-util' ) ;
1
+ const log = require ( 'fancy-log' ) ;
4
2
const webpack = require ( 'webpack' ) ;
5
3
const config = require ( './webpack.config' ) ;
6
4
const releaseConfig = require ( './webpack.config.release' ) ;
7
5
8
6
const handleWebpackOutput = ( err , stats ) => {
9
7
if ( err ) throw new gutil . PluginError ( 'tsPipeline' , err ) ;
10
- gutil . log ( '[tsPipeline]' , stats . toString ( {
8
+ log ( '[tsPipeline]' , stats . toString ( {
11
9
colors : true ,
12
10
chunks : false
13
11
} ) ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " gulp-webpack-typescript-pipeline" ,
3
- "version" : " 10 .0.3 " ,
3
+ "version" : " 11 .0.0 " ,
4
4
"description" : " easy transpiling and bundling of typescript back to es5" ,
5
5
"main" : " index.js" ,
6
- "engines" : {
7
- "node" : " >=6.3.0"
8
- },
9
6
"repository" : {
10
7
"type" : " git" ,
11
8
"url" : " git+https://github.com/stevejhiggs/gulp-webpack-typescript-pipeline"
16
13
"author" : " steve higgs" ,
17
14
"license" : " MIT" ,
18
15
"dependencies" : {
19
- "gulp" : " ^3.9.1" ,
20
- "gulp-util" : " ^3.0.8" ,
21
- "ts-loader" : " ^4.2.0" ,
22
- "tslint" : " ^5.9.1" ,
16
+ "ts-loader" : " ^4.4.1" ,
23
17
"tslint-loader" : " ^3.6.0" ,
24
- "typescript" : " ^2.8.3 " ,
25
- "webpack" : " ^4.6 .0" ,
18
+ "typescript" : " ^2.9.2 " ,
19
+ "webpack" : " ^4.12 .0" ,
26
20
"webpack-node-externals" : " ^1.7.2"
21
+ },
22
+ "peerDependencies" : {
23
+ "gulp" : " ^3.9.1"
27
24
}
28
25
}
You can’t perform that action at this time.
0 commit comments