@kitschpatrol/snip 0.0.6 → 0.0.8

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/license.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 - 2024 Eric Mika
3
+ Copyright (c) 2023-2025 Eric Mika
4
4
 
5
5
  Based on the MIT-licensed "Snipster" project by Jared Hanstra
6
6
 
package/package.json CHANGED
@@ -1,11 +1,20 @@
1
1
  {
2
2
  "name": "@kitschpatrol/snip",
3
- "version": "0.0.6",
4
- "type": "module",
3
+ "version": "0.0.8",
5
4
  "description": "A CLI tool for snippet management.",
6
- "repository": "github:kitschpatrol/snip",
5
+ "keywords": [
6
+ "cli",
7
+ "snippets",
8
+ "vscode",
9
+ "npm-package"
10
+ ],
7
11
  "homepage": "https://github.com/kitschpatrol/snip",
8
12
  "bugs": "https://github.com/kitschpatrol/snip/issues",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/kitschpatrol/snip.git"
16
+ },
17
+ "license": "MIT",
9
18
  "author": {
10
19
  "name": "Eric Mika",
11
20
  "email": "eric@ericmika.com",
@@ -17,57 +26,49 @@
17
26
  "url": "https://github.com/jhanstra"
18
27
  }
19
28
  ],
20
- "license": "MIT",
21
- "engines": {
22
- "node": ">=20.5.0",
23
- "pnpm": ">=9.0.0"
24
- },
29
+ "type": "module",
25
30
  "bin": {
26
31
  "snip": "./dist/cli.js"
27
32
  },
28
33
  "files": [
29
34
  "dist/*"
30
35
  ],
31
- "keywords": [
32
- "cli",
33
- "snippets",
34
- "vscode",
35
- "npm-package"
36
- ],
37
36
  "dependencies": {
38
- "@commander-js/extra-typings": "^12.1.0",
37
+ "@commander-js/extra-typings": "^13.1.0",
39
38
  "@types/fs-extra": "^11.0.4",
40
39
  "@types/ignore-walk": "^4.0.3",
41
40
  "@types/inquirer": "^9.0.7",
42
- "commander": "^12.1.0",
43
- "execa": "^9.3.1",
44
- "fs-extra": "^11.2.0",
41
+ "commander": "^13.1.0",
42
+ "execa": "^9.5.2",
43
+ "fs-extra": "^11.3.0",
45
44
  "ignore-walk": "^7.0.0",
46
- "inquirer": "^10.2.2"
45
+ "inquirer": "^12.4.2"
47
46
  },
48
47
  "devDependencies": {
49
- "@kitschpatrol/shared-config": "^4.7.9",
50
- "@types/node": "20.5.0",
51
- "bumpp": "^9.5.2",
52
- "chalk": "^5.3.0",
53
- "date-fns": "^3.6.0",
54
- "node-jq": "^6.0.1",
55
- "pkgroll": "^2.5.0",
48
+ "@kitschpatrol/shared-config": "^5.2.0",
49
+ "@types/node": "^20.17.23",
50
+ "bumpp": "^10.0.3",
51
+ "chalk": "^5.4.1",
52
+ "date-fns": "^4.1.0",
53
+ "pkgroll": "^2.11.2",
56
54
  "tslog": "^4.9.3",
57
- "tsx": "^4.19.1",
58
- "typescript": "^5.6.2",
55
+ "tsx": "^4.19.3",
56
+ "typescript": "~5.7.3",
59
57
  "untildify": "^5.0.0",
60
- "vitest": "^2.1.1",
61
- "zod": "^3.23.8"
58
+ "vitest": "^3.0.7",
59
+ "zod": "^3.24.2"
60
+ },
61
+ "engines": {
62
+ "node": ">=20.9.0"
62
63
  },
63
64
  "publishConfig": {
64
65
  "access": "public"
65
66
  },
66
67
  "scripts": {
67
- "build": "pkgroll --clean-dist --minify",
68
+ "build": "pkgroll --clean-dist --minify --tsconfig tsconfig.build.json",
68
69
  "clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
69
- "fix": "shared-config --fix",
70
- "lint": "shared-config --lint",
70
+ "fix": "kpi fix",
71
+ "lint": "kpi lint",
71
72
  "release": "bumpp --commit 'Release: %s' && pnpm run build && pnpm publish --otp $(op read 'op://Personal/Npmjs/one-time password?attribute=otp')",
72
73
  "start": "node ./dist/cli.js",
73
74
  "test": "vitest",
package/readme.md CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  ## Overview
28
28
 
29
- Snip helps you create, edit, manage, and synchronize code snippets from the command line. Synchronize to (and possibly eventually from) editors like VSCode.
29
+ Snip helps you create, edit, manage, and synchronize code snippets from the command line. Synchronize to (and possibly eventually from) editors like VS Code.
30
30
 
31
31
  Snip is a fork of [Jared Hanstra](https://github.com/jhanstra)'s [snipster](https://github.com/jhanstra/snipster). Snip includes both some [additions](#background) and some [regressions](#the-future) vs. the original.
32
32
 
@@ -99,7 +99,7 @@ Modifications include:
99
99
  - Added `.ignore` file support.
100
100
  - Added `$EDITOR` support for creating new snippets.
101
101
  - Added support for `~` in paths.
102
- - Implemented a new automated language ID aggregation approach based on scraping plugin manifests from the VSCode marketplace.
102
+ - Implemented a new automated language ID aggregation approach based on scraping plugin manifests from the VS Code marketplace.
103
103
  - Added support for snippet descriptions — stored in the snippet file name itself.
104
104
 
105
105
  ## The future