-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
102 changed files
with
981 additions
and
799 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
"fluid-framework": minor | ||
"@fluidframework/tree": minor | ||
--- | ||
--- | ||
"section": tree | ||
--- | ||
|
||
`TreeNodeSchemaClass` now specifies its `TNode` as `TreeNode` | ||
|
||
`TreeNodeSchemaClass`'s `TNode` parameter used to be `unknown` and was recently improved to be the more specific `TreeNode | TreeLeafValue`. | ||
This change further narrows this to `TreeNode`. | ||
|
||
`TreeNodeSchema`, which is more commonly used, still permits `TNode` of `TreeNode | TreeLeafValue`, so this change should have little impact on most code, but in some edge cases it can result in slightly more specific typing. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,28 +11,29 @@ | |
"license": "MIT", | ||
"author": "Microsoft and contributors", | ||
"scripts": { | ||
"build": "pnpm run generate:packageList && fluid-build --task build", | ||
"build": "fluid-build --task build", | ||
"build:compile": "fluid-build --task compile", | ||
"build:docs": "fluid-build --task build:docs", | ||
"build:fast": "fluid-build --worker", | ||
"changelog": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -s -r 2 --commit-path . -t build-tools_v --context lerna.json", | ||
"check:biome": "biome check .", | ||
"check:format": "npm run check:biome", | ||
"checks": "fluid-build --task checks", | ||
"ci:build": "npm run build", | ||
"ci:eslint": "fluid-build --task eslint", | ||
"ci:test": "npm run test:mocha", | ||
"ci:test:coverage": "npm run test:coverage", | ||
"clean": "pnpm run -r --no-sort --stream clean && npm run clean:docs && npm run clean:nyc", | ||
"clean": "fluid-build --task clean", | ||
"clean:docs": "rimraf --glob \"**/_api-extractor-temp\"", | ||
"clean:nyc": "rimraf --glob \"nyc/**\"", | ||
"commit": "git-cz", | ||
"format": "npm run format:biome", | ||
"format:biome": "biome check --write .", | ||
"generate:packageList": "concurrently \"npm:generate:packageList:*\"", | ||
"generate:packageList:internal-build": "flub list --no-private -g build-tools --feed internal-build --outFile feeds/internal-build.txt", | ||
"generate:packageList:internal-dev": "flub list --no-private -g build-tools --feed internal-dev --outFile feeds/internal-dev.txt", | ||
"generate:packageList:internal-test": "flub list --no-private -g build-tools --feed internal-test --outFile feeds/internal-test.txt", | ||
"generate:packageList:public": "flub list --no-private -g build-tools --feed public --outFile feeds/public.txt", | ||
"generate:packageList:internal-build": "flub list build-tools --no-private --feed internal-build --outFile feeds/internal-build.txt", | ||
"generate:packageList:internal-dev": "flub list build-tools --no-private --feed internal-dev --outFile feeds/internal-dev.txt", | ||
"generate:packageList:internal-test": "flub list build-tools --no-private --feed internal-test --outFile feeds/internal-test.txt", | ||
"generate:packageList:public": "flub list build-tools --no-private --feed public --outFile feeds/public.txt", | ||
"preinstall": "node ../scripts/only-pnpm.cjs", | ||
"install:commitlint": "npm install --global @commitlint/config-conventional", | ||
"lint": "npm run syncpack:deps && npm run syncpack:versions && npm run check:format && npm run ci:eslint", | ||
|
@@ -100,6 +101,36 @@ | |
"dependenciesComments": { | ||
"@fluidframework/build-tools": "Provides fluid-build which is used by the `build:fast` script. To allow this to work when the workspace version of build-tools has not been built yet, a prepackaged version is depended on. If this self-dependency becomes problematic, the `build` script can be used which does not require it." | ||
}, | ||
"fluidBuild": { | ||
"tasks": { | ||
"build": { | ||
"dependsOn": [ | ||
"^build", | ||
"generate:packageList", | ||
"syncpack:deps", | ||
"syncpack:versions" | ||
], | ||
"script": false | ||
}, | ||
"checks": { | ||
"dependsOn": [ | ||
"check:format", | ||
"generate:packageList", | ||
"syncpack:deps", | ||
"syncpack:versions" | ||
], | ||
"script": false | ||
}, | ||
"clean": { | ||
"dependsOn": [ | ||
"^clean", | ||
"clean:docs", | ||
"clean:nyc" | ||
], | ||
"script": false | ||
} | ||
} | ||
}, | ||
"pnpm": { | ||
"peerDependencyComments": [ | ||
"@types/node is a peer dependency because of build tools. The package is not needed because it's only used for compilation. It's not needed at runtime.", | ||
|
@@ -132,12 +163,6 @@ | |
"type-fest", | ||
"typescript" | ||
] | ||
}, | ||
"patchedDependenciesComments": [ | ||
"jssm-viz is a dependency of jssm-viz-cli, but doesn't work with the latest jssm and TypeScript. This patch contains the changes from https://github.com/StoneCypher/jssm-viz/pull/54, which fixes the problem." | ||
], | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
Oops, something went wrong.