@flare-desktop/cli 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
- package/src/release-versions.js +2 -2
- package/src/templates/project.js +1 -1
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ environment and local layers. The executable does not read JSON from disk. Rebui
|
|
|
40
40
|
build system tracks them. `flare dev` embeds the development layer and `flare build` embeds production. The `--config`
|
|
41
41
|
and `--environment` CLI flags select the input at build time. On Windows the generated CMake project enables
|
|
42
42
|
`FLARE_NATIVE_WEBVIEW` before fetching the C++ core; the CLI verifies that the native backend was enabled.
|
|
43
|
-
Generated projects require CLI 0.1.
|
|
43
|
+
Generated projects require CLI 0.1.5 or newer. They target C++ core v0.1.3; prebuilt mode requires the matching GitHub SDK Release. Only TypeScript templates install the types-only npm core v0.1.0; JavaScript runtime is injected by C++.
|
|
44
44
|
|
|
45
45
|
`flare build` passes `build.frontendDist` to CMake as `FLARE_FRONTEND_DIR`. The scaffolded `CMakeLists.txt` uses
|
|
46
46
|
that variable for `FlareEmbedFrontend` and for the development directory. Change the config key, not the CMake
|
|
@@ -94,11 +94,11 @@ Vanilla JavaScript has no bundler; every other template uses Vite. The C++ libra
|
|
|
94
94
|
|
|
95
95
|
The generated CMakeLists delegates embedded configuration generation, frontend directory selection and embedding to the library's `FlareConfigureApplication(target)` helper (provided both by FetchContent and the prebuilt SDK).
|
|
96
96
|
|
|
97
|
-
Choose `--sdk=source` (FetchContent of core tag `v0.1.
|
|
97
|
+
Choose `--sdk=source` (FetchContent of core tag `v0.1.3`) or `--sdk=prebuilt` (download the matching
|
|
98
98
|
GitHub Release SDK archives into `vendor/flare`). The first binary SDK matrix covers Windows x64 MSVC
|
|
99
99
|
Debug/Release with MD/MT, Linux x64 GCC Debug/Release and macOS x64/arm64 Clang Debug/Release.
|
|
100
100
|
Unsupported architectures/ABIs must use source mode. The native webview runs on Windows, macOS and Linux;
|
|
101
|
-
headless mode is an explicit testing option. Prebuilt mode requires the published core v0.1.
|
|
101
|
+
headless mode is an explicit testing option. Prebuilt mode requires the published core v0.1.3 SDK Release,
|
|
102
102
|
created by the core SDK workflow after successful platform builds.
|
|
103
103
|
|
|
104
104
|
The former C++ `codegen` executable is replaced by `npx flare codegen --language=header|cpp|json` with
|
package/package.json
CHANGED
package/src/release-versions.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const CORE_VERSION = "0.1.
|
|
1
|
+
export const CORE_VERSION = "0.1.3";
|
|
2
2
|
export const CORE_NPM_VERSION = "0.1.0";
|
|
3
|
-
export const MIN_CLI_VERSION = "0.1.
|
|
3
|
+
export const MIN_CLI_VERSION = "0.1.5";
|
package/src/templates/project.js
CHANGED
|
@@ -109,7 +109,7 @@ FetchContent_MakeAvailable(flare)`}
|
|
|
109
109
|
add_executable(${name} source/main.cpp)
|
|
110
110
|
target_link_libraries(${name} PRIVATE flare::core flare::assets)
|
|
111
111
|
if(MSVC)
|
|
112
|
-
target_compile_options(${name} PRIVATE /utf-8)
|
|
112
|
+
target_compile_options(${name} PRIVATE /utf-8 /EHsc)
|
|
113
113
|
endif()
|
|
114
114
|
|
|
115
115
|
FlareConfigureApplication(${name})
|