Skip to content

Commit

Permalink
Merge pull request #5637 from signalco-io/feat/ui-primitives-publish-1
Browse files Browse the repository at this point in the history
feat/ui-primitives-publish
  • Loading branch information
AleksandarDev authored Jul 27, 2024
2 parents 5b12213 + de32f6b commit 8dbfe0f
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 6 deletions.
28 changes: 23 additions & 5 deletions web/packages/ui-primitives/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
{
"name": "@signalco/ui-primitives",
"version": "0.0.0",
"private": true,
"version": "0.1.5",
"license": "MIT",
"type": "module",
"sideEffects": false,
"exports": {
"./*": "./src/*/index.ts"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public",
"exports": {
"./*": {
"import": "./dist/*/index.js",
"types": "./dist/*/index.d.ts"
}
}
},
"scripts": {
"lint": "eslint ."
"lint": "eslint .",
"prepublishOnly": "tsup --env.NODE_ENV production"
},
"devDependencies": {
"@radix-ui/react-checkbox": "1.1.1",
Expand Down Expand Up @@ -39,6 +51,12 @@
"react-timeago": "7.2.0",
"sass": "1.77.8",
"tailwind-merge": "2.4.0",
"typescript": "5.5.4"
"typescript": "5.5.4",
"tsup": "8.2.0",
"@microsoft/api-extractor": "7.47.2"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// NOTE: Not actualy used, but here to enable tailwindcss IDE support

import { baseConfig } from '@signalco/tailwindcss-config-signalco';
import { baseConfig } from '@signalco/tailwindcss-config-signalco/baseConfig';

/** @type {import('tailwindcss').Config} */
// eslint-disable-next-line import/no-anonymous-default-export
Expand Down
8 changes: 8 additions & 0 deletions web/packages/ui-primitives/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineConfig } from 'tsup';

export default defineConfig({
entry: ['./src/*/index.ts'],
format: ['esm'],
minify: true,
experimentalDts: true,
})
53 changes: 53 additions & 0 deletions web/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8dbfe0f

Please sign in to comment.