Skip to content

Commit f35fa04

Browse files
committed
chore: try to fix publishing
1 parent f261cba commit f35fa04

4 files changed

Lines changed: 17 additions & 3 deletions

File tree

.github/workflows/pkg.pr.new.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
cache-dependency-path: ${{ env.WORKING_DIR }}/pnpm-lock.yaml
3737

3838
- name: Install deps
39-
run: pnpm i
39+
run: pnpm i --frozen-lockfile
4040

4141
- name: Build and pack
4242
run: pnpm build
4343

4444
- name: Publish package preview
45-
run: pnpx pkg-pr-new publish --compact --packageManager=npm,pnpm,yarn
45+
run: pnpm exec pkg-pr-new publish --compact --packageManager=npm,pnpm,yarn

packages/next-auth/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
"types": "./core/index.d.ts",
3939
"default": "./core/index.js"
4040
},
41+
"./css": {
42+
"types": "./css/index.d.ts",
43+
"default": "./css/index.js"
44+
},
4145
"./jwt": {
4246
"types": "./jwt/index.d.ts",
4347
"default": "./jwt/index.js"
@@ -116,6 +120,7 @@
116120
"jest-environment-jsdom": "^30.3.0",
117121
"jest-watch-typeahead": "^1.1.0",
118122
"msw": "^2.12.10",
123+
"pkg-pr-new": "^0.0.75",
119124
"postcss": "^8.4.14",
120125
"postcss-cli": "^9.1.0",
121126
"postcss-nested": "^5.0.6",

packages/next-auth/pnpm-lock.yaml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/next-auth/src/core/pages/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import SigninPage from "./signin"
44
import SignoutPage from "./signout"
55
import VerifyRequestPage from "./verify-request"
66
import ErrorPage from "./error"
7-
import css from "../../css"
7+
import css from "../../css/index.js"
88

99
import type { InternalOptions } from "../types"
1010
import type { RequestInternal, ResponseInternal } from ".."

0 commit comments

Comments
 (0)