Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yarnpkg/pnp-sample-app
A playground to preview and experiment with Yarn Plug'n'Play
https://github.com/yarnpkg/pnp-sample-app
Last synced: 5 days ago
JSON representation
A playground to preview and experiment with Yarn Plug'n'Play
- Host: GitHub
- URL: https://github.com/yarnpkg/pnp-sample-app
- Owner: yarnpkg
- Archived: true
- Created: 2018-04-06T14:17:25.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-30T18:46:20.000Z (about 5 years ago)
- Last Synced: 2024-04-14T08:30:57.570Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 5.15 MB
- Stars: 149
- Watchers: 11
- Forks: 20
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - pnp-sample-app - A playground to preview and experiment with Yarn Plug'n'Play (JavaScript)
README
# Plug'n'play sample app
This app showcase a wide range of popular packages, and show that Plug'n'play has no issue working with them. Feel free to open PRs to add more, even if they would make little sense in a classic application!
## Usage
Running `yarn install` in the root directory will automatically use the Plug'n'Play-enabled build checked inside the repository. To try out the project without Plug'n'Play enabled, just run `YARN_PLUGNPLAY_OVERRIDE=0 yarn install` instead.
## Plugins
A few plugins are needed for various build tools to properly understand how to resolve files. Those are the ones we use:
- [jest-pnp-resolver](https://github.com/arcanis/jest-pnp-resolver)
- [rollup-plugin-pnp-resolve](https://github.com/arcanis/rollup-plugin-pnp-resolve)
- [pnp-webpack-plugin](https://github.com/arcanis/pnp-webpack-plugin)## Packages
The packages currently configured are:
- Babel
- ESLint
- Gulp
- Http-server
- Jest
- Prettier
- React
- Uglifyjs
- Webpack
- Webpack-dev-server## Known Issues
- ESLint doesn't work w/ eslint-plugin-import because of https://github.com/babel/babel-eslint/issues/680