@workleap/browserslist-config 1.2.2 → 2.0.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 +18 -6
- package/README.md +9 -29
- package/dist/index.mjs +20 -0
- package/package.json +9 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,22 +1,34 @@
|
|
|
1
1
|
# @workleap/browserslist-config
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#98](https://github.com/gsoft-inc/wl-web-configs/pull/98) [`56ca32e`](https://github.com/gsoft-inc/wl-web-configs/commit/56ca32ee3194c51210aacc5189f3ebbec5a4a7b6) Thanks [@patricklafrance](https://github.com/patricklafrance)! - New start, every package has a major version bump
|
|
8
|
+
|
|
9
|
+
## 1.2.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#92](https://github.com/gsoft-inc/wl-web-configs/pull/92) [`66e8f10`](https://github.com/gsoft-inc/wl-web-configs/commit/66e8f1033a987523c65fe9e61f53dac6d2e38777) Thanks [@ofrogon](https://github.com/ofrogon)! - Migrate project from GitHub organization
|
|
14
|
+
|
|
3
15
|
## 1.2.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [#85](https://github.com/
|
|
19
|
+
- [#85](https://github.com/gsoft-inc/wl-web-configs/pull/85) [`bad2df7`](https://github.com/gsoft-inc/wl-web-configs/commit/bad2df75593fb70d431d73bdced653b157c50caa) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated TSUP configuration and added a new SWC config package
|
|
8
20
|
|
|
9
21
|
## 1.2.1
|
|
10
22
|
|
|
11
23
|
### Patch Changes
|
|
12
24
|
|
|
13
|
-
- [#74](https://github.com/
|
|
25
|
+
- [#74](https://github.com/gsoft-inc/wl-web-configs/pull/74) [`43c9eb1`](https://github.com/gsoft-inc/wl-web-configs/commit/43c9eb11e61896855666c44beb0e711c82a560a3) Thanks [@alexasselin008](https://github.com/alexasselin008)! - Updated installation documentation
|
|
14
26
|
|
|
15
27
|
## 1.2.0
|
|
16
28
|
|
|
17
29
|
### Minor Changes
|
|
18
30
|
|
|
19
|
-
- [#25](https://github.com/
|
|
31
|
+
- [#25](https://github.com/gsoft-inc/wl-web-configs/pull/25) [`26447ac`](https://github.com/gsoft-inc/wl-web-configs/commit/26447acc2cb2dca69667e171ab37bca330ecfde5) Thanks [@alexasselin008](https://github.com/alexasselin008)! - Update to repository setups:
|
|
20
32
|
- feat: #19 clean, test and lint:types scripts shouldn't be delegated to packages
|
|
21
33
|
- chore: #18 clean script != reset script
|
|
22
34
|
- feat: #17 tsup setup
|
|
@@ -25,16 +37,16 @@
|
|
|
25
37
|
|
|
26
38
|
### Patch Changes
|
|
27
39
|
|
|
28
|
-
- [#14](https://github.com/
|
|
40
|
+
- [#14](https://github.com/gsoft-inc/wl-web-configs/pull/14) [`3da3332`](https://github.com/gsoft-inc/wl-web-configs/commit/3da33327fd24874b9f26568f54d4dad0941753c2) Thanks [@alexasselin008](https://github.com/alexasselin008)! - Update the package.json to update repository url
|
|
29
41
|
|
|
30
42
|
## 1.1.0
|
|
31
43
|
|
|
32
44
|
### Minor Changes
|
|
33
45
|
|
|
34
|
-
- [#9](https://github.com/
|
|
46
|
+
- [#9](https://github.com/gsoft-inc/wl-web-configs/pull/9) [`d4365f6`](https://github.com/gsoft-inc/wl-web-configs/commit/d4365f63033989ac4d7358186c188175d5ef60e9) Thanks [@alexasselin008](https://github.com/alexasselin008)! - Updated the documentation
|
|
35
47
|
|
|
36
48
|
## 1.0.0
|
|
37
49
|
|
|
38
50
|
### Major Changes
|
|
39
51
|
|
|
40
|
-
- [#2](https://github.com/
|
|
52
|
+
- [#2](https://github.com/gsoft-inc/wl-web-configs/pull/2) [`9d18deb`](https://github.com/gsoft-inc/wl-web-configs/commit/9d18debcaa1704806b04f7045789823245fd1c9b) Thanks [@alexasselin008](https://github.com/alexasselin008)! - Initial commit of the package
|
package/README.md
CHANGED
|
@@ -1,44 +1,24 @@
|
|
|
1
1
|
# @workleap/browserslist-config
|
|
2
2
|
|
|
3
|
-
Shareable [browserslist](https://github.com/browserslist/browserslist) configuration for Workleap.
|
|
4
|
-
|
|
5
3
|
[](../../LICENSE)
|
|
6
4
|
[](https://www.npmjs.com/package/@workleap/browserslist-config)
|
|
7
5
|
|
|
8
|
-
##
|
|
9
|
-
|
|
10
|
-
Install the package.
|
|
11
|
-
|
|
12
|
-
**With pnpm**
|
|
13
|
-
|
|
14
|
-
```shell
|
|
15
|
-
pnpm add -D @workleap/browserslist-config
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
**With yarn**
|
|
6
|
+
## Usage
|
|
19
7
|
|
|
20
|
-
|
|
21
|
-
yarn add -D @workleap/browserslist-config
|
|
22
|
-
```
|
|
8
|
+
View the [user's documentation](https://gsoft-inc.github.io/wl-web-configs/).
|
|
23
9
|
|
|
24
|
-
|
|
10
|
+
## 🤝 Contributing
|
|
25
11
|
|
|
26
|
-
|
|
27
|
-
npm install -D @workleap/browserslist-config
|
|
28
|
-
```
|
|
12
|
+
View the [contributor's documentation](../../CONTRIBUTING.md).
|
|
29
13
|
|
|
30
|
-
|
|
14
|
+
### Notes
|
|
31
15
|
|
|
32
|
-
|
|
33
|
-
https://browsersl.ist/#q=%3E+0.2%25%2C+last+2+versions%2C+Firefox+ESR%2C+not+dead
|
|
16
|
+
#### CJS support
|
|
34
17
|
|
|
35
|
-
|
|
18
|
+
To support CJS projects, this package is build for ESM and CJS formats. To support CJS, `type: "module"` has been temporary removed from the `package.json` file.
|
|
36
19
|
|
|
37
|
-
|
|
38
|
-
```
|
|
39
|
-
extends @workleap/browserslist-config
|
|
40
|
-
```
|
|
20
|
+
Once browserslist and all third parties using browserslist supports ESM, CJS support can be removed.
|
|
41
21
|
|
|
42
22
|
## License
|
|
43
23
|
|
|
44
|
-
Copyright © 2023,
|
|
24
|
+
Copyright © 2023, Workleap. 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/workleap-license/blob/master/LICENSE.
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
2
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
3
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
// src/index.ts
|
|
7
|
+
var require_src = __commonJS({
|
|
8
|
+
"src/index.ts"(exports, module) {
|
|
9
|
+
var config = [
|
|
10
|
+
"last 2 versions",
|
|
11
|
+
"> 0.2%",
|
|
12
|
+
"Firefox ESR",
|
|
13
|
+
"not dead"
|
|
14
|
+
];
|
|
15
|
+
module.exports = config;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
var index = require_src();
|
|
19
|
+
|
|
20
|
+
export { index as default };
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workleap/browserslist-config",
|
|
3
3
|
"author": "Workleap",
|
|
4
|
-
"description": "Workleap recommended Browserslist
|
|
5
|
-
"version": "
|
|
4
|
+
"description": "Workleap recommended Browserslist configuration.",
|
|
5
|
+
"version": "2.0.0",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"workleap",
|
|
@@ -10,13 +10,15 @@
|
|
|
10
10
|
],
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/
|
|
13
|
+
"url": "git+https://github.com/gsoft-inc/wl-web-configs.git",
|
|
14
14
|
"directory": "packages/browserslist-config"
|
|
15
15
|
},
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
18
18
|
"require": "./dist/index.js",
|
|
19
|
-
"
|
|
19
|
+
"import": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"default": "./dist/index.js"
|
|
20
22
|
}
|
|
21
23
|
},
|
|
22
24
|
"files": [
|
|
@@ -26,9 +28,9 @@
|
|
|
26
28
|
],
|
|
27
29
|
"devDependencies": {
|
|
28
30
|
"tsup": "6.7.0",
|
|
29
|
-
"@workleap/eslint-plugin": "
|
|
30
|
-
"@workleap/tsup-configs": "
|
|
31
|
-
"@workleap/typescript-configs": "
|
|
31
|
+
"@workleap/eslint-plugin": "2.0.0",
|
|
32
|
+
"@workleap/tsup-configs": "3.0.0",
|
|
33
|
+
"@workleap/typescript-configs": "3.0.0"
|
|
32
34
|
},
|
|
33
35
|
"publishConfig": {
|
|
34
36
|
"access": "public",
|