From 30a0510a5e8f257cafa07d941bdd64472c731527 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 7 Mar 2026 10:31:55 -0800 Subject: [PATCH] Fix CI build failure and add missing LICENSE files Add "require" export condition to tailwind-preset for Node 18 CJS compatibility (jiti resolution). Add LICENSE files to react, tailwind-preset, and hex-background packages. Add license field to showcase packages. Co-Authored-By: Claude Opus 4.6 --- packages/hex-background/LICENSE | 21 +++++++++++++++++++++ packages/react/LICENSE | 21 +++++++++++++++++++++ packages/showcase/desktop/package.json | 1 + packages/showcase/mobile/package.json | 1 + packages/tailwind-preset/LICENSE | 21 +++++++++++++++++++++ packages/tailwind-preset/package.json | 3 ++- 6 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 packages/hex-background/LICENSE create mode 100644 packages/react/LICENSE create mode 100644 packages/tailwind-preset/LICENSE diff --git a/packages/hex-background/LICENSE b/packages/hex-background/LICENSE new file mode 100644 index 0000000..3d865e7 --- /dev/null +++ b/packages/hex-background/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Dangerous Things + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/react/LICENSE b/packages/react/LICENSE new file mode 100644 index 0000000..3d865e7 --- /dev/null +++ b/packages/react/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Dangerous Things + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/showcase/desktop/package.json b/packages/showcase/desktop/package.json index 7014ebc..d7969f2 100644 --- a/packages/showcase/desktop/package.json +++ b/packages/showcase/desktop/package.json @@ -2,6 +2,7 @@ "name": "@dangerousthings/showcase-desktop", "version": "0.0.0", "private": true, + "license": "MIT", "description": "Desktop showcase for the Dangerous Things design system", "author": { "name": "Dangerous Things", diff --git a/packages/showcase/mobile/package.json b/packages/showcase/mobile/package.json index 68cfea2..33f95f9 100644 --- a/packages/showcase/mobile/package.json +++ b/packages/showcase/mobile/package.json @@ -2,6 +2,7 @@ "name": "@dangerousthings/showcase-mobile", "version": "0.0.0", "private": true, + "license": "MIT", "main": "./index.js", "scripts": { "start": "expo start", diff --git a/packages/tailwind-preset/LICENSE b/packages/tailwind-preset/LICENSE new file mode 100644 index 0000000..3d865e7 --- /dev/null +++ b/packages/tailwind-preset/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Dangerous Things + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/tailwind-preset/package.json b/packages/tailwind-preset/package.json index 961f0c0..593d9fb 100644 --- a/packages/tailwind-preset/package.json +++ b/packages/tailwind-preset/package.json @@ -7,7 +7,8 @@ "exports": { ".": { "types": "./dist/index.d.ts", - "import": "./dist/index.js" + "import": "./dist/index.js", + "require": "./dist/index.js" } }, "main": "dist/index.js",