Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions .changeset/clean-numbers-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
---
"@uifabricshared/foundation-composable": patch
"@fluentui-react-native/experimental-appearance-additions": patch
"@uifabricshared/theming-react-native": patch
"@uifabricshared/foundation-settings": patch
"@fluentui-react-native/experimental-activity-indicator": patch
"@fluentui-react-native/experimental-native-font-metrics": patch
"@uifabricshared/foundation-compose": patch
"@fluentui-react-native/experimental-native-date-picker": patch
"@uifabricshared/foundation-tokens": patch
"@fluentui-react-native/themed-stylesheet": patch
"@uifabricshared/themed-settings": patch
"@fluentui-react-native/contextual-menu": patch
"@uifabricshared/theme-registry": patch
"@fluentui-react-native/vibrancy-view": patch
"@fluentui-react-native/focus-trap-zone": patch
"@fluentui-react-native/notification": patch
"@uifabricshared/theming-ramp": patch
"@fluentui-react-native/experimental-menu-button": patch
"@fluentui-react-native/interactive-hooks": patch
"@fluentui-react-native/persona-coin": patch
"@fluentui-react-native/menu-button": patch
"@fluentui-react-native/radio-group": patch
"@fluentui-react-native/experimental-checkbox": patch
"@fluentui-react-native/dropdown": patch
"@fluentui-react-native/experimental-expander": patch
"@fluentui-react-native/overflow": patch
"@fluentui-react-native/composition": patch
"@fluentui-react-native/use-styling": patch
"@fluentui-react-native/android-theme": patch
"@fluentui-react-native/default-theme": patch
"@fluentui-react-native/theming-utils": patch
"@fluentui-react-native/focus-zone": patch
"@fluentui-react-native/pressable": patch
"@fluentui-react-native/separator": patch
"@fluentui-react-native/popover": patch
"@fluentui-react-native/experimental-shimmer": patch
"@fluentui-react-native/spinner": patch
"@fluentui-react-native/tooltip": patch
"@fluentui-react-native/use-tokens": patch
"@fluentui-react-native/theme-tokens": patch
"@fluentui-react-native/checkbox": patch
"@fluentui-react-native/dependency-profiles": patch
"@fluentui-react-native/experimental-avatar": patch
"@fluentui-react-native/drawer": patch
"@fluentui-react-native/experimental-shadow": patch
"@fluentui-react-native/framework": patch
"@fluentui-react-native/use-slots": patch
"@fluentui-react-native/apple-theme": patch
"@fluentui-react-native/theme-types": patch
"@fluentui-react-native/win32-theme": patch
"@fluentui-react-native/callout": patch
"@fluentui-react-native/divider": patch
"@fluentui-react-native/persona": patch
"@fluentui-react-native/tablist": patch
"@fluentui-react-native/use-slot": patch
"@fluentui-react-native/avatar": patch
"@fluentui-react-native/button": patch
"@fluentui-react-native/switch": patch
"@fluentui-react-native/badge": patch
"@fluentui-react-native/input": patch
"@fluentui-react-native/stack": patch
"@fluentui-react-native/chip": patch
"@fluentui-react-native/icon": patch
"@fluentui-react-native/link": patch
"@fluentui-react-native/menu": patch
"@fluentui-react-native/text": patch
"@fluentui-react-native/theme": patch
"@fluentui-react-native/framework-base": patch
"@fluentui/react-native": patch
"@fluentui-react-native/adapters": patch
"@fluentui-react-native/styling-utils": patch
"@fluentui-react-native/tokens": patch
"@fluentui-react-native/tester": patch
"@fluentui-react-native/codemods": patch
---

Update packages to esm, with new builds with project references
1 change: 1 addition & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
See [AGENTS.md](../AGENTS.md) for guidance on working with code in this repository.
35 changes: 18 additions & 17 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,22 +99,22 @@ jobs:
CCACHE_DISABLE: 1

# Disable macOS E2E test to unblock 0.81 checkin
#- name: Prepare E2E macOS tests
# run: yarn e2eprep:macos
# working-directory: apps/E2E

#- name: Run E2E macOS tests
# run: yarn e2etest:macos
# working-directory: apps/E2E

#- name: Upload E2E macOS artifacts
# if: ${{ always() }}
# uses: actions/upload-artifact@v4
# with:
# name: E2E_macos_Dump
# path: |
# apps/E2E/reports
# apps/E2E/errorShots
- name: Prepare E2E macOS tests
run: yarn e2eprep:macos
working-directory: apps/E2E

- name: Run E2E macOS tests
run: yarn e2etest:macos
working-directory: apps/E2E

- name: Upload E2E macOS artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: E2E_macos_Dump
path: |
apps/E2E/reports
apps/E2E/errorShots

ios:
name: iOS PR
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
working-directory: apps/E2E

- name: Start packager
run: cmd /c "start yarn start"
run: cmd /c "start /B cmd /c yarn start ^> packager.log 2^>^&1"
working-directory: apps/fluent-tester

# First build of RNW may fail with Cannot open include file: 'CppWinRTIncludes.h' error
Expand All @@ -227,6 +227,7 @@ jobs:
path: |
apps/E2E/reports
apps/E2E/errorShots
apps/fluent-tester/packager.log

win32:
name: Win32 PR
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/package.json b/package.json
index e3ae6f57a9e873a489a9f15bc16ec5e27131df02..30b6c1c1714372c533e096eb8fb12b8e1de7a1c0 100644
--- a/package.json
+++ b/package.json
@@ -42,7 +42,6 @@
"yargs": "^14.0.0"
},
"dependencies": {
- "@types/react-native": "^0.68.0",
"tslib": "^2.1.0"
},
"peerDependencies": {
153 changes: 153 additions & 0 deletions .yarn/plugins/@rnx-kit/yarn-plugin-ignore.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
/* eslint-disable */
//prettier-ignore
module.exports = {
name: "@rnx-kit/yarn-plugin-ignore",
factory: function (require) {
"use strict";
var plugin = (() => {
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
}) : x)(function(x) {
if (typeof require !== "undefined") return require.apply(this, arguments);
throw Error('Dynamic require of "' + x + '" is not supported');
});
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/index.ts
var index_exports = {};
__export(index_exports, {
IgnoreFetcher: () => IgnoreFetcher,
IgnoreResolver: () => IgnoreResolver,
default: () => index_default
});

// src/IgnoreFetcher.ts
var import_fslib = __require("@yarnpkg/fslib");
var fs = __toESM(__require("fs"), 1);

// src/constants.ts
var IGNORE_PROTOCOL = "ignore:";
var STUB_MODULE = `module.exports = {};
`;
var STUB_PACKAGE = `{
"name": "@rnx-kit/yarn-plugin-ignore/stub",
"version": "0.0.0",
"description": "Stub package for '@rnx-kit/yarn-plugin-ignore'",
"main": "index.js"
}
`;

// src/IgnoreFetcher.ts
var IgnoreFetcher = class {
supports(locator) {
return locator.reference.startsWith(IGNORE_PROTOCOL);
}
getLocalPath() {
return null;
}
async fetch(_locator, opts) {
const base = opts.project.cwd;
const sourceFs = new import_fslib.CwdFS(base);
const localPath = import_fslib.ppath.resolve(
base,
"node_modules",
".generated",
"@rnx-kit",
"yarn-plugin-ignore-stub"
);
const nativePath = import_fslib.npath.fromPortablePath(localPath);
if (!fs.existsSync(nativePath)) {
fs.mkdirSync(nativePath, { recursive: true, mode: 493 });
fs.writeFileSync(import_fslib.npath.join(nativePath, "package.json"), STUB_PACKAGE);
fs.writeFileSync(import_fslib.npath.join(nativePath, "index.js"), STUB_MODULE);
}
return {
packageFs: new import_fslib.CwdFS(localPath, { baseFs: sourceFs }),
prefixPath: import_fslib.PortablePath.dot,
discardFromLookup: true,
localPath
};
}
};

// src/IgnoreResolver.ts
var import_core = __require("@yarnpkg/core");
var import_node_assert = __require("assert");
var IgnoreResolver = class {
supportsDescriptor(descriptor) {
return descriptor.range.startsWith(IGNORE_PROTOCOL);
}
supportsLocator(locator) {
return locator.reference.startsWith(IGNORE_PROTOCOL);
}
shouldPersistResolution() {
return false;
}
bindDescriptor(descriptor, _fromLocator) {
return descriptor;
}
getResolutionDependencies() {
return {};
}
async getCandidates(descriptor, _dependencies, _opts) {
return [import_core.structUtils.makeLocator(descriptor, IGNORE_PROTOCOL)];
}
async getSatisfying(_descriptor, _dependencies, locators, _opts) {
(0, import_node_assert.equal)(locators.length, 1, "Expected a single locator candidate");
return { locators, sorted: true };
}
async resolve(locator, opts) {
const manifest = new import_core.Manifest();
return {
...locator,
version: "0.0.0",
languageName: opts.project.configuration.get("defaultLanguageName"),
linkType: import_core.LinkType.SOFT,
conditions: null,
dependencies: manifest.dependencies,
peerDependencies: manifest.peerDependencies,
dependenciesMeta: manifest.dependenciesMeta,
peerDependenciesMeta: manifest.peerDependenciesMeta,
bin: manifest.bin
};
}
};

// src/index.ts
var plugin = {
fetchers: [IgnoreFetcher],
resolvers: [IgnoreResolver]
};
var index_default = plugin;
return __toCommonJS(index_exports);
})();
return plugin;
}
};
//# sourceMappingURL=yarn-plugin-ignore.cjs.map
13 changes: 8 additions & 5 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ catalog:
"@rnx-kit/lint-package": ^0.1.0
"@rnx-kit/metro-config": ^2.2.4
"@rnx-kit/metro-resolver-symlinks": ^0.2.11
"@rnx-kit/metro-serializer": "^2.0.3"
"@rnx-kit/metro-serializer-esbuild": "^0.3.2"
"@rnx-kit/metro-serializer": ^2.0.3
"@rnx-kit/metro-serializer-esbuild": ^0.3.2
"@rnx-kit/oxlint-config": ^1.0.3
"@rnx-kit/reporter": ^0.1.0
"@rnx-kit/tools-packages": ^0.1.3
"@rnx-kit/tools-react-native": ^2.3.7
"@rnx-kit/tools-workspaces": ^0.2.3
"@rnx-kit/tools-typescript": ^0.1.3
"@rnx-kit/tools-workspaces": ^0.2.3
"@rnx-kit/tsconfig": ^3.0.3
"@rnx-kit/types-kit-config": "^1.0.0"
"@rnx-kit/types-node": "^1.0.0"
"@rnx-kit/types-kit-config": ^1.0.0
"@rnx-kit/types-node": ^1.0.0
"@types/jasmine": 5.1.13
"@types/node": ^22.19.7
"@wdio/appium-service": ^9.24.0
Expand Down Expand Up @@ -313,5 +313,8 @@ plugins:
- checksum: 672e525b81762c6162366bd3ffec5e86ab8fac2655ef0267047e86a0f32e79a4bde0f170bc30479663f40aa3f006d91f8dc3289f679dd4dc5ae5a5d12ba3ad0b
path: .yarn/plugins/@rnx-kit/yarn-plugin-dynamic-extensions.cjs
spec: "https://raw.githubusercontent.com/microsoft/rnx-kit/main/incubator/yarn-plugin-dynamic-extensions/index.js"
- checksum: 8d8252c376e41a67ca509b2778f3fb92164aa91828459ae8a6aa0e13f1b6f9843586d0983ba9a200f6d813d37efc171474c8dbc85b0dff01df56c0d476c238ce
path: .yarn/plugins/@rnx-kit/yarn-plugin-ignore.cjs
spec: "https://raw.githubusercontent.com/microsoft/rnx-kit/main/incubator/yarn-plugin-ignore/dist/yarn-plugin-ignore.cjs"

yarnPath: .yarn/releases/yarn-4.13.0.cjs
Loading
Loading