From 84d00f6a481183455de373133c07fb8cb06f11c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ro=C5=BCek?= Date: Thu, 8 Sep 2022 11:06:43 +0200 Subject: [PATCH] build: mark @stoplight/types as an internal pkg --- package-lock.json | 4 ++-- package.json | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index e608024..59e9634 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,11 +10,11 @@ "license": "MIT", "dependencies": { "@stoplight/spectral-formats": "^1.2.0", - "@stoplight/spectral-functions": "^1.6.1", - "@stoplight/types": "^13.6.0" + "@stoplight/spectral-functions": "^1.6.1" }, "devDependencies": { "@sindresorhus/tsconfig": "^3.0.1", + "@stoplight/types": "^13.6.0", "@types/jest": "^28.1.6", "jest": "^28.0", "ts-jest": "^28.0", diff --git a/package.json b/package.json index 6f4567b..982a48a 100644 --- a/package.json +++ b/package.json @@ -29,11 +29,11 @@ "homepage": "/~https://github.com/openapi-contrib/style-guides#readme", "dependencies": { "@stoplight/spectral-formats": "^1.2.0", - "@stoplight/spectral-functions": "^1.6.1", - "@stoplight/types": "^13.6.0" + "@stoplight/spectral-functions": "^1.6.1" }, "devDependencies": { "@sindresorhus/tsconfig": "^3.0.1", + "@stoplight/types": "^13.6.0", "@types/jest": "^28.1.6", "jest": "^28.0", "ts-jest": "^28.0", @@ -43,6 +43,7 @@ "entry": ["src/ruleset.ts"], "clean": true, "dts": true, - "sourcemap": true + "sourcemap": true, + "noExternal": ["@stoplight/types"] } }