You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,23 @@
1
1
NativeScript CLI Changelog
2
2
================
3
3
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.
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.
Copy file name to clipboardExpand all lines: docs/man_pages/project/creation/create.md
+10-1
Original file line number
Diff line number
Diff line change
@@ -16,4 +16,13 @@ Creates a new project for native development with NativeScript from the default
16
16
*`<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.
17
17
For projects that target iOS, you can use uppercase or lowercase letters, numbers, and hyphens.<% } %>
18
18
*`<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.
General | `$ tns init [--path <Directory>] [--force]`
7
+
8
+
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.
9
+
10
+
### Options
11
+
*`--path` - Specifies the directory where you want to initialize the project, if different from the current directory. The directory must be empty.
12
+
*`--force` - If set, applies the default project configuration and does not show the interactive prompt. The default project configuration targets the latest official runtimes and sets `org.nativescript.<folder_name>` for application identifier.
13
+
14
+
<% if(isHtml) { %>
15
+
### Related Commands
16
+
17
+
Command | Description
18
+
----------|----------
19
+
[create](create.html) | Creates a new project for native development with NativeScript from the default template or from an existing NativeScript project.
20
+
[install](install.html) | Installs all platforms and dependencies described in the `package.json` file in the current directory.
0 commit comments