Skip to content

Commit

Permalink
Merge pull request #6030 from signalco-io/feat/publishgin-packages-ui…
Browse files Browse the repository at this point in the history
…-cms

Feat/publishgin packages UI cms
  • Loading branch information
AleksandarDev authored Oct 6, 2024
2 parents 215125c + 76fe633 commit b75d3ec
Show file tree
Hide file tree
Showing 10 changed files with 114 additions and 15 deletions.
29 changes: 25 additions & 4 deletions web/packages/cms-components-marketing/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
{
"name": "@signalco/cms-components-marketing",
"version": "0.0.0",
"private": true,
"version": "0.1.0",
"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": {
"@signalco/eslint-config-signalco": "workspace:*",
Expand All @@ -22,6 +35,14 @@
"@types/react-dom": "18.3.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"typescript": "5.6.2"
"typescript": "5.6.2",
"@microsoft/api-extractor": "7.47.9",
"tsup": "8.3.0"
},
"peerDependencies": {
"@signalco/ui": "0",
"@signalco/cms-core": "0",
"react": "18",
"react-dom": "18"
}
}
8 changes: 8 additions & 0 deletions web/packages/cms-components-marketing/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,
})
28 changes: 24 additions & 4 deletions web/packages/cms-core/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
{
"name": "@signalco/cms-core",
"version": "0.0.0",
"private": true,
"version": "0.1.0",
"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": {
"@signalco/eslint-config-signalco": "workspace:*",
Expand All @@ -20,6 +33,13 @@
"@types/react-dom": "18.3.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"typescript": "5.6.2"
"typescript": "5.6.2",
"@microsoft/api-extractor": "7.47.9",
"tsup": "8.3.0"
},
"peerDependencies": {
"@signalco/ui-primitives": "0",
"react": "18",
"react-dom": "18"
}
}
8 changes: 8 additions & 0 deletions web/packages/cms-core/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,
})
2 changes: 1 addition & 1 deletion web/packages/hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@signalco/hooks",
"version": "0.1.0",
"version": "0.1.1",
"sideEffects": false,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion web/packages/ui-primitives/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@signalco/ui-primitives",
"version": "0.1.8",
"version": "0.1.9",
"license": "MIT",
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 2 additions & 0 deletions web/packages/ui-primitives/src/Tabs/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
'use client';

export * from './Tabs';
24 changes: 19 additions & 5 deletions web/packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
{
"name": "@signalco/ui",
"version": "0.0.0",
"private": true,
"version": "0.1.0",
"license": "MIT",
"type": "module",
"sideEffects": false,
"exports": {
"./style": "./src/index.css",
"./*": "./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.2",
Expand Down Expand Up @@ -37,7 +49,9 @@
"react-timeago": "7.2.0",
"sass": "1.79.4",
"tailwind-merge": "2.5.3",
"typescript": "5.6.2"
"typescript": "5.6.2",
"@microsoft/api-extractor": "7.47.9",
"tsup": "8.3.0"
},
"peerDependencies": {
"@signalco/ui-primitives": "0",
Expand Down
8 changes: 8 additions & 0 deletions web/packages/ui/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,
})
18 changes: 18 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 b75d3ec

Please sign in to comment.