@workleap/browserslist-config 2.0.1 → 2.0.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,40 +1,52 @@
1
1
  # @workleap/browserslist-config
2
2
 
3
+ ## 2.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#244](https://github.com/workleap/wl-web-configs/pull/244) [`038d794`](https://github.com/workleap/wl-web-configs/commit/038d794458289e344502a56fd563c71e8d6dd0f8) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated dependencies
8
+
9
+ ## 2.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#230](https://github.com/workleap/wl-web-configs/pull/230) [`0a4279c`](https://github.com/workleap/wl-web-configs/commit/0a4279c40b7c2ea76c7e1884a8e2fd744ca9b7c1) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Packages now includes the source codes and sourcemap.
14
+
3
15
  ## 2.0.1
4
16
 
5
17
  ### Patch Changes
6
18
 
7
- - [#179](https://github.com/gsoft-inc/wl-web-configs/pull/179) [`61d3721`](https://github.com/gsoft-inc/wl-web-configs/commit/61d37216198083ba78cd4b1480e38c8d772a6119) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated dependencies.
19
+ - [#179](https://github.com/workleap/wl-web-configs/pull/179) [`61d3721`](https://github.com/workleap/wl-web-configs/commit/61d37216198083ba78cd4b1480e38c8d772a6119) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated dependencies.
8
20
 
9
21
  ## 2.0.0
10
22
 
11
23
  ### Major Changes
12
24
 
13
- - [#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
25
+ - [#98](https://github.com/workleap/wl-web-configs/pull/98) [`56ca32e`](https://github.com/workleap/wl-web-configs/commit/56ca32ee3194c51210aacc5189f3ebbec5a4a7b6) Thanks [@patricklafrance](https://github.com/patricklafrance)! - New start, every package has a major version bump
14
26
 
15
27
  ## 1.2.3
16
28
 
17
29
  ### Patch Changes
18
30
 
19
- - [#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
31
+ - [#92](https://github.com/workleap/wl-web-configs/pull/92) [`66e8f10`](https://github.com/workleap/wl-web-configs/commit/66e8f1033a987523c65fe9e61f53dac6d2e38777) Thanks [@ofrogon](https://github.com/ofrogon)! - Migrate project from GitHub organization
20
32
 
21
33
  ## 1.2.2
22
34
 
23
35
  ### Patch Changes
24
36
 
25
- - [#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
37
+ - [#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
26
38
 
27
39
  ## 1.2.1
28
40
 
29
41
  ### Patch Changes
30
42
 
31
- - [#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
43
+ - [#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
32
44
 
33
45
  ## 1.2.0
34
46
 
35
47
  ### Minor Changes
36
48
 
37
- - [#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:
49
+ - [#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:
38
50
  - feat: #19 clean, test and lint:types scripts shouldn't be delegated to packages
39
51
  - chore: #18 clean script != reset script
40
52
  - feat: #17 tsup setup
@@ -43,16 +55,16 @@
43
55
 
44
56
  ### Patch Changes
45
57
 
46
- - [#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
58
+ - [#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
47
59
 
48
60
  ## 1.1.0
49
61
 
50
62
  ### Minor Changes
51
63
 
52
- - [#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
64
+ - [#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
53
65
 
54
66
  ## 1.0.0
55
67
 
56
68
  ### Major Changes
57
69
 
58
- - [#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
70
+ - [#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
@@ -5,20 +5,12 @@
5
5
 
6
6
  ## Usage
7
7
 
8
- View the [user's documentation](https://gsoft-inc.github.io/wl-web-configs/).
8
+ View the [user's documentation](https://workleap.github.io/wl-web-configs/).
9
9
 
10
10
  ## 🤝 Contributing
11
11
 
12
12
  View the [contributor's documentation](../../CONTRIBUTING.md).
13
13
 
14
- ### Notes
15
-
16
- #### CJS support
17
-
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.
19
-
20
- Once browserslist and all third parties using browserslist supports ESM, CJS support can be removed.
21
-
22
14
  ## License
23
15
 
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.
16
+ 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/workleap/workleap-license/blob/master/LICENSE.
package/dist/index.js CHANGED
@@ -1,22 +1,9 @@
1
- 'use strict';
2
-
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __commonJS = (cb, mod) => function __require() {
5
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
6
- };
7
-
8
- // src/index.ts
9
- var require_src = __commonJS({
10
- "src/index.ts"(exports, module) {
11
- var config = [
12
- "last 2 versions",
13
- "> 0.2%",
14
- "Firefox ESR",
15
- "not dead"
16
- ];
17
- module.exports = config;
18
- }
19
- });
20
- var index = require_src();
21
-
22
- module.exports = index;
1
+ "use strict";
2
+ const config = [
3
+ "last 2 versions",
4
+ "> 0.2%",
5
+ "Firefox ESR",
6
+ "not dead"
7
+ ];
8
+ module.exports = config;
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,GAAa;IACrB,iBAAiB;IACjB,QAAQ;IACR,aAAa;IACb,UAAU;CACb,CAAC;AAKF,iBAAS,MAAM,CAAC"}
package/package.json CHANGED
@@ -2,46 +2,40 @@
2
2
  "name": "@workleap/browserslist-config",
3
3
  "author": "Workleap",
4
4
  "description": "Workleap recommended Browserslist configuration.",
5
- "version": "2.0.1",
5
+ "version": "2.0.3",
6
6
  "license": "Apache-2.0",
7
- "keywords": [
8
- "workleap",
9
- "browserslist"
10
- ],
11
7
  "repository": {
12
8
  "type": "git",
13
- "url": "git+https://github.com/gsoft-inc/wl-web-configs.git",
9
+ "url": "git+https://github.com/workleap/wl-web-configs.git",
14
10
  "directory": "packages/browserslist-config"
15
11
  },
12
+ "publishConfig": {
13
+ "access": "public",
14
+ "provenance": true
15
+ },
16
16
  "exports": {
17
17
  ".": {
18
- "require": {
19
- "types": "./dist/index.d.ts",
20
- "default": "./dist/index.js"
21
- },
22
- "import": {
23
- "types": "./dist/index.d.mts",
24
- "default": "./dist/index.mjs"
25
- }
18
+ "require": "./dist/index.js",
19
+ "import": "./dist/index.js"
26
20
  }
27
21
  },
28
- "types": "./dist/index.d.ts",
29
22
  "files": [
23
+ "src",
30
24
  "dist",
31
25
  "CHANGELOG.md",
32
26
  "README.md"
33
27
  ],
34
28
  "devDependencies": {
35
- "tsup": "8.0.2",
36
- "@workleap/eslint-plugin": "3.0.2",
37
- "@workleap/tsup-configs": "3.0.3",
38
- "@workleap/typescript-configs": "3.0.2"
39
- },
40
- "publishConfig": {
41
- "access": "public",
42
- "provenance": true
29
+ "@typescript-eslint/parser": "8.29.0",
30
+ "eslint": "8.57.0",
31
+ "rimraf": "6.0.1",
32
+ "@workleap/eslint-plugin": "3.3.2",
33
+ "@workleap/typescript-configs": "3.0.3"
43
34
  },
44
35
  "scripts": {
45
- "build": "tsup"
36
+ "prebuild": "rimraf dist",
37
+ "build": "tsc --project tsconfig.build.json",
38
+ "eslint": "eslint . --max-warnings=-0 --cache --cache-location node_modules/.cache/eslint",
39
+ "typecheck": "tsc"
46
40
  }
47
41
  }
package/src/index.ts ADDED
@@ -0,0 +1,11 @@
1
+ const config: string[] = [
2
+ "last 2 versions",
3
+ "> 0.2%",
4
+ "Firefox ESR",
5
+ "not dead"
6
+ ];
7
+
8
+ // Using TypeScript "export" keyword until browserlist support ESM.
9
+ // Otherwise we must deal with a weird CommonJS output from esbuild which is not worth it.
10
+ // For more info, see: https://github.com/evanw/esbuild/issues/1079
11
+ export = config;
package/dist/index.d.mts DELETED
@@ -1,3 +0,0 @@
1
- declare const config: string[];
2
-
3
- export { config as default };
package/dist/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- declare const config: string[];
2
-
3
- export { config as default };
package/dist/index.mjs DELETED
@@ -1,20 +0,0 @@
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 };