I've noticed an issue with the latest versions of the Pac CLI (version 1.50.1+gabb74d2, but also with version 1.49.x) when creating a virtual pcf control with react and fluentui using this command:
pac pcf init -n ReactSample -ns SampleNamespace -t field -fw react -npm
It creates a new pcf control with a newer version of react-components (version 9.68.0 instead of 9.46.2).
ControlManifest.Input.xml:
<platform-library name="Fluent" version="9.68.0" />
package.json:
"dependencies": {
"react": "16.14.0",
"@fluentui/react-components": "9.68.0",
"react-dom": "16.14.0"
},
When trying to push this pcf with the Pac CLI, I got this error:
platform library fluent_9_68_0 with version 9.68.0 is not supported by the platform.
Of course I can change the versions in the ControlManifest.xml and package.json back to version 9.46.2, but the Pac CLI should create the PCF control with the right version and I'm curious, because I would like to use version 9.68.0 of @fluentui/react-components instead of 9.46.2, because of some nice improvements.
My question: Does anyone knows if and when 9.68.0 comes available as platform-library for virtual pcf controls?