Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular2-meteor-auto-bootstrap

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-meteor-auto-bootstrap - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6-beta.1

dist/bootstrap.d.ts

22

gulpfile.js
var gulp = require("gulp");
var clean = require("gulp-clean");
var runSequence = require("run-sequence");
var gulpTypings = require("gulp-typings");
var exec = require('child_process').exec;
var git = require("gulp-git");
var fs = require("fs");
// Install typings.
gulp.task("typings",function(){
return gulp.src("./typings.json")
.pipe(gulpTypings());
});
// Build TypeScript.
gulp.task("tsbuild", function(callback) {
gulp.task("tsc", function(callback) {
exec("tsc", function (err, stdout, stderr) {

@@ -23,10 +12,1 @@ console.log(stdout);

});
gulp.task("git-add", function(){
return gulp.src("build/*")
.pipe(git.add());
});
gulp.task("build", function(callback) {
runSequence("typings", "tsbuild", "git-add", callback);
});
import {Type, Provider, Component, ComponentRef} from '@angular/core';
import {BROWSER_PROVIDERS} from '@angular/platform-browser/src/browser_common';
import {BROWSER_APP_DYNAMIC_PROVIDERS} from '@angular/platform-browser-dynamic';
import {BROWSER_APP_PROVIDERS, BROWSER_PLATFORM_PROVIDERS} from '@angular/platform-browser';
import {BROWSER_APP_COMPILER_PROVIDERS} from '@angular/platform-browser-dynamic';
import {MeteorApp as App, METEOR_PROVIDERS} from 'angular2-meteor';

@@ -9,7 +9,7 @@

providers: Array<Type | Provider | any[]> = null): Promise<ComponentRef<any>> {
return App.bootstrap(component, BROWSER_PROVIDERS,
[BROWSER_APP_DYNAMIC_PROVIDERS, METEOR_PROVIDERS], providers);
return App.bootstrap(component, BROWSER_PLATFORM_PROVIDERS,
[BROWSER_APP_PROVIDERS, BROWSER_APP_COMPILER_PROVIDERS, METEOR_PROVIDERS], providers);
}
export function MeteorApp(args: any={}) {
export function MeteorApp(args: any = {}) {
return function(cls) {

@@ -24,3 +24,3 @@

export function defineMetadata(cls: Type, args: any = {}) {
let annotations = Reflect.getMetadata('annotations', cls) || [];
const annotations = Reflect.getMetadata('annotations', cls) || [];

@@ -27,0 +27,0 @@ annotations.push(new Component(args));

{
"name": "angular2-meteor-auto-bootstrap",
"version": "0.5.5",
"version": "0.5.6-beta.1",
"author": "Dotan Simha <dotansimha@gmail.com> (http://github.com/dotansimha/)",
"license": "MIT",
"main": "build/index.js",
"typings": "build/index.d.ts",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "gulp build"
"clear": "rimraf dist",
"typings": "typings i",
"prebuild": "npm run clear && npm run typings",
"build": "npm run build-only",
"build-only": "gulp tsc",
"prepublish": "npm run build"
},
"peerDependencies": {
"@angular/common": "^2.0.0-rc.3",
"angular2-meteor": "^0.5.6-beta.1"
},
"dependencies": {
"@angular/common": "2.0.0-rc.1",
"@angular/compiler": "2.0.0-rc.1",
"@angular/platform-browser": "2.0.0-rc.1",
"@angular/platform-browser-dynamic": "2.0.0-rc.1"
"@angular/platform-browser": "^2.0.0-rc.3",
"@angular/platform-browser-dynamic": "^2.0.0-rc.3",
"@angular/compiler": "^2.0.0-rc.3"
},
"devDependencies": {
"gulp": "^3.9.1",
"gulp-clean": "^0.3.2",
"gulp-git": "^1.7.0",
"gulp-typings": "^1.3.0",
"run-sequence": "^1.1.5",
"typings": "^0.7.7",
"typescript": "^1.7.5"
"@angular/core": "^2.0.0-rc.3",
"@angular/compiler": "^2.0.0-rc.3",
"@angular/common": "^2.0.0-rc.3",
"@angular/platform-browser": "^2.0.0-rc.3",
"@angular/platform-browser-dynamic": "^2.0.0-rc.3",
"es6-shim": "^0.35.0",
"zone.js": "^0.6.12",
"reflect-metadata": "0.1.2",
"angular2-meteor": "^0.5.6-beta.1",
"rimraf": "^2.5.2",
"rxjs": "5.0.0-beta.6",
"tsc": "^1.20150623.0",
"typescript": "^1.8.0",
"typings": "^1.3.0",
"gulp": "^3.9.1"
}
}

@@ -26,3 +26,3 @@ # angular2-meteor-auto-bootstrap

````
npm install angular2
npm install @angular/core
npm install angular2-meteor

@@ -32,5 +32,5 @@ npm install angular2-meteor-auto-bootstrap

And then import the `bootstrap` from THIS package (not from the angular2 package):
And then import the `bootstrap` from THIS package:
````js
import {bootstrap} from 'angular2-meteor-auto-bootstrap/bootstrap';
import {bootstrap} from 'angular2-meteor-auto-bootstrap';
````

@@ -52,2 +52,2 @@

For more examples and working code, please refer to the `/examples/` folder in this repo.
For more examples and working code, please refer to the `/examples/` folder in this repo.
{
"compilerOptions": {
"experimentalDecorators": true,
"module": "commonjs",
"target": "es5",
"moduleResolution": "node",
"noImplicitAny": false,
"suppressImplicitAnyIndexErrors": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"sourceMap": false,
"declaration": true,
"outDir": "./build",
"outDir": "./dist",
"rootDir": "./modules"
},
"filesGlob": [
"modules/**/*.ts"
],
"files": [
"modules/bootstrap.ts",
"modules/index.ts",
"typings/main.d.ts"
"typings/index.d.ts"
],
"exclude": [
"examples",
"node_modules",
"atmosphere-packages"
"dist",
"node_modules"
]
}
}
{
"ambientDependencies": {
"es6-shim": "registry:dt/es6-shim#0.31.2+20160317120654",
"meteor": "registry:dt/meteor#1.2.0+20160317120654",
"globalDependencies": {
"es6-shim": "registry:dt/es6-shim#0.31.2+20160602141504",
"meteor": "registry:env/meteor#1.3.0+20160531044850",
"reflect-metadata": "github:rbuckton/ReflectDecorators/reflect-metadata.d.ts"
}
}

Sorry, the diff of this file is not supported yet

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