@forceuser/git-profile-switcher 0.1.4

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/package.json ADDED
@@ -0,0 +1,105 @@
1
+ {
2
+ "name": "@forceuser/git-profile-switcher",
3
+ "version": "0.1.4",
4
+ "private": false,
5
+ "description": "CLI and TUI for automatic per-directory Git user identity switching.",
6
+ "keywords": [
7
+ "cli",
8
+ "git",
9
+ "identity",
10
+ "profile",
11
+ "tui"
12
+ ],
13
+ "homepage": "https://github.com/forceuser/git-profile-switcher#readme",
14
+ "bugs": {
15
+ "url": "https://github.com/forceuser/git-profile-switcher/issues"
16
+ },
17
+ "license": "UNLICENSED",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/forceuser/git-profile-switcher.git"
21
+ },
22
+ "bin": {
23
+ "gip": "./bin/gip.mjs",
24
+ "git-profile-switcher": "./bin/gip.mjs"
25
+ },
26
+ "files": [
27
+ "bin/",
28
+ "dist/runtime/",
29
+ "README.md"
30
+ ],
31
+ "type": "module",
32
+ "imports": {
33
+ "#app/*": {
34
+ "gip-source": "./runtime/app/*.ts",
35
+ "default": "./dist/runtime/app/*.js"
36
+ },
37
+ "#cli/*": {
38
+ "gip-source": "./runtime/cli/*.ts",
39
+ "default": "./dist/runtime/cli/*.js"
40
+ },
41
+ "#config/*": {
42
+ "gip-source": "./runtime/config/*.ts",
43
+ "default": "./dist/runtime/config/*.js"
44
+ },
45
+ "#git/*": {
46
+ "gip-source": "./runtime/git/*.ts",
47
+ "default": "./dist/runtime/git/*.js"
48
+ },
49
+ "#profiles/*": {
50
+ "gip-source": "./runtime/profiles/*.ts",
51
+ "default": "./dist/runtime/profiles/*.js"
52
+ },
53
+ "#prompt/*": {
54
+ "gip-source": "./runtime/prompt/*.ts",
55
+ "default": "./dist/runtime/prompt/*.js"
56
+ },
57
+ "#shell/*": {
58
+ "gip-source": "./runtime/shell/*.ts",
59
+ "default": "./dist/runtime/shell/*.js"
60
+ },
61
+ "#tui/*": {
62
+ "gip-source": "./runtime/tui/*.ts",
63
+ "default": "./dist/runtime/tui/*.js"
64
+ }
65
+ },
66
+ "publishConfig": {
67
+ "access": "public",
68
+ "registry": "https://registry.npmjs.org/"
69
+ },
70
+ "scripts": {
71
+ "prepare": "node --conditions=gip-source --experimental-strip-types scripts/setup-husky.ts",
72
+ "dev": "node --conditions=gip-source --experimental-strip-types runtime/app/index.ts",
73
+ "start": "node --conditions=gip-source --experimental-strip-types runtime/app/index.ts",
74
+ "build": "tsc --project tsconfig.build.json",
75
+ "lint": "oxlint .",
76
+ "lint:fix": "oxlint . --fix",
77
+ "fmt": "oxfmt .",
78
+ "fmt:check": "oxfmt --check .",
79
+ "check:lint-staged": "lint-staged --config lint-staged.config.mjs --allow-empty",
80
+ "typecheck": "tsc --noEmit",
81
+ "test": "node --conditions=gip-source --experimental-strip-types --test",
82
+ "prepack": "npm run build",
83
+ "prepublishOnly": "npm run verify:publish",
84
+ "smoke:package": "node --conditions=gip-source --experimental-strip-types scripts/smoke-package.ts",
85
+ "verify": "npm run lint && npm run fmt:check && npm run typecheck && npm test && npm run build",
86
+ "verify:publish": "npm run verify && npm run smoke:package",
87
+ "release:check-tag": "node --conditions=gip-source --experimental-strip-types scripts/check-release-tag.ts",
88
+ "bump": "node --conditions=gip-source --experimental-strip-types scripts/bump-version.ts",
89
+ "bump:patch": "node --conditions=gip-source --experimental-strip-types scripts/bump-version.ts patch",
90
+ "bump:minor": "node --conditions=gip-source --experimental-strip-types scripts/bump-version.ts minor",
91
+ "bump:major": "node --conditions=gip-source --experimental-strip-types scripts/bump-version.ts major"
92
+ },
93
+ "devDependencies": {
94
+ "@types/node": "^25.9.2",
95
+ "husky": "^9.1.7",
96
+ "lint-staged": "^17.0.7",
97
+ "oxfmt": "^0.42.0",
98
+ "oxlint": "^1.68.0",
99
+ "typescript": "^6.0.3"
100
+ },
101
+ "engines": {
102
+ "node": ">=22.14.0"
103
+ },
104
+ "packageManager": "pnpm@11.6.0+sha512.9a36518224080c6fe5165afdcfe79bfa118c29be703f3f462b1e32efe1e98e47e8750b148e08286250aad4113cc7993ca413c4e2cd447752708c2ee5751bc95f"
105
+ }