@workleap/browserslist-config 0.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +28 -1
- package/dist/index.js +7 -6
- package/package.json +16 -5
- package/dist/index.d.ts +0 -2
- package/dist/index.js.map +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# @workleap/browserslist-config
|
|
2
|
+
|
|
3
|
+
## 1.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#9](https://github.com/workleap/wl-web-configs/pull/9) [`d4365f6`](https://github.com/workleap/wl-web-configs/commit/d4365f63033989ac4d7358186c188175d5ef60e9) Thanks [@alexasselin008](https://github.com/alexasselin008)! - Updated the documentation
|
|
8
|
+
|
|
9
|
+
## 1.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- [#2](https://github.com/workleap/wl-web-configs/pull/2) [`9d18deb`](https://github.com/workleap/wl-web-configs/commit/9d18debcaa1704806b04f7045789823245fd1c9b) Thanks [@alexasselin008](https://github.com/alexasselin008)! - Initial commit of the package
|
package/README.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
1
|
# `@workleap/browserslist-config`
|
|
2
|
+
Shareable [browserslist](https://github.com/browserslist/browserslist) configuration for Workleap.
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
[](../../LICENSE)
|
|
5
|
+
[](https://www.npmjs.com/package/@workleap/browserslist-config)
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
Install the package.
|
|
10
|
+
|
|
11
|
+
**With pnpm**
|
|
12
|
+
```shell
|
|
13
|
+
pnpm add -D @workleap/browserslist-config
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Supported Browsers
|
|
17
|
+
|
|
18
|
+
You can list all supported browsers by following this link:
|
|
19
|
+
https://browsersl.ist/#q=%3E+0.2%25%2C+last+2+versions%2C+Firefox+ESR%2C+not+dead
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
Create a `.browserslistrc` file at the root of your project with the following content:
|
|
24
|
+
```
|
|
25
|
+
extends @workleap/browserslist-config
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## License
|
|
29
|
+
|
|
30
|
+
Copyright © 2023, GSoft inc. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license at https://github.com/gsoft-inc/gsoft-license/blob/master/LICENSE.
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
|
|
3
|
+
// index.ts
|
|
4
|
+
var config = [
|
|
5
|
+
"last 2 versions",
|
|
6
|
+
"> 0.2%",
|
|
7
|
+
"Firefox ESR",
|
|
8
|
+
"not dead"
|
|
7
9
|
];
|
|
8
10
|
module.exports = config;
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@workleap/browserslist-config",
|
|
3
3
|
"author": "Workleap",
|
|
4
4
|
"description": "Workleap recommended Browserslist config.",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "1.1.0",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"workleap",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/
|
|
13
|
+
"url": "git+https://github.com/workleap/wl-web-configs.git",
|
|
14
14
|
"directory": "packages/browserslist-config"
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist/index.js",
|
|
@@ -21,13 +21,24 @@
|
|
|
21
21
|
"README.md"
|
|
22
22
|
],
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@workleap/typescript-configs": "
|
|
24
|
+
"@workleap/typescript-configs": "2.0.0"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
|
-
"access": "public"
|
|
27
|
+
"access": "public",
|
|
28
|
+
"provenance": true
|
|
29
|
+
},
|
|
30
|
+
"tsup": {
|
|
31
|
+
"entry": [
|
|
32
|
+
"./index.ts"
|
|
33
|
+
],
|
|
34
|
+
"clean": true,
|
|
35
|
+
"declaration": true,
|
|
36
|
+
"format": [
|
|
37
|
+
"cjs"
|
|
38
|
+
]
|
|
28
39
|
},
|
|
29
40
|
"scripts": {
|
|
30
|
-
"build": "
|
|
41
|
+
"build": "tsup",
|
|
31
42
|
"clean": "pnpm dlx rimraf dist node_modules",
|
|
32
43
|
"lint:types": "tsc --noEmit"
|
|
33
44
|
}
|
package/dist/index.d.ts
DELETED
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,GAAsB;IAC9B,iBAAiB;IACjB,QAAQ;IACR,aAAa;IACb,UAAU;CACb,CAAC;AAEF,iBAAS,MAAM,CAAC"}
|