Skip to content

Commit f7bd280

Browse files
committed
try publishing
1 parent 23f39fb commit f7bd280

3 files changed

Lines changed: 23 additions & 7 deletions

File tree

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
2-
@NHSDigital:registry=https://npm.pkg.github.com
2+
@nhsdigital:registry=https://npm.pkg.github.com

package.json

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
2-
"name": "eps-cdk-utils",
2+
"name": "@nhsdigital/eps-cdk-constructs",
33
"version": "1.0.0",
4-
"description": "![Build](https://github.com/NHSDigital/eps-cdk-utils/workflows/Build/badge.svg?branch=main)",
4+
"description": "Common AWS CDK Constructs for NHS Digital EPS Projects",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1",
77
"check-licenses": "node_modules/.bin/license-checker --failOn GPL --failOn LGPL",
8-
"lint": "echo \"Error: no linting specified\""
8+
"lint": "echo \"Error: no linting specified\"",
9+
"prepublishOnly": "cd packages/cdkConstructs && npm run prepublishOnly"
910
},
1011
"repository": {
1112
"type": "git",
@@ -33,6 +34,21 @@
3334
"vitest": "^4.0.4"
3435
},
3536
"dependencies": {
36-
"esbuild": "^0.25.11"
37-
}
37+
"esbuild": "^0.25.11",
38+
"aws-cdk": "^2.1030.0",
39+
"aws-cdk-lib": "^2.219.0",
40+
"cdk-nag": "^2.37.52",
41+
"constructs": "^10.4.2",
42+
"source-map-support": "^0.5.21"
43+
},
44+
"publishConfig": {
45+
"registry": "https://npm.pkg.github.com",
46+
"access": "public"
47+
},
48+
"type": "module",
49+
"files": [
50+
"packages/cdkConstructs/lib"
51+
],
52+
"main": "packages/cdkConstructs/lib/src/index.js",
53+
"types": "packages/cdkConstructs/lib/src/index.d.ts"
3854
}

packages/cdkConstructs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@NHSDigital/eps-cdk-constructs",
2+
"name": "@nhsdigital/eps-cdk-constructs",
33
"version": "1.0.0",
44
"description": "Common AWS CDK Constructs for NHS Digital EPS Projects",
55
"scripts": {

0 commit comments

Comments
 (0)