https://github.com/nextcloud-libraries/babel-config
Babel shared config for nextcloud apps
https://github.com/nextcloud-libraries/babel-config
Last synced: about 1 year ago
JSON representation
Babel shared config for nextcloud apps
- Host: GitHub
- URL: https://github.com/nextcloud-libraries/babel-config
- Owner: nextcloud-libraries
- Created: 2021-03-26T12:11:37.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T05:27:46.000Z (about 1 year ago)
- Last Synced: 2025-03-21T23:42:58.599Z (about 1 year ago)
- Language: JavaScript
- Size: 1.48 MB
- Stars: 2
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSES/AGPL-3.0-or-later.txt
Awesome Lists containing this project
README
## @nextcloud/babel-config
[](https://api.reuse.software/info/github.com/nextcloud-libraries/babel-config)
[](https://www.npmjs.com/package/@nextcloud/babel-config)
[](https://dependabot.com)
This is a package containing the unified global babel config used by all nextcloud apps.
It contains the necessary dependencies and peerDependencies so that other apps cannot update if this config does not support it.
Please always use dependabot to update your apps, OR pay attention to the peer dependencies error messages!
## Installation
```bash
npm install @nextcloud/babel-config --save-dev
```
## Usage
Add a file `babel.config.js` in the root directory of your app repository with the following content:
```js
const babelConfig = require('@nextcloud/babel-config')
module.exports = babelConfig
```
## Release new version
1. Bump the package version with `npm version`
2. Push version bump commit
3. Create a new release with proper changelog https://github.com/nextcloud-libraries/babel-config/releases/new