Skip to content

Commit

Permalink
Fix bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
awlayton committed Apr 15, 2022
1 parent 0f7c505 commit c7649bc
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 15 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
dist
bundle.*
.test
coverage
node_modules
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ package.lock
.nvimlog

# Build output
bundle.*
dist
.test

Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
dist
bundle.*
.test
coverage
node_modules
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oada/id-client",
"version": "2.0.4",
"version": "2.0.5",
"description": "OADA identity client library for Node.JS and Browser",
"main": "index.js",
"browser": {
Expand Down Expand Up @@ -88,7 +88,7 @@
"urijs": "^1.19.11"
},
"devDependencies": {
"@oada/types": "^2.0.0",
"@oada/types": "^2.0.1",
"@tsconfig/node12": "^1.0.9",
"@types/body-parser": "^1.19.2",
"@types/chai": "^4.3.1",
Expand All @@ -97,7 +97,7 @@
"@types/express-serve-static-core": "^4.17.28",
"@types/jsonwebtoken": "^8.5.8",
"@types/mocha": "^9.1.0",
"@types/node": "12.20.47",
"@types/node": "12.20.48",
"@types/pem-jwk": "^2.0.0",
"@types/qs": "^6.9.7",
"@types/rewire": "^2.5.28",
Expand Down
3 changes: 1 addition & 2 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
/* eslint-disable unicorn/prefer-module */

import path from 'path';
import url from 'url';
import webpack from 'webpack';

const config: webpack.Configuration = {
Expand Down Expand Up @@ -81,7 +80,7 @@ const config: webpack.Configuration = {
__dirname: true,
},
output: {
path: path.resolve(path.dirname(url.fileURLToPath(import.meta.url))),
path: path.resolve(__dirname),
filename: 'bundle.js',
library: 'oadaIdClient',
},
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ __metadata:
resolution: "@oada/id-client@workspace:."
dependencies:
"@oada/certs": ^4.1.1
"@oada/types": ^2.0.0
"@oada/types": ^2.0.1
"@tsconfig/node12": ^1.0.9
"@types/body-parser": ^1.19.2
"@types/chai": ^4.3.1
Expand All @@ -488,7 +488,7 @@ __metadata:
"@types/express-serve-static-core": ^4.17.28
"@types/jsonwebtoken": ^8.5.8
"@types/mocha": ^9.1.0
"@types/node": 12.20.47
"@types/node": 12.20.48
"@types/pem-jwk": ^2.0.0
"@types/qs": ^6.9.7
"@types/rewire": ^2.5.28
Expand Down Expand Up @@ -578,14 +578,14 @@ __metadata:
languageName: unknown
linkType: soft

"@oada/types@npm:^2.0.0":
version: 2.0.0
resolution: "@oada/types@npm:2.0.0"
"@oada/types@npm:^2.0.1":
version: 2.0.1
resolution: "@oada/types@npm:2.0.1"
dependencies:
ajv: 8.11.0
ajv-formats: ^2.1.1
ajv-formats-draft2019: ^1.6.1
checksum: 4bce2ce628587bfc177cf4024b41136fd2c53dd51b25b2e9caaf6252e6020d3fd72ca4afcdb59f087150d206f3be76178778447c03c42449eaebd364a14bc8ec
checksum: 7496b83a0d12cb3df00f5563d7d8b15cd585ea1fe823c83f78c040cd03cbea5c31480f78ae2d2c1d8e81019e8fb0f9c02bac29357f4084e555ebaebf951738b1
languageName: node
linkType: hard

Expand Down Expand Up @@ -873,10 +873,10 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:12.20.47":
version: 12.20.47
resolution: "@types/node@npm:12.20.47"
checksum: 97487af02fada4342e1bd47f9c9ebf601c12b85cbf17056ba73a315339ae996490403f2d4d1d799d8078cfe43a59e33370b4a5ae2d4fb79dd02359f4691934b4
"@types/node@npm:12.20.48":
version: 12.20.48
resolution: "@types/node@npm:12.20.48"
checksum: 48bd705bda1af2332c50fb24819bba7b0eac791b07c24c098c39b10940170a53bd3c4755aedc3409c7114c539f1f86ea657aa6838d164fd135e3b89b9f9aa772
languageName: node
linkType: hard

Expand Down

0 comments on commit c7649bc

Please sign in to comment.