-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into @atlj/store-project-metadata
- Loading branch information
Showing
27 changed files
with
2,163 additions
and
188 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
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
25 changes: 0 additions & 25 deletions
25
packages/create-react-native-library/templates/expo-library/example/webpack.config.js
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* eslint-disable import/no-commonjs */ | ||
|
||
const browserslist = require('browserslist'); | ||
|
||
module.exports = function (api, options, cwd) { | ||
return { | ||
presets: [ | ||
[ | ||
require.resolve('@babel/preset-env'), | ||
{ | ||
targets: browserslist.findConfig(cwd) || { | ||
browsers: [ | ||
'>1%', | ||
'last 2 chrome versions', | ||
'last 2 edge versions', | ||
'last 2 firefox versions', | ||
'last 2 safari versions', | ||
'not dead', | ||
'not ie <= 11', | ||
'not op_mini all', | ||
'not android <= 4.4', | ||
'not samsung <= 4', | ||
], | ||
node: '18', | ||
}, | ||
useBuiltIns: false, | ||
modules: options.modules || false, | ||
}, | ||
], | ||
require.resolve('@babel/preset-react'), | ||
require.resolve('@babel/preset-typescript'), | ||
require.resolve('@babel/preset-flow'), | ||
], | ||
}; | ||
}; |
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
7 changes: 7 additions & 0 deletions
7
packages/react-native-builder-bob/src/__fixtures__/project/code/$alias-input.ts
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,7 @@ | ||
import "@"; | ||
import f from "@/f"; | ||
import "@something"; | ||
import "./@"; | ||
import "file"; | ||
import { something } from "something"; | ||
import "something/somefile"; |
7 changes: 7 additions & 0 deletions
7
packages/react-native-builder-bob/src/__fixtures__/project/code/$alias-output.ts
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,7 @@ | ||
import ".."; | ||
import f from "../f"; | ||
import "@something"; | ||
import "./@"; | ||
import "../f"; | ||
import { something } from "another"; | ||
import "another/somefile"; |
20 changes: 20 additions & 0 deletions
20
packages/react-native-builder-bob/src/__fixtures__/project/code/$exports-input.ts
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,20 @@ | ||
export * as a from "a"; | ||
export * as b from "./b"; | ||
export * as c from "./c"; | ||
export * as d from "./d"; | ||
export * as e from "./e.story"; | ||
export * as f from "../f"; | ||
export * as pac from ".."; | ||
export * as pak from "../"; | ||
export * as pax from "../index"; | ||
|
||
export { a as a1 } from "./a"; | ||
export * from "./b"; | ||
|
||
export type { A } from "./a"; | ||
|
||
export const foo = "foo"; | ||
|
||
const bar = "bar"; | ||
|
||
export { bar }; |
15 changes: 15 additions & 0 deletions
15
packages/react-native-builder-bob/src/__fixtures__/project/code/$exports-output.ts
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,15 @@ | ||
export * as a from "a"; | ||
export * as b from "./b.mjs"; | ||
export * as c from "./c.mjs"; | ||
export * as d from "./d"; | ||
export * as e from "./e.story.mjs"; | ||
export * as f from "../f.mjs"; | ||
export * as pac from "../index.mjs"; | ||
export * as pak from "../index.mjs"; | ||
export * as pax from "../index.mjs"; | ||
export { a as a1 } from "./a.mjs"; | ||
export * from "./b.mjs"; | ||
export type { A } from "./a"; | ||
export const foo = "foo"; | ||
const bar = "bar"; | ||
export { bar }; |
16 changes: 16 additions & 0 deletions
16
packages/react-native-builder-bob/src/__fixtures__/project/code/$imports-input.ts
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,16 @@ | ||
import "./a"; | ||
import a from "a"; | ||
import b from "./b"; | ||
import c from "./c"; | ||
import d from "./d"; | ||
import e from "./e.story"; | ||
import f from "../f"; | ||
import pac from ".."; | ||
import pak from "../"; | ||
import pax from "../index"; | ||
|
||
import { a as a1 } from "./a"; | ||
import * as b1 from "./b"; | ||
import something, { c as c1 } from "./c"; | ||
|
||
import type { A } from "./a"; |
14 changes: 14 additions & 0 deletions
14
packages/react-native-builder-bob/src/__fixtures__/project/code/$imports-output.ts
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,14 @@ | ||
import "./a.mjs"; | ||
import a from "a"; | ||
import b from "./b.mjs"; | ||
import c from "./c.mjs"; | ||
import d from "./d"; | ||
import e from "./e.story.mjs"; | ||
import f from "../f.mjs"; | ||
import pac from "../index.mjs"; | ||
import pak from "../index.mjs"; | ||
import pax from "../index.mjs"; | ||
import { a as a1 } from "./a.mjs"; | ||
import * as b1 from "./b.mjs"; | ||
import something, { c as c1 } from "./c.mjs"; | ||
import type { A } from "./a"; |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.