Skip to content

Commit b310b02

Browse files
Merge branch 'main' into add-support-for-image-to-image-models-on-Replicate
2 parents f449c0f + 361a0fa commit b310b02

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+6100
-5207
lines changed

.github/workflows/gguf-publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- patch
1212
- minor
1313
- major
14+
bypass_deps_check:
15+
type: boolean
16+
description: "Bypass dependency checking"
17+
default: false
1418

1519
concurrency:
1620
group: "push-to-main"
@@ -50,7 +54,8 @@ jobs:
5054
git commit . -m "🔖 @huggingface/gguf $BUMPED_VERSION"
5155
git tag "gguf-v$BUMPED_VERSION"
5256
53-
- name: "Check Deps are published before publishing this package"
57+
- if: ${{ !github.event.inputs.bypass_deps_check }}
58+
name: "Check Deps are published before publishing this package"
5459
run: pnpm -w check-deps tasks
5560

5661
- run: pnpm publish --no-git-checks .

.github/workflows/hub-publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- patch
1212
- minor
1313
- major
14+
bypass_deps_check:
15+
type: boolean
16+
description: "Bypass dependency checking"
17+
default: false
1418

1519
concurrency:
1620
group: "push-to-main"
@@ -53,7 +57,8 @@ jobs:
5357
git commit -m "🔖 @huggingface/hub $BUMPED_VERSION"
5458
git tag "hub-v$BUMPED_VERSION"
5559
56-
- name: "Check Deps are published before publishing this package"
60+
- if: ${{ !github.event.inputs.bypass_deps_check }}
61+
name: "Check Deps are published before publishing this package"
5762
run: pnpm -w check-deps tasks
5863

5964
- run: pnpm publish --no-git-checks .

.github/workflows/inference-publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- patch
1212
- minor
1313
- major
14+
bypass_deps_check:
15+
type: boolean
16+
description: "Bypass dependency checking"
17+
default: false
1418

1519
concurrency:
1620
group: "push-to-main"
@@ -53,7 +57,8 @@ jobs:
5357
git commit -m "🔖 @huggingface/inference $BUMPED_VERSION"
5458
git tag "inference-v$BUMPED_VERSION"
5559
56-
- name: "Check Deps are published before publishing this package"
60+
- if: ${{ !github.event.inputs.bypass_deps_check }}
61+
name: "Check Deps are published before publishing this package"
5762
run: pnpm -w check-deps tasks
5863

5964
- run: pnpm publish --no-git-checks .

.github/workflows/mcp-client-publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- patch
1212
- minor
1313
- major
14+
bypass_deps_check:
15+
type: boolean
16+
description: "Bypass dependency checking"
17+
default: false
1418

1519
concurrency:
1620
group: "push-to-main"
@@ -49,7 +53,8 @@ jobs:
4953
git tag "mcp-client-v$BUMPED_VERSION"
5054
5155
# Add checks for dependencies if needed, similar to hub-publish.yml
52-
- name: "Check Deps are published before publishing this package"
56+
- if: ${{ !github.event.inputs.bypass_deps_check }}
57+
name: "Check Deps are published before publishing this package"
5358
run: pnpm -w check-deps inference && pnpm -w check-deps tasks
5459

5560
- run: pnpm publish --no-git-checks .

CONTRIBUTING.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ It's not a hard requirement, but please consider using an icon from [Gitmoji](ht
2020

2121
If you want to run only specific tests, you can do `pnpm test -- -t "test name"`.
2222

23-
You can also do `npx vitest ./packages/hub/src/utils/XetBlob.spec.ts` to run a specific test file.
24-
25-
Or `cd packages/hub && npx vitest --browser.name=chrome --browser.headless --config vitest-browser.config.mts ./src/utils/XetBlob.spec.ts` to run browser tests on a specific file
23+
You can also do `pnpm --filter hub test ./src/utils/XetBlob.spec.ts` to run a specific test file.
2624

2725
## Adding a package
2826

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ You can run our packages with vanilla JS, without any bundler, by using a CDN or
9898
```html
9999
<script type="module">
100100
import { InferenceClient } from 'https://cdn.jsdelivr.net/npm/@huggingface/[email protected]/+esm';
101-
import { createRepo, commit, deleteRepo, listFiles } from "https://cdn.jsdelivr.net/npm/@huggingface/hub@1.1.2/+esm";
101+
import { createRepo, commit, deleteRepo, listFiles } from "https://cdn.jsdelivr.net/npm/@huggingface/hub@2.0.1/+esm";
102102
</script>
103103
```
104104

e2e/svelte/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "myapp",
33
"version": "0.0.1",
44
"private": true,
5-
"packageManager": "pnpm@8.10.5",
5+
"packageManager": "pnpm@10.10.0",
66
"scripts": {
77
"dev": "vite dev",
88
"build": "vite build",

e2e/ts/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
package-lock.json
1+
package-lock.json
2+
pnpm-lock.yaml

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"name": "@huggingface/root",
44
"license": "MIT",
5-
"packageManager": "pnpm@8.10.5",
5+
"packageManager": "pnpm@10.10.0",
66
"scripts": {
77
"lint": "eslint --quiet --fix --ext .cjs,.ts .eslintrc.cjs",
88
"lint:check": "eslint --ext .cjs,.ts .eslintrc.cjs",

packages/agents/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@huggingface/agents",
3-
"packageManager": "pnpm@8.10.5",
3+
"packageManager": "pnpm@10.10.0",
44
"version": "0.0.5",
55
"description": "Multi-modal agents using Hugging Face's models",
66
"repository": "https://github.com/huggingface/huggingface.js.git",

0 commit comments

Comments
 (0)