Closed jpvajda closed 2 years ago
I'm currently working on this..
I followed up with the core team as I didn't hear back...
Can we leverage storybook for our component docs on the developer site?
Not sure I've the context, but the storybook support we have added to the CLI is just for 1st party nerdpacks, if you're referring to One Core components, they are part of platform-ui which is not a nerdpack. Not sure if you want to build a storybook to document components by your own, or if you want the One Core team to document their existing components in Storybook.
How do auto-updates work exactly, and what type of downstream impacts are there on 3rd party apps?
Old versions of the CLI try to update each 14 days, new versions try to update each day. This is a feature that existed since day one and should not have any impact, more than getting bugfixes or new features with backwards compatibility.
how will the new linter / prettification features impact 3rd party developers?
No impact. Linting and prettification is only enforced for 1st party. Customers can use whatever linting/prettification tooling they want.
Can 3rd party apps use Jest?
They can use any testing framework they want. They just need to install it and set it up and most probably mock the nr1 object.
@vieron this is super helpful, thanks again for you assistance here!
in February 2022, we are releasing a new NR1-CLI... here is a summary:
Since we did the programmability initiative back in 2019, we've had two separate CLIs working together: the private one, also called "the first-party CLI"- consumed via
nr1-package
(but also vianr1-create-package
andnr1-dredd
), and the public one, -also called "the third-party CLI"- which was a single executable that can be installed through standard OS mechanisms. This has led to a point where features were missing either on one of the two or they have been manually ported and adapted. This is time consuming, error prone and does not scale well under the programmability philosophy, which is to consider third-party a strict subset of first-party.To mitigate this, we decided back at the end of Q1 that we had to simplify the overall setup. We started porting every single feature we had for first-party onto the third-party CLI and calling it "the unified CLI". First-party-only features are consumed in the unified CLI via private hooks that are only part of the executable when we build the internal first-party CLI.
References
Javier Campa, Javier Sanchez, and Rafael Oleza
Acceptance Criteria
Questions
click to expand
👇