-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(client): add experimental presence package #22359
build(client): add experimental presence package #22359
Conversation
pre-approved for when it passes ci |
⯅ @fluid-example/bundle-size-tests: +245 Bytes
Baseline commit: d533e80 |
You should put this under packages/framework/presence rather than experimental/framework/presence. Saves you a directory move later and the experimental/ directory is useless anyway (all packages should really be moved to their appropriate homes now even). |
Also run |
I am not worried about a later directory move. Are we sure about experimental directory being useless? I personally leverage that today. I exclude that path in searches to avoid sketchy hits. Though I am hoping this package is less sketchy and would want in more of my searches. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving with suggestions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess similar to my concern with the migration-tools package - do you want to defer adding API reports to avoid requiring fluid-cr-api as you iterate on the experimental API?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about it before having them and preferred having the reports to see changes - even if we can't avoid the review hit. I am hoping that there are not too many API changes since we have most of one - going to have most of it out in the next PR and implementations will be stubbed.
Did you look into temporary exceptions for migration-tools from policy?
"files": [ | ||
"dist/**/*", | ||
"lib/**/*", | ||
"*.d.ts", | ||
"!**/test/**" | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is "files" doing here? We don't have this in other packages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do have it in some - I see at least packages/framework/data-object-base/package.json and packages/tools/changelog-generator-wrapper/package.json.
The description "The 'files' field is an array of files to include in your project. If you name a folder in the array, then it will also include the files inside that folder." docs
So, this is an explicit list of what should be in the package (well it doesn't list package.json
, LICENSE
, and README
that are always included) and is better than an ignore list (.npmignore).
We should probably have this in all of our packages.
Depending on why you're searching, excluding experimental is probably not safe since there are long-term-supported packages in there (i.e. PropertyDDS) to consider. And similarly, you probably want other developers to be considering your package if/when they make horizontal changes. Historically I've also seen folks make bad layering decisions in particular when living outside of the normal directory structure. Theoretically layerInfo should handle this and protect appropriately, but I don't trust that we maintain layering as cautiously outside of the main packages subdirectory. |
each tsconfig referenced by lint config must find at least one file.
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output
|
empty private shell package
AB#7915