chore: add readme to all our sdks (on npm)

This commit is contained in:
Carl-Gerhard Lindesvärd
2026-01-07 12:31:05 +01:00
parent 3c085e445d
commit 87c919f700
9 changed files with 273 additions and 9 deletions

View File

@@ -3,7 +3,8 @@
"version": "1.0.6-local",
"config": {
"transformPackageJson": false,
"transformEnvs": true
"transformEnvs": true,
"docPath": "apps/public/content/docs/(tracking)/sdks/astro.mdx"
},
"exports": {
".": "./index.ts"

View File

@@ -2,6 +2,9 @@
"name": "@openpanel/express",
"version": "1.0.4-local",
"module": "index.ts",
"config": {
"docPath": "apps/public/content/docs/(tracking)/sdks/express.mdx"
},
"scripts": {
"build": "rm -rf dist && tsup",
"typecheck": "tsc --noEmit"

View File

@@ -2,6 +2,9 @@
"name": "@openpanel/nextjs",
"version": "1.1.2-local",
"module": "index.ts",
"config": {
"docPath": "apps/public/content/docs/(tracking)/sdks/nextjs.mdx"
},
"scripts": {
"build": "rm -rf dist && tsup",
"typecheck": "tsc --noEmit"

View File

@@ -12,7 +12,8 @@
"files": ["dist"],
"config": {
"transformPackageJson": false,
"transformEnvs": false
"transformEnvs": false,
"docPath": "apps/public/content/docs/(tracking)/sdks/nuxt.mdx"
},
"scripts": {
"build": "npx nuxt-module-build build",

View File

@@ -2,6 +2,9 @@
"name": "@openpanel/react-native",
"version": "1.0.4-local",
"module": "index.ts",
"config": {
"docPath": "apps/public/content/docs/(tracking)/sdks/react-native.mdx"
},
"scripts": {
"build": "rm -rf dist && tsup",
"typecheck": "tsc --noEmit"

View File

@@ -2,6 +2,9 @@
"name": "@openpanel/sdk",
"version": "1.0.3-local",
"module": "index.ts",
"config": {
"docPath": "apps/public/content/docs/(tracking)/sdks/javascript.mdx"
},
"scripts": {
"build": "rm -rf dist && tsup",
"typecheck": "tsc --noEmit"

View File

@@ -2,6 +2,9 @@
"name": "@openpanel/web",
"version": "1.0.6-local",
"module": "index.ts",
"config": {
"docPath": "apps/public/content/docs/(tracking)/sdks/web.mdx"
},
"scripts": {
"build": "rm -rf dist && tsup",
"typecheck": "tsc --noEmit"