@akylas/nativescript-cli 8.8.4 → 8.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,7 @@ const cli_layout_1 = require("./layouts/cli-layout");
18
18
  const constants_1 = require("../../constants");
19
19
  const yok_1 = require("../yok");
20
20
  const color_1 = require("../../color");
21
- const TerminalRenderer = require("marked-terminal");
21
+ const markedTerminal = require("marked-terminal").markedTerminal;
22
22
  class Logger {
23
23
  constructor($config) {
24
24
  this.$config = $config;
@@ -123,7 +123,7 @@ class Logger {
123
123
  },
124
124
  },
125
125
  };
126
- marked_1.marked.setOptions({ renderer: new TerminalRenderer(opts) });
126
+ marked_1.marked.use(markedTerminal(opts));
127
127
  const formattedMessage = (0, marked_1.marked)(util.format.apply(null, args));
128
128
  this.info(formattedMessage, { [constants_1.LoggerConfigData.skipNewLine]: true });
129
129
  }
@@ -352,7 +352,6 @@ class ProjectDataService {
352
352
  }
353
353
  getInstalledRuntimePackage(projectDir, platform) {
354
354
  var _a, _b, _c, _d;
355
- console.log('getInstalledRuntimePackage');
356
355
  let packageName = [];
357
356
  if (platform === "ios") {
358
357
  packageName.push((_a = this.$projectData.nsConfig.ios) === null || _a === void 0 ? void 0 : _a.runtimePackageName, constants.SCOPED_IOS_RUNTIME_NAME, constants.TNS_IOS_RUNTIME_NAME);
@@ -200,9 +200,9 @@ class WebpackCompilerService extends events_1.EventEmitter {
200
200
  cwd: projectData.projectDir,
201
201
  stdio,
202
202
  };
203
- options.env = {
203
+ options.env = Object.assign(process.env, {
204
204
  NATIVESCRIPT_WEBPACK_ENV: JSON.stringify(envData)
205
- };
205
+ });
206
206
  if (this.$options.hostProjectPath) {
207
207
  Object.assign(options.env, {
208
208
  USER_PROJECT_PLATFORMS_ANDROID: this.$options.hostProjectPath,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@akylas/nativescript-cli",
3
3
  "main": "./lib/nativescript-cli-lib.js",
4
- "version": "8.8.4",
4
+ "version": "8.8.6",
5
5
  "author": "NativeScript <support@nativescript.org>",
6
6
  "description": "Command-line interface for building NativeScript projects",
7
7
  "bin": {
@@ -82,7 +82,7 @@
82
82
  "jimp": "0.22.10",
83
83
  "lodash": "4.17.21",
84
84
  "log4js": "6.9.1",
85
- "marked": "14.1.3",
85
+ "marked": "13.0.3",
86
86
  "marked-terminal": "7.1.0",
87
87
  "minimatch": "10.0.1",
88
88
  "mkdirp": "3.0.1",
@@ -1047,6 +1047,7 @@ tasks.configureEach { DefaultTask currentTask ->
1047
1047
  }
1048
1048
  if (
1049
1049
  currentTask =~ /generate.*UnitTestLintModel/ ||
1050
+ currentTask =~ /sentryCollectSourcesRelease/ ||
1050
1051
  currentTask =~ /compile.*ArtProfile/
1051
1052
  ) {
1052
1053
  currentTask.mustRunAfter(buildMetadata)
@@ -1 +0,0 @@
1
- {"@jsdevtools/coverage-istanbul-loader":"3.0.5","karma":"6.4.4","karma-coverage":"2.2.1","karma-nativescript-launcher":"0.4.0","mocha":"10.7.3","karma-mocha":"2.0.1","karma-chai":"0.1.0","karma-jasmine":"4.0.2","karma-qunit":"4.2.1","@types/karma-chai":"0.1.7","@types/mocha":"10.0.9","@types/jasmine":"5.1.4","@types/qunit":"2.19.10","nyc":"17.1.0"}