Skip to content

Commit

Permalink
chore(release): 3.0.3
Browse files Browse the repository at this point in the history
jkuri committed Apr 30, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 695f9ed commit 296da93
Showing 7 changed files with 77 additions and 1,044 deletions.
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
dist
dist/
bundles/
.DS_Store
node_modules
typings
node_modules/
lib/
*.ngsummary.json
*.ngfactory.ts
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist/
node_modules/
.DS_Store
613 changes: 2 additions & 611 deletions bundles/ngx-uploader.umd.js

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "ngx-uploader",
"version": "3.0.2",
"version": "3.0.3",
"main": "bundles/ngx-uploader.umd.js",
"module": "index.ts",
"module": "index.js",
"esnext": "index.js",
"scripts": {
"start": "webpack-dev-server --env.client --env.serve --progress",
"start:aot": "webpack-dev-server --env.client --env.serve --env.aot --progress",
@@ -19,7 +20,7 @@
"dev": "webpack --env.client --progress --hide-modules --watch & webpack --env.server --progress --hide-modules --watch",
"dev:aot": "webpack --env.client --env.aot --progress --hide-modules --watch & webpack --env.server --env.aot --progress --hide-modules --watch",
"watch": "nodemon ./dist/server.js",
"prepublish": "webpack --config webpack.dist.js"
"prepublish": "ngc && webpack --config webpack.dist.js -p"
},
"repository": {
"type": "git",
@@ -52,8 +53,6 @@
"@types/multer": "^0.0.33",
"@types/node": "^7.0.14",
"add-asset-html-webpack-plugin": "^2.0.1",
"angular2-template-loader": "^0.6.2",
"awesome-typescript-loader": "^3.1.2",
"codelyzer": "^3.0.1",
"compression-webpack-plugin": "^0.4.0",
"copy-webpack-plugin": "^4.0.1",
10 changes: 3 additions & 7 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -16,14 +16,10 @@
"node_modules/@types"
]
},
"include": [
"src/**/*.ts"
],
"exclude": [
"src/main.ts"
"files": [
"ngx-uploader.ts"
],
"angularCompilerOptions": {
"genDir": "./src/ngfactory",
"entryModule": "src/app/app.module#AppModule"
"skipMetadataEmit": true
}
}
18 changes: 6 additions & 12 deletions webpack.dist.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
const path = require('path');
const root = path.resolve(__dirname);
const webpack = require('webpack');
const ProvidePlugin = require('webpack/lib/ProvidePlugin');
const DefinePlugin = require('webpack/lib/DefinePlugin');
const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin');

module.exports = {
resolve: { extensions: ['.ts', '.js'] },
entry: path.join(root, 'ngx-uploader.ts'),
resolve: { extensions: ['.js'] },
entry: path.join(root, 'lib/index.js'),
devtool: 'source-map',
output: {
path: path.join(root, 'bundles'),
publicPath: '/',
filename: 'ngx-uploader.umd.js',
libraryTarget: 'umd',
library: 'ngx-uploader'
library: 'ngx-uploader',
umdNamedDefine: true
},
externals: [/^\@angular\//, /^rxjs\//],
module: {
rules: [
{ test: /\.ts$/, use: [ { loader: 'awesome-typescript-loader', options: { configFileName: 'src/tsconfig.browser.json' } }, { loader: 'angular2-template-loader' } ], exclude: [/\.aot\.ts$/] }
]
}
externals: [/^\@angular\//, /^rxjs\//]
};
459 changes: 53 additions & 406 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 296da93

Please sign in to comment.