Skip to content

Commit 301ee9e

Browse files
committed
sync
1 parent 5b587d4 commit 301ee9e

File tree

9 files changed

+139
-44
lines changed

9 files changed

+139
-44
lines changed
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
1-
# Ruler Configuration for Informed Medical
2-
# This project uses Ruler to manage AI agent instructions
3-
# Source: .ruler/ directory | Generated: root AGENTS.md, CLAUDE.md, etc.
4-
51
# Default agents to apply when --agents flag is not specified
62
default_agents = ["claude", "codex", "cursor"]
73

84
# --- Fork Configuration ---
95

10-
root_folder = ".claude"
11-
126
[rules]
137
merge_strategy = "cursor"
148

@@ -17,7 +11,6 @@ enabled = false
1711

1812
# --- Global Configuration ---
1913

20-
# Skills support (manages .ruler/skills/ → .claude/skills/ propagation)
2114
[skills]
2215
enabled = true
2316
generate_from_rules = true

.gitignore

Lines changed: 113 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,141 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
22

3-
.vscode/*
4-
!.vscode/settings.json
3+
# Allow claude to read these files
4+
apps/www/src/app/api/ai
5+
apps/www/public/rd
6+
**/tsconfig.tsbuildinfo
7+
templates/my-app
8+
.cursor/local
59

6-
# dependencies
7-
/node_modules
8-
/.pnp
9-
.pnp.*
1010
.yarn/*
1111
!.yarn/patches
1212
!.yarn/plugins
1313
!.yarn/releases
14+
!.yarn/sdks
1415
!.yarn/versions
16+
.repo_ignore
1517

16-
# testing
17-
/coverage
18+
**/traceDir
1819

19-
# next.js
20-
/.next/
21-
/out/
20+
.netrc
2221

23-
# production
24-
/build
22+
# Generated files
23+
.history
24+
node_modules/
25+
report.*
2526

26-
# misc
27-
.DS_Store
28-
*.pem
27+
# Dependency directories
28+
jspm_packages/
29+
/packages/*/node_modules
30+
**/dist
31+
32+
# compiled output
33+
/dist
34+
/tmp
35+
/out-tsc
36+
**/build
37+
38+
# Runtime data
39+
pids
40+
*.pid
41+
*.seed
42+
*.pid.lock
43+
44+
# Directory for instrumented libs generated by jscoverage/JSCover
45+
lib-cov
46+
47+
# Coverage directory used by tools like istanbul
48+
coverage
49+
50+
# nyc test coverage
51+
.nyc_output
52+
53+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
54+
.grunt
55+
56+
# Bower dependency directory (https://bower.io/)
57+
bower_components
58+
59+
# node-waf configuration
60+
.lock-wscript
61+
62+
# IDEs and editors
63+
.idea
64+
.project
65+
.classpath
66+
.c9/
67+
*.launch
68+
.settings/
69+
*.sublime-workspace
70+
.vscode/*
71+
!.vscode/settings.json
72+
!.vscode/extensions.json
2973

30-
# debug
74+
# Logs
75+
tracing.json
76+
logs
77+
*.log
3178
npm-debug.log*
3279
yarn-debug.log*
3380
yarn-error.log*
34-
.pnpm-debug.log*
81+
*.cache
3582

36-
# local env files
83+
84+
85+
# Optional npm cache directory
86+
.npm
87+
88+
# Optional eslint cache
89+
.eslintcache
90+
91+
# Optional REPL history
92+
.node_repl_history
93+
94+
# Output of 'npm pack'
95+
*.tgz
96+
97+
# Yarn Integrity file
98+
.yarn-integrity
99+
100+
# dotenv environment variables file
101+
.env
37102
.env.local
38103
.env.development.local
39104
.env.test.local
40105
.env.production.local
41106

42-
# vercel
43-
.vercel
107+
# next.js build output
108+
.next
44109

45-
# typescript
46-
*.tsbuildinfo
47-
next-env.d.ts
110+
# System Files
111+
.DS_Store
112+
Thumbs.db
113+
114+
#sonar
115+
.scannerwork/
116+
117+
# misc
118+
.sass-cache
119+
connect.lock
120+
121+
#storybook
122+
storybook-static/
123+
124+
# Local
125+
packages/plate/docs/
126+
# Local Netlify folder
127+
.netlify
128+
/test-results/
129+
/playwright-report/
130+
/playwright/.cache/
131+
.turbo
132+
.vercel
48133

49134
CLAUDE.local.md
50135
.codex
136+
.mcp.json
51137

52-
# START Ruler Generated Files
138+
# START Skiller Generated Files
53139
/.claude/skills
54140
/.codex/config.toml
55141
/.cursor/mcp.json
@@ -58,4 +144,4 @@ CLAUDE.local.md
58144
/.skillz
59145
/AGENTS.md
60146
/CLAUDE.md
61-
# END Ruler Generated Files
147+
# END Skiller Generated Files

.vscode/extensions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"recommendations": [
3+
"unional.vscode-sort-package-json",
4+
"biomejs.biome",
5+
"dbaeumer.vscode-eslint",
6+
"Anthropic.claude-code",
7+
"oven.bun-vscode"
8+
]
9+
}

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
"emmet.showExpandedAbbreviation": "never",
3131
"editor.codeActionsOnSave": {
3232
"source.fixAll.biome": "explicit",
33-
"source.organizeImports.biome": "explicit"
33+
"source.organizeImports.biome": "explicit",
34+
"source.sortPackageJson": "explicit"
3435
},
3536
"eslint.enable": true,
3637
"eslint.validate": [

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,19 @@
1111
"url": "https://github.com/udecode/TEMPLATE.git"
1212
},
1313
"license": "MIT",
14-
"packageManager": "[email protected]",
1514
"sideEffects": false,
16-
"main": "./dist/index.mjs",
17-
"module": "./dist/index.mjs",
1815
"exports": {
19-
".": "./dist/index.mjs",
16+
".": "./dist/index.js",
2017
"./package.json": "./package.json"
2118
},
19+
"main": "./dist/index.js",
20+
"module": "./dist/index.js",
21+
"types": "./dist/index.d.ts",
2222
"scripts": {
2323
"brl": "sh tooling/brl.sh",
2424
"build": "tsdown --config tooling/tsdown.config.ts",
2525
"build:watch": "tsdown --config tooling/tsdown.config.ts --watch",
26+
"postinstall": "bunx skiller apply",
2627
"lint": "biome check && eslint",
2728
"lint:fix": "biome check --write",
2829
"release": "bun run build && bun changeset publish",
@@ -35,16 +36,17 @@
3536
"@changesets/get-github-info": "0.6.0",
3637
"@rollup/plugin-babel": "^6.1.0",
3738
"@types/node": "^24.7.2",
38-
"babel-plugin-react-compiler": "^1.0.0",
3939
"@typescript-eslint/parser": "^8.47.0",
40+
"babel-plugin-react-compiler": "^1.0.0",
41+
"barrelsby": "^2.8.1",
4042
"eslint": "^9.39.1",
4143
"eslint-plugin-react-hooks": "7.0.1",
42-
"barrelsby": "^2.8.1",
4344
"lefthook": "^2.0.0",
4445
"tsdown": "^0.16.6",
4546
"typescript": "5.9.3",
4647
"ultracite": "6.3.6"
4748
},
49+
"packageManager": "[email protected]",
4850
"publishConfig": {
4951
"access": "public"
5052
}

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const hello = () => 'hello';

tooling/brl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ run_barrelsby() {
1515
}
1616

1717
# Run barrelsby on the src directory if index.tsx doesn't exist
18-
run_barrelsby "$INIT_CWD/src" -D -l all -q -e '.*__tests__.*|(.*(fixture|template|spec|internal).*)|(^.*\/react\/.*$)'
18+
run_barrelsby "$INIT_CWD/src" -D -l all -q -e '.*__tests__.*|(.*(fixture|template|spec|internal).*)|(^.*\/react\/.*$)|(.*\.d\.ts$)'
1919

2020
# Check if the src/react directory exists and run barrelsby if it does and if index.tsx doesn't exist
2121
if [ -d "$INIT_CWD/src/react" ]; then
22-
run_barrelsby "$INIT_CWD/src/react" -D -l all -q -e '.*__tests__.*|(.*(fixture|template|spec|internal).*)'
22+
run_barrelsby "$INIT_CWD/src/react" -D -l all -q -e '.*__tests__.*|(.*(fixture|template|spec|internal).*)|(.*\.d\.ts$)'
2323
fi

tooling/tsconfig.build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "./tsconfig.json",
2+
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"declaration": true,
55
"declarationMap": false,

tooling/tsdown.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ import { defineConfig } from 'tsdown';
44
const HAS_REACT = false;
55

66
export default defineConfig({
7+
platform: 'neutral',
78
target: 'esnext',
89
tsconfig: './tooling/tsconfig.build.json',
910
exports: true,
1011
sourcemap: true,
12+
dts: true,
13+
outExtensions: () => ({ js: '.js', dts: '.d.ts' }),
1114
plugins: HAS_REACT
1215
? [
1316
pluginBabel({

0 commit comments

Comments
 (0)