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
-`--skip-deps`: Skip dependency upgrades (use current versions)
16
-
-`--skip-build`: Skip final build verification step
17
15
-`--template <template>`: Project template (cpp-lib or cpp-app), defaults to cpp-lib
18
16
19
17
## What it does
@@ -24,14 +22,11 @@ The command performs the following steps automatically:
24
22
25
23
2.**Package.json Updates**: Adds or updates the `codegenConfig` section in package.json with proper Windows codegen configuration.
26
24
27
-
3.**Dependency Management**:
28
-
- Installs dependencies using yarn
25
+
3.**Windows Library Setup**: Runs `init-windows --template <template>` to create the Windows-specific project structure. Supports both `cpp-lib` (default) and `cpp-app` templates.
29
26
30
-
4.**Windows Library Setup**: Runs `init-windows --template <template>` to create the Windows-specific project structure. Supports both `cpp-lib` (default) and `cpp-app` templates.
27
+
4.**Code Generation**: Runs `codegen-windows` to generate C++ spec files from TypeScript/JavaScript specs.
31
28
32
-
5.**Code Generation**: Runs `codegen-windows` to generate C++ spec files from TypeScript/JavaScript specs.
33
-
34
-
6.**C++ Stub Generation**: Creates C++ header (.h) and implementation (.cpp) stub files with:
29
+
5.**C++ Stub Generation**: Creates C++ header (.h) and implementation (.cpp) stub files with:
35
30
- Proper method signatures matching the TypeScript spec
36
31
- Reference multiply function as commented example (from cpp-lib template)
37
32
- Hello World `sayHello` function to verify module functionality
**"Create Spec File - TurboModule spec file not found"**: You need to create a TurboModule spec file before running this command. The command will not automatically create spec files.
0 commit comments