Files
Nico Martin 4e1b4b653f [v4] Restructure repo to use pnpm workspaces (#1504)
* switched to pnpm workspaces

* updated github actions

* added comments

* Update tensor.js

* Formatting

* Update tsconfig.json

* Update tsconfig.json

* fixed circular reference error in pipelines/zero-shot-audio-classification.js

* Post-tsconfig updates

* Move transformers.js docs to package folder

* Move additional tests

* JSDoc update

* Version bumps

* Update incorrect test

* Update test_modeling_musicgen.js

* Update test_modeling_musicgen.js

* Update test_modeling_musicgen.js

* fixed broken symlink

* fixes after review

* Remove old conversion scripts

Users should use onnxruntime-genai or optimum directly

* Update .prettierrc

* Formatting

* Update readme/docs

* Move build scripts to parent folder

* Remove unused tests

* Remove old compare function

* Fix JSDoc

* Update generate.js

* Update inline descriptions

* Bump versions

* Update node imports

* Add module header to FileCache.js

* JSDoc updates

* Update tensor.js

* Move prettier config to package.json key

* Update FileCache.js

* Remove unused import

* Remove non-existent file include

* Prefer non-default exports

* Update doc module exports

* Update docs generation script

* merged tsconfigs and added contributing.md

* Update path_to_docs

* Formatting

* Formatting

* Formatting

* Update prettier usage

* Remove <code> tags from headers

* Swap docs-preview and docs-build commands

* ONNXRUNTIME_NODE_INSTALL=skip for doc-builder

* Update buildAll.mjs

* Update index

---------

Co-authored-by: Joshua Lochner <26504141+xenova@users.noreply.github.com>
2026-01-28 22:34:29 -05:00

64 lines
1.5 KiB
JSON

{
"name": "@huggingface/transformers-monorepo",
"version": "0.0.1",
"private": true,
"description": "Monorepo for Hugging Face Transformers.js and framework integrations",
"type": "module",
"packageManager": "pnpm@10.28.1",
"scripts": {
"build": "pnpm -r build",
"test": "pnpm -r test",
"format": "prettier --write .",
"format:check": "prettier --check .",
"dev": "node scripts/dev.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/huggingface/transformers.js.git"
},
"author": "Hugging Face",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/huggingface/transformers.js/issues"
},
"homepage": "https://github.com/huggingface/transformers.js#readme",
"devDependencies": {
"prettier": "3.8.1",
"typescript": "5.9.3"
},
"prettier": {
"overrides": [
{
"files": [
"./packages/*/src/**/*.{js,mjs,cjs,ts}"
],
"options": {
"singleQuote": true,
"tabWidth": 4,
"printWidth": 120
}
},
{
"files": [
"./packages/*/tests/**/*.{js,mjs,cjs,ts}"
],
"options": {
"tabWidth": 2,
"printWidth": 10000000
}
},
{
"files": [
"./scripts/**/*.{js,mjs,cjs,ts}",
"./packages/*/scripts/**/*.{js,mjs,cjs,ts}",
"./packages/*/docs/**/*.{js,mjs,cjs,ts}"
],
"options": {
"tabWidth": 2,
"printWidth": 160
}
}
]
}
}