@towles/tool 0.0.0 → 0.0.1

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/README.md +35 -0
  2. package/package.json +29 -32
package/README.md CHANGED
@@ -8,6 +8,41 @@
8
8
 
9
9
  One off quality of life scripts that I use on a daily basis.
10
10
 
11
+ ## Install from repository
12
+
13
+ ```bash
14
+ pnpm add --global "${pwd}"
15
+
16
+ ## followed by
17
+
18
+ tt
19
+
20
+ ```
21
+
22
+ ## Unisntall
23
+
24
+ ```bash
25
+ pnpm uninstall --global @towles/tool
26
+ ```
27
+
28
+ ## If command not found
29
+
30
+ try running with pnpm
31
+ ```bash
32
+ pnpm tt
33
+ ```
34
+
35
+ if that works, then you need to add the pnpm global bin directory to your PATH.
36
+
37
+ ```bash
38
+ pnpm root -g
39
+ ```
40
+ This will give you the path to the global pnpm directory, which is usually something like `~/.local/share/pnpm/global/5`. You can then add this to your PATH in your shell configuration file (e.g., `.bashrc`, `.zshrc`).
41
+
42
+ ```bash
43
+ export PATH=$PATH:$(pnpm root -g)/bin
44
+ ```
45
+
11
46
  ## Tools to add
12
47
  - [ ] 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
48
  -
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@towles/tool",
3
3
  "type": "module",
4
- "version": "0.0.0",
5
- "packageManager": "pnpm@10.6.2",
4
+ "version": "0.0.1",
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": "catalog:cli"
36
+ "commander": "^14.0.0"
50
37
  },
51
38
  "devDependencies": {
52
- "@antfu/eslint-config": "catalog:cli",
53
- "@antfu/ni": "catalog:cli",
54
- "@antfu/utils": "catalog:inlined",
55
- "@types/node": "catalog:types",
56
- "bumpp": "catalog:cli",
57
- "eslint": "catalog:cli",
58
- "lint-staged": "catalog:cli",
59
- "simple-git-hooks": "catalog:cli",
60
- "tinyexec": "catalog:utils",
61
- "tsx": "catalog:cli",
62
- "typescript": "catalog:cli",
63
- "unbuild": "catalog:cli",
64
- "vite": "catalog:cli",
65
- "vitest": "catalog:testing",
66
- "vitest-package-exports": "catalog:testing",
67
- "yaml": "catalog:testing"
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,15 @@
74
61
  },
75
62
  "directories": {
76
63
  "test": "test"
64
+ },
65
+ "scripts": {
66
+ "build": "unbuild",
67
+ "dev": "unbuild --stub",
68
+ "lint": "eslint",
69
+ "release": "bumpp && pnpm publish",
70
+ "start": "tsx src/index.ts",
71
+ "test": "vitest --run",
72
+ "test:watch": "vitest",
73
+ "typecheck": "tsc --noEmit"
77
74
  }
78
- }
75
+ }