Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Setup Tools
Expand All @@ -29,6 +29,6 @@ jobs:
- name: Regenerate docs
run: pnpm build:all && pnpm generate-docs
- name: Apply fixes
uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # v1.3.2
uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a # v1.3.4
with:
commit-message: 'ci: apply automated fixes'
4 changes: 2 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false

Expand All @@ -47,7 +47,7 @@ jobs:

- name: Run intent CodSpeed benchmark
continue-on-error: true
uses: CodSpeedHQ/action@3194d9a39c4d46684cb44bf7207fc56626aad8fd # v4.15.1
uses: CodSpeedHQ/action@c145068895e045cc725ee76fcd2307624b65c3af # v4.17.5
with:
mode: simulation
run: WITH_INSTRUMENTATION=1 pnpm exec nx run @benchmarks/intent:test:perf
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
persist-credentials: false
Expand All @@ -42,7 +42,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
persist-credentials: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
persist-credentials: true # changesets/action pushes Version PR commits
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
fi
- name: Create Release Pull Request or Publish
id: changesets-action
uses: changesets/action@63a615b9cd06ba9a3e6d13796c7fbcb080a60a0b # v1.8.0
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0
with:
version: pnpm run changeset:version
publish: pnpm run changeset:publish ${{ steps.dist-tag.outputs.tag && format('--tag {0}', steps.dist-tag.outputs.tag) }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Run zizmor
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6
with:
advanced-security: false
annotations: true
6 changes: 3 additions & 3 deletions benchmarks/intent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"test:perf": "vitest bench --config ./vitest.config.ts ./*.bench.ts"
},
"devDependencies": {
"@codspeed/vitest-plugin": "^5.0.1",
"typescript": "5.9.3",
"vitest": "^4.0.17"
"@codspeed/vitest-plugin": "^5.5.0",
"typescript": "6.0.3",
"vitest": "4.1.8"
},
"nx": {
"targets": {
Expand Down
4 changes: 1 addition & 3 deletions knip.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"ignoreDependencies": ["@faker-js/faker"],
"ignoreBinaries": ["tsx"],
"workspaces": {
".": {
"entry": ["scripts/*.ts"]
},
"packages/intent": {
"entry": ["src/index.ts", "src/cli.ts", "src/core.ts", "src/setup.ts"],
"ignore": ["meta/**"],
"ignoreDependencies": ["verdaccio", "@verdaccio/node-api"]
"ignoreDependencies": ["verdaccio"]
}
}
}
36 changes: 16 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"type": "git",
"url": "https://github.com/TanStack/intent"
},
"packageManager": "pnpm@11.1.1",
"packageManager": "pnpm@11.7.0",
"engines": {
"pnpm": ">=11.0.0"
"pnpm": ">=11.7.0"
},
"type": "module",
"scripts": {
Expand All @@ -17,8 +17,8 @@
"changeset": "changeset",
"changeset:publish": "changeset publish",
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format",
"clean": "find agents -name 'dist' -type d -prune -exec rm -rf {} +",
"clean:node_modules": "find agents -name 'node_modules' -type d -prune -exec rm -rf {} +",
"clean": "if [ -d packages ]; then find packages -name 'dist' -type d -prune -exec rm -rf {} +; fi",
"clean:node_modules": "if [ -d packages ]; then find packages -name 'node_modules' -type d -prune -exec rm -rf {} +; fi",
"clean:all": "pnpm run clean && pnpm run clean:node_modules",
"copy:readme": "cp README.md packages/intent/README.md",
"dev": "pnpm run watch",
Expand Down Expand Up @@ -47,24 +47,20 @@
},
"devDependencies": {
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "^2.29.8",
"@faker-js/faker": "^10.2.0",
"@changesets/cli": "^2.31.0",
"@tanstack/eslint-config": "0.4.0",
"@tanstack/typedoc-config": "^0.3.3",
"@types/node": "^25.0.7",
"eslint": "^9.39.2",
"eslint-plugin-unused-imports": "^4.3.0",
"happy-dom": "^20.1.0",
"knip": "^5.80.2",
"eslint": "^9.39.4",
"eslint-plugin-unused-imports": "^4.4.1",
"knip": "^6.16.1",
"markdown-link-extractor": "^4.0.3",
"nx": "^22.3.3",
"prettier": "^3.7.4",
"prettier-plugin-svelte": "^3.4.1",
"sherif": "^1.9.0",
"tinyglobby": "^0.2.15",
"typescript": "5.9.3",
"vitest": "^4.0.17",
"yaml": "2.8.3"
},
"overrides": {}
"nx": "^22.7.5",
"prettier": "^3.8.4",
"sherif": "^1.11.1",
"tinyglobby": "^0.2.17",
"typescript": "6.0.3",
"vitest": "4.1.8",
"yaml": "2.9.0"
}
}
9 changes: 4 additions & 5 deletions packages/intent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@
"dependencies": {
"cac": "^6.7.14",
"jsonc-parser": "^3.3.1",
"semver": "^7.7.4",
"yaml": "2.8.3"
"semver": "^7.8.4",
"yaml": "2.9.0"
},
"devDependencies": {
"@types/semver": "^7.7.1",
"@verdaccio/node-api": "6.0.0-6-next.76",
"tsdown": "^0.19.0",
"verdaccio": "^6.3.2"
"tsdown": "^0.22.2",
"verdaccio": "^6.7.2"
},
"scripts": {
"prepack": "npm run build",
Expand Down
2 changes: 1 addition & 1 deletion packages/intent/src/core/skill-sources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* `git`. The `git` variant is never constructed in M1 (git entries are rejected
* at parse time) but is defined here so M2 builds on this shape.
*/
export type SkillSource =
type SkillSource =
| { raw: string; id: string; kind: 'npm' }
| { raw: string; id: string; kind: 'workspace' }
| { raw: string; id: string; kind: 'git'; ref: string }
Expand Down
6 changes: 2 additions & 4 deletions packages/intent/src/core/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export interface IntentSkillListDebug {
warningCount: number
noticeCount: number
conflictCount: number
scan: IntentScanDebugStats
scan: ScanStats
}

export interface LoadedIntentSkillDebug {
Expand All @@ -83,11 +83,9 @@ export interface LoadedIntentSkillDebug {
source: IntentPackage['source']
path: string
warningCount: number
scan: IntentScanDebugStats
scan: ScanStats
}

export interface IntentScanDebugStats extends ScanStats {}

export type IntentCoreErrorCode =
| 'invalid-options'
| 'invalid-skill-use'
Expand Down
2 changes: 1 addition & 1 deletion packages/intent/src/fs-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type PackageJsonReadResult = {
error: unknown | null
}

export type IntentFsCacheStats = {
type IntentFsCacheStats = {
packageJsonReadCount: number
packageJsonCacheHits: number
}
Expand Down
Loading
Loading