Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"type": "module",
"scripts": {
"build": "turbo run build",
"clean": "turbo run clean && rm -rf ./node_modules && pnpm i",
"clean": "turbo run clean && rimraf ./node_modules && pnpm i",
"postinstall": "lefthook install",
"lint": "eslint . --cache --cache-location .cache/.eslintcache",
"lint:fix": "pnpm run lint --fix",
Expand Down Expand Up @@ -51,6 +51,7 @@
"lefthook": "^1.13.6",
"lint-staged": "^16.2.3",
"prettier": "^3.6.2",
"rimraf": "^6.1.3",
"turbo": "^2.5.8",
"typescript": "^5.9.3"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"prometheus-exporter",
"prometheus-core"
],
"author": "oneweek-lee",

Check failure on line 10 in packages/core/package.json

View workflow job for this annotation

GitHub Actions / lint

Package top-level property "author" is not ordered in the npm standard way. Run the ESLint auto-fixer to correct
"repository": {

Check failure on line 11 in packages/core/package.json

View workflow job for this annotation

GitHub Actions / lint

Package top-level property "repository" is not ordered in the npm standard way. Run the ESLint auto-fixer to correct
"type": "git",
"url": "https://github.com/NaverPayDev/prometheus",
"directory": "packages/core"
Expand Down Expand Up @@ -36,7 +36,7 @@
],
"scripts": {
"build": "pnpm clean && vite build",
"clean": "rm -rf dist"
"clean": "rimraf dist"
},
"overrides": {
"vm2<3.9.17": "3.9.17"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/next/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function getNextRoutesManifest() {
* Creates a function that normalizes Next.js URLs to route patterns for metrics
* @returns Function that takes a URL and returns the normalized route pattern
*/
export function createNextRoutesUrlGroup(maxNormalizedUrlDepth: number) {
export function createNextRoutesUrlGroup(maxNormalizedUrlDepth = 0) {
const {basePath, routes} = getNextRoutesManifest()

return function getUrlGroup(originalUrl: string) {
Expand Down
2 changes: 1 addition & 1 deletion packages/hono/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"prometheus-hono",
"prometheus-middleware"
],
"author": "oneweek-lee",

Check failure on line 12 in packages/hono/package.json

View workflow job for this annotation

GitHub Actions / lint

Package top-level property "author" is not ordered in the npm standard way. Run the ESLint auto-fixer to correct
"repository": {

Check failure on line 13 in packages/hono/package.json

View workflow job for this annotation

GitHub Actions / lint

Package top-level property "repository" is not ordered in the npm standard way. Run the ESLint auto-fixer to correct
"type": "git",
"url": "https://github.com/NaverPayDev/prometheus",
"directory": "packages/hono"
Expand Down Expand Up @@ -38,7 +38,7 @@
],
"scripts": {
"build": "pnpm clean && vite build",
"clean": "rm -rf dist"
"clean": "rimraf dist"
},
"dependencies": {
"@naverpay/es-http-status-codes": "^0.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"prometheus-koa",
"prometheus-middleware"
],
"author": "oneweek-lee",

Check failure on line 12 in packages/koa/package.json

View workflow job for this annotation

GitHub Actions / lint

Package top-level property "author" is not ordered in the npm standard way. Run the ESLint auto-fixer to correct
"repository": {

Check failure on line 13 in packages/koa/package.json

View workflow job for this annotation

GitHub Actions / lint

Package top-level property "repository" is not ordered in the npm standard way. Run the ESLint auto-fixer to correct
"type": "git",
"url": "https://github.com/NaverPayDev/prometheus",
"directory": "packages/koa"
Expand Down Expand Up @@ -38,7 +38,7 @@
],
"scripts": {
"build": "pnpm clean && vite build",
"clean": "rm -rf dist"
"clean": "rimraf dist"
},
"dependencies": {
"@naverpay/es-http-status-codes": "^0.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"prometheus-exporter",
"prometheus-next"
],
"author": "oneweek-lee",

Check failure on line 11 in packages/next/package.json

View workflow job for this annotation

GitHub Actions / lint

Package top-level property "author" is not ordered in the npm standard way. Run the ESLint auto-fixer to correct
"repository": {

Check failure on line 12 in packages/next/package.json

View workflow job for this annotation

GitHub Actions / lint

Package top-level property "repository" is not ordered in the npm standard way. Run the ESLint auto-fixer to correct
"type": "git",
"url": "https://github.com/NaverPayDev/prometheus",
"directory": "packages/next"
Expand Down Expand Up @@ -37,7 +37,7 @@
],
"scripts": {
"build": "pnpm clean && vite build",
"clean": "rm -rf dist"
"clean": "rimraf dist"
},
"dependencies": {
"@naverpay/prometheus-core": "workspace:*",
Expand Down
69 changes: 67 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading