mirror of
https://github.com/ivuorinen/base-configs-browserslist.git
synced 2026-01-25 19:24:00 +00:00
feat: initial import from base-configs
This commit is contained in:
314
CHANGELOG.md
Normal file
314
CHANGELOG.md
Normal file
@@ -0,0 +1,314 @@
|
||||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [0.4.18](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.4.17...@ivuorinen/browserslist-config@0.4.18) (2025-06-15)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [0.4.17](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.4.16...@ivuorinen/browserslist-config@0.4.17) (2025-06-01)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [0.4.16](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.4.15...@ivuorinen/browserslist-config@0.4.16) (2025-05-15)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [0.4.15](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.4.14...@ivuorinen/browserslist-config@0.4.15) (2025-05-01)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [0.4.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.4.13...@ivuorinen/browserslist-config@0.4.14) (2025-04-15)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [0.4.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.4.12...@ivuorinen/browserslist-config@0.4.13) (2025-04-01)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [0.4.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.4.11...@ivuorinen/browserslist-config@0.4.12) (2025-03-17)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [0.4.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.4.10...@ivuorinen/browserslist-config@0.4.11) (2025-03-01)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## 0.4.10 (2025-02-23)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## 0.4.9 (2025-02-23)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update globals to 16.0.0 ([#342](https://github.com/ivuorinen/base-configs/issues/342)) ([04b333b](https://github.com/ivuorinen/base-configs/commit/04b333b445b6beb4344d2f9102bb5d3dc72ae26a))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [0.4.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.4.7...@ivuorinen/browserslist-config@0.4.8) (2025-02-16)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [0.4.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.4.6...@ivuorinen/browserslist-config@0.4.7) (2025-02-01)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## 0.4.6 (2025-01-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update eslint-config-prettier to 10.0.1 ([#324](https://github.com/ivuorinen/base-configs/issues/324)) ([8a0d38e](https://github.com/ivuorinen/base-configs/commit/8a0d38e173df40b771d42b694a24145559200506))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [0.4.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.4.4...@ivuorinen/browserslist-config@0.4.5) (2025-01-15)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [0.4.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.4.3...@ivuorinen/browserslist-config@0.4.4) (2025-01-01)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [0.4.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.4.2...@ivuorinen/browserslist-config@0.4.3) (2024-12-16)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [0.4.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.4.1...@ivuorinen/browserslist-config@0.4.2) (2024-12-09)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## 0.4.1 (2024-11-25)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
# [0.4.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.3.4...@ivuorinen/browserslist-config@0.4.0) (2024-11-24)
|
||||
|
||||
### Features
|
||||
|
||||
- bump node engine to >=20 ([3dbff76](https://github.com/ivuorinen/base-configs/commit/3dbff768c882dc12d01ac8eed6c70ae545db0e76))
|
||||
|
||||
## 0.3.4 (2024-11-16)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- upgrade browserslist from 4.24.0 to 4.24.2 ([#302](https://github.com/ivuorinen/base-configs/issues/302)) ([cbb1754](https://github.com/ivuorinen/base-configs/commit/cbb17540f3cd7fc81f0032e557568c65ed0a9744))
|
||||
|
||||
## 0.3.3 (2024-10-20)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- upgrade browserslist from 4.23.3 to 4.24.0 ([#297](https://github.com/ivuorinen/base-configs/issues/297)) ([a99c55a](https://github.com/ivuorinen/base-configs/commit/a99c55aab760142b5d77ad80ce5d44b25dde17d7))
|
||||
|
||||
## 0.3.2 (2024-10-19)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- upgrade markdownlint-cli from 0.41.0 to 0.42.0 ([#298](https://github.com/ivuorinen/base-configs/issues/298)) ([f57190d](https://github.com/ivuorinen/base-configs/commit/f57190d55c27101f66583cc0000733b2707c1e5f))
|
||||
|
||||
## [0.3.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.3.0...@ivuorinen/browserslist-config@0.3.1) (2024-08-28)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
# [0.3.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.10...@ivuorinen/browserslist-config@0.3.0) (2024-08-21)
|
||||
|
||||
- feat!: module & commonjs in browserslist ([93ea840](https://github.com/ivuorinen/base-configs/commit/93ea8404064e62c720460b2d808fc9d39a00ec31))
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
- support module, and commonjs types
|
||||
|
||||
## [0.2.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.9...@ivuorinen/browserslist-config@0.2.10) (2024-08-04)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update browserslist to 4.23.3 ([#283](https://github.com/ivuorinen/base-configs/issues/283)) ([232225b](https://github.com/ivuorinen/base-configs/commit/232225b186c3a8cf2e0f4f0d50b4c198ebdacfee))
|
||||
|
||||
## [0.2.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.8...@ivuorinen/browserslist-config@0.2.9) (2024-07-13)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update browserslist to 4.23.2 ([#271](https://github.com/ivuorinen/base-configs/issues/271)) ([8593ea0](https://github.com/ivuorinen/base-configs/commit/8593ea0ea6898335a38fe2aa57d0d7457919eb35))
|
||||
|
||||
## 0.2.8 (2024-07-02)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **workflows:** commit lint fix ([3cc07cf](https://github.com/ivuorinen/base-configs/commit/3cc07cf3ffd8743860a07bb85aa4d275bb63094e))
|
||||
|
||||
## [0.2.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.6...@ivuorinen/browserslist-config@0.2.7) (2024-06-12)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.23.1 ([4b590e3](https://github.com/ivuorinen/base-configs/commit/4b590e3f27b218d3f9ca761c9c026909c5dfff0c))
|
||||
|
||||
## [0.2.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.5...@ivuorinen/browserslist-config@0.2.6) (2024-05-05)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
## [0.2.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.4...@ivuorinen/browserslist-config@0.2.5) (2024-02-17)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.23.0 ([#192](https://github.com/ivuorinen/base-configs/issues/192)) ([a9436e4](https://github.com/ivuorinen/base-configs/commit/a9436e4b013e3e853c30e65f6a6ec25595e2ad6a))
|
||||
|
||||
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.3...@ivuorinen/browserslist-config@0.2.4) (2024-01-30)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.22.3 ([82ac478](https://github.com/ivuorinen/base-configs/commit/82ac478fe2e08d04685e6d33951461f14824d6f2))
|
||||
|
||||
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.2...@ivuorinen/browserslist-config@0.2.3) (2023-12-07)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.22.2 ([#142](https://github.com/ivuorinen/base-configs/issues/142)) ([990936c](https://github.com/ivuorinen/base-configs/commit/990936cc8bdf8f868d559e0283f1dc858081358b))
|
||||
|
||||
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.1...@ivuorinen/browserslist-config@0.2.2) (2023-10-31)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.0...@ivuorinen/browserslist-config@0.2.1) (2023-10-30)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.12...@ivuorinen/browserslist-config@0.2.0) (2023-10-25)
|
||||
|
||||
### Features
|
||||
|
||||
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
|
||||
|
||||
## [0.1.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.11...@ivuorinen/browserslist-config@0.1.12) (2023-10-24)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
## [0.1.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.10...@ivuorinen/browserslist-config@0.1.11) (2023-10-11)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
## [0.1.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.9...@ivuorinen/browserslist-config@0.1.10) (2023-10-02)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update devdependencies (patch) ([e2506fd](https://github.com/ivuorinen/base-configs/commit/e2506fd7c3f92ffdeb0b6c47cd925918aa91b306))
|
||||
|
||||
## [0.1.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.8...@ivuorinen/browserslist-config@0.1.9) (2023-09-30)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.22.0 ([#102](https://github.com/ivuorinen/base-configs/issues/102)) ([57befef](https://github.com/ivuorinen/base-configs/commit/57befef7a7f15a602ef63b591e6acd606319d583))
|
||||
|
||||
## [0.1.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.7...@ivuorinen/browserslist-config@0.1.8) (2023-09-25)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.21.11 ([dc2d92f](https://github.com/ivuorinen/base-configs/commit/dc2d92f1e3dd243673a68d0d11ec4510fc74688c))
|
||||
|
||||
## [0.1.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.6...@ivuorinen/browserslist-config@0.1.7) (2023-08-03)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.21.10 ([49089e4](https://github.com/ivuorinen/base-configs/commit/49089e46f8922b7c8c49a5930f2902255bd1a656))
|
||||
|
||||
## [0.1.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.5...@ivuorinen/browserslist-config@0.1.6) (2023-06-26)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependencies ([7203d40](https://github.com/ivuorinen/base-configs/commit/7203d40f7ddcf1d5c84e2049bd4c23a837dd6eb6))
|
||||
|
||||
## [0.1.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.4...@ivuorinen/browserslist-config@0.1.5) (2023-06-18)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.21.9 ([#43](https://github.com/ivuorinen/base-configs/issues/43)) ([235eef1](https://github.com/ivuorinen/base-configs/commit/235eef133ffb8717a4569534fe83a25c0c0581d3))
|
||||
|
||||
## [0.1.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.3...@ivuorinen/browserslist-config@0.1.4) (2023-06-16)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.21.8 ([3f72210](https://github.com/ivuorinen/base-configs/commit/3f722107521164fd04e0e01ead45c7fc3fa1713a))
|
||||
|
||||
## [0.1.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.2...@ivuorinen/browserslist-config@0.1.3) (2023-06-03)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update devdependencies (patch) ([1282efe](https://github.com/ivuorinen/base-configs/commit/1282efe0e305ec15247b968ec9663275b9a2e8d5))
|
||||
|
||||
## [0.1.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.1...@ivuorinen/browserslist-config@0.1.2) (2023-06-01)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.21.6 ([7ed5e2e](https://github.com/ivuorinen/base-configs/commit/7ed5e2ead41b51ef58598964191627491d4be9b6))
|
||||
|
||||
## 0.1.1 (2023-05-04)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update devdependencies (patch) ([#4](https://github.com/ivuorinen/base-configs/issues/4)) ([d87c0cf](https://github.com/ivuorinen/base-configs/commit/d87c0cf5fd2494b0577086e590b72f4ec7bb30ee))
|
||||
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2025 Ismo Vuorinen
|
||||
Copyright (c) 2023 Ismo Vuorinen
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
67
README.md
Normal file
67
README.md
Normal file
@@ -0,0 +1,67 @@
|
||||
# @ivuorinen/browserslist-config <!-- omit in toc -->
|
||||
|
||||
[![npm package][npm-badge]][npm-link] [![license MIT][license-badge]][license-link] [![ivuorinen's Code Style][style-badge]][style-link]
|
||||
|
||||
> ivuorinen's shareable configuration for [`Browserslist`][browserslist-link].
|
||||
|
||||
## Table of Contents <!-- omit in toc -->
|
||||
|
||||
- [Supported Browsers](#supported-browsers)
|
||||
- [Installation](#installation)
|
||||
- [Documentations](#documentations)
|
||||
- [Contributing](#contributing)
|
||||
- [Changelog](#changelog)
|
||||
- [License](#license)
|
||||
|
||||
## Supported Browsers
|
||||
|
||||
> 'defaults and fully supports es6-module', 'maintained node versions'
|
||||
|
||||
See the up to date list of supported browsers in the [Browserslist docs](https://browsersl.ist/#q=%22browserslist%22%3A+%5B%0A++%22defaults+and+fully+supports+es6-module%22%2C%0A++%22maintained+node+versions%22%0A%5D).
|
||||
|
||||
## Installation
|
||||
|
||||
Install `this config` as a _`devDependencies`_:
|
||||
|
||||
```sh
|
||||
# npm
|
||||
npm install @ivuorinen/browserslist-config --save-dev
|
||||
|
||||
# Yarn
|
||||
yarn add @ivuorinen/browserslist-config --dev
|
||||
```
|
||||
|
||||
After installing it, a _`.browserslistrc`_ file will be created automatically in the project's root folder with the following configuration:
|
||||
|
||||
```json
|
||||
extends @ivuorinen/browserslist-config
|
||||
```
|
||||
|
||||
## Documentations
|
||||
|
||||
Read the [Browserslist docs][browserslist-docs-link] for more information.
|
||||
|
||||
## Contributing
|
||||
|
||||
If you are interested in helping contribute, please take a look at our [contribution guidelines][contributing-link] and open an [issue][issue-link] or [pull request][pull-request-link].
|
||||
|
||||
## Changelog
|
||||
|
||||
See [CHANGELOG][changelog-link] for a human-readable history of changes.
|
||||
|
||||
## License
|
||||
|
||||
Distributed under the MIT License. See [LICENSE][license-link] for more information.
|
||||
|
||||
[changelog-link]: ./CHANGELOG.md
|
||||
[browserslist-docs-link]: https://github.com/browserslist/browserslist
|
||||
[browserslist-link]: https://github.com/browserslist/browserslist
|
||||
[contributing-link]: https://github.com/ivuorinen/.github/blob/main/CONTRIBUTING.md
|
||||
[issue-link]: https://github.com/ivuorinen/base-configs-browserslist/issues
|
||||
[license-badge]: https://img.shields.io/github/license/ivuorinen/base-configs-browserslist?style=flat-square&labelColor=292a44&color=663399
|
||||
[license-link]: ./LICENSE
|
||||
[npm-badge]: https://img.shields.io/npm/v/@ivuorinen/browserslist-config?style=flat-square&labelColor=292a44&color=663399
|
||||
[npm-link]: https://www.npmjs.com/package/@ivuorinen/browserslist-config
|
||||
[pull-request-link]: https://github.com/ivuorinen/base-configs-browserslist/pulls
|
||||
[style-badge]: https://img.shields.io/badge/code_style-ivuorinen%E2%80%99s-663399.svg?labelColor=292a44&style=flat-square
|
||||
[style-link]: https://github.com/ivuorinen/base-configs-browserslist
|
||||
3
index.cjs
Normal file
3
index.cjs
Normal file
@@ -0,0 +1,3 @@
|
||||
'use strict'
|
||||
|
||||
module.exports = ['defaults and fully supports es6-module', 'maintained node versions']
|
||||
50
package.json
Normal file
50
package.json
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"name": "@ivuorinen/browserslist-config",
|
||||
"version": "0.4.18",
|
||||
"description": "ivuorinen's shareable configuration for Browserslist.",
|
||||
"type": "module",
|
||||
"author": {
|
||||
"name": "Ismo Vuorinen",
|
||||
"url": "https://github.com/ivuorinen"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/ivuorinen/base-configs-browserslist/issues"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
},
|
||||
"files": [
|
||||
"index.cjs",
|
||||
"wrapper.mjs",
|
||||
"scripts/*"
|
||||
],
|
||||
"main": "index.cjs",
|
||||
"module": "wrapper.mjs",
|
||||
"exports": {
|
||||
"import": "./wrapper.mjs",
|
||||
"require": "./index.cjs"
|
||||
},
|
||||
"homepage": "https://github.com/ivuorinen/base-configs-browserslist#readme",
|
||||
"keywords": [
|
||||
"browserslist-config",
|
||||
"browserslist",
|
||||
"config",
|
||||
"ivuorinen"
|
||||
],
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ivuorinen/base-configs-browserslist.git"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "node scripts/postinstall.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ivuorinen/config-checker": "^1.1.12",
|
||||
"browserslist": "^4.24.2"
|
||||
},
|
||||
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
|
||||
}
|
||||
23
scripts/postinstall.cjs
Normal file
23
scripts/postinstall.cjs
Normal file
@@ -0,0 +1,23 @@
|
||||
'use strict'
|
||||
|
||||
/* eslint no-console: "off", n/no-process-exit: "off" -- CLI app that gives users feedback */
|
||||
|
||||
const fs = require('node:fs')
|
||||
const path = require('node:path')
|
||||
const process = require('node:process')
|
||||
const checkConfig = require('@ivuorinen/config-checker')
|
||||
const foundConfig = checkConfig('browserslist')
|
||||
|
||||
if (foundConfig.length > 0) {
|
||||
console.log('browserslist-config: Found existing browserslist config file, skipping creation.')
|
||||
console.log('browserslist-config: If you want to create a new config file, please remove the existing one.')
|
||||
console.log(`browserslist-config: Found config files at: ${foundConfig.join(', ')}`)
|
||||
process.exit(0)
|
||||
}
|
||||
|
||||
const filePath = path.join(process.env.INIT_CWD, '.browserslistrc')
|
||||
const fileConfigObject = 'extends @ivuorinen/browserslist-config'
|
||||
|
||||
if (!fs.existsSync(filePath)) {
|
||||
fs.writeFileSync(filePath, fileConfigObject)
|
||||
}
|
||||
2
wrapper.mjs
Normal file
2
wrapper.mjs
Normal file
@@ -0,0 +1,2 @@
|
||||
import config from './index.cjs'
|
||||
export default config
|
||||
51
yarn.lock
Normal file
51
yarn.lock
Normal file
@@ -0,0 +1,51 @@
|
||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
"@ivuorinen/config-checker@^1.1.12":
|
||||
version "1.1.12"
|
||||
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.12.tgz#db3cc770ac0f8f2d3a3a3414caae718312b1a13f"
|
||||
integrity sha512-C7HPRTsOxO0SKZH6ILs+KMTTe/7gx32dFfoPyK9+u7Da6mm5FEdj+H4h+Hp35ZbutyUa/IlFd3X0fla8sNS/vg==
|
||||
|
||||
browserslist@^4.24.2:
|
||||
version "4.24.4"
|
||||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.24.4.tgz#c6b2865a3f08bcb860a0e827389003b9fe686e4b"
|
||||
integrity sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==
|
||||
dependencies:
|
||||
caniuse-lite "^1.0.30001688"
|
||||
electron-to-chromium "^1.5.73"
|
||||
node-releases "^2.0.19"
|
||||
update-browserslist-db "^1.1.1"
|
||||
|
||||
caniuse-lite@^1.0.30001688:
|
||||
version "1.0.30001723"
|
||||
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001723.tgz"
|
||||
integrity sha512-1R/elMjtehrFejxwmexeXAtae5UO9iSyFn6G/I806CYC/BLyyBk1EPhrKBkWhy6wM6Xnm47dSJQec+tLJ39WHw==
|
||||
|
||||
electron-to-chromium@^1.5.73:
|
||||
version "1.5.103"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.103.tgz#3d02025bc16e96e5edb3ed3ffa2538a11ae682dc"
|
||||
integrity sha512-P6+XzIkfndgsrjROJWfSvVEgNHtPgbhVyTkwLjUM2HU/h7pZRORgaTlHqfAikqxKmdJMLW8fftrdGWbd/Ds0FA==
|
||||
|
||||
escalade@^3.2.0:
|
||||
version "3.2.0"
|
||||
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5"
|
||||
integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==
|
||||
|
||||
node-releases@^2.0.19:
|
||||
version "2.0.19"
|
||||
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.19.tgz#9e445a52950951ec4d177d843af370b411caf314"
|
||||
integrity sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==
|
||||
|
||||
picocolors@^1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b"
|
||||
integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==
|
||||
|
||||
update-browserslist-db@^1.1.1:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.2.tgz#97e9c96ab0ae7bcac08e9ae5151d26e6bc6b5580"
|
||||
integrity sha512-PPypAm5qvlD7XMZC3BujecnaOxwhrtoFR+Dqkk5Aa/6DssiH0ibKoketaj9w8LP7Bont1rYeoV5plxD7RTEPRg==
|
||||
dependencies:
|
||||
escalade "^3.2.0"
|
||||
picocolors "^1.1.1"
|
||||
Reference in New Issue
Block a user