@sanity/pkg-utils 3.2.6-canary.0 → 3.3.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/dist/_chunks/{build-tKBAy-UA.cjs → build-7mn5THX6.cjs} +4 -4
- package/dist/_chunks/{build-tKBAy-UA.cjs.map → build-7mn5THX6.cjs.map} +1 -1
- package/dist/_chunks/{buildAction-sJDtj4iB.cjs → buildAction-fRHTIDmx.cjs} +2 -2
- package/dist/_chunks/{buildAction-sJDtj4iB.cjs.map → buildAction-fRHTIDmx.cjs.map} +1 -1
- package/dist/_chunks/{check-K-76aP0H.cjs → check-pxYRC97N.cjs} +3 -3
- package/dist/_chunks/{check-K-76aP0H.cjs.map → check-pxYRC97N.cjs.map} +1 -1
- package/dist/_chunks/{checkAction-ovZpdoTW.cjs → checkAction-0xA1q64g.cjs} +2 -2
- package/dist/_chunks/{checkAction-ovZpdoTW.cjs.map → checkAction-0xA1q64g.cjs.map} +1 -1
- package/dist/_chunks/{consoleSpy-Njnvw7-i.cjs → consoleSpy-g4ZadSyB.cjs} +2 -2
- package/dist/_chunks/{consoleSpy-Njnvw7-i.cjs.map → consoleSpy-g4ZadSyB.cjs.map} +1 -1
- package/dist/_chunks/{index-i-CDoKGI.cjs → index-1Mfz_QDA.cjs} +5 -5
- package/dist/_chunks/index-1Mfz_QDA.cjs.map +1 -0
- package/dist/_chunks/{init-JUK_GqHH.cjs → init-U-HiL7BD.cjs} +2 -2
- package/dist/_chunks/{init-JUK_GqHH.cjs.map → init-U-HiL7BD.cjs.map} +1 -1
- package/dist/_chunks/{initAction-Xi2rF6yS.cjs → initAction-QVQEhQh6.cjs} +2 -2
- package/dist/_chunks/{initAction-Xi2rF6yS.cjs.map → initAction-QVQEhQh6.cjs.map} +1 -1
- package/dist/_chunks/{logger-_q9DVAFj.cjs → logger-iA0nC-kL.cjs} +1 -2
- package/dist/_chunks/{logger-_q9DVAFj.cjs.map → logger-iA0nC-kL.cjs.map} +1 -1
- package/dist/_chunks/{watch-TNMFMKRH.cjs → watch-6xc8QXJF.cjs} +4 -4
- package/dist/_chunks/{watch-TNMFMKRH.cjs.map → watch-6xc8QXJF.cjs.map} +1 -1
- package/dist/_chunks/{watchAction-F1JwLii7.cjs → watchAction-JfAFOHP0.cjs} +2 -2
- package/dist/_chunks/{watchAction-F1JwLii7.cjs.map → watchAction-JfAFOHP0.cjs.map} +1 -1
- package/dist/cli.cjs +5 -5
- package/dist/index.cjs +7 -7
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +25 -31
- package/dist/_chunks/index-i-CDoKGI.cjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/pkg-utils",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Simple utilities for modern npm packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity-io",
|
|
@@ -46,24 +46,6 @@
|
|
|
46
46
|
"!dist/stats.html",
|
|
47
47
|
"src"
|
|
48
48
|
],
|
|
49
|
-
"scripts": {
|
|
50
|
-
"build": "run-s clean build:pkg check:pkg",
|
|
51
|
-
"build:pkg": "node -r esbuild-register scripts/build",
|
|
52
|
-
"check:pkg": "node -r esbuild-register scripts/check",
|
|
53
|
-
"check:types": "tsc --build",
|
|
54
|
-
"clean": "rimraf dist test/env/__tmp__",
|
|
55
|
-
"commit": "cz",
|
|
56
|
-
"extract": "sanity-tsdoc etl --outDir etc/api/@sanity/pkg-utils --tsconfig tsconfig.dist.json",
|
|
57
|
-
"format": "prettier --write --cache --ignore-unknown . && eslint . --ext .cjs,.js,.ts,.tsx --fix --quiet",
|
|
58
|
-
"lint": "eslint . --ext .cjs,.js,.ts,.tsx",
|
|
59
|
-
"playground:build": "pnpm --filter './playground/**' build",
|
|
60
|
-
"playground:clean": "pnpm --filter './playground/**' --silent clean",
|
|
61
|
-
"prepublishOnly": "pnpm run build",
|
|
62
|
-
"test": "run-s playground:clean test:clean vitest:run",
|
|
63
|
-
"test:clean": "rimraf test/env/__tmp__",
|
|
64
|
-
"vitest:run": "vitest run",
|
|
65
|
-
"watch": "node -r esbuild-register scripts/watch"
|
|
66
|
-
},
|
|
67
49
|
"commitlint": {
|
|
68
50
|
"extends": [
|
|
69
51
|
"@commitlint/config-conventional"
|
|
@@ -76,9 +58,9 @@
|
|
|
76
58
|
]
|
|
77
59
|
},
|
|
78
60
|
"dependencies": {
|
|
79
|
-
"@babel/core": "^7.23.
|
|
80
|
-
"@babel/preset-env": "^7.23.
|
|
81
|
-
"@babel/types": "^7.23.
|
|
61
|
+
"@babel/core": "^7.23.5",
|
|
62
|
+
"@babel/preset-env": "^7.23.5",
|
|
63
|
+
"@babel/types": "^7.23.5",
|
|
82
64
|
"@microsoft/api-extractor": "^7.38.3",
|
|
83
65
|
"@microsoft/tsdoc-config": "^0.16.2",
|
|
84
66
|
"@rollup/plugin-alias": "^5.1.0",
|
|
@@ -118,7 +100,6 @@
|
|
|
118
100
|
"devDependencies": {
|
|
119
101
|
"@commitlint/cli": "^18.4.3",
|
|
120
102
|
"@commitlint/config-conventional": "^18.4.3",
|
|
121
|
-
"@sanity/pkg-utils": "workspace:*",
|
|
122
103
|
"@types/babel__core": "^7.20.5",
|
|
123
104
|
"@types/cpx": "^1.5.5",
|
|
124
105
|
"@types/find-config": "^1.0.4",
|
|
@@ -129,8 +110,8 @@
|
|
|
129
110
|
"@types/rimraf": "^3.0.2",
|
|
130
111
|
"@types/treeify": "^1.0.3",
|
|
131
112
|
"@types/uuid": "^9.0.7",
|
|
132
|
-
"@typescript-eslint/eslint-plugin": "^6.13.
|
|
133
|
-
"@typescript-eslint/parser": "^6.13.
|
|
113
|
+
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
|
114
|
+
"@typescript-eslint/parser": "^6.13.1",
|
|
134
115
|
"commitizen": "^4.3.0",
|
|
135
116
|
"cpx": "^1.5.0",
|
|
136
117
|
"cz-conventional-changelog": "^3.3.0",
|
|
@@ -148,7 +129,8 @@
|
|
|
148
129
|
"ts-node": "^10.9.1",
|
|
149
130
|
"typescript": "^5.3.2",
|
|
150
131
|
"vitest": "^0.34.6",
|
|
151
|
-
"vitest-github-actions-reporter": "^0.11.0"
|
|
132
|
+
"vitest-github-actions-reporter": "^0.11.0",
|
|
133
|
+
"@sanity/pkg-utils": "3.3.0"
|
|
152
134
|
},
|
|
153
135
|
"peerDependencies": {
|
|
154
136
|
"typescript": "^4.7 || ^5"
|
|
@@ -160,9 +142,21 @@
|
|
|
160
142
|
"publishConfig": {
|
|
161
143
|
"access": "public"
|
|
162
144
|
},
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
|
|
166
|
-
|
|
145
|
+
"scripts": {
|
|
146
|
+
"build": "run-s clean build:pkg check:pkg",
|
|
147
|
+
"build:pkg": "node -r esbuild-register scripts/build",
|
|
148
|
+
"check:pkg": "node -r esbuild-register scripts/check",
|
|
149
|
+
"check:types": "tsc --build",
|
|
150
|
+
"clean": "rimraf dist test/env/__tmp__",
|
|
151
|
+
"commit": "cz",
|
|
152
|
+
"extract": "sanity-tsdoc etl --outDir etc/api/@sanity/pkg-utils --tsconfig tsconfig.dist.json",
|
|
153
|
+
"format": "prettier --write --cache --ignore-unknown . && eslint . --ext .cjs,.js,.ts,.tsx --fix --quiet",
|
|
154
|
+
"lint": "eslint . --ext .cjs,.js,.ts,.tsx",
|
|
155
|
+
"playground:build": "pnpm --filter './playground/**' build",
|
|
156
|
+
"playground:clean": "pnpm --filter './playground/**' --silent clean",
|
|
157
|
+
"test": "run-s playground:clean test:clean vitest:run",
|
|
158
|
+
"test:clean": "rimraf test/env/__tmp__",
|
|
159
|
+
"vitest:run": "vitest run",
|
|
160
|
+
"watch": "node -r esbuild-register scripts/watch"
|
|
167
161
|
}
|
|
168
|
-
}
|
|
162
|
+
}
|