pruny 1.10.1 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +20 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9204,19 +9204,30 @@ async function scanUnusedFiles(config) {
9204
9204
  "**/loading.{ts,tsx,js,jsx}",
9205
9205
  "**/error.{ts,tsx,js,jsx}",
9206
9206
  "**/not-found.{ts,tsx,js,jsx}",
9207
+ "**/template.{ts,tsx,js,jsx}",
9208
+ "**/default.{ts,tsx,js,jsx}",
9207
9209
  "**/middleware.{ts,js}",
9208
9210
  "**/proxy.{ts,js}",
9209
9211
  "**/instrumentation.{ts,js}",
9210
- "next.config.{js,mjs,ts}",
9211
- "tailwind.config.{js,ts}",
9212
- "postcss.config.{js,ts}",
9213
- "app/robots.{ts,js}",
9214
- "app/sitemap.{ts,js}",
9215
- "next-sitemap.config.js",
9216
- "cypress.config.ts",
9217
- "env.d.ts",
9218
- "next-env.d.ts",
9212
+ "**/next.config.{js,mjs,ts}",
9213
+ "**/tailwind.config.{js,ts,mjs,cjs}",
9214
+ "**/postcss.config.{js,ts,mjs,cjs}",
9215
+ "**/robots.{ts,js}",
9216
+ "**/sitemap.{ts,js}",
9217
+ "**/manifest.{ts,js}",
9218
+ "**/icon.{ts,tsx,js,jsx}",
9219
+ "**/apple-icon.{ts,tsx,js,jsx}",
9220
+ "**/opengraph-image.{ts,tsx,js,jsx}",
9221
+ "**/twitter-image.{ts,tsx,js,jsx}",
9222
+ "**/global-error.{ts,tsx,js,jsx}",
9223
+ "**/next-sitemap.config.{js,cjs}",
9224
+ "**/cypress.config.{ts,js}",
9225
+ "**/env.d.ts",
9226
+ "**/next-env.d.ts",
9219
9227
  "**/*.d.ts",
9228
+ "**/*.config.{js,ts,mjs,cjs}",
9229
+ "**/*.test.{ts,tsx,js,jsx}",
9230
+ "**/*.spec.{ts,tsx,js,jsx}",
9220
9231
  "scripts/**/*.{ts,js}",
9221
9232
  "cypress/**/*.{ts,js,tsx}",
9222
9233
  "public/sw.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pruny",
3
- "version": "1.10.1",
3
+ "version": "1.12.0",
4
4
  "description": "Find and remove unused Next.js API routes & Nest.js Controllers",
5
5
  "type": "module",
6
6
  "files": [