@hypernym/utils 2.3.0 → 3.0.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.
- package/README.md +1 -5
- package/dist/types/fs/index.d.ts +0 -6
- package/package.json +13 -17
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @hypernym/utils
|
|
2
2
|
|
|
3
3
|
A collection of reusable utilities.
|
|
4
4
|
|
|
@@ -30,10 +30,6 @@ Feel free to ask questions or share new ideas.
|
|
|
30
30
|
|
|
31
31
|
Use the official [discussions](https://github.com/hypernym-studio/utils/discussions) to get involved.
|
|
32
32
|
|
|
33
|
-
## Contributing
|
|
34
|
-
|
|
35
|
-
Check out the [guide](.github/CONTRIBUTING.md) for more info.
|
|
36
|
-
|
|
37
33
|
## License
|
|
38
34
|
|
|
39
35
|
Developed in 🇭🇷 Croatia.
|
package/dist/types/fs/index.d.ts
CHANGED
|
@@ -6,14 +6,8 @@ import { writeFile as writeFile$1 } from 'node:fs/promises';
|
|
|
6
6
|
* @example
|
|
7
7
|
*
|
|
8
8
|
* ```ts
|
|
9
|
-
* // New import
|
|
10
9
|
* import { exists } from '@hypernym/utils/fs'
|
|
11
10
|
* ```
|
|
12
|
-
*
|
|
13
|
-
* ```ts
|
|
14
|
-
* // Deprecated import
|
|
15
|
-
* import { exists } from '@hypernym/utils/node'
|
|
16
|
-
* ```
|
|
17
11
|
*/
|
|
18
12
|
declare function exists(path: string): Promise<boolean>;
|
|
19
13
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hypernym/utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"author": "Hypernym Studio",
|
|
5
5
|
"description": "A collection of reusable utilities.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"./fs": {
|
|
17
17
|
"types": "./dist/types/fs/index.d.ts",
|
|
18
18
|
"import": "./dist/fs/index.mjs"
|
|
19
|
-
},
|
|
20
|
-
"./node": {
|
|
21
|
-
"types": "./dist/types/fs/index.d.ts",
|
|
22
|
-
"import": "./dist/fs/index.mjs"
|
|
23
19
|
}
|
|
24
20
|
},
|
|
25
21
|
"files": [
|
|
@@ -43,14 +39,14 @@
|
|
|
43
39
|
"dev:node": "vite-node -w playgrounds/node/main.ts",
|
|
44
40
|
"build": "hyperbundler",
|
|
45
41
|
"test:types": "vitest -c .config/vitest.config.ts --typecheck.only",
|
|
46
|
-
"lint": "
|
|
47
|
-
"lint:fix": "
|
|
42
|
+
"lint": "eslint -c .config/eslint.config.js .",
|
|
43
|
+
"lint:fix": "eslint -c .config/eslint.config.js --fix .",
|
|
48
44
|
"format": "prettier --config .config/prettier.config.js --write .",
|
|
49
45
|
"prepublishOnly": "npm run build"
|
|
50
46
|
},
|
|
51
47
|
"sideEffects": false,
|
|
52
48
|
"engines": {
|
|
53
|
-
"node": ">=
|
|
49
|
+
"node": ">=20.0.0"
|
|
54
50
|
},
|
|
55
51
|
"peerDependencies": {
|
|
56
52
|
"@types/node": ">=20.0.0",
|
|
@@ -65,14 +61,14 @@
|
|
|
65
61
|
}
|
|
66
62
|
},
|
|
67
63
|
"devDependencies": {
|
|
68
|
-
"@hypernym/bundler": "^0.
|
|
69
|
-
"@hypernym/eslint-config": "^
|
|
70
|
-
"@hypernym/prettier-config": "^
|
|
71
|
-
"@hypernym/tsconfig": "^
|
|
72
|
-
"@types/node": "^20.
|
|
73
|
-
"eslint": "^
|
|
74
|
-
"prettier": "^3.
|
|
75
|
-
"typescript": "^5.
|
|
76
|
-
"vitest": "^1.
|
|
64
|
+
"@hypernym/bundler": "^0.8.1",
|
|
65
|
+
"@hypernym/eslint-config": "^3.0.0",
|
|
66
|
+
"@hypernym/prettier-config": "^3.0.0",
|
|
67
|
+
"@hypernym/tsconfig": "^2.0.0",
|
|
68
|
+
"@types/node": "^20.12.7",
|
|
69
|
+
"eslint": "^9.0.0",
|
|
70
|
+
"prettier": "^3.2.5",
|
|
71
|
+
"typescript": "^5.4.4",
|
|
72
|
+
"vitest": "^1.4.0"
|
|
77
73
|
}
|
|
78
74
|
}
|