Skip to content

Commit 6b4d592

Browse files
authored
Fix bundling to use typescript files rather than js files (#3934)
* add react-native entrypoints that ensure metro targets TS files rather than JS files for bundling * Change files
1 parent 3e168e4 commit 6b4d592

File tree

156 files changed

+620
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+620
-2
lines changed

apps/E2E/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"license": "MIT",
66
"main": "lib-commonjs/index.js",
77
"module": "lib/index.js",
8+
"react-native": "src/index.ts",
89
"typings": "lib/index.d.ts",
910
"exports": {
1011
".": {

apps/fluent-tester/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"homepage": "https://github.com/microsoft/fluentui-react-native",
88
"main": "lib-commonjs/index.js",
99
"module": "lib/index.js",
10+
"react-native": "src/index.ts",
1011
"typings": "lib/index.d.ts",
1112
"exports": {
1213
".": {

apps/win32/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.38.47",
44
"main": "lib-commonjs/index.js",
55
"module": "lib/index.js",
6+
"react-native": "src/index.ts",
67
"typings": "lib/index.d.ts",
78
"exports": {
89
".": {
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "add react-native entrypoints that ensure metro targets TS files rather than JS files for bundling",
4+
"packageName": "@fluentui/react-native",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "add react-native entrypoints that ensure metro targets TS files rather than JS files for bundling",
4+
"packageName": "@fluentui-react-native/adapters",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "add react-native entrypoints that ensure metro targets TS files rather than JS files for bundling",
4+
"packageName": "@fluentui-react-native/android-theme",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "add react-native entrypoints that ensure metro targets TS files rather than JS files for bundling",
4+
"packageName": "@fluentui-react-native/apple-theme",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "add react-native entrypoints that ensure metro targets TS files rather than JS files for bundling",
4+
"packageName": "@fluentui-react-native/avatar",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "add react-native entrypoints that ensure metro targets TS files rather than JS files for bundling",
4+
"packageName": "@fluentui-react-native/badge",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "add react-native entrypoints that ensure metro targets TS files rather than JS files for bundling",
4+
"packageName": "@fluentui-react-native/button",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

0 commit comments

Comments
 (0)