From 71a60359b42dce83bf558079599c6ac560d5c313 Mon Sep 17 00:00:00 2001 From: Jared Perreault <90656038+jaredperreault-okta@users.noreply.github.com> Date: Tue, 2 Jan 2024 16:21:26 -0500 Subject: [PATCH] includes types in output bundle (#75) OKTA-680594 fix: includes types in output bundle --- package.json | 2 +- scripts/build.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 57a90c9..b072faa 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@okta/oidc-middleware", - "version": "5.2.0", + "version": "5.2.1", "description": "OpenId Connect middleware for authorization code flows", "repository": "https://github.com/okta/okta-oidc-middleware", "homepage": "https://github.com/okta/okta-oidc-middleware#readme", diff --git a/scripts/build.js b/scripts/build.js index 1a8179d..eede084 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -20,7 +20,7 @@ if (shell.exec(BANNER_CMD).code !== 0) { shell.exit(1); }; -shell.cp(`-Rf`, [`src`, `index.js`, `package.json`, `LICENSE`, `*.md`], `${NPM_DIR}`); +shell.cp(`-Rf`, [`src`, `types`, `index.js`, `package.json`, `LICENSE`, `*.md`], `${NPM_DIR}`); shell.echo(`Modifying final package.json`); const packageJSON = JSON.parse(fs.readFileSync(`./${NPM_DIR}/package.json`));