@sanity/pkg-utils 2.3.0 → 2.3.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/dist/cli.cjs +1 -1
  3. package/package.json +14 -14
package/README.md CHANGED
@@ -12,7 +12,7 @@ npm install @sanity/pkg-utils -D
12
12
 
13
13
  ```sh
14
14
  # Initialize a new package
15
- npx @sanity/pkg-utils@latest init
15
+ pnpx @sanity/pkg-utils@latest init my-package
16
16
 
17
17
  # In a Node.js package directory with `package.json` present
18
18
 
package/dist/cli.cjs CHANGED
@@ -7,7 +7,7 @@ function _interopDefaultCompat(e) {
7
7
  };
8
8
  }
9
9
  var cac__default = /*#__PURE__*/_interopDefaultCompat(cac);
10
- var version = "2.3.0";
10
+ var version = "2.3.1";
11
11
  const cli = cac__default.default();
12
12
  cli.command("", "Check").alias("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": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Simple utilities for modern npm packages.",
5
5
  "keywords": [
6
6
  "sanity-io",
@@ -121,15 +121,15 @@
121
121
  },
122
122
  "dependencies": {
123
123
  "@babel/core": "^7.22.1",
124
- "@babel/preset-env": "^7.22.2",
125
- "@babel/types": "^7.22.3",
126
- "@microsoft/api-extractor": "^7.35.0",
124
+ "@babel/preset-env": "^7.22.4",
125
+ "@babel/types": "^7.22.4",
126
+ "@microsoft/api-extractor": "^7.35.1",
127
127
  "@microsoft/tsdoc-config": "^0.16.2",
128
128
  "@rollup/plugin-alias": "^5.0.0",
129
129
  "@rollup/plugin-babel": "^6.0.3",
130
130
  "@rollup/plugin-commonjs": "^25.0.0",
131
131
  "@rollup/plugin-json": "^6.0.0",
132
- "@rollup/plugin-node-resolve": "^15.0.2",
132
+ "@rollup/plugin-node-resolve": "^15.1.0",
133
133
  "@rollup/plugin-replace": "^5.0.2",
134
134
  "@rollup/plugin-terser": "^0.4.3",
135
135
  "browserslist": "^4.21.7",
@@ -161,8 +161,8 @@
161
161
  "zod": "^3.21.4"
162
162
  },
163
163
  "devDependencies": {
164
- "@commitlint/cli": "^17.6.3",
165
- "@commitlint/config-conventional": "^17.6.3",
164
+ "@commitlint/cli": "^17.6.5",
165
+ "@commitlint/config-conventional": "^17.6.5",
166
166
  "@sanity/pkg-utils": "workspace:*",
167
167
  "@sanity/semantic-release-preset": "4.1.1",
168
168
  "@types/babel__core": "^7.20.1",
@@ -171,16 +171,16 @@
171
171
  "@types/git-url-parse": "^9.0.1",
172
172
  "@types/node": "^20.2.5",
173
173
  "@types/parse-git-config": "^3.0.1",
174
- "@types/prettier": "^2.7.2",
174
+ "@types/prettier": "^2.7.3",
175
175
  "@types/prompts": "^2.4.4",
176
176
  "@types/treeify": "^1.0.0",
177
177
  "@types/uuid": "^9.0.1",
178
- "@typescript-eslint/eslint-plugin": "^5.59.7",
179
- "@typescript-eslint/parser": "^5.59.7",
178
+ "@typescript-eslint/eslint-plugin": "^5.59.8",
179
+ "@typescript-eslint/parser": "^5.59.8",
180
180
  "commitizen": "^4.3.0",
181
181
  "cpx": "^1.5.0",
182
182
  "cz-conventional-changelog": "^3.3.0",
183
- "eslint": "^8.41.0",
183
+ "eslint": "^8.42.0",
184
184
  "eslint-config-prettier": "^8.8.0",
185
185
  "eslint-plugin-import": "^2.27.5",
186
186
  "eslint-plugin-prettier": "^4.2.1",
@@ -190,10 +190,10 @@
190
190
  "npm-run-all": "^4.1.5",
191
191
  "outdent": "^0.8.0",
192
192
  "rollup-plugin-visualizer": "^5.9.0",
193
- "semantic-release": "^21.0.2",
193
+ "semantic-release": "^21.0.3",
194
194
  "ts-node": "^10.9.1",
195
- "typescript": "^5.0.4",
196
- "vitest": "^0.31.1"
195
+ "typescript": "^5.1.3",
196
+ "vitest": "^0.31.4"
197
197
  },
198
198
  "peerDependencies": {
199
199
  "typescript": "^4.7 || ^5"