@sanity/pkg-utils 1.19.0 → 1.20.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/browserslist.js +15 -0
- package/dist/cli.js +1 -1
- package/package.json +2 -1
package/browserslist.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Shared browserslist configuration.
|
|
5
|
+
* This allows us to share the same browserslist config between projects.
|
|
6
|
+
* To use this config, add the following to your package.json:
|
|
7
|
+
* ```json
|
|
8
|
+
* "browserslist": [
|
|
9
|
+
* "extends @sanity/pkg-utils/browserslist"
|
|
10
|
+
* ]
|
|
11
|
+
* ```
|
|
12
|
+
* Docs: https://github.com/browserslist/browserslist#shareable-configs
|
|
13
|
+
*/
|
|
14
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
15
|
+
module.exports = require('./dist/index').DEFAULT_BROWSERSLIST_QUERY
|
package/dist/cli.js
CHANGED
|
@@ -7,7 +7,7 @@ function _interopDefaultLegacy(e) {
|
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
var cac__default = /*#__PURE__*/_interopDefaultLegacy(cac);
|
|
10
|
-
var version = "1.
|
|
10
|
+
var version = "1.20.0";
|
|
11
11
|
const cli = cac__default["default"]();
|
|
12
12
|
cli.command("", "Check").option("--strict", "Strict mode").option("--tsconfig [tsconfig]", "[string] tsconfig.json").action(async options => {
|
|
13
13
|
const {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/pkg-utils",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"author": "Sanity.io <hello@sanity.io>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Simple utilities for modern npm packages.",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"bin",
|
|
36
|
+
"browserslist.js",
|
|
36
37
|
"dist",
|
|
37
38
|
"!dist/stats.html",
|
|
38
39
|
"src"
|