Skip to content

Commit da39bfd

Browse files
Merge pull request #474 from NativeScript/vladimirov/merge-1.0.1-in-master
Merge 1.0.1 in master
2 parents 48296c2 + 70df1ff commit da39bfd

File tree

12 files changed

+89
-33
lines changed

12 files changed

+89
-33
lines changed

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,66 @@
11
NativeScript CLI Changelog
22
================
33

4+
1.0.1 (2015, May 8)
5+
==
6+
7+
### Fixed
8+
9+
* [Fixed #459](https://github.com/NativeScript/nativescript-cli/issues/459): You cannot add a third-party iOS native library to your project, if the path to the library contains spaces.
10+
* [Fixed #458](https://github.com/NativeScript/nativescript-cli/issues/458): If you have installed Xcode 6.2 or earlier on your system, you cannot debug in the iOS Simulator.
11+
* [Fixed #413](https://github.com/NativeScript/nativescript-cli/issues/413): If your project name contains a hyphen, the NativeScript CLI sets your application identifier inconsistently across the project.
12+
13+
1.0.0 (2015, April 28)
14+
==
15+
16+
### New
17+
18+
* [Implemented #447](https://github.com/NativeScript/nativescript-cli/issues/447): `tns run ios`, `tns run android` and `tns emulate android` print the output of the running application in the console.
19+
* [Implemented #441](https://github.com/NativeScript/nativescript-cli/issues/441): Improved command-line completion.
20+
* [Implemented #416](https://github.com/NativeScript/nativescript-cli/issues/416): Improved installation.
21+
* [Implemented #358](https://github.com/NativeScript/nativescript-cli/issues/358): Improved `tns debug ios`.
22+
23+
### Fixed
24+
25+
* [Fixed #446](https://github.com/NativeScript/nativescript-cli/issues/446): `tns autocomplete disable` might not disable command-line completion properly.
26+
* [Fixed #445](https://github.com/NativeScript/nativescript-cli/issues/445): For some commands, HTML help is shown instead of the console help.
27+
* [Fixed #444](https://github.com/NativeScript/nativescript-cli/issues/444): When you attempt to install the `nativescript` npm module using `sudo`, errors might be shown.
28+
* [Fixed #443](https://github.com/NativeScript/nativescript-cli/issues/443): When you attempt to configure command-line completion during installation, `ENOENT` error might be shown.
29+
* [Fixed #442](https://github.com/NativeScript/nativescript-cli/issues/442): The console does not show links properly.
30+
* [Fixed #394](https://github.com/NativeScript/nativescript-cli/issues/394): On OS X or Linux systems, the NativeScript CLI does not resolve symlinks and you cannot build your apps.
31+
* [Fixed #391](https://github.com/NativeScript/nativescript-cli/issues/391): The Android splash screen image in the template is malformed and causes errors in the build log.
32+
* [Fixed #324](https://github.com/NativeScript/nativescript-cli/issues/324): If the Android SDK is not properly configured, when you run `tns build ios`, `run ios`, `tns deploy ios` or `tns emulate ios`, the NativeScript CLI prints an irrelevant adb-related warning.
33+
* [Fixed #309](https://github.com/NativeScript/nativescript-cli/issues/309): You cannot open the device log for streaming with `tns device log`.
34+
* [Fixed #276](https://github.com/NativeScript/nativescript-cli/issues/276): On bash consoles, command-line completion does not work.
35+
36+
0.10.0 (2015, April 21)
37+
==
38+
39+
### Breaking
40+
41+
* Introduced new project structure. To migrate to the new structure, complete the following steps.
42+
1. Manually move all files and folders from the inner `app` folder one level up inside the outer `app` folder.
43+
1. Remove the now empty inner `app` folder.
44+
1. Verify that your project structure reflects the structure described [here](README.md#create-project).
45+
46+
### New
47+
48+
* [Implemented #388](https://github.com/NativeScript/nativescript-cli/issues/388): Improved the `--log trace` global option.
49+
* [Implemented #387](https://github.com/NativeScript/nativescript-cli/issues/387): Improved installation.
50+
* [Implemented #350](https://github.com/NativeScript/nativescript-cli/issues/350): Improved command-line completion.
51+
* [Implemented #175](https://github.com/NativeScript/nativescript-cli/issues/175): You can run your app in Android virtual devices, created from the Google APIs images from the Android SDK.
52+
* [Implemented #88](https://github.com/NativeScript/nativescript-cli/issues/88), [#291](https://github.com/NativeScript/nativescript-cli/issues/291): Introduced context-aware console help which you can access by running `tns <Command> -h` and extended HTML help which you access by running `tns help <Command>`.
53+
54+
### Fixed
55+
56+
* [Fixed #380](https://github.com/NativeScript/nativescript-cli/issues/380): When you run `tns build android`, `tns run android`, `tns deploy android` or `tns emulate android`, the NativeScript CLI builds your project twice.
57+
* [Fixed #371](https://github.com/NativeScript/nativescript-cli/issues/371): On Android 5.x devices, NativeScript apps load very slowly on first run.
58+
* [Fixed #260](https://github.com/NativeScript/nativescript-cli/issues/260): On bash consoles, the `open` command might stop working.
59+
* [Fixed #257](https://github.com/NativeScript/nativescript-cli/issues/257): On bash consoles, you cannot pass arguments with spaces, even if escaped.
60+
* [Fixed #251](https://github.com/NativeScript/nativescript-cli/issues/251): On OS X systems, the command validation might not work properly.
61+
* [Fixed #248](https://github.com/NativeScript/nativescript-cli/issues/248): On OS X systems, the `tns deploy` command might not release the console.
62+
* [Fixed #169](https://github.com/NativeScript/nativescript-cli/issues/169): The native Xcode project is created with an incorrect name.
63+
464
0.9.4 (2015, March 18)
565
==
666

Gruntfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ module.exports = function(grunt) {
125125
var packageJson = grunt.file.readJSON("package.json");
126126
var versionParts = packageJson.version.split("-");
127127
if (process.env["RELEASE_BUILD"]) {
128-
packageJson.version = versionParts[0];
128+
// HACK - excluded until 1.0.0 release or we refactor our project infrastructure (whichever comes first)
129+
// packageJson.version = versionParts[0];
129130
} else {
130131
versionParts[1] = buildVersion;
131132
packageJson.version = versionParts.join("-");

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,11 @@ The NativeScript CLI is available for installing as an npm package.
209209

210210
In the command prompt, run the following command.
211211

212-
```Shell
213-
npm install nativescript -g
214-
```
215-
216-
> On OS X and Linux systems, you might need to run this command using sudo.
212+
OS | Node.js installed from http://nodejs.org/ | Node.js installed via package manager
213+
---|---------------------|----
214+
Windows | `npm install nativescript -g` | `npm install nativescript -g`
215+
OS X | `sudo npm install nativescript -g --unsafe-perm` | `npm install nativescript -g`
216+
Linux | `sudo npm install nativescript -g --unsafe-perm` | `npm install nativescript -g`
217217

218218
## Configure Proxy Usage
219219

@@ -289,18 +289,18 @@ The CLI places the project in a new directory in the current directory. The newl
289289

290290
```
291291
MyApp/
292-
|-- app/
293-
|-- |-- app/
294-
|-- |-- App_Resources/
295-
|-- |-- |-- Android/
296-
|-- |-- `-- iOS/
297-
|-- |-- tns_modules/
298-
|-- |-- `-- .../
299-
|-- |-- LICENSE
300-
|-- |-- package.json
301-
|-- `-- README.md
302-
|-- platforms/
303-
`-- .tnsproject
292+
├── app
293+
│ ├── app.css
294+
│ ├── app.js
295+
│ ├── bootstrap.js
296+
│ ├── main-page.js
297+
│ ├── main-page.xml
298+
│ ├── App_Resources
299+
│ │ └── ...
300+
│ └── tns_modules
301+
│ └── ...
302+
└── platforms
303+
└── ...
304304
```
305305

306306
* The `app` directory is the **development space for your application**. You should modify all common and platform-specific code within this directory. When you run `prepare <Platform>`, the NativeScript CLI copies relevant content to the platform-specific folders for each target platform.

docs/man_pages/general/help.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ To print information about a selected command in the console, run `$ tns <Comman
1818

1919
Command | Description
2020
----------|----------
21-
[user](user.html) | Prints information about the currently logged in user, including name, email address, subscription plan and license expiration date.
21+
[feature-usage-tracking](feature-usage-tracking.html) | Configures anonymous usage statistics tracking for the NativeScript CLI.
22+
[autocomplete](autocomplete.html) | Prints your current command-line completion settings. If disabled, prompts you to enable it.
2223
<% } %>

docs/man_pages/project/configuration/prepare.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ prepare
33

44
Usage | Synopsis
55
------|-------
6-
<% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns prepare <Platform>`<% } %>
7-
<% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns prepare android`<% } %>
6+
<% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns prepare <Platform>`<% } %><% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns prepare android`<% } %>
87

98
Copies common and relevant platform-specific content from the `app` directory to the subdirectory for the selected target platform
109
in the `platforms` directory. This lets you build the project with the SDK for the selected platform. <% if(isMacOS) { %>You must specify the target platform for which you want to prepare your project.<% } %>

docs/man_pages/project/testing/build.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ build
33

44
Usage | Synopsis
55
---|---
6-
<% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns build <Platform>`<% } %>
7-
<% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns build android`<% } %>
6+
<% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns build <Platform>`<% } %><% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns build android`<% } %>
87

98
Builds the project for Android <% if(isMacOS) { %>or iOS <% } %>and produces an application package that you can manually deploy on device or in the native emulator. <% if(isMacOS) { %>You must specify the target platform for which you want to build your project.<% } %>
109

docs/man_pages/project/testing/debug.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ debug
33

44
Usage | Synopsis
55
---|---
6-
<% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns debug <Platform>`<% } %>
7-
<% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns debug android`<% } %>
6+
<% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns debug <Platform>`<% } %><% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns debug android`<% } %>
87

98
Debugs your project on a connected device or in a native emulator. <% if(isMacOS) { %>You must specify the target platform on which you want to debug.<% } %>
109

docs/man_pages/project/testing/emulate.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ emulate
33

44
Usage | Synopsis
55
---|---
6-
<% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns emulate <Platform>`<% } %>
7-
<% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns emulate android`<% } %>
6+
<% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns emulate <Platform>`<% } %><% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns emulate android`<% } %>
87

98
Builds and runs the project in the native emulator for the selected target platform. <% if(isMacOS) { %>You must specify the target platform for which you want to build your project.<% } %>
109

docs/man_pages/project/testing/run.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ run
33

44
Usage | Synopsis
55
---|---
6-
<% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns run <Platform>`<% } %>
7-
<% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns run android`<% } %>
6+
<% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns run <Platform>`<% } %><% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns run android`<% } %>
87

98
Runs your project on a connected device or in the native emulator for the selected platform.<% if(isMacOS) { %>You must specify the target platform on which you want to run your project.<% } %><% if(isConsole && (isLinux || isWindows)) { %>You must run `$ tns run android`<% } %>
109

lib/bootstrap.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ $injector.requireCommand("emulate|ios", "./commands/emulate");
4545

4646
$injector.require("npm", "./node-package-manager");
4747
$injector.require("lockfile", "./lockfile");
48-
$injector.require("optionsService", "./services/options-service");
4948
$injector.require("dynamicHelpProvider", "./dynamic-help-provider");
5049
$injector.require("mobilePlatformsCapabilities", "./mobile-platforms-capabilities");
5150
$injector.require("commandsServiceProvider", "./providers/commands-service-provider");

0 commit comments

Comments
 (0)