@ionic/cli-plugin-ionic-angular
Advanced tools
Comparing version
@@ -6,8 +6,13 @@ # Change Log | ||
<a name="1.4.0-alpha.c502e94c"></a> | ||
# [1.4.0-alpha.c502e94c](https://github.com/ionic-team/ionic-cli/compare/@ionic/cli-plugin-ionic-angular@1.3.2...@ionic/cli-plugin-ionic-angular@1.4.0-alpha.c502e94c) (2017-07-12) | ||
<a name="1.4.0-pro.531f60a1"></a> | ||
# [1.4.0-pro.531f60a1](https://github.com/ionic-team/ionic-cli/compare/@ionic/cli-plugin-ionic-angular@1.3.2...@ionic/cli-plugin-ionic-angular@1.4.0-pro.531f60a1) (2017-07-14) | ||
### Features | ||
* ionic pro ([531f60a](https://github.com/ionic-team/ionic-cli/commit/531f60a)) | ||
<a name="1.3.2"></a> | ||
@@ -14,0 +19,0 @@ ## [1.3.2](https://github.com/ionic-team/ionic-cli/compare/@ionic/cli-plugin-ionic-angular@1.3.1...@ionic/cli-plugin-ionic-angular@1.3.2) (2017-07-11) |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
}); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const chalk = require("chalk"); | ||
@@ -15,3 +8,3 @@ const cli_utils_1 = require("@ionic/cli-utils"); | ||
function build(args) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const appScriptsArgs = cli_utils_1.minimistOptionsToArray(args.options, { useEquals: false, ignoreFalse: true, allowCamelCase: true }); | ||
@@ -18,0 +11,0 @@ process.argv = ['node', 'appscripts'].concat(appScriptsArgs); |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
}); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const chalk = require("chalk"); | ||
@@ -17,3 +10,3 @@ const path = require("path"); | ||
function generate(args) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
if (!args.env.project.directory) { | ||
@@ -67,5 +60,5 @@ return []; | ||
function promptQuestions(context) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
return yield generate_1.prompt(context); | ||
}); | ||
} |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
}); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const chalk = require("chalk"); | ||
@@ -18,6 +11,6 @@ const path = require("path"); | ||
exports.name = '@ionic/cli-plugin-ionic-angular'; | ||
exports.version = '1.4.0-alpha.c502e94c'; | ||
exports.version = '1.4.0-pro.531f60a1'; | ||
exports.preferGlobal = false; | ||
function getIonicAngularVersion(env) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const ionicAngularPackageJsonFilePath = path.resolve(env.project.directory, 'node_modules', 'ionic-angular', 'package.json'); | ||
@@ -34,3 +27,3 @@ try { | ||
function getAppScriptsVersion(env) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const appScriptsPackageJsonFilePath = path.resolve(env.project.directory, 'node_modules', '@ionic', 'app-scripts', 'package.json'); | ||
@@ -47,3 +40,3 @@ try { | ||
function registerHooks(hooks) { | ||
hooks.register(exports.name, 'command:docs', ({ env }) => __awaiter(this, void 0, void 0, function* () { | ||
hooks.register(exports.name, 'command:docs', ({ env }) => tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const docsHomepage = 'https://ionicframework.com/docs'; | ||
@@ -57,6 +50,6 @@ if (!env.project.directory) { | ||
})); | ||
hooks.register(exports.name, 'command:generate', (args) => __awaiter(this, void 0, void 0, function* () { | ||
hooks.register(exports.name, 'command:generate', (args) => tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
yield generate_1.generate(args); | ||
})); | ||
hooks.register(exports.name, 'command:info', ({ env }) => __awaiter(this, void 0, void 0, function* () { | ||
hooks.register(exports.name, 'command:info', ({ env }) => tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
if (!env.project.directory) { | ||
@@ -72,6 +65,6 @@ return []; | ||
})); | ||
hooks.register(exports.name, 'command:serve', (args) => __awaiter(this, void 0, void 0, function* () { | ||
hooks.register(exports.name, 'command:serve', (args) => tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
return serve_1.serve(args); | ||
})); | ||
hooks.register(exports.name, 'command:build', (args) => __awaiter(this, void 0, void 0, function* () { | ||
hooks.register(exports.name, 'command:build', (args) => tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
yield build_1.build(args); | ||
@@ -78,0 +71,0 @@ })); |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
}); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const chalk = require("chalk"); | ||
@@ -15,3 +8,3 @@ const cli_utils_1 = require("@ionic/cli-utils"); | ||
function serve(args) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
let chosenIP = 'localhost'; | ||
@@ -18,0 +11,0 @@ if (args.options.externalIpRequired) { |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
}); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const path = require("path"); | ||
@@ -15,3 +8,3 @@ const cli_utils_1 = require("@ionic/cli-utils"); | ||
function getPages(context) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const AppScripts = modules_1.load('@ionic/app-scripts'); | ||
@@ -31,3 +24,3 @@ const pages = yield AppScripts.getNgModules(context, ['page', 'component']); | ||
function prompt(context) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
return context.appNgModulePath; | ||
@@ -38,3 +31,3 @@ }); | ||
function tabsPrompt(env) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const tabNames = []; | ||
@@ -41,0 +34,0 @@ const howMany = yield env.prompt({ |
{ | ||
"name": "@ionic/cli-plugin-ionic-angular", | ||
"version": "1.4.0-alpha.c502e94c", | ||
"version": "1.4.0-pro.531f60a1", | ||
"description": "Ionic CLI build plugin for Ionic Angular projects", | ||
@@ -45,4 +45,5 @@ "homepage": "https://ionic.io/", | ||
"dependencies": { | ||
"@ionic/cli-utils": "1.6.0-alpha.c502e94c", | ||
"chalk": "^2.0.0" | ||
"@ionic/cli-utils": "1.6.0-pro.531f60a1", | ||
"chalk": "^2.0.0", | ||
"tslib": "^1.7.1" | ||
}, | ||
@@ -54,3 +55,3 @@ "devDependencies": { | ||
"@ionic/app-scripts": "^2.0.0", | ||
"@ionic/cli-scripts": "0.3.0-alpha.c502e94c", | ||
"@ionic/cli-scripts": "0.3.0-pro.531f60a1", | ||
"@types/chalk": "^0.4.31", | ||
@@ -57,0 +58,0 @@ "@types/clean-css": "^3.4.30", |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
17549
-12.98%3
50%279
-11.15%+ Added
+ Added
+ Added
- Removed