Skip to content
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

Deploy kit to NPM #1565

Closed
3 tasks done
nataliecarey opened this issue Aug 30, 2022 · 4 comments
Closed
3 tasks done

Deploy kit to NPM #1565

nataliecarey opened this issue Aug 30, 2022 · 4 comments
Assignees

Comments

@nataliecarey
Copy link
Contributor

nataliecarey commented Aug 30, 2022

What

As we move towards the user testing and beta we would benefit from deploying alpha versions of the kit to NPM.

We should make our first release as govuk-prototype-kit with version 0.0.1-alpha.0 - this will flag to anyone who might stumble upon it that it's not a finished product but a work in progress

Why

We need to test our processes ready for our beta users.

Who needs to work on this

Developer

Who needs to review this

Developer

Done when

@lfdebrux
Copy link
Member

lfdebrux commented Sep 2, 2022

I wasn't able to do this before going on leave, however it should be fairly straightforward; checkout the branch https://github.com/alphagov/govuk-prototype-kit/tree/ldeb-release-0.0.1-alpha.0, rebase on branch v13, login to npm adduser with the credentials, and then just run npm publish.

@BenSurgisonGDS
Copy link
Contributor

I worked together with Natalie and the kit has been successfully released to NPM.

To create a new prototype project using the kit as a package, use the following command in an empty folder intended as the root of the prototype project:

npx govuk-prototype-kit install

@joelanman
Copy link
Contributor

joelanman commented Sep 7, 2022

(not a blocking comment, just for discussion)

just wondering if 'new' might be a command that fits people's mental models more, like New Document, as opposed to thinking this 'installs' the Prototype Kit app, so

npx govuk-prototype-kit new

@lfdebrux
Copy link
Member

The work for this has been done, going to close this ticket and move it to done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants