gitsu-cli 1.0.7 → 1.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.
@@ -1,4 +1,4 @@
1
- name: build
1
+ name: ci
2
2
 
3
3
  on:
4
4
  push:
@@ -7,7 +7,7 @@ on:
7
7
  branches: [main]
8
8
 
9
9
  permissions:
10
- contents: write
10
+ contents: read
11
11
 
12
12
  jobs:
13
13
  build:
@@ -16,21 +16,27 @@ jobs:
16
16
  - uses: actions/checkout@v4
17
17
  - uses: actions/setup-node@v4
18
18
  with:
19
- node-version: 22
20
- - run: npm ci
21
- - run: npm run build
19
+ node-version: 22.x
20
+ - run: npm clean-install
22
21
  - run: npm run lint
22
+ - run: npm run build
23
23
 
24
24
  release:
25
- needs: [build]
26
- runs-on: ubuntu-latest
25
+ needs: build
27
26
  if: github.event_name == 'push' && github.ref == 'refs/heads/main'
27
+ runs-on: ubuntu-latest
28
+ permissions:
29
+ contents: write # to be able to publish a GitHub release
30
+ issues: write # to be able to comment on released issues
31
+ pull-requests: write # to be able to comment on released pull requests
32
+ id-token: write # to enable use of OIDC for npm provenance
28
33
  steps:
29
34
  - uses: actions/checkout@v4
30
35
  - uses: actions/setup-node@v4
31
36
  with:
32
- node-version: 22
33
- - run: npm ci
37
+ node-version: 22.x
38
+ - run: npm clean-install
39
+ - run: npm audit signatures
34
40
  - run: npm run build
35
41
  - run: npx semantic-release
36
42
  env:
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.0.8](https://github.com/jamieweavis/gitsu/compare/v1.0.7...v1.0.8) (2025-04-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update description ([867254a](https://github.com/jamieweavis/gitsu/commit/867254a9b1dbd270eb01580796e94cc67aee2037))
7
+
1
8
  ## [1.0.7](https://github.com/jamieweavis/gitsu/compare/v1.0.6...v1.0.7) (2025-04-05)
2
9
 
3
10
 
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # gitsu
2
2
 
3
- > 🥷 Command line util for quickly & easily switching git identities
3
+ Interactive command line util for quickly & easily switching git users
4
4
 
5
- [![build](https://github.com/jamieweavis/gitsu/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/jamieweavis/gitsu/actions)
5
+ [![ci](https://github.com/jamieweavis/gitsu/actions/workflows/ci.yml/badge.svg)](https://github.com/jamieweavis/gitsu/actions)
6
6
  [![downloads](https://img.shields.io/npm/dt/gitsu-cli.svg)](https://npmjs.com/package/gitsu-cli)
7
7
  [![version](https://img.shields.io/npm/v/gitsu-cli.svg)](https://github.com/jamieweavis/gitsu/releases)
8
8
  [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jamieweavis/gitsu/blob/main/LICENSE)
package/lib/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gitsu-cli",
3
- "version": "1.0.6",
4
- "description": "Command line util for quickly & easily switching git identities",
3
+ "version": "1.0.7",
4
+ "description": "Interactive command line util for quickly & easily switching git users",
5
5
  "author": "Jamie Weavis",
6
6
  "homepage": "https://github.com/jamieweavis/gitsu#readme",
7
7
  "license": "MIT",
@@ -64,9 +64,7 @@
64
64
  "ts-node-dev": "^2.0.0"
65
65
  },
66
66
  "release": {
67
- "branches": [
68
- "main"
69
- ],
67
+ "branches": ["main"],
70
68
  "plugins": [
71
69
  "@semantic-release/changelog",
72
70
  "@semantic-release/commit-analyzer",
@@ -77,14 +75,9 @@
77
75
  ]
78
76
  },
79
77
  "lint-staged": {
80
- "*.ts": [
81
- "biome format --write",
82
- "biome lint --write"
83
- ]
78
+ "*.ts": ["biome format --write", "biome lint --write"]
84
79
  },
85
80
  "commitlint": {
86
- "extends": [
87
- "@commitlint/config-conventional"
88
- ]
81
+ "extends": ["@commitlint/config-conventional"]
89
82
  }
90
83
  }
package/lib/src/app.js CHANGED
@@ -10,7 +10,7 @@ const edit_1 = __importDefault(require("./commands/edit"));
10
10
  const init_1 = __importDefault(require("./commands/init"));
11
11
  const list_1 = __importDefault(require("./commands/list"));
12
12
  const bootstrap = () => {
13
- commander_1.program.description('Command line util for quickly & easily switching git identities');
13
+ commander_1.program.description(package_json_1.description);
14
14
  commander_1.program.version(package_json_1.version);
15
15
  commander_1.program.option('-e, --edit', 'edit ~/.gitsurc with your EDITOR');
16
16
  commander_1.program.option('-l, --list', 'list users stored in ~/.gitsurc');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gitsu-cli",
3
- "version": "1.0.7",
4
- "description": "Command line util for quickly & easily switching git identities",
3
+ "version": "1.0.8",
4
+ "description": "Interactive command line util for quickly & easily switching git users",
5
5
  "author": "Jamie Weavis",
6
6
  "homepage": "https://github.com/jamieweavis/gitsu#readme",
7
7
  "license": "MIT",
package/src/app.ts CHANGED
@@ -2,15 +2,13 @@
2
2
 
3
3
  import { program } from 'commander';
4
4
 
5
- import { version } from '../package.json';
5
+ import { description, version } from '../package.json';
6
6
  import edit from './commands/edit';
7
7
  import init from './commands/init';
8
8
  import list from './commands/list';
9
9
 
10
10
  const bootstrap = () => {
11
- program.description(
12
- 'Command line util for quickly & easily switching git identities',
13
- );
11
+ program.description(description);
14
12
  program.version(version);
15
13
  program.option('-e, --edit', 'edit ~/.gitsurc with your EDITOR');
16
14
  program.option('-l, --list', 'list users stored in ~/.gitsurc');
package/.nvmrc DELETED
@@ -1 +0,0 @@
1
- v22