From 725b5917860ed9807af8e49d91011cafe400c2ac Mon Sep 17 00:00:00 2001 From: James Ridgway Date: Mon, 10 Apr 2023 10:07:14 +0100 Subject: [PATCH] Self publish --- .github/workflows/release.yml | 0 package.json | 9 ++++++--- yarn.lock | 28 ++++------------------------ 3 files changed, 10 insertions(+), 27 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e69de29 diff --git a/package.json b/package.json index 07edef4..3b6f382 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "nhsuk-react-components-extensions", + "name": "@the-curve-consulting/nhsuk-react-components-extensions", "version": "1.5.4", "author": { "email": "thomas.judd-cooper1@nhs.net", @@ -46,7 +46,7 @@ "eslint-plugin-react": "^7.14.3", "eslint-plugin-react-hooks": "^1.7.0", "jest": "^24.9.0", - "nhsuk-frontend": "^3.0.2", + "nhsuk-frontend": "5.2.1", "nhsuk-react-components": "^1.2.0", "node-sass": "^8.0.0", "node-sass-tilde-importer": "^1.0.2", @@ -94,5 +94,8 @@ ], "module": "dist/index.es.js", "types": "dist/index.d.ts", - "main": "dist/index.js" + "main": "dist/index.js", + "publishConfig": { + "registry": "https://npm.pkg.github.com/the-curve-consulting" + } } diff --git a/yarn.lock b/yarn.lock index 1c6f733..f180528 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2370,13 +2370,6 @@ accepts@~1.3.7: mime-types "~2.1.24" negotiator "0.6.2" -accessible-autocomplete@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/accessible-autocomplete/-/accessible-autocomplete-2.0.2.tgz#869d6b3b80a31e21614076b0ce47999f6b1802c8" - integrity sha512-cdA4O4u1xmefZuAdtL+0VBnDivdapgIZRQjm0E1bcekHnH5h67Vt1QL79NqPtlAn+6lyrR+H+pbnYVvUOJ1ULQ== - dependencies: - preact "^8.3.1" - acorn-globals@^4.1.0: version "4.3.4" resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-4.3.4.tgz#9fa1926addc11c97308c4e66d7add0d40c3272e7" @@ -8601,13 +8594,10 @@ next-tick@~1.0.0: resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c" integrity sha1-yobR/ogoFpsBICCOPchCS524NCw= -nhsuk-frontend@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/nhsuk-frontend/-/nhsuk-frontend-3.1.0.tgz#cfc42567f44dacd001fb5e72e2f7adb4e1183d32" - integrity sha512-b3mt1E4N+MVkVUjrNtF1z/FyGn8icz2d5slQ/baPAbKbvOvfgE0ecqv6BrggiyGMzFXeSYuA8pTMhRU90jmv/Q== - dependencies: - accessible-autocomplete "^2.0.2" - sass-mq "^5.0.1" +nhsuk-frontend@5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/nhsuk-frontend/-/nhsuk-frontend-5.2.1.tgz#aa3294f4579a60fd8a80061ff383ca4315cf759a" + integrity sha512-WMOZKbkAr131iItY+SR+U2Hxh8Q1s6iGsQCXaGdkDh0Ww2Tg3GfhrhRdfrMAAR02C2ZyK2L0WA8aI1ohOGSfLA== nhsuk-react-components@^1.2.0: version "1.2.0" @@ -9563,11 +9553,6 @@ postcss@^7.0.0, postcss@^7.0.14, postcss@^7.0.16, postcss@^7.0.17, postcss@^7.0. source-map "^0.6.1" supports-color "^6.1.0" -preact@^8.3.1: - version "8.5.3" - resolved "https://registry.yarnpkg.com/preact/-/preact-8.5.3.tgz#78c2a5562fcecb1fed1d0055fa4ac1e27bde17c1" - integrity sha512-O3kKP+1YdgqHOFsZF2a9JVdtqD+RPzCQc3rP+Ualf7V6rmRDchZ9MJbiGTT7LuyqFKZqlHSOyO/oMFmI2lVTsw== - prelude-ls@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" @@ -10752,11 +10737,6 @@ sass-loader@^8.0.0: schema-utils "^2.6.1" semver "^6.3.0" -sass-mq@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/sass-mq/-/sass-mq-5.0.1.tgz#42c711e657d884ff6a1bb4d405dfb6f08a7dc622" - integrity sha512-ugSVZO5fzasSFrGfKCtY02spnkOOfo9U9sXuzCuSXoCl1CgcoqdJRdNmigZkhvRVph1GKM6o0pgI00Jjc445CA== - sass@1.7.2: version "1.7.2" resolved "https://registry.yarnpkg.com/sass/-/sass-1.7.2.tgz#a8ff878ad9dcba65e226c1ccb2c2f3c7a1009578"