Skip to content
Merged
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
10 changes: 2 additions & 8 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,8 @@ jobs:
- name: Install dependencies
run: yarn

- name: Check formatting
run: yarn format:check

- name: Run lint-lockfile
run: yarn lint-lockfile

- name: Build CI
run: yarn buildci
run: yarn lage buildci

android:
name: Android PR
Expand Down Expand Up @@ -367,7 +361,7 @@ jobs:
path: _packed/

- name: Simulate publish
run: yarn lage publish-dry-run --verbose --grouped
run: yarn lage publish:dry-run --verbose --grouped

test-links:
name: Test repo links
Expand Down
942 changes: 0 additions & 942 deletions .yarn/releases/yarn-4.12.0.cjs

This file was deleted.

940 changes: 940 additions & 0 deletions .yarn/releases/yarn-4.13.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,4 +305,4 @@ plugins:
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"

yarnPath: .yarn/releases/yarn-4.12.0.cjs
yarnPath: .yarn/releases/yarn-4.13.0.cjs
3 changes: 2 additions & 1 deletion apps/E2E/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@fluentui-react-native/e2e-testing",
"version": "1.43.11",
"version": "0.1.0",
"private": true,
"description": "Package containing E2E testing specs",
"license": "MIT",
"repository": {
Expand Down
9 changes: 8 additions & 1 deletion apps/tester-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@fluentui-react-native/tester-core",
"version": "0.1.2",
"version": "0.1.0",
"private": true,
"description": "Core implementation of the fluent tester app",
"homepage": "https://github.com/microsoft/fluentui-react-native",
"license": "MIT",
Expand Down Expand Up @@ -194,6 +195,12 @@
},
"@types/react": {
"optional": true
},
"react-native-macos": {
"optional": true
},
"react-native-windows": {
"optional": true
}
},
"jest": {
Expand Down
5 changes: 3 additions & 2 deletions apps/win32-81/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@fluentui-react-native/tester-win32-81",
"version": "0.38.70",
"version": "0.1.0",
"private": true,
"description": "Fluent UI React Native Win32 Tester App for RN 0.81",
"repository": {
"type": "git",
Expand All @@ -26,9 +27,9 @@
"bundle-dev": "rnx-cli bundle",
"clean": "fluentui-scripts clean",
"depcheck": "fluentui-scripts depcheck",
"format": "fluentui-scripts format",
"lint": "fluentui-scripts eslint",
"lint-package": "fluentui-scripts lint-package",
"format": "fluentui-scripts format",
"run-win32": "rex-win32 --bundle index.win32 --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8",
"run-win32-dev": "rex-win32 --bundle index --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8 --useFastRefresh",
"run-win32-devmain": "rex-win32 --bundle index.win32 --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8 --useDevMain ",
Expand Down
5 changes: 3 additions & 2 deletions apps/win32/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@fluentui-react-native/tester-win32",
"version": "0.38.70",
"version": "0.1.0",
"private": true,
"description": "Fluent UI React Native Win32 Tester App",
"repository": {
"type": "git",
Expand All @@ -26,9 +27,9 @@
"bundle-dev": "rnx-cli bundle",
"clean": "fluentui-scripts clean",
"depcheck": "fluentui-scripts depcheck",
"format": "fluentui-scripts format",
"lint": "fluentui-scripts eslint",
"lint-package": "fluentui-scripts lint-package",
"format": "fluentui-scripts format",
"run-win32": "rex-win32 --bundle index.win32 --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8",
"run-win32-dev": "rex-win32 --bundle index --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8 --useFastRefresh",
"run-win32-devmain": "rex-win32 --bundle index.win32 --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8 --useDevMain ",
Expand Down
32 changes: 23 additions & 9 deletions lage.config.js → lage.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
const config = {
npmClient: 'yarn',
pipeline: {
// ── Per-package tasks ──────────────────────────────────────────────────
'build-cjs': {
// cjs builds need to wait for the esm builds to produce the type definitions
dependsOn: ['^build-core', '^build-cjs'],
Expand All @@ -20,7 +21,6 @@ const config = {
inputs: ['*', 'src/**/*', 'assets/**/*'],
outputs: ['lib/**/*', 'lib-commonjs/**/*'],
},
buildci: ['build-all', 'test', 'lint', 'lint-package'],
bundle: {
inputs: ['**/*', '!node_modules/**/*', '!dist/**/*', '!lib/**/*', '!lib-commonjs/**/*'],
outputs: ['dist/**/*'],
Expand All @@ -36,16 +36,30 @@ const config = {
inputs: ['**/*', '!node_modules/**/*', '!dist/**/*', '!lib/**/*', '!lib-commonjs/**/*'],
outputs: [],
},
format: {
inputs: ['*', 'src/**/*'],
outputs: [],
},
'pr-check': ['buildci', 'lint-package', 'lint-lockfile', 'format:check'],
test: {
dependsOn: ['build-all'],
inputs: [],
outputs: [],
},

// ── Root-only tasks (scripts exist only in the root package.json) ──────
// These run once for the whole repo. Sub-packages do not have these scripts,
// so lage naturally scopes them to the root workspace.
'check-publishing': {
cache: false,
},
'format:check': {
cache: false,
},
'lint-lockfile': {
cache: false,
},

// ── Pipeline aliases ───────────────────────────────────────────────────
'repo-checks': ['lint-lockfile', 'format:check', 'check-publishing'],
buildci: ['build-all', 'test', 'lint', 'lint-package', 'repo-checks'],

// ── Worker tasks ───────────────────────────────────────────────────────
pack: {
dependsOn: ['build-all', '^pack'],
type: 'worker',
Expand All @@ -64,8 +78,8 @@ const config = {
},
cache: false,
},
'publish-dry-run': {
dependsOn: ['^publish-dry-run'],
'publish:dry-run': {
dependsOn: ['^publish:dry-run'],
type: 'worker',
options: {
worker: 'scripts/src/worker/publish.mts',
Expand All @@ -77,4 +91,4 @@ const config = {
},
};

module.exports = config;
export default config;
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"url": "https://github.com/microsoft/fluentui-react-native.git"
},
"workspaces": [
".",
"apps/*",
"packages/**",
"scripts"
],
"scripts": {
"build": "lage build-all",
"buildci": "lage buildci",
"clean-all": "node ./scripts/src/preinstall/clean-all.js",
"docs": "yarn workspace fluent-rn-website start",
"bundle": "lage bundle",
Expand All @@ -24,15 +24,12 @@
"changeset:version": "node .github/scripts/changeset-version-with-postbump.mts",
"change:check": "node .github/scripts/change.mts --check",
"check-publishing": "node ./scripts/src/cli.mjs check-publishing",
"lint": "lage lint",
"lint-fix": "cross-env FURN_FIX_MODE=true lage lint",
"lint-package": "lage lint-package",
"lint-package-fix": "cross-env FURN_FIX_MODE=true lage lint-package",
"pr-check": "lage pr-check",
"preinstall": "node ./scripts/src/preinstall/use-yarn-please.js",
"format": "oxfmt",
"format:check": "oxfmt --check",
"test": "lage test",
"lint-lockfile": "lint-lockfile",
"test-links": "markdown-link-check"
},
"devDependencies": {
Expand Down Expand Up @@ -64,7 +61,7 @@
"engines": {
"node": ">=22.12"
},
"packageManager": "yarn@4.12.0",
"packageManager": "yarn@4.13.0",
"rnx-kit": {
"kitType": "library"
}
Expand Down
26 changes: 17 additions & 9 deletions packages/dependency-profiles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@
"@fluentui-react-native/styling-utils": "*",
"@fluentui-react-native/switch": "*",
"@fluentui-react-native/tablist": "*",
"@fluentui-react-native/tester": "*",
"@fluentui-react-native/tester-win32": "*",
"@fluentui-react-native/text": "*",
"@fluentui-react-native/theme": "*",
"@fluentui-react-native/theme-tokens": "*",
Expand All @@ -89,14 +87,21 @@
"@fluentui-react-native/use-tokens": "*",
"@fluentui-react-native/win32-theme": "*",
"@fluentui/react-native": "*",
"@office-iss/react-native-win32": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
"@types/react": "~18.2.0 || ~19.0.0 || ~19.1.0",
"@uifabricshared/foundation-composable": "*",
"@uifabricshared/foundation-compose": "*",
"@uifabricshared/foundation-settings": "*",
"@uifabricshared/foundation-tokens": "*",
"@uifabricshared/theme-registry": "*",
"@uifabricshared/themed-settings": "*",
"@uifabricshared/theming-ramp": "*",
"@uifabricshared/theming-react-native": "*"
"@uifabricshared/theming-react-native": "*",
"react": "18.2.0 || 19.0.0 || 19.1.0",
"react-native": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
"react-native-macos": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
"react-native-svg": ">=15.0.0 <15.13.0 || >=15.4.0 <15.13.0 || ^15.11.2 || ^15.12.1",
"react-native-windows": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0"
},
"peerDependenciesMeta": {
"@fluentui-react-native/adapters": {
Expand Down Expand Up @@ -231,12 +236,6 @@
"@fluentui-react-native/tablist": {
"optional": true
},
"@fluentui-react-native/tester": {
"optional": true
},
"@fluentui-react-native/tester-win32": {
"optional": true
},
"@fluentui-react-native/text": {
"optional": true
},
Expand Down Expand Up @@ -302,6 +301,15 @@
},
"@uifabricshared/theming-react-native": {
"optional": true
},
"@office-iss/react-native-win32": {
"optional": true
},
"react-native-macos": {
"optional": true
},
"react-native-windows": {
"optional": true
}
}
}
Loading
Loading