Socket
Socket
Sign inDemoInstall

@ionic/angular

Package Overview
Dependencies
Maintainers
13
Versions
3083
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic/angular - npm Package Compare versions

Comparing version 0.0.2-0 to 0.0.2-1

2

demo/.angular-cli.json

@@ -13,3 +13,3 @@ {

"favicon.ico",
{ "glob": "**/*", "input": "../../../core/dist", "output": "./ionic/core" }
{ "glob": "**/*", "input": "../node_modules/@ionic/core/dist", "output": "./ionic/core" }
],

@@ -16,0 +16,0 @@ "index": "index.html",

@@ -24,2 +24,3 @@ {

"@angular/router": "^5.0.0",
"@ionic/angular": "next",
"core-js": "^2.4.1",

@@ -26,0 +27,0 @@ "rxjs": "^5.5.2",

@@ -7,3 +7,3 @@ # Demo

**Note:** This application uses the locally built Ionic Core. It does not grab the latest uploaded version or anything. That allows the developer to use this application as they make changes in core. That also means that you **must** build core before building this application. So if you haven't done that yet, go do that first.
**Note:** This application now uses the last published `@ionic/core` package. To test against changes that you have made locally to core use `npm link` (see below).

@@ -25,1 +25,9 @@ To use _this_ application perform the following commands from this directory:

- `npm run ng g component my-cool-thing`
## Testing Local Changes
In order to test local core changes, use `npm link` as such:
1. In `packages/core`, run `npm run build`
2. In `packages/core`, run `npm link`
3. In `packages/angular/demo`, run `npm link @ionic/core`

@@ -8,3 +8,14 @@ import { Component } from '@angular/core';

template: `
<button (click)="clickMe()">Click Me</button>
<ion-app>
<ion-page class="show-page">
<ion-header>
<ion-toolbar>
<ion-title>Test</ion-title>
</ion-toolbar>
</ion-header>
<ion-content padding>
<ion-button (click)="clickMe()">Blah</ion-button>
</ion-content>
</ion-page>
</ion-app>
`

@@ -20,3 +31,5 @@ })

const alert = this.alertController.create({
message: 'Gretting from an ng cli app'
title: 'ohhhh snap',
message: 'Gretting from an ng cli app',
});

@@ -23,0 +36,0 @@ alert.present();

@@ -1,2 +0,2 @@

import { NgModule } from '@angular/core';
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { CommonModule } from '@angular/common';

@@ -12,4 +12,5 @@

],
declarations: [AlertPageComponent]
declarations: [AlertPageComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class AlertModule { }

@@ -9,3 +9,3 @@ import { NgModule } from '@angular/core';

{ path: 'home', loadChildren: 'app/home-page/home-page.module#HomePageModule' },
// { path: 'alert', loadChildren: 'app/alert/alert.module#AlertModule' }
{ path: 'alert', loadChildren: 'app/alert/alert.module#AlertModule' }
];

@@ -12,0 +12,0 @@

@@ -7,3 +7,3 @@ import { BrowserModule } from '@angular/platform-browser';

// import { IonicAngularModule } from '../../../src/module';
import { IonicAngularModule } from '../../../src/module';

@@ -15,3 +15,3 @@ @NgModule({

BrowserModule,
// IonicAngularModule
IonicAngularModule
],

@@ -18,0 +18,0 @@ providers: [],

{
"name": "@ionic/angular",
"version": "0.0.2-0",
"version": "0.0.2-1",
"description": "Angular specific wrappers for @ionic/core",

@@ -26,3 +26,4 @@ "keywords": [

"compile": "ngc -p .",
"deploy": "np --any-branch"
"deploy": "np --any-branch",
"tsc": "tsc -p ."
},

@@ -32,3 +33,3 @@ "main": "./dist/src/index.js",

"types": "./dist/src/index.d.ts",
"dependencies": {
"devDependencies": {
"@angular/common": "5.0.1",

@@ -42,11 +43,10 @@ "@angular/compiler": "5.0.1",

"@angular/platform-browser-dynamic": "5.0.1",
"@ionic/core": "latest",
"@ionic/core": "next",
"@stencil/core": "0.0.7",
"glob": "7.1.2",
"ionicons": "~3.0.0",
"rxjs": "5.5.2",
"typescript": "~2.4.2",
"zone.js": "0.8.18"
},
"devDependencies": {
"typescript": "~2.4.2",
"glob": "7.1.2"
}
}

@@ -12,2 +12,3 @@

1. Run `npm run deploy`
1. Run `npm run deploy`
2. Commit and push any outstanding changes

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc