Skip to content

Commit 037fd68

Browse files
authored
chore: rename package (#10)
* chore: rename package * chore: rename package * chore: add changeset * fix: update labeler * fix * fix * fix
1 parent 1940510 commit 037fd68

23 files changed

+44
-61
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
33
"changelog": ["@changesets/changelog-github", { "repo": "offlegacy/git-intent" }],
4-
"fixed": [["@git-intent/core", "@git-intent/cli"]],
4+
"fixed": [["@offlegacy/git-intent-core", "git-intent"]],
55
"linked": [],
66
"access": "public",
77
"baseBranch": "main",

.changeset/twenty-loops-obey.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@offlegacy/git-intent-core": patch
3+
"git-intent": patch
4+
---
5+
6+
chore: rename package
7+

.github/labeler.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
cli:
2-
- 'packages/cli/**/*'
2+
- changed-files:
3+
- any-glob-to-any-file: ['packages/cli/**/*']
34

45
core:
5-
- 'packages/core/**/*'
6+
- changed-files:
7+
- any-glob-to-any-file: ['packages/core/**/*']
68

79
documentation:
8-
- '**/*.md'
9-
- '**/*.mdx'
10+
- changed-files:
11+
- any-glob-to-any-file: ['**/*.md', '**/*.mdx']
1012

1113
github-actions:
12-
- '.github/workflows/**/*'
14+
- changed-files:
15+
- any-glob-to-any-file: ['.github/workflows/**/*']
1316

1417
dependencies:
15-
- 'package.json'
16-
- 'pnpm-lock.yaml'
17-
- '**/package.json'
18-
19-
18+
- changed-files:
19+
- any-glob-to-any-file: ['package.json', 'pnpm-lock.yaml', '**/package.json']

.github/workflows/binary-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: pnpm build
4848

4949
- name: Build Binary (macOS)
50-
run: pnpm --filter "@git-intent/cli" pkg:build:macos
50+
run: pnpm --filter "git-intent" pkg:build:macos
5151

5252
- name: Create Checksum
5353
id: create_checksum

.github/workflows/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454

5555
- name: Build macOS binary
5656
if: runner.os == 'macOS'
57-
run: pnpm --filter "@git-intent/cli" pkg:build:macos
57+
run: pnpm --filter "git-intent" pkg:build:macos
5858

5959
- name: Test macOS binary
6060
if: runner.os == 'macOS'

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Pull Request Labeler"
1+
name: Pull Request Labeler
22

33
on:
44
- pull_request_target

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "git-intent",
2+
"name": "root",
33
"description": "Git workflow tool for intentional commits — define your commit intentions first for clearer, more atomic changes.",
44
"private": true,
55
"keywords": [
@@ -24,7 +24,7 @@
2424
"changeset": "changeset",
2525
"version-packages": "changeset version",
2626
"release": "turbo build && changeset publish",
27-
"cli": "pnpm --filter=@git-intent/cli start"
27+
"cli": "pnpm --filter='git-intent' start"
2828
},
2929
"devDependencies": {
3030
"@biomejs/biome": "^1.9.4",

packages/cli/CHANGELOG.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/cli/package.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@git-intent/cli",
3-
"version": "0.0.11",
2+
"name": "git-intent",
3+
"version": "0.0.10",
44
"description": "Git workflow tool for intentional commits — define your commit intentions first for clearer, more atomic changes.",
55
"keywords": [
66
"git",
@@ -13,9 +13,7 @@
1313
"todo-driven"
1414
],
1515
"license": "MIT",
16-
"files": [
17-
"dist"
18-
],
16+
"files": ["dist"],
1917
"type": "module",
2018
"bin": {
2119
"git-intent": "./dist/index.cjs"
@@ -35,13 +33,11 @@
3533
"test:ui": "vitest --ui"
3634
},
3735
"pkg": {
38-
"assets": [
39-
"dist/**/*"
40-
],
36+
"assets": ["dist/**/*"],
4137
"outputPath": "build"
4238
},
4339
"dependencies": {
44-
"@git-intent/core": "workspace:*",
40+
"@offlegacy/git-intent-core": "workspace:*",
4541
"chalk": "^4.1.2",
4642
"commander": "^13.1.0",
4743
"external-editor": "^3.1.0",

packages/cli/src/commands/add.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { storage } from '@git-intent/core';
1+
import { storage } from '@offlegacy/git-intent-core';
22
import chalk from 'chalk';
33
import { Command } from 'commander';
44
import edit from 'external-editor';

0 commit comments

Comments
 (0)