@sanity/pkg-utils 6.8.19-canary.0 → 6.8.19-canary.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/pkg-utils",
3
- "version": "6.8.19-canary.0",
3
+ "version": "6.8.19-canary.2",
4
4
  "description": "Simple utilities for modern npm packages.",
5
5
  "keywords": [
6
6
  "sanity-io",
@@ -68,10 +68,9 @@
68
68
  "prettier": "@sanity/prettier-config",
69
69
  "dependencies": {
70
70
  "@babel/core": "^7.24.6",
71
- "@babel/preset-typescript": "^7.24.6",
72
71
  "@babel/types": "^7.24.6",
73
- "@microsoft/api-extractor": "7.43.8",
74
- "@microsoft/tsdoc-config": "^0.16.2",
72
+ "@microsoft/api-extractor": "7.46.2",
73
+ "@microsoft/tsdoc-config": "0.17.0",
75
74
  "@optimize-lodash/rollup-plugin": "4.0.4",
76
75
  "@rollup/plugin-alias": "^5.1.0",
77
76
  "@rollup/plugin-babel": "^6.0.4",
@@ -96,10 +95,10 @@
96
95
  "outdent": "^0.8.0",
97
96
  "parse-git-config": "^3.0.0",
98
97
  "pkg-up": "^3.1.0",
99
- "prettier": "^3.2.5",
98
+ "prettier": "^3.3.0",
100
99
  "pretty-bytes": "^5.6.0",
101
100
  "prompts": "^2.4.2",
102
- "recast": "0.23.7",
101
+ "recast": "0.23.9",
103
102
  "rimraf": "^4.4.1",
104
103
  "rollup": "^4.18.0",
105
104
  "rollup-plugin-esbuild": "^6.1.1",
@@ -145,17 +144,11 @@
145
144
  "typescript": "5.4.5",
146
145
  "vitest": "^1.6.0",
147
146
  "vitest-github-actions-reporter": "^0.11.1",
148
- "@sanity/pkg-utils": "6.8.19-canary.0"
147
+ "@sanity/pkg-utils": "6.8.19-canary.2"
149
148
  },
150
149
  "peerDependencies": {
151
- "babel-plugin-react-compiler": "*",
152
150
  "typescript": "5.4.x"
153
151
  },
154
- "peerDependenciesMeta": {
155
- "babel-plugin-react-compiler": {
156
- "optional": true
157
- }
158
- },
159
152
  "engines": {
160
153
  "node": ">=18.17.0"
161
154
  },
@@ -72,8 +72,6 @@ export interface PkgConfigOptions {
72
72
  /** @alpha */
73
73
  babel?: {
74
74
  plugins?: BabelPluginItem[] | null | undefined
75
- /** @alpha */
76
- reactCompiler?: boolean
77
75
  }
78
76
  bundles?: PkgBundle[]
79
77
  /** @alpha */
@@ -95,12 +95,6 @@ export function resolveRollupConfig(
95
95
  }),
96
96
  commonjs(),
97
97
  json(),
98
- config?.babel?.reactCompiler &&
99
- getBabelOutputPlugin({
100
- babelrc: false,
101
- presets: ['@babel/preset-typescript'],
102
- plugins: [['babel-plugin-react-compiler', {}]],
103
- }),
104
98
  esbuild({
105
99
  jsx: config?.jsx ?? 'automatic',
106
100
  jsxFactory: config?.jsxFactory ?? 'createElement',