@workleap/browserslist-config 1.2.2 → 1.2.3

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 CHANGED
@@ -1,22 +1,28 @@
1
1
  # @workleap/browserslist-config
2
2
 
3
+ ## 1.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
3
9
  ## 1.2.2
4
10
 
5
11
  ### Patch Changes
6
12
 
7
- - [#85](https://github.com/workleap/wl-web-configs/pull/85) [`bad2df7`](https://github.com/workleap/wl-web-configs/commit/bad2df75593fb70d431d73bdced653b157c50caa) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated TSUP configuration and added a new SWC config package
13
+ - [#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
14
 
9
15
  ## 1.2.1
10
16
 
11
17
  ### Patch Changes
12
18
 
13
- - [#74](https://github.com/workleap/wl-web-configs/pull/74) [`43c9eb1`](https://github.com/workleap/wl-web-configs/commit/43c9eb11e61896855666c44beb0e711c82a560a3) Thanks [@alexasselin008](https://github.com/alexasselin008)! - Updated installation documentation
19
+ - [#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
20
 
15
21
  ## 1.2.0
16
22
 
17
23
  ### Minor Changes
18
24
 
19
- - [#25](https://github.com/workleap/wl-web-configs/pull/25) [`26447ac`](https://github.com/workleap/wl-web-configs/commit/26447acc2cb2dca69667e171ab37bca330ecfde5) Thanks [@alexasselin008](https://github.com/alexasselin008)! - Update to repository setups:
25
+ - [#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
26
  - feat: #19 clean, test and lint:types scripts shouldn't be delegated to packages
21
27
  - chore: #18 clean script != reset script
22
28
  - feat: #17 tsup setup
@@ -25,16 +31,16 @@
25
31
 
26
32
  ### Patch Changes
27
33
 
28
- - [#14](https://github.com/workleap/wl-web-configs/pull/14) [`3da3332`](https://github.com/workleap/wl-web-configs/commit/3da33327fd24874b9f26568f54d4dad0941753c2) Thanks [@alexasselin008](https://github.com/alexasselin008)! - Update the package.json to update repository url
34
+ - [#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
35
 
30
36
  ## 1.1.0
31
37
 
32
38
  ### Minor Changes
33
39
 
34
- - [#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
40
+ - [#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
41
 
36
42
  ## 1.0.0
37
43
 
38
44
  ### Major Changes
39
45
 
40
- - [#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
46
+ - [#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
@@ -39,6 +39,14 @@ Create a `.browserslistrc` file at the root of your project with the following c
39
39
  extends @workleap/browserslist-config
40
40
  ```
41
41
 
42
+ ## Maintainers notes
43
+
44
+ ### CJS support
45
+
46
+ 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.
47
+
48
+ Once browserslist and all third parties using browserslist supports ESM, CJS support can be removed.
49
+
42
50
  ## License
43
51
 
44
52
  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.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
@@ -2,7 +2,7 @@
2
2
  "name": "@workleap/browserslist-config",
3
3
  "author": "Workleap",
4
4
  "description": "Workleap recommended Browserslist config.",
5
- "version": "1.2.2",
5
+ "version": "1.2.3",
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/workleap/wl-web-configs.git",
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
- "types": "./dist/index.d.ts"
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": "1.8.2",
30
- "@workleap/tsup-configs": "2.0.0",
31
- "@workleap/typescript-configs": "2.3.2"
31
+ "@workleap/eslint-plugin": "1.8.3",
32
+ "@workleap/tsup-configs": "2.0.1",
33
+ "@workleap/typescript-configs": "2.3.3"
32
34
  },
33
35
  "publishConfig": {
34
36
  "access": "public",