mac-helper 0.1.1 → 0.1.2

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.
package/lib/finder.js CHANGED
@@ -37,6 +37,5 @@ exports.Finder = {
37
37
  },
38
38
  };
39
39
  // ;(async () => {
40
- // console.log(await getPathFinderSelect())
41
- // console.log(await getPathFinderSelects())
40
+ // console.log(await PathFinder.allSelected())
42
41
  // })()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mac-helper",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "useful helper for macOS",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -9,9 +9,10 @@
9
9
  "src/"
10
10
  ],
11
11
  "scripts": {
12
- "test": "mocha",
13
12
  "prepare": "husky install",
14
- "test-cover": "nyc --reporter=lcov --reporter=text mocha",
13
+ "test": "vitest run --globals",
14
+ "test:dev": "vitest --globals",
15
+ "test-cover": "vitest run --globals --coverage",
15
16
  "dev": "tsc -w --incremental",
16
17
  "build": "rm -rf lib; rm tsconfig.tsbuildinfo; tsc",
17
18
  "prepublishOnly": "pnpm test && pnpm build"
@@ -39,26 +40,26 @@
39
40
  "@jxa/sdef-to-dts": "^1.3.6",
40
41
  "@jxa/types": "^1.3.6",
41
42
  "@magicdawn/prettier-config": "^0.0.2",
42
- "@swc/core": "^1.3.55",
43
- "@types/fs-extra": "^11.0.1",
43
+ "@swc/core": "1.3.78",
44
+ "@types/fs-extra": "^11.0.2",
44
45
  "@types/mocha": "^10.0.1",
45
- "@types/node": "^18.16.1",
46
- "@typescript-eslint/eslint-plugin": "^5.59.1",
47
- "@typescript-eslint/parser": "^5.59.1",
46
+ "@types/node": "^20.6.2",
47
+ "@typescript-eslint/eslint-plugin": "^6.7.0",
48
+ "@typescript-eslint/parser": "^6.7.0",
49
+ "@vitest/coverage-v8": "^0.34.4",
48
50
  "delay": "^5.0.0",
49
- "eslint": "^8.39.0",
50
- "eslint-config-prettier": "^8.8.0",
51
+ "eslint": "^8.49.0",
52
+ "eslint-config-prettier": "^9.0.0",
51
53
  "fs-extra": "^11.1.1",
52
54
  "husky": "^8.0.3",
53
55
  "jxa-common-used": "^0.0.3",
54
- "lint-staged": "^13.2.2",
55
- "mocha": "^10.2.0",
56
- "nyc": "^15.1.0",
57
- "prettier": "^2.8.8",
56
+ "lint-staged": "^14.0.1",
57
+ "prettier": "^3.0.3",
58
58
  "should": "^13.2.3",
59
- "typescript": "^5.0.4"
59
+ "typescript": "^5.2.2",
60
+ "vitest": "^0.34.4"
60
61
  },
61
- "packageManager": "pnpm@7.17.0",
62
+ "packageManager": "pnpm@8.7.5",
62
63
  "publishConfig": {
63
64
  "registry": "https://registry.npmjs.org"
64
65
  },
package/src/finder.ts CHANGED
@@ -38,6 +38,5 @@ export const Finder = {
38
38
  }
39
39
 
40
40
  // ;(async () => {
41
- // console.log(await getPathFinderSelect())
42
- // console.log(await getPathFinderSelects())
41
+ // console.log(await PathFinder.allSelected())
43
42
  // })()