From 7fdf32faf34f2c7fc22b5b6fc49743fe39695f5f Mon Sep 17 00:00:00 2001 From: Iva Koevska Date: Tue, 28 Apr 2015 10:53:03 +0300 Subject: [PATCH] Breaking changes in 0.10.0, bumping version to 1.0.0-rc0 --- CHANGELOG.md | 9 ++++++++- README.md | 24 ++++++++++++------------ 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52b2b36f69..b752a6a5bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ NativeScript CLI Changelog ================ -1.0.0 (2015, April 28) +1.0.0-rc0 (2015, April 28) == ### New @@ -27,6 +27,13 @@ NativeScript CLI Changelog 0.10.0 (2015, April 21) == +### Breaking + +* Introduced new project structure. To migrate to the new structure, complete the following steps. + 1. Manually move all files and folders from the inner `app` folder one level up inside the outer `app` folder. + 1. Remove the now empty inner `app` folder. + 1. Verify that your project structure reflects the structure described [here](README.md#create-project). + ### New * [Implemented #388](https://github.com/NativeScript/nativescript-cli/issues/388): Improved the `--log trace` global option. diff --git a/README.md b/README.md index 8b49918970..2ee75852b4 100644 --- a/README.md +++ b/README.md @@ -289,18 +289,18 @@ The CLI places the project in a new directory in the current directory. The newl ``` MyApp/ -|-- app/ -|-- |-- app/ -|-- |-- App_Resources/ -|-- |-- |-- Android/ -|-- |-- `-- iOS/ -|-- |-- tns_modules/ -|-- |-- `-- .../ -|-- |-- LICENSE -|-- |-- package.json -|-- `-- README.md -|-- platforms/ -`-- .tnsproject +├── app +│ ├── app.css +│ ├── app.js +│ ├── bootstrap.js +│ ├── main-page.js +│ ├── main-page.xml +│ ├── App_Resources +│ │ └── ... +│ └── tns_modules +│ └── ... +└── platforms + └── ... ``` * 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 `, the NativeScript CLI copies relevant content to the platform-specific folders for each target platform.