-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): Update dependency @sanity/pkg-utils to v6 (#161)
* fix(deps): Update dependency @sanity/pkg-utils to v6 * refactor: use new best practices * fix: adjust tsconfig to best practice * chore: fix ts-node * fix: update best practices * fix: update tsconfig to follow current best practices * fix: sync best practices * fix: pkg-utils now validate `typings` * chore: fixing tests * chore: fix tests * fix: change type back to commonjs to maintain compat --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Cody Olsen <[email protected]>
- Loading branch information
1 parent
71a9223
commit 7ae5bd3
Showing
26 changed files
with
2,136 additions
and
3,275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,17 +21,17 @@ | |
"license": "MIT", | ||
"author": "Sanity.io <[email protected]>", | ||
"type": "commonjs", | ||
"sideEffects": false, | ||
"browserslist": "extends @sanity/browserslist-config", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"source": "./src/index.ts", | ||
"require": "./dist/index.js", | ||
"default": "./dist/index.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"main": "./dist/index.js", | ||
"source": "./src/index.ts", | ||
"types": "./dist/index.d.ts", | ||
"bin": { | ||
"plugin-kit": "./bin/plugin-kit.js" | ||
|
@@ -44,15 +44,15 @@ | |
"v2-incompatible.js" | ||
], | ||
"scripts": { | ||
"build": "run-s clean && pkg-utils build --strict && pkg-utils --strict", | ||
"clean": "rimraf dist", | ||
"build": "pkg-utils build --strict --check --clean", | ||
"commit": "git-cz", | ||
"prepublishOnly": "npm run build", | ||
"compile": "tsc --build", | ||
"format": "prettier src -w", | ||
"format": "prettier src package.json -w", | ||
"lint": "eslint .", | ||
"prepare": "husky install", | ||
"prepublishOnly": "run-s build", | ||
"test": "tap", | ||
"test:update-snapshots": "tap --snapshot", | ||
"watch": "pkg-utils watch --strict" | ||
}, | ||
"tap": { | ||
|
@@ -69,7 +69,7 @@ | |
}, | ||
"dependencies": { | ||
"@rexxars/choosealicense-list": "1.1.2", | ||
"@sanity/pkg-utils": "3.3.8", | ||
"@sanity/pkg-utils": "6.4.1", | ||
"chalk": "4.1.2", | ||
"concurrently": "8.2.0", | ||
"discover-path": "1.0.0", | ||
|
@@ -89,7 +89,6 @@ | |
"p-any": "3.0.0", | ||
"p-props": "4.0.0", | ||
"postcss": "8.4.38", | ||
"rimraf": "4.4.1", | ||
"semver": "7.5.4", | ||
"spdx-license-ids": "3.0.17", | ||
"validate-npm-package-name": "5.0.0", | ||
|
@@ -100,6 +99,7 @@ | |
"@commitlint/cli": "19.2.1", | ||
"@commitlint/config-conventional": "19.1.0", | ||
"@sanity/semantic-release-preset": "4.1.7", | ||
"rimraf": "^4.4.1", | ||
"@sanity/ui-workshop": "^1.2.11", | ||
"@types/eslint": "^8.56.8", | ||
"@types/fs-extra": "^11.0.4", | ||
|
@@ -118,11 +118,9 @@ | |
"husky": "^8.0.3", | ||
"json5": "2.2.3", | ||
"lint-staged": "^13.3.0", | ||
"npm-run-all2": "^5.0.0", | ||
"prettier": "^3.2.5", | ||
"prettier-plugin-packagejson": "^2.4.14", | ||
"readdirp": "^3.6.0", | ||
"rimraf": "^4.4.1", | ||
"sanity": "3.20.2", | ||
"sinon": "^17.0.1", | ||
"tap": "^16.3.10", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.