@kitschpatrol/snip 0.0.5 → 0.0.7
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/dist/cli.js +11 -11
- package/license.txt +1 -1
- package/package.json +35 -41
- package/readme.md +2 -2
package/license.txt
CHANGED
package/package.json
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/snip",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"type": "module",
|
|
3
|
+
"version": "0.0.7",
|
|
5
4
|
"description": "A CLI tool for snippet management.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"cli",
|
|
7
|
+
"snippets",
|
|
8
|
+
"vscode",
|
|
9
|
+
"npm-package"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://github.com/kitschpatrol/snip",
|
|
12
|
+
"bugs": "https://github.com/kitschpatrol/snip/issues",
|
|
6
13
|
"repository": {
|
|
7
14
|
"type": "git",
|
|
8
|
-
"url": "
|
|
9
|
-
},
|
|
10
|
-
"homepage": "https://github.com/kitschpatrol/snip",
|
|
11
|
-
"bugs": {
|
|
12
|
-
"url": "https://github.com/kitschpatrol/snip/issues",
|
|
13
|
-
"email": "eric@ericmika.com"
|
|
15
|
+
"url": "https://github.com/kitschpatrol/snip"
|
|
14
16
|
},
|
|
17
|
+
"license": "MIT",
|
|
15
18
|
"author": {
|
|
16
19
|
"name": "Eric Mika",
|
|
17
20
|
"email": "eric@ericmika.com",
|
|
@@ -23,59 +26,50 @@
|
|
|
23
26
|
"url": "https://github.com/jhanstra"
|
|
24
27
|
}
|
|
25
28
|
],
|
|
26
|
-
"
|
|
27
|
-
"engines": {
|
|
28
|
-
"node": "^18.17.0 || >=20.5.0",
|
|
29
|
-
"pnpm": ">=9.0.0"
|
|
30
|
-
},
|
|
29
|
+
"type": "module",
|
|
31
30
|
"bin": {
|
|
32
31
|
"snip": "./dist/cli.js"
|
|
33
32
|
},
|
|
34
33
|
"files": [
|
|
35
34
|
"dist/*"
|
|
36
35
|
],
|
|
37
|
-
"keywords": [
|
|
38
|
-
"cli",
|
|
39
|
-
"snippets",
|
|
40
|
-
"vscode",
|
|
41
|
-
"npm-package"
|
|
42
|
-
],
|
|
43
36
|
"dependencies": {
|
|
44
|
-
"@commander-js/extra-typings": "^
|
|
37
|
+
"@commander-js/extra-typings": "^13.1.0",
|
|
45
38
|
"@types/fs-extra": "^11.0.4",
|
|
46
39
|
"@types/ignore-walk": "^4.0.3",
|
|
47
40
|
"@types/inquirer": "^9.0.7",
|
|
48
|
-
"commander": "^
|
|
49
|
-
"execa": "^9.
|
|
50
|
-
"fs-extra": "^11.
|
|
41
|
+
"commander": "^13.1.0",
|
|
42
|
+
"execa": "^9.5.2",
|
|
43
|
+
"fs-extra": "^11.3.0",
|
|
51
44
|
"ignore-walk": "^7.0.0",
|
|
52
|
-
"inquirer": "^
|
|
45
|
+
"inquirer": "^12.4.2"
|
|
53
46
|
},
|
|
54
47
|
"devDependencies": {
|
|
55
|
-
"@kitschpatrol/shared-config": "^
|
|
56
|
-
"@types/node": "
|
|
57
|
-
"bumpp": "^
|
|
58
|
-
"chalk": "^5.
|
|
59
|
-
"date-fns": "^
|
|
60
|
-
"
|
|
61
|
-
"pkgroll": "^2.5.0",
|
|
62
|
-
"rimraf": "^6.0.1",
|
|
48
|
+
"@kitschpatrol/shared-config": "^5.0.8",
|
|
49
|
+
"@types/node": "20.5.0",
|
|
50
|
+
"bumpp": "^10.0.3",
|
|
51
|
+
"chalk": "^5.4.1",
|
|
52
|
+
"date-fns": "^4.1.0",
|
|
53
|
+
"pkgroll": "^2.11.2",
|
|
63
54
|
"tslog": "^4.9.3",
|
|
64
|
-
"tsx": "^4.19.
|
|
65
|
-
"typescript": "
|
|
55
|
+
"tsx": "^4.19.3",
|
|
56
|
+
"typescript": "~5.7.3",
|
|
66
57
|
"untildify": "^5.0.0",
|
|
67
|
-
"vitest": "^
|
|
68
|
-
"zod": "^3.
|
|
58
|
+
"vitest": "^3.0.7",
|
|
59
|
+
"zod": "^3.24.2"
|
|
60
|
+
},
|
|
61
|
+
"engines": {
|
|
62
|
+
"node": ">=20.9.0"
|
|
69
63
|
},
|
|
70
64
|
"publishConfig": {
|
|
71
65
|
"access": "public"
|
|
72
66
|
},
|
|
73
67
|
"scripts": {
|
|
74
|
-
"build": "pkgroll --clean-dist --minify",
|
|
75
|
-
"clean": "
|
|
76
|
-
"fix": "
|
|
77
|
-
"lint": "
|
|
78
|
-
"release": "
|
|
68
|
+
"build": "pkgroll --clean-dist --minify --tsconfig tsconfig.build.json",
|
|
69
|
+
"clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
|
|
70
|
+
"fix": "kpi fix",
|
|
71
|
+
"lint": "kpi lint",
|
|
72
|
+
"release": "bumpp --commit 'Release: %s' && pnpm run build && pnpm publish --otp $(op read 'op://Personal/Npmjs/one-time password?attribute=otp')",
|
|
79
73
|
"start": "node ./dist/cli.js",
|
|
80
74
|
"test": "vitest",
|
|
81
75
|
"update-language-data": "tsx ./scripts/update-vscode-language-data.ts"
|
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
|
|
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
|
|
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
|