From d7cd9f3ca8e2b64f6d456e6d2a9683b615596a2c Mon Sep 17 00:00:00 2001 From: mkrause Date: Fri, 15 Nov 2024 17:21:28 +0100 Subject: [PATCH 1/2] Add variables.scss to exports. --- package.json | 7 +++++-- package.json.js | 11 +++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index b51d423..89ef205 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,11 @@ "type": "module", "exports": { ".": { - "types": "dist/baklava.d.ts", - "default": "dist/baklava.js" + "types": "./dist/baklava.d.ts", + "default": "./dist/baklava.js" + }, + "./styling/variables.scss": { + "default": "./src/styling/variables.scss" } }, "scripts": { diff --git a/package.json.js b/package.json.js index b83f465..22394b4 100644 --- a/package.json.js +++ b/package.json.js @@ -26,10 +26,13 @@ const packageConfig = { type: 'module', exports: { '.': { - 'types': 'dist/baklava.d.ts', - //'require': 'dist/baklava.cjs', - 'default': 'dist/baklava.js', - } + 'types': './dist/baklava.d.ts', + //'require': './dist/baklava.cjs', + 'default': './dist/baklava.js', + }, + './styling/variables.scss': { + 'default': './src/styling/variables.scss', + }, }, scripts: { From 670e4be7127101f38b10f8ef195e32338955b78e Mon Sep 17 00:00:00 2001 From: mkrause Date: Fri, 15 Nov 2024 17:22:20 +0100 Subject: [PATCH 2/2] Release v1.0.0-beta-20241115-2 --- package-lock.json | 4 ++-- package.json | 2 +- package.json.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index dcc1bb9..e8b2387 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@fortanix/baklava", - "version": "1.0.0-beta-20241115", + "version": "1.0.0-beta-20241115-2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@fortanix/baklava", - "version": "1.0.0-beta-20241115", + "version": "1.0.0-beta-20241115-2", "license": "MPL-2.0", "dependencies": { "@effect/schema": "^0.74.1", diff --git a/package.json b/package.json index 89ef205..4a570e3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "//": "NOTE: This is a generated file. Do not edit this file directly, use package.json.js instead.", "name": "@fortanix/baklava", - "version": "1.0.0-beta-20241115", + "version": "1.0.0-beta-20241115-2", "license": "MPL-2.0", "author": "Fortanix", "description": "Fortanix Baklava design system", diff --git a/package.json.js b/package.json.js index 22394b4..d60cf10 100644 --- a/package.json.js +++ b/package.json.js @@ -8,7 +8,7 @@ import * as fs from 'node:fs'; const packageConfig = { name: '@fortanix/baklava', - version: '1.0.0-beta-20241115', + version: '1.0.0-beta-20241115-2', license: 'MPL-2.0', author: 'Fortanix', description: 'Fortanix Baklava design system',