Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Commit e2b62fc

Browse files
acunniffeAidan Cunniffe
andauthored
fix --web packaging (#2859)
Co-authored-by: Aidan Cunniffe <aidan@useoptic.com>
1 parent b179d20 commit e2b62fc

10 files changed

Lines changed: 32 additions & 14 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "openapi-workspaces",
33
"license": "MIT",
44
"private": true,
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"workspaces": [
77
"projects/json-pointer-helpers",
88
"projects/openapi-io",

projects/fastify-capture/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@useoptic/fastify-capture",
33
"license": "MIT",
44
"packageManager": "yarn@4.1.1",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"main": "build/index.js",
77
"types": "build/index.d.ts",
88
"files": [

projects/json-pointer-helpers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@useoptic/json-pointer-helpers",
33
"license": "MIT",
44
"packageManager": "yarn@4.1.1",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"main": "build/index.js",
77
"types": "build/index.d.ts",
88
"files": [

projects/openapi-io/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@useoptic/openapi-io",
33
"license": "MIT",
44
"packageManager": "yarn@4.1.1",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"main": "build/index.js",
77
"types": "build/index.d.ts",
88
"files": [
@@ -44,7 +44,7 @@
4444
"@jsdevtools/ono": "^7.1.3",
4545
"@useoptic/json-pointer-helpers": "workspace:*",
4646
"@useoptic/openapi-utilities": "workspace:*",
47-
"ajv": "^8.6.0",
47+
"ajv": "8.17.1",
4848
"ajv-errors": "~3.0.0",
4949
"ajv-formats": "~2.1.0",
5050
"bottleneck": "^2.19.5",

projects/openapi-utilities/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@useoptic/openapi-utilities",
33
"license": "MIT",
44
"packageManager": "yarn@4.1.1",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"main": "build/index.js",
77
"types": "build/index.d.ts",
88
"files": [

projects/optic/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@useoptic/optic",
33
"license": "MIT",
44
"packageManager": "yarn@4.1.1",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"main": "build/index.js",
77
"types": "build/index.d.ts",
88
"files": [
@@ -72,7 +72,7 @@
7272
"@useoptic/openapi-utilities": "workspace:*",
7373
"@useoptic/rulesets-base": "workspace:*",
7474
"@useoptic/standard-rulesets": "workspace:*",
75-
"ajv": "^8.6.0",
75+
"ajv": "8.17.1",
7676
"ajv-formats": "~2.1.0",
7777
"async-exit-hook": "^2.0.1",
7878
"axax": "^0.2.2",

projects/optic/src/commands/diff/diff.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,7 @@ const getDiffAction =
455455
analyticsData.compressedDataLength = compressedData.length;
456456
logger.info('Opening up diff in web view');
457457
const baseHtml = path.resolve(
458-
__dirname,
459-
'../../../web/build/index.html'
458+
path.join(__dirname, '../../../web/build/index.html')
460459
);
461460
maybeChangelogUrl = `${baseHtml}#${compressedData}`;
462461
await flushEvents();

projects/rulesets-base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@useoptic/rulesets-base",
33
"license": "MIT",
44
"packageManager": "yarn@4.1.1",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"main": "build/index.js",
77
"types": "build/index.d.ts",
88
"files": [

projects/standard-rulesets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@useoptic/standard-rulesets",
33
"license": "MIT",
44
"packageManager": "yarn@4.1.1",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"main": "build/index.js",
77
"types": "build/index.d.ts",
88
"files": [

yarn.lock

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3783,7 +3783,7 @@ __metadata:
37833783
"@types/semver": "npm:^7.3.10"
37843784
"@useoptic/json-pointer-helpers": "workspace:*"
37853785
"@useoptic/openapi-utilities": "workspace:*"
3786-
ajv: "npm:^8.6.0"
3786+
ajv: "npm:8.17.1"
37873787
ajv-errors: "npm:~3.0.0"
37883788
ajv-formats: "npm:~2.1.0"
37893789
babel-jest: "npm:^29.3.1"
@@ -3895,7 +3895,7 @@ __metadata:
38953895
"@useoptic/openapi-utilities": "workspace:*"
38963896
"@useoptic/rulesets-base": "workspace:*"
38973897
"@useoptic/standard-rulesets": "workspace:*"
3898-
ajv: "npm:^8.6.0"
3898+
ajv: "npm:8.17.1"
38993899
ajv-formats: "npm:~2.1.0"
39003900
async-exit-hook: "npm:^2.0.1"
39013901
axax: "npm:^0.2.2"
@@ -4158,6 +4158,18 @@ __metadata:
41584158
languageName: node
41594159
linkType: hard
41604160

4161+
"ajv@npm:8.17.1":
4162+
version: 8.17.1
4163+
resolution: "ajv@npm:8.17.1"
4164+
dependencies:
4165+
fast-deep-equal: "npm:^3.1.3"
4166+
fast-uri: "npm:^3.0.1"
4167+
json-schema-traverse: "npm:^1.0.0"
4168+
require-from-string: "npm:^2.0.2"
4169+
checksum: 10c0/ec3ba10a573c6b60f94639ffc53526275917a2df6810e4ab5a6b959d87459f9ef3f00d5e7865b82677cb7d21590355b34da14d1d0b9c32d75f95a187e76fff35
4170+
languageName: node
4171+
linkType: hard
4172+
41614173
"ajv@npm:^8.0.0, ajv@npm:^8.6.3, ajv@npm:^8.8.2":
41624174
version: 8.11.0
41634175
resolution: "ajv@npm:8.11.0"
@@ -6330,6 +6342,13 @@ __metadata:
63306342
languageName: node
63316343
linkType: hard
63326344

6345+
"fast-uri@npm:^3.0.1":
6346+
version: 3.0.1
6347+
resolution: "fast-uri@npm:3.0.1"
6348+
checksum: 10c0/3cd46d6006083b14ca61ffe9a05b8eef75ef87e9574b6f68f2e17ecf4daa7aaadeff44e3f0f7a0ef4e0f7e7c20fc07beec49ff14dc72d0b500f00386592f2d10
6349+
languageName: node
6350+
linkType: hard
6351+
63336352
"fastify@npm:^4.17.0":
63346353
version: 4.26.2
63356354
resolution: "fastify@npm:4.26.2"

0 commit comments

Comments
 (0)