@sanity/plugin-kit 6.0.3 → 7.0.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.
@@ -0,0 +1,12 @@
1
+ const cliName = "@sanity/plugin-kit", urls = {
2
+ refDocs: "https://beta.sanity.io/docs/reference",
3
+ migrationGuideStudio: "https://beta.sanity.io/docs/platform/v2-to-v3",
4
+ migrationGuidePlugin: "https://beta.sanity.io/docs/platform/v2-to-v3/plugins",
5
+ pluginReadme: "https://github.com/sanity-io/plugin-kit",
6
+ incompatiblePlugin: "https://github.com/sanity-io/incompatible-plugin",
7
+ sanityExchange: "https://www.sanity.io/exchange",
8
+ linterPackage: "https://github.com/sanity-io/eslint-config-no-v2-imports"
9
+ }, incompatiblePluginPackage = "@sanity/incompatible-plugin", defaultOutDir = "dist", requiredNodeEngine = ">=20.19 <22 || >=22.12";
10
+ export { urls as a, requiredNodeEngine as i, defaultOutDir as n, incompatiblePluginPackage as r, cliName as t };
11
+
12
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","names":[],"sources":["../../src/constants.ts"],"sourcesContent":["export const cliName = '@sanity/plugin-kit'\n\nexport const urls = {\n refDocs: 'https://beta.sanity.io/docs/reference',\n migrationGuideStudio: 'https://beta.sanity.io/docs/platform/v2-to-v3',\n migrationGuidePlugin: 'https://beta.sanity.io/docs/platform/v2-to-v3/plugins',\n pluginReadme: 'https://github.com/sanity-io/plugin-kit',\n incompatiblePlugin: 'https://github.com/sanity-io/incompatible-plugin',\n sanityExchange: 'https://www.sanity.io/exchange',\n linterPackage: 'https://github.com/sanity-io/eslint-config-no-v2-imports',\n}\n\nexport const incompatiblePluginPackage = '@sanity/incompatible-plugin'\n\nexport const defaultOutDir = 'dist'\n\n/**\n * Minimum major version of `@sanity/pkg-utils` required in userland.\n *\n * plugin-kit loads `package.config.ts` via the plugin's own `@sanity/pkg-utils` (a peer\n * dependency) using the `loadConfig({cwd, pkgPath})` signature introduced in v10. Older majors\n * expose an incompatible `loadConfig({cwd})` and cannot reliably load ESM TypeScript configs.\n */\nexport const minPkgUtilsMajor = 10\n\n/**\n * Required `engines.node` range for plugins, matching `@sanity/pkg-utils` so plugins declare the\n * same Node.js support as the build tool they use.\n */\nexport const requiredNodeEngine = '>=20.19 <22 || >=22.12'\n"],"mappings":"AAAA,MAAa,UAAU,sBAEV,OAAO;CAClB,SAAS;CACT,sBAAsB;CACtB,sBAAsB;CACtB,cAAc;CACd,oBAAoB;CACpB,gBAAgB;CAChB,eAAe;AACjB,GAEa,4BAA4B,+BAE5B,gBAAgB,QAehB,qBAAqB"}