Skip to content

Commit

Permalink
fix --web packaging (#2859)
Browse files Browse the repository at this point in the history
Co-authored-by: Aidan Cunniffe <[email protected]>
  • Loading branch information
acunniffe and Aidan Cunniffe authored Aug 26, 2024
1 parent b179d20 commit e2b62fc
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "openapi-workspaces",
"license": "MIT",
"private": true,
"version": "1.0.0",
"version": "1.0.1",
"workspaces": [
"projects/json-pointer-helpers",
"projects/openapi-io",
Expand Down
2 changes: 1 addition & 1 deletion projects/fastify-capture/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@useoptic/fastify-capture",
"license": "MIT",
"packageManager": "[email protected]",
"version": "1.0.0",
"version": "1.0.1",
"main": "build/index.js",
"types": "build/index.d.ts",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion projects/json-pointer-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@useoptic/json-pointer-helpers",
"license": "MIT",
"packageManager": "[email protected]",
"version": "1.0.0",
"version": "1.0.1",
"main": "build/index.js",
"types": "build/index.d.ts",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions projects/openapi-io/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@useoptic/openapi-io",
"license": "MIT",
"packageManager": "[email protected]",
"version": "1.0.0",
"version": "1.0.1",
"main": "build/index.js",
"types": "build/index.d.ts",
"files": [
Expand Down Expand Up @@ -44,7 +44,7 @@
"@jsdevtools/ono": "^7.1.3",
"@useoptic/json-pointer-helpers": "workspace:*",
"@useoptic/openapi-utilities": "workspace:*",
"ajv": "^8.6.0",
"ajv": "8.17.1",
"ajv-errors": "~3.0.0",
"ajv-formats": "~2.1.0",
"bottleneck": "^2.19.5",
Expand Down
2 changes: 1 addition & 1 deletion projects/openapi-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@useoptic/openapi-utilities",
"license": "MIT",
"packageManager": "[email protected]",
"version": "1.0.0",
"version": "1.0.1",
"main": "build/index.js",
"types": "build/index.d.ts",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions projects/optic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@useoptic/optic",
"license": "MIT",
"packageManager": "[email protected]",
"version": "1.0.0",
"version": "1.0.1",
"main": "build/index.js",
"types": "build/index.d.ts",
"files": [
Expand Down Expand Up @@ -72,7 +72,7 @@
"@useoptic/openapi-utilities": "workspace:*",
"@useoptic/rulesets-base": "workspace:*",
"@useoptic/standard-rulesets": "workspace:*",
"ajv": "^8.6.0",
"ajv": "8.17.1",
"ajv-formats": "~2.1.0",
"async-exit-hook": "^2.0.1",
"axax": "^0.2.2",
Expand Down
3 changes: 1 addition & 2 deletions projects/optic/src/commands/diff/diff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,7 @@ const getDiffAction =
analyticsData.compressedDataLength = compressedData.length;
logger.info('Opening up diff in web view');
const baseHtml = path.resolve(
__dirname,
'../../../web/build/index.html'
path.join(__dirname, '../../../web/build/index.html')
);
maybeChangelogUrl = `${baseHtml}#${compressedData}`;
await flushEvents();
Expand Down
2 changes: 1 addition & 1 deletion projects/rulesets-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@useoptic/rulesets-base",
"license": "MIT",
"packageManager": "[email protected]",
"version": "1.0.0",
"version": "1.0.1",
"main": "build/index.js",
"types": "build/index.d.ts",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion projects/standard-rulesets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@useoptic/standard-rulesets",
"license": "MIT",
"packageManager": "[email protected]",
"version": "1.0.0",
"version": "1.0.1",
"main": "build/index.js",
"types": "build/index.d.ts",
"files": [
Expand Down
23 changes: 21 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3783,7 +3783,7 @@ __metadata:
"@types/semver": "npm:^7.3.10"
"@useoptic/json-pointer-helpers": "workspace:*"
"@useoptic/openapi-utilities": "workspace:*"
ajv: "npm:^8.6.0"
ajv: "npm:8.17.1"
ajv-errors: "npm:~3.0.0"
ajv-formats: "npm:~2.1.0"
babel-jest: "npm:^29.3.1"
Expand Down Expand Up @@ -3895,7 +3895,7 @@ __metadata:
"@useoptic/openapi-utilities": "workspace:*"
"@useoptic/rulesets-base": "workspace:*"
"@useoptic/standard-rulesets": "workspace:*"
ajv: "npm:^8.6.0"
ajv: "npm:8.17.1"
ajv-formats: "npm:~2.1.0"
async-exit-hook: "npm:^2.0.1"
axax: "npm:^0.2.2"
Expand Down Expand Up @@ -4158,6 +4158,18 @@ __metadata:
languageName: node
linkType: hard

"ajv@npm:8.17.1":
version: 8.17.1
resolution: "ajv@npm:8.17.1"
dependencies:
fast-deep-equal: "npm:^3.1.3"
fast-uri: "npm:^3.0.1"
json-schema-traverse: "npm:^1.0.0"
require-from-string: "npm:^2.0.2"
checksum: 10c0/ec3ba10a573c6b60f94639ffc53526275917a2df6810e4ab5a6b959d87459f9ef3f00d5e7865b82677cb7d21590355b34da14d1d0b9c32d75f95a187e76fff35
languageName: node
linkType: hard

"ajv@npm:^8.0.0, ajv@npm:^8.6.3, ajv@npm:^8.8.2":
version: 8.11.0
resolution: "ajv@npm:8.11.0"
Expand Down Expand Up @@ -6330,6 +6342,13 @@ __metadata:
languageName: node
linkType: hard

"fast-uri@npm:^3.0.1":
version: 3.0.1
resolution: "fast-uri@npm:3.0.1"
checksum: 10c0/3cd46d6006083b14ca61ffe9a05b8eef75ef87e9574b6f68f2e17ecf4daa7aaadeff44e3f0f7a0ef4e0f7e7c20fc07beec49ff14dc72d0b500f00386592f2d10
languageName: node
linkType: hard

"fastify@npm:^4.17.0":
version: 4.26.2
resolution: "fastify@npm:4.26.2"
Expand Down

0 comments on commit e2b62fc

Please sign in to comment.