@prisma/studio-core 0.0.0

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.
package/data/index.ts ADDED
@@ -0,0 +1 @@
1
+ export {}
@@ -0,0 +1 @@
1
+ "use strict";var t=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=(o,e,x,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let p of b(e))!c.call(o,p)&&p!==x&&t(o,p,{get:()=>e[p],enumerable:!(r=a(e,p))||r.enumerable});return o};var f=o=>d(t({},"__esModule",{value:!0}),o);var g={};module.exports=f(g);
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
File without changes
@@ -0,0 +1 @@
1
+ "use strict";var p=Object.defineProperty;var W=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var g=(o,l)=>{for(var e in l)p(o,e,{get:l[e],enumerable:!0})},h=(o,l,e,H)=>{if(l&&typeof l=="object"||typeof l=="function")for(let d of a(l))!b.call(o,d)&&d!==e&&p(o,d,{get:()=>l[d],enumerable:!(H=W(l,d))||H.enumerable});return o};var k=o=>h(p({},"__esModule",{value:!0}),o);var r={};g(r,{default:()=>q});module.exports=k(r);var f=require("react/jsx-runtime"),q=(0,f.jsx)(f.Fragment,{children:"Hello World"});
@@ -0,0 +1,5 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ declare const _default: react_jsx_runtime.JSX.Element;
4
+
5
+ export = _default;
@@ -0,0 +1,5 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ declare const _default: react_jsx_runtime.JSX.Element;
4
+
5
+ export { _default as default };
@@ -0,0 +1 @@
1
+ import{Fragment as l,jsx as o}from"react/jsx-runtime";var d=o(l,{children:"Hello World"});export{d as default};
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@prisma/studio-core",
3
+ "version": "0.0.0",
4
+ "description": "Modular Prisma Studio components",
5
+ "sideEffects": false,
6
+ "main": "./dist/data/index.js",
7
+ "types": "./dist/data/index.d.ts",
8
+ "type": "module",
9
+ "exports": {
10
+ "./data": {
11
+ "types": "./dist/data/index.d.ts",
12
+ "import": "./dist/data/index.js",
13
+ "default": "./dist/data/index.js"
14
+ },
15
+ "./ui": {
16
+ "types": "./dist/ui/index.d.ts",
17
+ "import": "./dist/ui/index.js",
18
+ "default": "./dist/ui/index.js"
19
+ }
20
+ },
21
+ "scripts": {
22
+ "build": "tsup",
23
+ "typecheck": "tsc --noEmit",
24
+ "lint": "eslint --fix .",
25
+ "test": ""
26
+ },
27
+ "keywords": [],
28
+ "author": "",
29
+ "license": "ISC",
30
+ "dependencies": {
31
+ "tsup": "8.0.2",
32
+ "tsx": "4.17.0",
33
+ "typescript": "5.5.4"
34
+ },
35
+ "peerDependencies": {
36
+ "@types/react": "18.3.3",
37
+ "react": "18.3.0-canary-a870b2d54-20240314"
38
+ }
39
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": "../../tsconfig.base.json",
3
+ "compilerOptions": {
4
+ "lib": ["DOM", "DOM.Iterable", "ES2022"]
5
+ }
6
+ }
package/tsup.config.ts ADDED
@@ -0,0 +1,11 @@
1
+ import { defineConfig } from "tsup";
2
+
3
+ export default defineConfig({
4
+ cjsInterop: true,
5
+ clean: true,
6
+ dts: true,
7
+ entry: ["./data/index.ts", "./ui/index.tsx"],
8
+ format: ["esm"],
9
+ minify: true,
10
+ outDir: "dist",
11
+ });
package/ui/index.tsx ADDED
@@ -0,0 +1 @@
1
+ export default <>Hello World</>