Skip to content

Commit

Permalink
chore: change default branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
leegeunhyeok committed Dec 29, 2023
1 parent 04fc154 commit 7eb7b67
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/pages/configuration/basic-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ Logger configurations.
Resolver configurations.

- `resolver.mainFields`: When importing from an npm package, this option will determine which fields in its `package.json` are checked. (Defaults to `['react-native', 'browser', 'main', 'module']`)
- `resolver.sourceExtensions`: File extensions for transform. ([Default](https://github.com/leegeunhyeok/react-native-esbuild/blob/master/packages/internal/lib/defaults.ts))
- `resolver.assetExtensions`: File extensions for assets registration. ([Default](https://github.com/leegeunhyeok/react-native-esbuild/blob/master/packages/internal/lib/defaults.ts))
- `resolver.sourceExtensions`: File extensions for transform. ([Default](https://github.com/leegeunhyeok/react-native-esbuild/blob/main/packages/internal/lib/defaults.ts))
- `resolver.assetExtensions`: File extensions for assets registration. ([Default](https://github.com/leegeunhyeok/react-native-esbuild/blob/main/packages/internal/lib/defaults.ts))

### transformer

Expand Down Expand Up @@ -133,13 +133,13 @@ interface Config {
/**
* File extensions for transform.
*
* Defaults: https://github.com/leegeunhyeok/react-native-esbuild/blob/master/packages/internal/lib/defaults.ts
* Defaults: https://github.com/leegeunhyeok/react-native-esbuild/blob/main/packages/internal/lib/defaults.ts
*/
sourceExtensions?: string[];
/**
* File extensions for assets registration.
*
* Defaults: https://github.com/leegeunhyeok/react-native-esbuild/blob/master/packages/internal/lib/defaults.ts
* Defaults: https://github.com/leegeunhyeok/react-native-esbuild/blob/main/packages/internal/lib/defaults.ts
*/
assetExtensions?: string[];
};
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"npmClient": "yarn",
"command": {
"version": {
"allowBranch": "master",
"allowBranch": "main",
"conventionalCommits": true,
"gitRemote": "origin",
"message": "chore(release): release packages"
Expand Down
4 changes: 2 additions & 2 deletions packages/core/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ export interface Config {
/**
* File extensions for transform.
*
* Defaults: https://github.com/leegeunhyeok/react-native-esbuild/blob/master/packages/internal/lib/defaults.ts
* Defaults: https://github.com/leegeunhyeok/react-native-esbuild/blob/main/packages/internal/lib/defaults.ts
*/
sourceExtensions?: string[];
/**
* File extensions for assets registration.
*
* Defaults: https://github.com/leegeunhyeok/react-native-esbuild/blob/master/packages/internal/lib/defaults.ts
* Defaults: https://github.com/leegeunhyeok/react-native-esbuild/blob/main/packages/internal/lib/defaults.ts
*/
assetExtensions?: string[];
};
Expand Down

1 comment on commit 7eb7b67

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🔴 Statements 16.21% 328/2024
🔴 Branches 16.3% 82/503
🔴 Functions 10.8% 65/602
🔴 Lines 15.5% 298/1923

Test suite run success

83 tests passing in 10 suites.

Report generated by 🧪jest coverage report action from 7eb7b67

Please sign in to comment.