Skip to content

Commit

Permalink
fix: Imports (#16)
Browse files Browse the repository at this point in the history
* fix: Imports

* fix: Add build:all
  • Loading branch information
pettermachado authored Nov 12, 2024
1 parent 03071a3 commit c8e32ee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { Model } from "sequelize";
import { InMemoryCache } from "../lib/cache/index.js";
import { SequelizeCache } from "../lib/db/cache.js";
import { getLogger } from "../lib/logger/index.js";
import tokenSource from "lib/token/index.js";
import tokenSource from "../lib/token/index.js";

const logger = getLogger("api/index");

Expand Down
8 changes: 4 additions & 4 deletions lib/token/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TokenSource } from "lib/soundtrack-api/index.js";
import { LoginResponse } from "lib/soundtrack-api/types.js";
import { getLogger } from "lib/logger/index.js";
import { User } from "lib/db/index.js";
import { TokenSource } from "../soundtrack-api/index.js";
import { LoginResponse } from "../soundtrack-api/types.js";
import { getLogger } from "../logger/index.js";
import { User } from "../db/index.js";

const logger = getLogger("lib/token");
const oneMinute = 60 * 1000;
Expand Down
2 changes: 1 addition & 1 deletion lib/worker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from "../db/index.js";
import { Api } from "../soundtrack-api/index.js";
import { getLogger } from "../logger/index.js";
import tokenSource from "lib/token/index.js";
import tokenSource from "../token/index.js";

const logger = getLogger("lib/worker/index");

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"build:remix": "remix vite:build",
"build:server": "tsc --p tsconfig.server.json",
"build:clean": "rimraf build/* build-server/*",
"build:all": "pnpm run build:clean && pnpm run build:remix && pnpm run build:server",
"dev": "remix dev --manual -c \"tsx ./server.ts\"",
"start": "node ./build-server/server.js",
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down

0 comments on commit c8e32ee

Please sign in to comment.