Skip to content

Commit

Permalink
Merge pull request #186 from rdkcentral/dev
Browse files Browse the repository at this point in the history
Release of v2.8.0 (mono repo, basic TS support, source map support, and more)
  • Loading branch information
michielvandergeest authored Jun 21, 2022
2 parents c1e6367 + 3640226 commit 6bacb49
Show file tree
Hide file tree
Showing 16 changed files with 7,741 additions and 1,737 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## v2.8.0

*21 jun 2022*

- Added mono repo support
- Added basic Typescript support (in app code)
- Added Source map support for rollup (es5 config) and esbuild (es5 and es6 configs)
- Fixed custom build folder issue in `.env` file
- Updated documentation related to `lng dist --watch` command
- Fixed the issue to have default value for app identifier matches the app name

## v2.7.2

*25 jan 2022*
Expand Down
4 changes: 2 additions & 2 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- [Installation](installation.md)
- [Available commands](availablecommands.md)
- [Installation](installation/index.md)
- [Commands](commands/index.md)
- [Create](commands/create.md)
- [Build](commands/build.md)
- [Serve](commands/serve.md)
Expand Down
5 changes: 5 additions & 0 deletions docs/commands/dist.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ by passing `--es5` as an option as shown below:
```bash
lng dist --es5
```

Each time you make a change to the source code of your App, you have to execute `lng dist` to generate a new dist build of the app.
This can become a cumbersome process and is easily forgotten.

By adding the `--watch`-flag to the dist command (i.e `lng dist --watch`) this process is automated. A *watcher* keeps track of any file changes in the **src** and **static** folders and triggers a `lng dist` action for every change.
1 change: 1 addition & 0 deletions docs/environmentvariables.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ You can use the following environment variables to customize the behavior of the
| `LNG_AUTO_UPDATE` | true | Indicates whether or not the Lightning CLI should automatically update ('auto update'). Possible values: `true`, `false`. **Note**: It is recommended to keep auto updates enabled. |
| `LNG_BUILD_EXIT_ON_FAIL` | false | Specifies whether or not the build process should hard exit when a build error occurs. Note that the build process is triggered in several commands (`lng build`, `lng dev`, `lng watch` and `lng dist`) |
| `LNG_BUILD_FAIL_ON_WARNINGS` | false | Specifies whether or not to show the warning to the user when a build warning occurs. Note that the build process is triggered in several commands (`lng build`, `lng dev`, `lng watch` and `lng dist`) |
| `LNG_BUNDLER` | rollup | Specify which bundler the CLI should use to bundle the app. Possible values: `rollup`, `esbuild`. |

#### `LNG_SETTINGS_ENV`
Specifies which environment to be used. User need to have `settings.{env}.json` file in the Project home folder with different settings. This will build/dist the application with `settings.{env}.json`.
Expand Down
15 changes: 13 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

The Reference Documentation for Lightning CLI contains detailed descriptions of:

* [Install the Lighting CLI](installation/index.md)
* [CLI Commands](commands/index.md)
<!---TOC_start--->
* [Installation](installation/index.md)
* [Commands](commands/index.md)
* [Create](commands/create.md)
* [Build](commands/build.md)
* [Serve](commands/serve.md)
* [Watch](commands/watch.md)
* [Dev](commands/dev.md)
* [Docs](commands/docs.md)
* [Dist](commands/dist.md)
* [Upload](commands/upload.md)
* [Update](commands/update.md)
* [Environment Variables](environmentvariables.md)
<!---TOC_end--->
Loading

0 comments on commit 6bacb49

Please sign in to comment.