@lssm/tool.tsdown 0.11.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +5 -1
  2. package/package.json +4 -1
package/index.js CHANGED
@@ -66,6 +66,9 @@ const sharedExternal = [
66
66
  'react-native-safe-area-context',
67
67
  'expo',
68
68
  'expo-router',
69
+ '@prisma/client',
70
+ '@prisma/client/runtime/client',
71
+ '@prisma/client/runtime',
69
72
  '@prisma/adapter-pg',
70
73
  'pg',
71
74
  'graphql',
@@ -134,7 +137,8 @@ export const nodeDatabaseLib = defineConfig({
134
137
  // platform: 'neutral',
135
138
  unbundle: true,
136
139
  external: [...sharedExternal],
137
- ...obfuscation,
140
+ // ...obfuscation,
141
+ entry: ['src/index.ts', 'src/client.ts', 'src/enums.ts', 'src/models.ts'],
138
142
  });
139
143
 
140
144
  export default defineConfig((_options) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/tool.tsdown",
3
- "version": "0.11.0",
3
+ "version": "0.12.1",
4
4
  "type": "module",
5
5
  "description": "Shared tsdown config presets for LSSM monorepo",
6
6
  "exports": {
@@ -12,5 +12,8 @@
12
12
  ],
13
13
  "peerDependencies": {
14
14
  "tsdown": "^0.16.6"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public"
15
18
  }
16
19
  }