@kbach/native 0.1.4 → 0.1.5

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/index.js CHANGED
@@ -65,7 +65,7 @@ function withKbachBabel(babelConfig, options = {}) {
65
65
  attributes = ["tw", "className"],
66
66
  debug = false
67
67
  } = options;
68
- const pluginEntry = ["babel-plugin-kbach", { configFile, attributes, debug }];
68
+ const pluginEntry = ["babel-plugin-kbach", { configFile, attributes, debug, jsxRuntime: false }];
69
69
  const presets = (babelConfig.presets ?? []).map((preset) => {
70
70
  const [name, presetOpts = {}] = Array.isArray(preset) ? preset : [preset, {}];
71
71
  if (name === "babel-preset-expo" || name === "@babel/preset-react" || typeof name === "string" && name.includes("react")) {
package/dist/index.mjs CHANGED
@@ -38,7 +38,7 @@ function withKbachBabel(babelConfig, options = {}) {
38
38
  attributes = ["tw", "className"],
39
39
  debug = false
40
40
  } = options;
41
- const pluginEntry = ["babel-plugin-kbach", { configFile, attributes, debug }];
41
+ const pluginEntry = ["babel-plugin-kbach", { configFile, attributes, debug, jsxRuntime: false }];
42
42
  const presets = (babelConfig.presets ?? []).map((preset) => {
43
43
  const [name, presetOpts = {}] = Array.isArray(preset) ? preset : [preset, {}];
44
44
  if (name === "babel-preset-expo" || name === "@babel/preset-react" || typeof name === "string" && name.includes("react")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kbach/native",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Single-package Kbach install for React Native and Expo — includes core, components, Babel plugin, and Metro config",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./dist/index.js",
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "@kbach/core": "0.1.0",
37
37
  "@kbach/react": "0.1.4",
38
- "babel-plugin-kbach": "0.1.0"
38
+ "babel-plugin-kbach": "0.1.2"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/react": "^19.2.0",