From 89a774148a5bbe5abde78e04d380cf7928e271f1 Mon Sep 17 00:00:00 2001 From: ghiscoding Date: Mon, 13 Nov 2023 09:57:18 -0500 Subject: [PATCH] fix: `@types/trusted-types` should be lib dependency - we need to move `@types/trusted-types` as a project dependecy instead of dev deps because we do use it in our interface and that came out as an issue from another user --- lib/package.json | 4 +++- pnpm-lock.yaml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/package.json b/lib/package.json index 34db62e1..860d201f 100644 --- a/lib/package.json +++ b/lib/package.json @@ -70,8 +70,10 @@ "sass:watch": "sass src/styles:dist/styles/css --watch --style=compressed --quiet-deps --no-source-map", "sass:copy": "cross-env copyfiles -u 2 src/styles/**/*.scss dist/styles/sass" }, + "dependencies": { + "@types/trusted-types": "^2.0.6" + }, "devDependencies": { - "@types/trusted-types": "^2.0.6", "autoprefixer": "^10.4.16", "copyfiles": "^2.4.1", "cross-env": "^7.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8e4ff374..c12fad11 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -98,10 +98,11 @@ importers: version: 4.5.0(@types/node@20.9.0)(sass@1.69.5) lib: - devDependencies: + dependencies: '@types/trusted-types': specifier: ^2.0.6 version: 2.0.6 + devDependencies: autoprefixer: specifier: ^10.4.16 version: 10.4.16(postcss@8.4.31) @@ -1435,7 +1436,6 @@ packages: /@types/trusted-types@2.0.6: resolution: {integrity: sha512-HYtNooPvUY9WAVRBr4u+4Qa9fYD1ze2IUlAD3HoA6oehn1taGwBx3Oa52U4mTslTS+GAExKpaFu39Y5xUEwfjg==} - dev: true /@typescript-eslint/eslint-plugin@6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.2.2): resolution: {integrity: sha512-uoLj4g2OTL8rfUQVx2AFO1hp/zja1wABJq77P6IclQs6I/m9GLrm7jCdgzZkvWdDCQf1uEvoa8s8CupsgWQgVg==}