Skip to content

Commit

Permalink
chore(auth): build tweaks and add missing devdep (#10947)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Jul 15, 2024
1 parent 1ba3081 commit c1db834
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/auth/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ await build({
await build({
buildOptions: {
...defaultBuildOptions,
tsconfig: 'tsconfig.build-cjs.json',
tsconfig: 'tsconfig.build.json',
outdir: 'dist/cjs',
packages: 'external',
},
Expand Down
3 changes: 2 additions & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"build": "tsx ./build.ts && yarn build:types",
"build:pack": "yarn pack -o redwoodjs-auth.tgz",
"build:types": "tsc --build --verbose tsconfig.build.json",
"build:types-cjs": "tsc --build --verbose tsconfig.build-cjs.json",
"build:types-cjs": "tsc --build --verbose tsconfig.types-cjs.json",
"build:watch": "nodemon --watch src --ext \"js,jsx,ts,tsx\" --ignore dist --exec \"yarn build\"",
"prepublishOnly": "NODE_ENV=production yarn build",
"test": "concurrently \"npm:test:publint\" \"npm:test:vitest\" npm:test:attw",
Expand All @@ -100,6 +100,7 @@
"msw": "1.3.3",
"publint": "0.2.8",
"tsx": "4.15.6",
"type-fest": "3.13.0",
"typescript": "5.4.5",
"vitest": "1.6.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "./tsconfig.build.json",
"compilerOptions": {
"outDir": "dist/cjs",
},
"outDir": "dist/cjs"
}
}
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7825,6 +7825,7 @@ __metadata:
publint: "npm:0.2.8"
react: "npm:19.0.0-beta-04b058868c-20240508"
tsx: "npm:4.15.6"
type-fest: "npm:3.13.0"
typescript: "npm:5.4.5"
vitest: "npm:1.6.0"
languageName: unknown
Expand Down

0 comments on commit c1db834

Please sign in to comment.