Skip to content

Commit

Permalink
includes types in output bundle (#75)
Browse files Browse the repository at this point in the history
OKTA-680594 fix: includes types in output bundle
  • Loading branch information
jaredperreault-okta authored Jan 2, 2024
1 parent 834bc69 commit 71a6035
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`));
Expand Down

0 comments on commit 71a6035

Please sign in to comment.