Skip to content

Commit 76b0286

Browse files
authored
Devtools (#272)
1 parent d8bfb6e commit 76b0286

File tree

176 files changed

+23548
-289
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+23548
-289
lines changed

Diff for: .github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: 'CI: TS-Check & Test'
33
on:
44
push:
55
paths:
6+
- 'devtools-ui/src/**'
67
- 'source/src/**'
78
- 'examples/src/**/*.spec.ts'
89
- 'examples/src/**/*.page.tsx'

Diff for: .gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,6 @@ test-results
101101
.contentlayer
102102

103103
/www/public/_pagefind
104-
tsconfig.tsbuildinfo
104+
tsconfig.tsbuildinfo
105+
106+
.parcel-cache

Diff for: devtools-ui/components.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": false,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "",
8+
"css": "./src/index.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"aliases": {
14+
"components": "@/components",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib",
18+
"hooks": "@/hooks"
19+
},
20+
"iconLibrary": "lucide"
21+
}

Diff for: devtools-ui/devtools-globals.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export {};
2+
3+
declare global {
4+
var __DEV__: boolean;
5+
}

Diff for: devtools-ui/dts.tsconfig.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"exclude": ["node_modules"],
4+
"compilerOptions": {
5+
"noEmit": true,
6+
"isolatedModules": false,
7+
"incremental": false,
8+
"declaration": true,
9+
"declarationDir": "./dist",
10+
"emitDeclarationOnly": true
11+
}
12+
}

Diff for: devtools-ui/dts.tsup.config.ts

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { defineConfig } from 'tsup';
2+
import packageJSON from './package.json';
3+
4+
export default defineConfig({
5+
entry: ['src/index.ts'],
6+
tsconfig: './dts.tsconfig.json',
7+
outDir: 'dist',
8+
sourcemap: false,
9+
splitting: false,
10+
dts: true,
11+
clean: false,
12+
});

0 commit comments

Comments
 (0)