pruny 1.2.14 → 1.4.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 +4 -0
  2. package/package.json +4 -1
package/dist/index.js CHANGED
@@ -9792,6 +9792,7 @@ program2.command("init").description("Create a default pruny.config.json file").
9792
9792
  init();
9793
9793
  });
9794
9794
  program2.action(async (options) => {
9795
+ const startTime = Date.now();
9795
9796
  const config = loadConfig({
9796
9797
  dir: options.dir,
9797
9798
  config: options.config,
@@ -10025,5 +10026,8 @@ program2.action(async (options) => {
10025
10026
  console.error(source_default.red("Error scanning:"), _err);
10026
10027
  process.exit(1);
10027
10028
  }
10029
+ const elapsed = ((Date.now() - startTime) / 1000).toFixed(2);
10030
+ console.log(source_default.dim(`
10031
+ ⏱️ Completed in ${elapsed}s`));
10028
10032
  });
10029
10033
  program2.parse();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pruny",
3
- "version": "1.2.14",
3
+ "version": "1.4.0",
4
4
  "description": "Find and remove unused Next.js API routes & Nest.js Controllers",
5
5
  "type": "module",
6
6
  "files": [
@@ -43,10 +43,13 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@eslint/js": "^10.0.1",
46
+ "@semantic-release/changelog": "^6.0.3",
47
+ "@semantic-release/git": "^10.0.1",
46
48
  "@types/bun": "latest",
47
49
  "@typescript-eslint/eslint-plugin": "^8.54.0",
48
50
  "@typescript-eslint/parser": "^8.54.0",
49
51
  "eslint": "^10.0.0",
52
+ "semantic-release": "^25.0.3",
50
53
  "typescript": "^5.0.0",
51
54
  "typescript-eslint": "^8.54.0"
52
55
  }