{"id":17220922,"url":"https://github.com/strues/yarn-add-webpack-plugin","last_synced_at":"2025-04-13T23:47:08.784Z","repository":{"id":57154553,"uuid":"97167241","full_name":"strues/yarn-add-webpack-plugin","owner":"strues","description":"Automatically add packages to Webpack using Yarn","archived":false,"fork":false,"pushed_at":"2017-07-14T08:29:53.000Z","size":64,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T13:51:29.305Z","etag":null,"topics":["webpack","webpack-plugin","yarn"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strues.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-13T21:43:50.000Z","updated_at":"2018-08-31T16:34:43.000Z","dependencies_parsed_at":"2022-09-03T18:41:30.764Z","dependency_job_id":null,"html_url":"https://github.com/strues/yarn-add-webpack-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strues%2Fyarn-add-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strues%2Fyarn-add-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strues%2Fyarn-add-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strues%2Fyarn-add-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strues","download_url":"https://codeload.github.com/strues/yarn-add-webpack-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248799699,"owners_count":21163398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["webpack","webpack-plugin","yarn"],"created_at":"2024-10-15T03:53:38.136Z","updated_at":"2025-04-13T23:47:08.757Z","avatar_url":"https://github.com/strues.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"http://i.magaimg.net/img/z3q.png\" alt=\"yarn logo\" height=\"100\"/\u003e\n\u003c/div\u003e\n\n# yarn-add-webpack-plugin\n\n[![Build Status](https://travis-ci.org/strues/yarn-add-webpack-plugin.svg?branch=master)](https://travis-ci.org/strues/yarn-add-webpack-plugin) [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![codecov](https://codecov.io/gh/strues/yarn-add-webpack-plugin/branch/master/graph/badge.svg)](https://codecov.io/gh/strues/yarn-add-webpack-plugin)\n\nAllows packages to be installed using Yarn during development. Webpack wont error for any missing dependencies, rather, the missing packages are installed without skipping a beat.\n\n\nThis plugin borrows heavily from the [`npm-install-webpack-plugin`](https://github.com/webpack-contrib/npm-install-webpack-plugin). npm-install-webpack-plugin doesn't support Yarn at the moment (or ever?).\n\nThere are **no** plans to support NPM. There's already a nice plugin for that :)\n\n\n\n### Usage\n\n```javascript\nconst YarnAddWebpackPlugin = require('yarn-add-webpack-plugin');\n///\n  plugins: [\n  new YarnAddWebpackPlugin({\n    // save dependencies as development or regular dependencies.\n    dev: false,\n    // Generate a lock file or don't. It's up to you!\n    pure: false,\n    // Install missing peerDependencies\n    peerDependencies: true,\n    // Reduce amount of console logging\n    quiet: false,\n  });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrues%2Fyarn-add-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrues%2Fyarn-add-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrues%2Fyarn-add-webpack-plugin/lists"}