@workleap/browserslist-config 1.1.1 → 1.2.1

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,5 +1,20 @@
1
1
  # @workleap/browserslist-config
2
2
 
3
+ ## 1.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ ## 1.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#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:
14
+ - feat: #19 clean, test and lint:types scripts shouldn't be delegated to packages
15
+ - chore: #18 clean script != reset script
16
+ - feat: #17 tsup setup
17
+
3
18
  ## 1.1.1
4
19
 
5
20
  ### Patch Changes
package/README.md CHANGED
@@ -1,4 +1,5 @@
1
- # `@workleap/browserslist-config`
1
+ # @workleap/browserslist-config
2
+
2
3
  Shareable [browserslist](https://github.com/browserslist/browserslist) configuration for Workleap.
3
4
 
4
5
  [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](../../LICENSE)
@@ -9,10 +10,23 @@ Shareable [browserslist](https://github.com/browserslist/browserslist) configura
9
10
  Install the package.
10
11
 
11
12
  **With pnpm**
13
+
12
14
  ```shell
13
15
  pnpm add -D @workleap/browserslist-config
14
16
  ```
15
17
 
18
+ **With yarn**
19
+
20
+ ```shell
21
+ yarn add -D @workleap/browserslist-config
22
+ ```
23
+
24
+ **With npm**
25
+
26
+ ```shell
27
+ npm install -D @workleap/browserslist-config
28
+ ```
29
+
16
30
  ## Supported Browsers
17
31
 
18
32
  You can list all supported browsers by following this link:
package/dist/index.js CHANGED
@@ -1,10 +1,22 @@
1
- "use strict";
1
+ 'use strict';
2
2
 
3
- // index.ts
4
- var config = [
5
- "last 2 versions",
6
- "> 0.2%",
7
- "Firefox ESR",
8
- "not dead"
9
- ];
10
- module.exports = config;
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;
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.1.1",
5
+ "version": "1.2.1",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
8
8
  "workleap",
@@ -13,33 +13,28 @@
13
13
  "url": "git+https://github.com/workleap/wl-web-configs.git",
14
14
  "directory": "packages/browserslist-config"
15
15
  },
16
- "main": "./dist/index.js",
17
- "types": "./dist/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "require": "./dist/index.js",
19
+ "types": "./dist/index.d.ts"
20
+ }
21
+ },
18
22
  "files": [
19
23
  "dist",
20
24
  "CHANGELOG.md",
21
25
  "README.md"
22
26
  ],
23
27
  "devDependencies": {
24
- "@workleap/typescript-configs": "2.0.1"
28
+ "tsup": "6.7.0",
29
+ "typescript": "5.0.4",
30
+ "@workleap/eslint-plugin": "1.8.1",
31
+ "@workleap/typescript-configs": "2.3.1"
25
32
  },
26
33
  "publishConfig": {
27
34
  "access": "public",
28
35
  "provenance": true
29
36
  },
30
- "tsup": {
31
- "entry": [
32
- "./index.ts"
33
- ],
34
- "clean": true,
35
- "declaration": true,
36
- "format": [
37
- "cjs"
38
- ]
39
- },
40
37
  "scripts": {
41
- "build": "tsup",
42
- "clean": "pnpm dlx rimraf dist node_modules",
43
- "lint:types": "tsc --noEmit"
38
+ "build": "tsup"
44
39
  }
45
40
  }