tnp 13.1.151 → 13.1.153

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.
package/app.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1673251995880 = void 0;
4
- function dummy1673251995880() { }
5
- exports.dummy1673251995880 = dummy1673251995880;
3
+ exports.dummy1673256307797 = void 0;
4
+ function dummy1673256307797() { }
5
+ exports.dummy1673256307797 = dummy1673256307797;
6
6
  //# sourceMappingURL=app.js.map
package/bin/start.js CHANGED
@@ -146,7 +146,7 @@ if (startSpinner) {
146
146
  };
147
147
 
148
148
  const cwd = process.cwd();
149
- const argsToCHildProc = (`${orgArgvForChild.slice(2).join(' ')} ${global.skipCoreCheck ? '--skipCoreCheck':''} `
149
+ const argsToCHildProc = (`${orgArgvForChild.slice(2).join(' ')} ${global.verbose ? '-verbose': ''} ${global.skipCoreCheck ? '--skipCoreCheck':''} `
150
150
  + `${spinnerOnInArgs ? '-spinner' : (spinnerOffInArgs ? '-spinner=off' : '')} ${childprocsecretarg}`).split(' ');
151
151
 
152
152
  const proc = child_process.fork(crossPlatofrmPath(__filename), argsToCHildProc, {
package/index.js CHANGED
@@ -362850,7 +362850,7 @@ exports.config = {
362850
362850
  { name: 'nodemon' },
362851
362851
  { name: 'madge' },
362852
362852
  { name: 'yarn' },
362853
- { name: 'http-server' },
362853
+ { name: 'firedev-http-server' },
362854
362854
  { name: 'increase-memory-limit' },
362855
362855
  { name: 'bower' },
362856
362856
  { name: 'fkill', installName: 'fkill-cli' },
@@ -362858,7 +362858,7 @@ exports.config = {
362858
362858
  { name: 'mocha' },
362859
362859
  // { name: 'chai' },
362860
362860
  { name: 'ts-node' },
362861
- { name: 'vsce' },
362861
+ { name: 'firedev-vsce' },
362862
362862
  // { name: 'stmux' },
362863
362863
  { name: 'webpack-bundle-analyzer' },
362864
362864
  // { name: 'ng', installName: '@angular/cli' },
@@ -363958,10 +363958,16 @@ var HelpersCore = /** @class */ (function (_super) {
363958
363958
  index_1.Helpers.warn("[firedev-core][mkdirp] On mac osx /tmp is changed to /private/tmp", false);
363959
363959
  folderPath = folderPath.replace("/tmp/", '/private/tmp/');
363960
363960
  }
363961
+ if (index_1.Helpers.isUnexistedLink(folderPath)) {
363962
+ index_1.Helpers.remove(folderPath);
363963
+ }
363961
363964
  if (core_imports_1.fse.existsSync(folderPath)) {
363962
363965
  index_1.Helpers.warn("[firedev-core][mkdirp] folder path already exists: ".concat(folderPath), false);
363963
363966
  }
363964
363967
  else {
363968
+ // if(Helpers.isSymlinkFileExitedOrUnexisted(folderPath)) {
363969
+ // Helpers.error(`Folder is symlink.. can't recreate`)
363970
+ // }
363965
363971
  index_1.Helpers.log("[firedev-core][mkdirp] ".concat(folderPath), 1);
363966
363972
  core_imports_1.fse.mkdirpSync(folderPath);
363967
363973
  }
@@ -369354,12 +369360,25 @@ var HelpersFileFolders = /** @class */ (function () {
369354
369360
  return;
369355
369361
  }
369356
369362
  if (index_1.Helpers.isUnexistedLink(to)) {
369357
- index_1.Helpers.remove(tnp_core_1.path.dirname(to));
369363
+ index_1.Helpers.remove(to);
369358
369364
  }
369359
- if (!index_1.Helpers.exists(tnp_core_1.path.dirname(to))) {
369360
- index_1.Helpers.removeFolderIfExists(tnp_core_1.path.dirname(to));
369361
- index_1.Helpers.mkdirp(tnp_core_1.path.dirname(to));
369365
+ if (index_1.Helpers.isUnexistedLink(tnp_core_1.path.dirname(to))) {
369366
+ index_1.Helpers.remove(tnp_core_1.path.dirname(to));
369362
369367
  }
369368
+ // if (!Helpers.exists(path.dirname(to))) {
369369
+ // if (Helpers.isUnexistedLink(path.dirname(to))) {
369370
+ // Helpers.remove(path.dirname(to));
369371
+ // } else {
369372
+ // Helpers.remove(path.dirname(to));
369373
+ // Helpers.mkdirp(path.dirname(to));
369374
+ // }
369375
+ // }
369376
+ // if(Helpers.isSymlinkFileExitedOrUnexisted(to)) {
369377
+ // Helpers.error(`You are trying to move into symlink location:
369378
+ // from: ${from}
369379
+ // to: ${to}
369380
+ // `)
369381
+ // }
369363
369382
  tnp_core_1.fse.moveSync(from, to, {
369364
369383
  overwrite: true
369365
369384
  });
@@ -556052,7 +556071,7 @@ var LibProjectVscodeExt = /** @class */ (function () {
556052
556071
  case 1:
556053
556072
  _a.trys.push([1, 3, , 4]);
556054
556073
  return [4 /*yield*/, tnp_helpers_1.Helpers.actionWrapper(function () {
556055
- _this.lib.run("vsce package").sync();
556074
+ _this.lib.run("firedev-vsce package").sync();
556056
556075
  }, "Building vsix package " + tnp_cli_1.CLI.chalk.bold(vsixPackageName) + "... ")];
556057
556076
  case 2:
556058
556077
  _a.sent();
@@ -566296,7 +566315,7 @@ var FilesRecreator = /** @class */ (function (_super) {
566296
566315
  return true;
566297
566316
  }).join('\n').concat('\n');
566298
566317
  // console.log(ignoredByGit)
566299
- tnp_helpers_1.Helpers.writeFile(tnp_core_2.path.join(this.project.location, '.gitignore'), "# profiling files\nchrome-profiler-events*.json\nspeed-measure-plugin*.json\n\n# misc\n/.sass-cache\n/connect.lock\n/coverage\n/libpeerconnection.log\nnpm-debug.log\nyarn-error.log\ntestem.log\n/typings\n".concat(this.project.linkedRepos.git.ignored(), "\n").concat(this.project.isStandaloneProject ? "/".concat(tnp_config_1.config.folder.testsEnvironments) : '', "\n\n# System Files\n.DS_Store\nThumbs.db\n").concat(this.project.isVscodeExtension ? '/*.vsix' : '', "\n").concat(this.project.isVscodeExtension ? '/out' : '', "\n") + ignoredByGit + "\n".concat(this.project.isTnp ? '!tsconfig*' : '', "\n").concat(this.project.isTnp ? 'webpack.*' : '', "\n").concat(this.project.isContainerOrWorkspaceWithLinkedProjects ? "\n# container/workspace git projects\n".concat(this.project.isMonorepo ? [] : this.project.packageJson.linkedProjects.map(function (c) { return "/".concat((0, tnp_core_1.crossPlatformPath)(c)); }).join('\n'), "\n") : [], "\n# =====================\n").concat(this.project.isCoreProject ? '!*.filetemplate' : '*.filetemplate', "\n").concat(this.project.isDocker ? '!Dockerfile.filetemplate' : '', "\n").concat(this.project.isSmartContainer ? '/angular.json' : '', "\n").concat(coreFiles, "\n\n").trimRight() + '\n');
566318
+ tnp_helpers_1.Helpers.writeFile(tnp_core_2.path.join(this.project.location, '.gitignore'), "# profiling files\nchrome-profiler-events*.json\nspeed-measure-plugin*.json\n\n# misc\n/.sass-cache\n/connect.lock\n/coverage\n/libpeerconnection.log\nnpm-debug.log\nyarn-error.log\ntestem.log\n/typings\n".concat(this.project.linkedRepos.git.ignored(), "\n").concat(this.project.isStandaloneProject ? "/".concat(tnp_config_1.config.folder.testsEnvironments) : '', "\n\n# System Files\n.DS_Store\nThumbs.db\n").concat(this.project.isVscodeExtension ? '/*.vsix' : '', "\n").concat(this.project.isVscodeExtension ? '/out' : '', "\n") + ignoredByGit + "\n".concat((this.project.isTnp || this.project.isVscodeExtension) ? '!tsconfig*' : '', "\n").concat(this.project.isTnp ? 'webpack.*' : '', "\n").concat(this.project.isContainerOrWorkspaceWithLinkedProjects ? "\n# container/workspace git projects\n".concat(this.project.isMonorepo ? [] : this.project.packageJson.linkedProjects.map(function (c) { return "/".concat((0, tnp_core_1.crossPlatformPath)(c)); }).join('\n'), "\n") : [], "\n# =====================\n").concat(this.project.isCoreProject ? '!*.filetemplate' : '*.filetemplate', "\n").concat(this.project.isDocker ? '!Dockerfile.filetemplate' : '', "\n").concat(this.project.isSmartContainer ? '/angular.json' : '', "\n").concat(this.project.isVscodeExtension ? '' : coreFiles, "\n\n").trimRight() + '\n');
566300
566319
  };
566301
566320
  FilesRecreator.prototype.handleProjectSpecyficFiles = function () {
566302
566321
  var _this = this;
@@ -570515,7 +570534,7 @@ function prepareCommand(pkg, remove, useYarn, project) {
570515
570534
  }
570516
570535
  else {
570517
570536
  // --no-progress
570518
- var argsForFasterInstall = "--force --ignore-engines --quiet --no-audit "
570537
+ var argsForFasterInstall = "--force --ignore-engines --silent --no-audit "
570519
570538
  + " ".concat(noPackageLock, " ");
570520
570539
  command = "npm ".concat(install, " ").concat(pkg ? pkg.name : '', " ")
570521
570540
  + " ".concat((pkg && pkg.installType) ? pkg.installType : '', " ")
@@ -581574,7 +581593,7 @@ function $INIT_CORE() {
581574
581593
  }
581575
581594
  function $UPDATE(args) {
581576
581595
  if (tnp_config_1.config.frameworkName === 'firedev') {
581577
- tnp_helpers_1.Helpers.run('npm i -g firedev').sync();
581596
+ tnp_helpers_1.Helpers.run('npm i -g firedev --force').sync();
581578
581597
  var morphiPathUserInUserDir = tnp_config_1.config.morphiPathUserInUserDir;
581579
581598
  try {
581580
581599
  tnp_helpers_1.Helpers.run("git reset --hard && git pull origin master", { cwd: morphiPathUserInUserDir }).sync();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tnp",
3
- "version": "13.1.151",
3
+ "version": "13.1.153",
4
4
  "bin": {
5
5
  "tnp": "bin/tnp",
6
6
  "tnp-debug": "bin/tnp-debug",
@@ -9,7 +9,7 @@
9
9
  "dependencies": {
10
10
  "ora": "3.4.0"
11
11
  },
12
- "lastBuildTagHash": "e4d89834741fd24520b58786bae933f692f9cbff",
12
+ "lastBuildTagHash": "f2b4e47d7cc7b790663cc83189d5650997d915f3",
13
13
  "scripts": {
14
14
  "activate": "npm i --force && firedev dedupe && npx tsc && firedev link && tnp bd"
15
15
  },
@@ -559,7 +559,7 @@
559
559
  "private": false
560
560
  },
561
561
  "name": "tnp",
562
- "version": "13.1.151",
562
+ "version": "13.1.153",
563
563
  "bin": {
564
564
  "tnp": "bin/tnp",
565
565
  "tnp-debug": "bin/tnp-debug",
@@ -572,7 +572,7 @@
572
572
  "progress": "2.0.3",
573
573
  "tnp-db": "~13.1.7"
574
574
  },
575
- "lastBuildTagHash": "e4d89834741fd24520b58786bae933f692f9cbff",
575
+ "lastBuildTagHash": "f2b4e47d7cc7b790663cc83189d5650997d915f3",
576
576
  "scripts": {
577
577
  "activate": "npm i --force && firedev dedupe && npx tsc && firedev link && tnp bd"
578
578
  },
@@ -804,9 +804,9 @@
804
804
  }
805
805
  },
806
806
  "build": {
807
- "number": 2680,
808
- "date": "2023-01-09T07:38:06.000Z",
809
- "hash": "3e4085c89f1f761a6a5aeadd31fa4d89dcc518ee",
807
+ "number": 2686,
808
+ "date": "2023-01-09T08:40:11.000Z",
809
+ "hash": "fb6fa007991a6b0c725c533ff3f23af1b0c4c3dc",
810
810
  "options": {}
811
811
  },
812
812
  "currentProjectName": "tnp",
@@ -814,7 +814,7 @@
814
814
  "currentProjectLaunchConfiguration": "{\"version\":\"0.2.0\",\"configurations\":[{\"type\":\"node\",\"request\":\"launch\",\"name\":\"Launch Server standalone\",\"program\":\"${workspaceFolder}/run.js\",\"args\":[\"--ENVoverride=%7B%0A%20%20%20%20%22clientProjectName%22%3A%20%22tnp%22%0A%7D\"],\"runtimeArgs\":[\"--nolazy\",\"-r\",\"ts-node/register\",\"--experimental-worker\"]},{\"name\":\"Debugger with ng serve\",\"type\":\"chrome\",\"request\":\"launch\",\"preLaunchTask\":\"Ng Serve\",\"postDebugTask\":\"terminateall\",\"sourceMaps\":true,\"webRoot\":\"${workspaceFolder}\",\"sourceMapPathOverrides\":{\"webpack:/*\":\"${webRoot}/*\",\"/./*\":\"${webRoot}/*\",\"/tmp-src/*\":\"${webRoot}/*\",\"/*\":\"*\",\"/./~/*\":\"${webRoot}/node_modules/*\"}},{\"type\":\"node\",\"request\":\"attach\",\"name\":\"Attach to global cli tool\",\"port\":9229,\"skipFiles\":[\"<node_internals>/**\"]}],\"compounds\":[{\"name\":\"Debug backend/frontend\",\"configurations\":[\"Launch Server standalone\",\"Debugger with ng serve\"]}]}",
815
815
  "currentProjectTasksConfiguration": "{\"version\":\"2.0.0\",\"tasks\":[{\"label\":\"terminateall\",\"command\":\"echo ${input:terminate}\",\"type\":\"shell\",\"problemMatcher\":[]},{\"label\":\"Ng Serve\",\"type\":\"shell\",\"command\":\"tnp build\",\"isBackground\":true,\"presentation\":{\"reveal\":\"always\"},\"group\":{\"kind\":\"build\",\"isDefault\":true},\"problemMatcher\":{\"owner\":\"typescript\",\"source\":\"ts\",\"applyTo\":\"closedDocuments\",\"fileLocation\":[\"relative\",\"${cwd}\"],\"pattern\":\"$tsc\",\"background\":{\"activeOnStart\":true,\"beginsPattern\":{\"regexp\":\"(.*?)\"},\"endsPattern\":{\"regexp\":\"Compiled |Failed to compile.\"}}}}],\"inputs\":[{\"id\":\"terminate\",\"type\":\"command\",\"command\":\"workbench.action.tasks.terminate\",\"args\":\"terminateAll\"}]}",
816
816
  "currentProjectType": "isomorphic-lib",
817
- "currentFrameworkVersion": "13.1.151",
817
+ "currentFrameworkVersion": "13.1.153",
818
818
  "currentProjectIsStrictSite": false,
819
819
  "currentProjectIsDependencySite": false,
820
820
  "currentProjectIsStatic": false,