Skip to content

Commit

Permalink
packages-dir (#61)
Browse files Browse the repository at this point in the history
packages dir
  • Loading branch information
wydengyre authored Jan 30, 2024
1 parent d948772 commit c6768d0
Show file tree
Hide file tree
Showing 39 changed files with 56 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.idea
*.iml
node_modules
cf/.wrangler
cf/dist
packages/cf/.wrangler
packages/cf/dist
4 changes: 2 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
},
"files": {
"include": ["*.json", "rai/**/*.ts", "rai/**/*.json", "server/**/*.ts", "server/**/*.json", "cf/**/*.ts", "cf/**/*.json"],
"ignore": ["cf/.wrangler"]
"include": ["*.json", "packages/**/*.ts", "packages/**/*.json"],
"ignore": ["packages/cf/.wrangler"]
}
}
50 changes: 44 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"version": "0.0.0",
"description": "",
"private": true,
"workspaces": ["./rai", "./server", "./cf"],
"workspaces": ["packages/*"],
"scripts": {
"ci-lint": "biome ci rai server cf",
"lint": "biome check --apply rai server cf"
"ci-lint": "biome ci .",
"lint": "biome check --apply ."
},
"author": "",
"license": "ISC",
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions cf/package.json → packages/cf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"deploy": "wrangler --env prod deploy",
"deploy-preview": "wrangler deploy --dry-run --outdir dist",

"test": "tsx --tsconfig ./tsconfig.json --test '**/*.test.ts'",
"test-only": "tsx --tsconfig ./tsconfig.json --test --test-only '**/*.test.ts'",
"test": "tsx --tsconfig tsconfig.json --test '**/*.test.ts'",
"test-only": "tsx --tsconfig tsconfig.json --test --test-only '**/*.test.ts'",

"typecheck": "npm run typecheck-prod && npm run typecheck-test",
"typecheck-prod": "tsc",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion cf/tsconfig.json → packages/cf/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
"types": ["@cloudflare/workers-types"]
},
"include": ["*.ts"],
"exclude": ["*.test.ts", "declarations.d.ts"]
"exclude": ["*.test.ts",
"declarations.d.ts"
]
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c6768d0

Please sign in to comment.