build(firebase-auth): lint published package (#1048)
parent
aab396f7ea
commit
d905d009fe
|
@ -19,6 +19,7 @@ jobs:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
- run: yarn workspaces focus hono-middleware @hono/firebase-auth
|
- run: yarn workspaces focus hono-middleware @hono/firebase-auth
|
||||||
- run: yarn workspace @hono/firebase-auth build
|
- run: yarn workspace @hono/firebase-auth build
|
||||||
|
- run: yarn workspace @hono/firebase-auth publint
|
||||||
- run: yarn test --coverage --project @hono/firebase-auth
|
- run: yarn test --coverage --project @hono/firebase-auth
|
||||||
- uses: codecov/codecov-action@v5
|
- uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -12,11 +12,10 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start-firebase-emulator": "firebase emulators:start --project example-project12345",
|
"start-firebase-emulator": "firebase emulators:start --project example-project12345",
|
||||||
"test-with-emulator": "firebase emulators:exec --project example-project12345 'vitest run'",
|
"test-with-emulator": "firebase emulators:exec --project example-project12345 'vitest run'",
|
||||||
"test": "vitest run",
|
"test": "vitest",
|
||||||
"build": "tsup ./src/index.ts --format esm,cjs --dts",
|
"build": "tsup ./src/index.ts",
|
||||||
"publint": "publint",
|
"prepack": "yarn build",
|
||||||
"prerelease": "yarn build && arn publint",
|
"publint": "attw --pack && publint"
|
||||||
"release": "yarn publish"
|
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
|
@ -33,7 +32,8 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/honojs/middleware.git"
|
"url": "git+https://github.com/honojs/middleware.git",
|
||||||
|
"directory": "packages/firebase-auth"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/honojs/middleware",
|
"homepage": "https://github.com/honojs/middleware",
|
||||||
"author": "codehex",
|
"author": "codehex",
|
||||||
|
@ -48,13 +48,14 @@
|
||||||
"hono": "*"
|
"hono": "*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@arethetypeswrong/cli": "^0.17.4",
|
||||||
"@cloudflare/workers-types": "^4.20240222.0",
|
"@cloudflare/workers-types": "^4.20240222.0",
|
||||||
"firebase-tools": "^13.29.1",
|
"firebase-tools": "^13.29.1",
|
||||||
"hono": "^4.2.4",
|
"hono": "^4.2.4",
|
||||||
"miniflare": "^3.20240208.0",
|
"miniflare": "^3.20240208.0",
|
||||||
"prettier": "^3.2.5",
|
"prettier": "^3.2.5",
|
||||||
"tsup": "^8.0.2",
|
"publint": "^0.3.9",
|
||||||
"typescript": "^5.3.3",
|
"tsup": "^8.4.0",
|
||||||
"vitest": "^3.0.8"
|
"vitest": "^3.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"rootDir": "./src",
|
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"types": [
|
"types": ["node", "@cloudflare/workers-types"]
|
||||||
"node",
|
}
|
||||||
"@cloudflare/workers-types"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"src/**/*.ts"
|
|
||||||
],
|
|
||||||
}
|
}
|
|
@ -2622,14 +2622,15 @@ __metadata:
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@hono/firebase-auth@workspace:packages/firebase-auth"
|
resolution: "@hono/firebase-auth@workspace:packages/firebase-auth"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@arethetypeswrong/cli": "npm:^0.17.4"
|
||||||
"@cloudflare/workers-types": "npm:^4.20240222.0"
|
"@cloudflare/workers-types": "npm:^4.20240222.0"
|
||||||
firebase-auth-cloudflare-workers: "npm:^2.0.6"
|
firebase-auth-cloudflare-workers: "npm:^2.0.6"
|
||||||
firebase-tools: "npm:^13.29.1"
|
firebase-tools: "npm:^13.29.1"
|
||||||
hono: "npm:^4.2.4"
|
hono: "npm:^4.2.4"
|
||||||
miniflare: "npm:^3.20240208.0"
|
miniflare: "npm:^3.20240208.0"
|
||||||
prettier: "npm:^3.2.5"
|
prettier: "npm:^3.2.5"
|
||||||
tsup: "npm:^8.0.2"
|
publint: "npm:^0.3.9"
|
||||||
typescript: "npm:^5.3.3"
|
tsup: "npm:^8.4.0"
|
||||||
vitest: "npm:^3.0.8"
|
vitest: "npm:^3.0.8"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
hono: "*"
|
hono: "*"
|
||||||
|
|
Loading…
Reference in New Issue