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`));