We should start tracking usage of the new community-driven React NativeScript and Svelte Native initiatives in the CLI.
Let's track those as "React" and "Svelte" respectively.
Acceptance Criteria:
React after npm install react-nativescript --save is executed.Svelte after npm install svelte-native --save is executed.tns update command, i.e. when you execute the tns update in such project, it should pass and update your tns-core-modules, runtimes and nativescript-dev-webpack versions.NOTE: You can check how CLI tracks each project by checking the cd2 value in the analyticsLogFile, i.e.:
tns usage-reporting enable
tns prepare <platform> --analyticsLogFile analyticsData.txt
After command exits check the analyticsData.txt file and search for:
Setting custom dimension cd2 to value Svelte
or
Setting custom dimension cd2 to value React
Not sure if this is the best place for it, but either way, here's a starter template for React NativeScript. The commit history shows how I built it following tns create mycoolapp --tsc.
It follows the steps of https://github.com/shirakaba/react-nativescript#setup exactly, except for the fact that I've pinned the installed dependency versions.
Hey Jamie, that's great! I will open a separate issue to keep this issue focused on tracking.
When use command tns update and run
tns usage-reporting enable
tns prepare <platform> --analyticsLogFile analyticsData.txt
You will see exception with update of webpack
Most helpful comment
Not sure if this is the best place for it, but either way, here's a starter template for React NativeScript. The commit history shows how I built it following
tns create mycoolapp --tsc.It follows the steps of https://github.com/shirakaba/react-nativescript#setup exactly, except for the fact that I've pinned the installed dependency versions.
https://github.com/shirakaba/react-nativescript-starter