nativescript 6.8.1-rc.0 → 6.8.1

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.
@@ -1 +1 @@
1
- {"karma":"5.1.1","karma-nativescript-launcher":"0.4.0","karma-webpack":"3.0.5","mocha":"8.1.0","karma-mocha":"2.0.1","karma-chai":"0.1.0","karma-jasmine":"3.3.1","karma-qunit":"4.1.1","@types/karma-chai":"0.1.2","@types/mocha":"8.0.1","@types/jasmine":"3.5.12","@types/qunit":"2.9.1"}
1
+ {"karma":"5.1.1","karma-nativescript-launcher":"0.4.0","karma-webpack":"3.0.5","mocha":"8.0.1","karma-mocha":"2.0.1","karma-chai":"0.1.0","karma-jasmine":"3.3.1","karma-qunit":"4.1.1","@types/karma-chai":"0.1.2","@types/mocha":"8.0.0","@types/jasmine":"3.5.11","@types/qunit":"2.9.1"}
@@ -53,7 +53,7 @@ The following dependencies will be updated if needed:
53
53
  * @angular-devkit/build-angular
54
54
  * rxjs
55
55
  * zone.js
56
- * @nativescript/unit-test-runner
56
+ * nativescript-unit-test-runner
57
57
  * karma-webpack
58
58
  * karma-jasmine
59
59
  * karma-mocha
@@ -7,7 +7,7 @@ position: 21
7
7
 
8
8
  ### Description
9
9
 
10
- Configures your project for unit testing with a selected framework. This operation installs the @nativescript/unit-test-runner npm module and its dependencies and creates a `tests` folder in the `app` directory.
10
+ Configures your project for unit testing with a selected framework. This operation installs the nativescript-unit-test-runner npm module and its dependencies and creates a `tests` folder in the `app` directory.
11
11
 
12
12
  ### Commands
13
13
 
@@ -83,7 +83,7 @@ class TestInitCommand {
83
83
  }
84
84
  }
85
85
  }
86
- yield this.$pluginsService.add('@nativescript/unit-test-runner', this.$projectData);
86
+ yield this.$pluginsService.add('nativescript-unit-test-runner', this.$projectData);
87
87
  const testsDir = path.join(this.$projectData.appDirectoryPath, 'tests');
88
88
  const relativeTestsDir = path.relative(this.$projectData.projectDir, testsDir);
89
89
  let shouldCreateSampleTests = true;
package/lib/constants.js CHANGED
@@ -25,7 +25,7 @@ exports.NODE_MODULE_CACHE_PATH_KEY_NAME = "node-modules-cache-path";
25
25
  exports.DEFAULT_APP_IDENTIFIER_PREFIX = "org.nativescript";
26
26
  exports.LIVESYNC_EXCLUDED_DIRECTORIES = ["app_resources"];
27
27
  exports.TESTING_FRAMEWORKS = ['jasmine', 'mocha', 'qunit'];
28
- exports.TEST_RUNNER_NAME = "@nativescript/unit-test-runner";
28
+ exports.TEST_RUNNER_NAME = "nativescript-unit-test-runner";
29
29
  exports.LIVESYNC_EXCLUDED_FILE_PATTERNS = ["**/*.js.map", "**/*.ts"];
30
30
  exports.XML_FILE_EXTENSION = ".xml";
31
31
  exports.PLATFORMS_DIR_NAME = "platforms";
@@ -61,9 +61,9 @@ class MigrateController extends update_controller_base_1.UpdateControllerBase {
61
61
  { packageName: "nativescript-permissions", verifiedVersion: "1.3.0" },
62
62
  { packageName: "nativescript-cardview", verifiedVersion: "3.2.0" },
63
63
  {
64
- packageName: "@nativescript/unit-test-runner", verifiedVersion: "1.0.0",
64
+ packageName: "nativescript-unit-test-runner", verifiedVersion: "0.7.0",
65
65
  shouldMigrateAction: (projectData, allowInvalidVersions) => __awaiter(this, void 0, void 0, function* () {
66
- const dependency = { packageName: "@nativescript/unit-test-runner", verifiedVersion: "1.0.0", isDev: false };
66
+ const dependency = { packageName: "nativescript-unit-test-runner", verifiedVersion: "0.7.0", isDev: false };
67
67
  const result = this.hasDependency(dependency, projectData) && (yield this.shouldMigrateDependencyVersion(dependency, projectData, allowInvalidVersions));
68
68
  return result;
69
69
  }),
@@ -79,7 +79,7 @@ class TestExecutionService {
79
79
  canStartKarmaServer(projectData) {
80
80
  return __awaiter(this, void 0, void 0, function* () {
81
81
  let canStartKarmaServer = true;
82
- const requiredDependencies = ["karma", "@nativescript/unit-test-runner"];
82
+ const requiredDependencies = ["karma", "nativescript-unit-test-runner"];
83
83
  _.each(requiredDependencies, (dep) => {
84
84
  if (!projectData.dependencies[dep] && !projectData.devDependencies[dep]) {
85
85
  canStartKarmaServer = false;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nativescript",
3
3
  "preferGlobal": true,
4
- "version": "6.8.1-rc.0",
4
+ "version": "6.8.1",
5
5
  "author": "NativeScript <support@nativescript.org>",
6
6
  "description": "Command-line interface for building NativeScript projects",
7
7
  "bin": {
@@ -40,7 +40,7 @@
40
40
  "byline": "4.2.1",
41
41
  "chalk": "1.1.0",
42
42
  "chokidar": "2.0.4",
43
- "cli-table": "https://github.com/telerik/cli-table/tarball/v0.3.1.2",
43
+ "cli-table": "https://github.com/telerik-boneyard/cli-table/tarball/v0.3.1.2",
44
44
  "color": "3.0.0",
45
45
  "colors": "1.1.2",
46
46
  "convert-source-map": "1.6.0",