mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
chore(build): update angular to 2.0
This commit is contained in:
parent
658bd4be96
commit
85a957c8b4
3 changed files with 29 additions and 14 deletions
2
_VERSION
2
_VERSION
|
|
@ -1 +1 @@
|
||||||
_VERSION=0.6.0
|
_VERSION=0.7.0
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||||
const ForkCheckerPlugin = require('awesome-typescript-loader').ForkCheckerPlugin;
|
const ForkCheckerPlugin = require('awesome-typescript-loader').ForkCheckerPlugin;
|
||||||
const HtmlElementsPlugin = require('./html-elements-plugin');
|
const HtmlElementsPlugin = require('./html-elements-plugin');
|
||||||
const AssetsPlugin = require('assets-webpack-plugin');
|
const AssetsPlugin = require('assets-webpack-plugin');
|
||||||
|
const ContextReplacementPlugin = require('webpack/lib/ContextReplacementPlugin');
|
||||||
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
@ -250,6 +251,20 @@ module.exports = function (options) {
|
||||||
name: ['polyfills', 'vendor'].reverse()
|
name: ['polyfills', 'vendor'].reverse()
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Plugin: ContextReplacementPlugin
|
||||||
|
* Description: Provides context to Angular's use of System.import
|
||||||
|
*
|
||||||
|
* See: https://webpack.github.io/docs/list-of-plugins.html#contextreplacementplugin
|
||||||
|
* See: https://github.com/angular/angular/issues/11580
|
||||||
|
*/
|
||||||
|
new ContextReplacementPlugin(
|
||||||
|
// The (\\|\/) piece accounts for path separators in *nix and Windows
|
||||||
|
/angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/,
|
||||||
|
helpers.root('src') // location of your src
|
||||||
|
),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Plugin: CopyWebpackPlugin
|
* Plugin: CopyWebpackPlugin
|
||||||
* Description: Copy files and directories in webpack.
|
* Description: Copy files and directories in webpack.
|
||||||
|
|
|
||||||
26
package.json
26
package.json
|
|
@ -1,21 +1,21 @@
|
||||||
{
|
{
|
||||||
"name": "ng2-admin",
|
"name": "ng2-admin",
|
||||||
"version": "0.6.0",
|
"version": "0.7.0",
|
||||||
"description": "Angular 2 and Bootstrap 4 Admin Template.",
|
"description": "Angular 2 and Bootstrap 4 Admin Template.",
|
||||||
"author": "akveo",
|
"author": "akveo",
|
||||||
"homepage": "http://akveo.github.io/ng2-admin/",
|
"homepage": "http://akveo.github.io/ng2-admin/",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
||||||
"@angular/common": "2.0.0-rc.6",
|
"@angular/common": "2.0.0",
|
||||||
"@angular/compiler": "2.0.0-rc.6",
|
"@angular/compiler": "2.0.0",
|
||||||
"@angular/core": "2.0.0-rc.6",
|
"@angular/core": "2.0.0",
|
||||||
"@angular/forms": "^2.0.0-rc.6",
|
"@angular/forms": "^2.0.0",
|
||||||
"@angular/http": "2.0.0-rc.6",
|
"@angular/http": "2.0.0",
|
||||||
"@angular/platform-browser": "2.0.0-rc.6",
|
"@angular/platform-browser": "2.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.0.0-rc.6",
|
"@angular/platform-browser-dynamic": "2.0.0",
|
||||||
"@angular/platform-server": "2.0.0-rc.6",
|
"@angular/platform-server": "2.0.0",
|
||||||
"@angular/router": "3.0.0-rc.2",
|
"@angular/router": "3.0.0",
|
||||||
|
|
||||||
"@angularclass/request-idle-callback": "^1.0.7",
|
"@angularclass/request-idle-callback": "^1.0.7",
|
||||||
"@angularclass/webpack-toolkit": "^1.3.3",
|
"@angularclass/webpack-toolkit": "^1.3.3",
|
||||||
|
|
@ -26,8 +26,8 @@
|
||||||
|
|
||||||
"http-server": "^0.9.0",
|
"http-server": "^0.9.0",
|
||||||
"ie-shim": "^0.1.0",
|
"ie-shim": "^0.1.0",
|
||||||
"rxjs": "5.0.0-beta.11",
|
"rxjs": "5.0.0-beta.12",
|
||||||
"zone.js": "~0.6.17",
|
"zone.js": "~0.6.23",
|
||||||
|
|
||||||
"amcharts3": "github:amcharts/amcharts3",
|
"amcharts3": "github:amcharts/amcharts3",
|
||||||
"ammap3": "github:amcharts/ammap3",
|
"ammap3": "github:amcharts/ammap3",
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
"ng2-bootstrap": "1.1.5",
|
"ng2-bootstrap": "1.1.5",
|
||||||
"ng2-tree": "^0.0.2-7",
|
"ng2-tree": "^0.0.2-7",
|
||||||
"ng2-ckeditor": "1.0.7",
|
"ng2-ckeditor": "1.0.7",
|
||||||
"ng2-smart-table": "^0.2.4",
|
"ng2-smart-table": "^0.3.1",
|
||||||
"ng2-uploader": "1.1.0",
|
"ng2-uploader": "1.1.0",
|
||||||
"normalize.css": "^4.1.1",
|
"normalize.css": "^4.1.1",
|
||||||
"tether": "^1.2.4"
|
"tether": "^1.2.4"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue