Skip to content

Commit

Permalink
packages dir
Browse files Browse the repository at this point in the history
  • Loading branch information
wydengyre committed Jan 30, 2024
1 parent d948772 commit 372673e
Show file tree
Hide file tree
Showing 39 changed files with 60 additions and 18 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 rai server packages/cf",
"lint": "biome check --apply rai server packages/cf"
},
"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"
]
}
4 changes: 3 additions & 1 deletion server/tsconfig.test.json → packages/cf/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"compilerOptions": {
"types": ["node"]
},
"include": ["*.test.ts", "declarations.d.ts"],
"include": ["*.test.ts",
"declarations.d.ts"
],
"exclude": []
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion rai/feed.ts → packages/rai/feed.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { PromisePool } from "@supercharge/promise-pool";
import { z } from "zod";
import { FetchWithErr } from "./fetch.js";
import { FetchWithErr } from "./fetch";
import * as media from "./media.js";

export { RssConvertConf, feedToRss };
Expand Down
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 372673e

Please sign in to comment.