Skip to content

Commit 012a406

Browse files
FatmeFatme
authored andcommitted
Merge pull request #613 from NativeScript/fatme/merge-release-1.1.2-into-master
Merge release 1.1.2 into master
2 parents 74a647e + 0b638e7 commit 012a406

39 files changed

+794
-154
lines changed

CHANGELOG.md

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

4+
1.1.2 (2015, July 2)
5+
==
6+
7+
### New
8+
9+
* [Implemented #600](https://github.com/NativeScript/nativescript-cli/issues/600): Added the `$ tns init` command. You can use it to initialize a NativeScript project for development. The command recreates or updates the `package.json` file of the project. You can then run `$ tns install` to install the platforms and dependencies described in the `package.json` file.
10+
* [Implemented #587](https://github.com/NativeScript/nativescript-cli/issues/587): Added the `$ tns install` command. You can use it to quickly install all platforms and dependencies described in a `package.json` file.
11+
12+
### Fixed
13+
14+
* [Fixed #606](https://github.com/NativeScript/nativescript-cli/issues/606): The NativeScript CLI lets you run `<Platform>`-based commands on operating systems which do not support development for this platform. For example, you can run `$ tns build ios` on a Windows system.
15+
* [Fixed #601](https://github.com/NativeScript/nativescript-cli/issues/601): The NativeScript CLI does not treat the dependencies of devDependencies as devDependencies.
16+
* [Fixed #599](https://github.com/NativeScript/nativescript-cli/issues/599): The NativeScript CLI always creates a `tmp` directory in the current directory when you run any command and modifies the `package.json` file for the project.
17+
* [Fixed #584](https://github.com/NativeScript/nativescript-cli/issues/584): The NativeScript CLI references the files in the project with their absolute paths instead of their relative paths. This might cause the project to stop working when transfered to another location and might cause issues with your application packages.
18+
* [Fixed #578](https://github.com/NativeScript/nativescript-cli/issues/578): Platform-specific files in NativeScript plugins are not processed correctly. The NativeScript CLI copies them to the correct platform-specific directory but does not rename them correctly.
19+
* [Fixed #520](https://github.com/NativeScript/nativescript-cli/issues/520): iOS resources from the `App_Resources` folder are not included in the native Xcode project and are not accessible in the application package.
20+
421
1.1.1 (2015, June 17)
522
==
623

bin/nativescript.js

100644100755
File mode changed.

docs/man_pages/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ Command | Description
2828
[emulate `<Platform>`](project/testing/emulate.html) | Deploys the project in the native emulator for the selected target platform.
2929
[run `<Platform>`](project/testing/run.html) | Runs your project on a connected device or in the native emulator, if configured.
3030
[debug `<Platform>`](project/testing/debug.html) | Debugs your project on a connected device.
31-
[plugin](plugin.html) | Lists all installed plugins for your project or lets you manage the plugins for your project.
31+
[install](project/configuration/install.html) | Installs all platforms and dependencies described in the `package.json` file in the current directory.
32+
[plugin](lib-management/plugin.html) | Lets you manage the plugins for your project.
3233

3334
## Device Commands
3435
Command | Description
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
install
2+
==========
3+
4+
Usage | Synopsis
5+
---|---
6+
General | `$ tns install [--path]`
7+
8+
Installs all platforms and dependencies described in the `package.json` file in the current directory.
9+
10+
<% if(isHtml) { %>
11+
The `package.json` file must be a valid `package.json` describing the configuration of a NativeScript project. If missing or corrupted, you can recreate the file by running `$ tns init` in the directory of a NativeScript project.
12+
<% } %>
13+
14+
### Options
15+
* `--path` - Specifies the directory which contains the `package.json` file, if different from the current directory.
16+
17+
<% if(isHtml) { %>
18+
### Related Commands
19+
20+
Command | Description
21+
----------|----------
22+
[platform add](platform-add.html) | Configures the current project to target the selected platform.
23+
[platform remove](platform-remove.html) | Removes the selected platform from the platforms that the project currently targets.
24+
[platform update](platform-update.html) | Updates the NativeScript runtime for the specified platform.
25+
[platform](platform.html) | Lists all platforms that the project currently targets.
26+
[prepare](prepare.html) | Copies common and relevant platform-specific content from the app directory to the subdirectory for the selected target platform in the platforms directory.
27+
<% } %>

docs/man_pages/project/configuration/platform-add.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ To list only experimental versions for iOS, run `$ npm view tns-ios dist-tags`
3232

3333
Command | Description
3434
----------|----------
35+
[install](install.html) | Installs all platforms and dependencies described in the `package.json` file in the current directory.
3536
[platform remove](platform-remove.html) | Removes the selected platform from the platforms that the project currently targets.
3637
[platform update](platform-update.html) | Updates the NativeScript runtime for the specified platform.
3738
[platform](platform.html) | Lists all platforms that the project currently targets.

docs/man_pages/project/configuration/platform-remove.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Removes the selected platform from the platforms that the project currently targ
2424

2525
Command | Description
2626
----------|----------
27+
[install](install.html) | Installs all platforms and dependencies described in the `package.json` file in the current directory.
2728
[platform add](platform-add.html) | Configures the current project to target the selected platform.
2829
[platform update](platform-update.html) | Updates the NativeScript runtime for the specified platform.
2930
[platform](platform.html) | Lists all platforms that the project currently targets.

docs/man_pages/project/configuration/platform-update.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ To list only experimental versions for ios, run `$ npm view tns-ios dist-tags`
2929

3030
Command | Description
3131
----------|----------
32+
[install](install.html) | Installs all platforms and dependencies described in the `package.json` file in the current directory.
3233
[platform add](platform-add.html) | Configures the current project to target the selected platform.
3334
[platform remove](platform-remove.html) | Removes the selected platform from the platforms that the project currently targets.
3435
[platform](platform.html) | Lists all platforms that the project currently targets.

docs/man_pages/project/configuration/platform.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Lists all platforms that the project currently targets. You can build and deploy
1212

1313
Command | Description
1414
----------|----------
15+
[install](install.html) | Installs all platforms and dependencies described in the `package.json` file in the current directory.
1516
[platform add](platform-add.html) | Configures the current project to target the selected platform.
1617
[platform remove](platform-remove.html) | Removes the selected platform from the platforms that the project currently targets.
1718
[platform update](platform-update.html) | Updates the NativeScript runtime for the specified platform.

docs/man_pages/project/configuration/prepare.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ in the `platforms` directory. This lets you build the project with the SDK for t
2323

2424
Command | Description
2525
----------|----------
26+
[install](install.html) | Installs all platforms and dependencies described in the `package.json` file in the current directory.
2627
[platform add](platform-add.html) | Configures the current project to target the selected platform.
2728
[platform remove](platform-remove.html) | Removes the selected platform from the platforms that the project currently targets.
2829
[platform update](platform-update.html) | Updates the NativeScript runtime for the specified platform.

docs/man_pages/project/creation/create.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,13 @@ Creates a new project for native development with NativeScript from the default
1616
* `<App Name>` is the name of project. The specified name must meet the requirements of all platforms that you want to target. <% if(isConsole) { %>For more information about the `<App Name>` requirements, run `$ tns help create`<% } %><% if(isHtml) { %>For projects that target Android, you can use uppercase or lowercase letters, numbers, and underscores. The name must start with a letter.
1717
For projects that target iOS, you can use uppercase or lowercase letters, numbers, and hyphens.<% } %>
1818
* `<App ID>` is the application identifier for your project. It must be a domain name in reverse and must meet the requirements of all platforms that you want to target. If not specified, the application identifier is set to `org.nativescript.<App name>` <% if(isConsole) { %>For more information about the `<App ID>` requirements, run `$ tns help create`<% } %><% if(isHtml) { %>For projects that target Android, you can use uppercase or lowercase letters, numbers, and underscores in the strings of the reversed domain name, separated by a dot. Strings must be separated by a dot and must start with a letter. For example: `com.nativescript.My_Andro1d_App`
19-
For projects that target iOS, you can use uppercase or lowercase letters, numbers, and hyphens in the strings of the reversed domain name. Strings must be separated by a dot. For example: `com.nativescript.My-i0s-App`.<% } %>
19+
For projects that target iOS, you can use uppercase or lowercase letters, numbers, and hyphens in the strings of the reversed domain name. Strings must be separated by a dot. For example: `com.nativescript.My-i0s-App`.<% } %>
20+
21+
<% if(isHtml) { %>
22+
### Related Commands
23+
24+
Command | Description
25+
----------|----------
26+
[init](init.html) | Initializes a project for development. The command prompts you to provide your project configuration interactively and uses the information to create a new package.json file or update the existing one.
27+
[install](install.html) | Installs all platforms and dependencies described in the `package.json` file in the current directory.
28+
<% } %>

0 commit comments

Comments
 (0)