@towles/tool 0.0.0 → 0.0.6
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 +29 -2
- package/package.json +30 -32
package/README.md
CHANGED
|
@@ -10,11 +10,38 @@ One off quality of life scripts that I use on a daily basis.
|
|
|
10
10
|
|
|
11
11
|
## Tools to add
|
|
12
12
|
- [ ] Today - creates and opens a markdown file, named the current week of the year, for you to keep your daily notes and use a scratch pad for notes.
|
|
13
|
-
|
|
13
|
+
|
|
14
|
+
## Install from repository
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
pnpm add --global @towles/tool
|
|
18
|
+
|
|
19
|
+
## followed by
|
|
20
|
+
tt
|
|
21
|
+
|
|
22
|
+
# or
|
|
23
|
+
towles-tool
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Unisntall
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
pnpm remove --global @towles/tool
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## If command not found
|
|
34
|
+
|
|
35
|
+
try running with pnpm
|
|
36
|
+
```bash
|
|
37
|
+
pnpm tt
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
if that works, then you need to add the pnpm global bin directory to your PATH.
|
|
14
41
|
|
|
15
42
|
## packages to consider
|
|
43
|
+
|
|
16
44
|
- [ansis](https://github.com/webdiscus/ansis/) text colors
|
|
17
|
-
-
|
|
18
45
|
|
|
19
46
|
## History
|
|
20
47
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@towles/tool",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
5
|
-
"packageManager": "pnpm@10.6.2",
|
|
4
|
+
"version": "0.0.6",
|
|
6
5
|
"description": "One off quality of life scripts that I use on a daily basis.",
|
|
7
6
|
"author": "Chris Towles <Chris.Towles.Dev@gmail.com>",
|
|
8
7
|
"license": "MIT",
|
|
@@ -33,38 +32,26 @@
|
|
|
33
32
|
"files": [
|
|
34
33
|
"dist"
|
|
35
34
|
],
|
|
36
|
-
"scripts": {
|
|
37
|
-
"build": "unbuild",
|
|
38
|
-
"dev": "unbuild --stub",
|
|
39
|
-
"lint": "eslint",
|
|
40
|
-
"prepublishOnly": "nr build",
|
|
41
|
-
"release": "bumpp && pnpm publish",
|
|
42
|
-
"start": "tsx src/index.ts",
|
|
43
|
-
"test": "vitest --run",
|
|
44
|
-
"test:watch": "vitest",
|
|
45
|
-
"typecheck": "tsc --noEmit",
|
|
46
|
-
"prepare": "simple-git-hooks"
|
|
47
|
-
},
|
|
48
35
|
"dependencies": {
|
|
49
|
-
"commander": "
|
|
36
|
+
"commander": "^14.0.0"
|
|
50
37
|
},
|
|
51
38
|
"devDependencies": {
|
|
52
|
-
"@antfu/eslint-config": "
|
|
53
|
-
"@antfu/ni": "
|
|
54
|
-
"@antfu/utils": "
|
|
55
|
-
"@types/node": "
|
|
56
|
-
"bumpp": "
|
|
57
|
-
"eslint": "
|
|
58
|
-
"lint-staged": "
|
|
59
|
-
"simple-git-hooks": "
|
|
60
|
-
"tinyexec": "
|
|
61
|
-
"tsx": "
|
|
62
|
-
"typescript": "
|
|
63
|
-
"unbuild": "
|
|
64
|
-
"vite": "
|
|
65
|
-
"vitest": "
|
|
66
|
-
"vitest-package-exports": "
|
|
67
|
-
"yaml": "
|
|
39
|
+
"@antfu/eslint-config": "^4.10.1",
|
|
40
|
+
"@antfu/ni": "^24.1.0",
|
|
41
|
+
"@antfu/utils": "^9.1.0",
|
|
42
|
+
"@types/node": "^22.13.10",
|
|
43
|
+
"bumpp": "^10.1.0",
|
|
44
|
+
"eslint": "^9.22.0",
|
|
45
|
+
"lint-staged": "^15.5.0",
|
|
46
|
+
"simple-git-hooks": "^2.11.1",
|
|
47
|
+
"tinyexec": "^0.3.2",
|
|
48
|
+
"tsx": "^4.19.3",
|
|
49
|
+
"typescript": "^5.8.2",
|
|
50
|
+
"unbuild": "^3.5.0",
|
|
51
|
+
"vite": "^6.2.1",
|
|
52
|
+
"vitest": "^3.0.8",
|
|
53
|
+
"vitest-package-exports": "^0.1.1",
|
|
54
|
+
"yaml": "^2.7.0"
|
|
68
55
|
},
|
|
69
56
|
"simple-git-hooks": {
|
|
70
57
|
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged"
|
|
@@ -74,5 +61,16 @@
|
|
|
74
61
|
},
|
|
75
62
|
"directories": {
|
|
76
63
|
"test": "test"
|
|
64
|
+
},
|
|
65
|
+
"scripts": {
|
|
66
|
+
"build": "unbuild",
|
|
67
|
+
"dev": "unbuild --stub",
|
|
68
|
+
"lint": "eslint",
|
|
69
|
+
"release:local": "bumpp && pnpm publish --no-git-checks -r --access public",
|
|
70
|
+
"release": "bumpp && echo \"github action will run and publish to npm\"",
|
|
71
|
+
"start": "tsx src/index.ts",
|
|
72
|
+
"test": "vitest --run",
|
|
73
|
+
"test:watch": "vitest",
|
|
74
|
+
"typecheck": "tsc --noEmit"
|
|
77
75
|
}
|
|
78
|
-
}
|
|
76
|
+
}
|