-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
649 additions
and
1,047 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
--- | ||
title: plugin-fsapp | ||
--- | ||
|
||
The "plugin-fsapp" | ||
|
||
## Install | ||
|
||
Add `@brandingbrand/code-plugin-fsapp` as a development dependency to your React Native project. | ||
|
||
import {Tabs, TabItem} from '@astrojs/starlight/components'; | ||
|
||
<Tabs> | ||
<TabItem label="yarn"> | ||
|
||
```sh | ||
yarn add --dev @brandingbrand/code-plugin-fsapp | ||
``` | ||
|
||
</TabItem> | ||
<TabItem label="npm"> | ||
|
||
```sh | ||
npm install --save-dev @brandingbrand/code-plugin-fsapp | ||
``` | ||
|
||
</TabItem> | ||
<TabItem label="pnpm"> | ||
|
||
```sh | ||
pnpm add --save-dev @brandingbrand/code-plugin-fsapp | ||
``` | ||
|
||
</TabItem> | ||
<TabItem label="bun"> | ||
|
||
```sh | ||
bun add --dev @brandingbrand/code-plugin-fsapp | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
Your package.json should now be updated, `@brandingbrand/code-plugin-fsapp` should be listed as a `devDependency`. | ||
|
||
```json title="package.json" ins={10} | ||
{ | ||
"name": "my-awesome-app", | ||
"version": "1.0.0", | ||
"author": "Your Name <[email protected]>", | ||
"dependencies": { | ||
"react": "^18.2.0", | ||
"react-native": "~0.72.0" | ||
}, | ||
"devDependencies": { | ||
"@brandingbrand/code-plugin-fsapp": "1.0.0" | ||
} | ||
} | ||
``` | ||
|
||
## Configure | ||
|
||
### Flagship Code Configuration | ||
|
||
Upon installing the dependency, it is imperative to update the `flagship-code.config.ts` file. Specifically, ensure that the `plugins` array includes the newly installed dependency. This step is crucial, as Flagship Code will only invoke the plugin if it is listed within this array. By including the dependency in the `plugins` array, you enable Flagship Code to recognize and utilize the functionality provided by the plugin during project execution. | ||
|
||
```ts title="flagship-code.config.ts" ins={9} | ||
import {defineConfig} from '@brandingbrand/code-cli-kit'; | ||
|
||
export default defineConfig({ | ||
buildPath: './coderc/build', | ||
envPath: './coderc/env', | ||
pluginPath: './coderc/plugins', | ||
plugins: [ | ||
// other plugins | ||
'@brandingbrand/code-plugin-fsapp', | ||
], | ||
}); | ||
``` | ||
|
||
For more detailed guidance and information, please refer to the [Flagship Code Configuration](/guides/config) guide. This resource offers comprehensive instructions and insights to assist you in configuring Flagship Code effectively. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
packages/cli/__tests__/react-native-0.73/main-application-kt.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.