diff --git a/docs/pages/configuration/basic-configuration.mdx b/docs/pages/configuration/basic-configuration.mdx index 8c5d10b8..def6af16 100644 --- a/docs/pages/configuration/basic-configuration.mdx +++ b/docs/pages/configuration/basic-configuration.mdx @@ -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 @@ -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[]; }; diff --git a/lerna.json b/lerna.json index 3b3ce82a..31f66b63 100644 --- a/lerna.json +++ b/lerna.json @@ -4,7 +4,7 @@ "npmClient": "yarn", "command": { "version": { - "allowBranch": "master", + "allowBranch": "main", "conventionalCommits": true, "gitRemote": "origin", "message": "chore(release): release packages" diff --git a/packages/core/lib/types.ts b/packages/core/lib/types.ts index 139eb200..f71aeaf6 100644 --- a/packages/core/lib/types.ts +++ b/packages/core/lib/types.ts @@ -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[]; };