# Introduction
This package builds JavaScript projects with [`yarn`](https://yarnpkg.com).
It contains a [`zest.releaser`](http://pypi.org/project/zest.releaser)
entry point and a stand-alone command line tool.
## Goal
You want to release a package that has a `packages.json` on it
and a `release` script defined on it.
Usually one does not want to keep the generated files on VCS,
but you want them when releasing with `zest.releaser`.
## Credits
This package is a direct inspiration from
[`zest.pocompile`](https://pypi.org/project/zest.pocompile) from Maurits van Rees.
Thanks!
## To Do
Add tests
# Changelog
## 2.0.0 (2024-03-01)
- Nothing changed since the alpha release.
## 2.0.0a1 (2024-02-22)
- Add linting with `pre-commit` / `tox` / GitHub Actions
- Rename the main module to something else than `build` as it clashes with the distribution https://pypi.org/project/build/
- Update the syntax to python 3.11 and use `pathlib`
## 1.0.0 (2019-02-11)
- No changes since last release
## 1.0b3 (2018-11-09)
- Fix logic, to not try to build a project if no package.json could be found
- Be more quiet if no `yarn.build` section is found on `setup.cfg`
## 1.0b2 (2018-11-09)
- Change option to `folder` as package.json is expected to be there, i.e.
```ini
[yarn.build]
folder = path/to/folder/
```
## 1.0b1.post0 (2018-11-09)
- Fix (hopefully), pypi rendering
## 1.0b1 (2018-11-09)
- Allow to configure where package.json is located via a setup.cfg section
```ini
[yarn.build]
file = path-to/package.json
```
## 1.0a6 (2017-01-06)
- Create universal wheels again
## 1.0a5 (2017-01-06)
- Pass the parent folder where package.json is
## 1.0a4 (2017-01-06)
- Typos are fun...
## 1.0a3 (2017-01-06)
- Ditch wheels by now, only source releases
## 1.0a2 (2017-01-06)
- Be more verbose
## 1.0a1 (2017-01-05)
- Initial release
Raw data
{
"_id": null,
"home_page": "https://github.com/gforcada/yarn.build",
"name": "yarn.build",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": "",
"keywords": "yarn javascript compile build release zest.releaser",
"author": "Gil Forcada Codinachs",
"author_email": "gil.gnome@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/88/3f/5143577e3a2abde06d05ee7740c9efd8cdaeed64bfdb8120f75dcedab944/yarn.build-2.0.0.tar.gz",
"platform": null,
"description": "\n# Introduction\n\nThis package builds JavaScript projects with [`yarn`](https://yarnpkg.com).\nIt contains a [`zest.releaser`](http://pypi.org/project/zest.releaser)\nentry point and a stand-alone command line tool.\n\n## Goal\n\nYou want to release a package that has a `packages.json` on it\nand a `release` script defined on it.\n\nUsually one does not want to keep the generated files on VCS,\nbut you want them when releasing with `zest.releaser`.\n\n## Credits\n\nThis package is a direct inspiration from\n[`zest.pocompile`](https://pypi.org/project/zest.pocompile) from Maurits van Rees.\n\nThanks!\n\n## To Do\n\nAdd tests\n\n\n\n# Changelog\n\n## 2.0.0 (2024-03-01)\n\n- Nothing changed since the alpha release.\n\n## 2.0.0a1 (2024-02-22)\n\n- Add linting with `pre-commit` / `tox` / GitHub Actions\n\n- Rename the main module to something else than `build` as it clashes with the distribution https://pypi.org/project/build/\n\n- Update the syntax to python 3.11 and use `pathlib`\n\n## 1.0.0 (2019-02-11)\n\n- No changes since last release\n\n## 1.0b3 (2018-11-09)\n\n- Fix logic, to not try to build a project if no package.json could be found\n\n- Be more quiet if no `yarn.build` section is found on `setup.cfg`\n\n## 1.0b2 (2018-11-09)\n\n- Change option to `folder` as package.json is expected to be there, i.e.\n\n```ini\n[yarn.build]\nfolder = path/to/folder/\n```\n\n## 1.0b1.post0 (2018-11-09)\n\n- Fix (hopefully), pypi rendering\n\n## 1.0b1 (2018-11-09)\n\n- Allow to configure where package.json is located via a setup.cfg section\n\n```ini\n[yarn.build]\nfile = path-to/package.json\n```\n\n## 1.0a6 (2017-01-06)\n\n- Create universal wheels again\n\n## 1.0a5 (2017-01-06)\n\n- Pass the parent folder where package.json is\n\n## 1.0a4 (2017-01-06)\n\n- Typos are fun...\n\n## 1.0a3 (2017-01-06)\n\n- Ditch wheels by now, only source releases\n\n## 1.0a2 (2017-01-06)\n\n- Be more verbose\n\n## 1.0a1 (2017-01-05)\n\n- Initial release\n\n",
"bugtrack_url": null,
"license": "GPL version 3",
"summary": "Build JS artifacts with yarn",
"version": "2.0.0",
"project_urls": {
"Homepage": "https://github.com/gforcada/yarn.build"
},
"split_keywords": [
"yarn",
"javascript",
"compile",
"build",
"release",
"zest.releaser"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e18271e407b5f8fa3137f4d6d922b172472658d8e1a0583b2c2008f3dbc837ad",
"md5": "0878849e9be81873086ea50bdbfe7e5e",
"sha256": "05488497c1691e506ff54aeb18d01e4692f7c189f2923646160c73d6f0f2646b"
},
"downloads": -1,
"filename": "yarn.build-2.0.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "0878849e9be81873086ea50bdbfe7e5e",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.11",
"size": 3517,
"upload_time": "2024-03-01T18:48:56",
"upload_time_iso_8601": "2024-03-01T18:48:56.916174Z",
"url": "https://files.pythonhosted.org/packages/e1/82/71e407b5f8fa3137f4d6d922b172472658d8e1a0583b2c2008f3dbc837ad/yarn.build-2.0.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "883f5143577e3a2abde06d05ee7740c9efd8cdaeed64bfdb8120f75dcedab944",
"md5": "f620a184e2b57a748881e0c66fe2c20d",
"sha256": "77ae19d7fd3c3e059105032959b8f8acd94894df254e22fac0cee99213f39056"
},
"downloads": -1,
"filename": "yarn.build-2.0.0.tar.gz",
"has_sig": false,
"md5_digest": "f620a184e2b57a748881e0c66fe2c20d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 3518,
"upload_time": "2024-03-01T18:48:58",
"upload_time_iso_8601": "2024-03-01T18:48:58.025178Z",
"url": "https://files.pythonhosted.org/packages/88/3f/5143577e3a2abde06d05ee7740c9efd8cdaeed64bfdb8120f75dcedab944/yarn.build-2.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-01 18:48:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gforcada",
"github_project": "yarn.build",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "yarn.build"
}