🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

angular-cli-ghpages

Package Overview
Dependencies
Maintainers
4
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-cli-ghpages - npm Package Compare versions

Comparing version

to
0.3.3

16

deploy.js

@@ -5,3 +5,4 @@ 'use strict';

fs = require('fs'),
ghpages = require('gh-pages'),
// If we require the gh-pages package on top, then the `ng build` is completely screwed, see below!
// ghpages = require('gh-pages')
denodeify = require('denodeify');

@@ -58,2 +59,15 @@

/*
If we require the gh-pages package on top, then the `ng build` is completely screwed:
> can't resolve module @angular/core/src/di/opaque_token from [project-dir]\src\index.ts
> symbol.getDeclarations is not a function
> TypeError: symbol.getDeclarations is not a function
I have no clue why this happens but this late require works around the problem.
This issue started to occur with angular-cli@1.0.0-beta.22-1.
*/
var ghpages = require('gh-pages');
var ui = this.ui;

@@ -60,0 +74,0 @@ var root = this.project.root;

2

package.json
{
"name": "angular-cli-ghpages",
"version": "0.3.2",
"version": "0.3.3",
"description": "Angular CLI addon. Publish to any gh-pages branch on GitHub (or any other branch on any other remote).",

@@ -5,0 +5,0 @@ "repository": {

@@ -21,3 +21,3 @@ # angular-cli-ghpages

angular-cli-ghpages was sucessfully tested against __`angular-cli: 1.0.0-beta.21`__.
angular-cli-ghpages was sucessfully tested against __`angular-cli@1.0.0-beta.22-1`__.

@@ -24,0 +24,0 @@