From 2731ba36d288c38277fda591b101761b24305a56 Mon Sep 17 00:00:00 2001 From: Marius Tobiassen Bungum Date: Wed, 6 Nov 2024 10:08:18 +0100 Subject: [PATCH 1/2] :ambulance: Fix bad types prop in package json --- package-lock.json | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9d8a7bf0..7d5bfa1a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@equinor/amplify-component-lib", - "version": "8.12.0", + "version": "8.12.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@equinor/amplify-component-lib", - "version": "8.12.0", + "version": "8.12.1", "license": "ISC", "dependencies": { "@azure/msal-browser": "3.26.1", diff --git a/package.json b/package.json index 4ac280cb..d1ec5336 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "@equinor/amplify-component-lib", - "version": "8.12.0", + "version": "8.12.1", "description": "Frontend Typescript components for the Amplify team", "main": "dist/index.js", - "types": "dist/index.d.ts", + "types": "dist/src/index.d.ts", "type": "module", "author": "Amplify Team", "license": "ISC", From 090ae44d71d1567a22251d4ccd62ce215f234c53 Mon Sep 17 00:00:00 2001 From: Marius Tobiassen Bungum Date: Wed, 6 Nov 2024 10:10:57 +0100 Subject: [PATCH 2/2] :ambulance: Exclude .storybook in build tsconfig --- package.json | 2 +- tsconfig.build.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d1ec5336..6189c175 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "8.12.1", "description": "Frontend Typescript components for the Amplify team", "main": "dist/index.js", - "types": "dist/src/index.d.ts", + "types": "dist/index.d.ts", "type": "module", "author": "Amplify Team", "license": "ISC", diff --git a/tsconfig.build.json b/tsconfig.build.json index 61757621..2e816f80 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -4,6 +4,8 @@ "src/**/*.stories.ts*", "src/**/*.test.ts*", "vite.config.ts", - "src/storybook" + "eslint.config.js", + "src/storybook", + ".storybook" ] }