chore(npm): publish package as 'ionic-angular'

BREAKING CHANGE: imports from the framework were:
```
  import {Platform} from 'ionic-framework/ionic';
```
and are now:
```
  import {Platform} from 'ionic-angular';
```
This commit is contained in:
Tim Lancina
2016-02-22 12:59:31 -06:00
parent 69a3517756
commit 1cfca53f9d
7 changed files with 6 additions and 7 deletions

View File

@ -59,7 +59,7 @@ var babelOptions = {
modules: 'system', modules: 'system',
moduleIds: true, moduleIds: true,
getModuleId: function(name) { getModuleId: function(name) {
return 'ionic/' + name; return 'ionic-angular/' + name;
} }
} }

View File

@ -1,4 +1,4 @@
System.register('ionic/components/slides/swiper-widget',[],function(_export){ /** System.register('ionic-angular/components/slides/swiper-widget',[],function(_export){ /**
* Swiper 3.1.2 * Swiper 3.1.2
* Most modern mobile touch slider and framework with hardware accelerated transitions * Most modern mobile touch slider and framework with hardware accelerated transitions
* *

View File

@ -2,7 +2,7 @@ var webpack = require('webpack');
module.exports = { module.exports = {
entry: [ entry: [
"./dist/ionic.js" "./dist/index.js"
], ],
output: { output: {
path: 'dist/bundles', path: 'dist/bundles',

View File

@ -1,6 +1,6 @@
module.exports = { module.exports = {
entry: [ entry: [
"./dist/ionic.js" "./dist/index.js"
], ],
output: { output: {
path: 'dist/bundles', path: 'dist/bundles',

View File

@ -1,5 +1,5 @@
{ {
"name": "ionic-framework", "name": "ionic-angular",
"version": "<%= ionicVersion %>", "version": "<%= ionicVersion %>",
"license": "MIT", "license": "MIT",
"keywords": ["ionic", "framework", "mobile", "app", "hybrid", "webapp", "cordova"], "keywords": ["ionic", "framework", "mobile", "app", "hybrid", "webapp", "cordova"],
@ -7,7 +7,6 @@
"type": "git", "type": "git",
"url": "https://github.com/driftyco/ionic.git#2.0`" "url": "https://github.com/driftyco/ionic.git#2.0`"
}, },
"main": "tooling/index.js",
"dependencies": { "dependencies": {
"colors": "^1.1.2", "colors": "^1.1.2",
"inquirer": "0.11.0", "inquirer": "0.11.0",

View File

@ -8,7 +8,7 @@
"outDir": "dist" "outDir": "dist"
}, },
"files": [ "files": [
"ionic/ionic.ts", "ionic/index.ts",
"typings/main.d.ts" "typings/main.d.ts"
], ],
"compileOnSave" : false, "compileOnSave" : false,