Skip to content

Commit

Permalink
refactor: Rename src to lib
Browse files Browse the repository at this point in the history
  • Loading branch information
duanyytop committed Jan 8, 2025
1 parent d34b9c3 commit 9b4cd2e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/cell-deps.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { VercelRequest, VercelResponse } from '@vercel/node';
import { ZodError } from 'zod';
import { fetchCellDeps } from "../src/fetcher"
import { fetchCellDeps } from "../lib/fetcher"

export default async function handler(_req: VercelRequest, res: VercelResponse) {
try {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.1.0",
"type": "module",
"scripts": {
"update:cellDeps": "npx tsx src/index.ts",
"format": "prettier --write '{src, api}/*.ts'",
"update:cellDeps": "npx tsx lib/index.ts",
"format": "prettier --write '{lib, api}/*.ts'",
"lint": "eslint --ext .ts"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"skipLibCheck": true,
"strict": true
},
"include": ["src", "api"],
"include": ["lib", "api"],
"exclude": ["node_modules"],
"ts-node": {
"esm": true
Expand Down

0 comments on commit 9b4cd2e

Please sign in to comment.