@tamagui/vite-plugin 1.22.7 → 1.22.9

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/cjs/index.js CHANGED
@@ -15,15 +15,15 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
15
15
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
16
  var src_exports = {};
17
17
  module.exports = __toCommonJS(src_exports);
18
- __reExport(src_exports, require("./plugin.js"), module.exports);
19
- __reExport(src_exports, require("./extract.js"), module.exports);
20
- __reExport(src_exports, require("./native.js"), module.exports);
21
- __reExport(src_exports, require("./nativePrebuild.js"), module.exports);
18
+ __reExport(src_exports, require("./plugin"), module.exports);
19
+ __reExport(src_exports, require("./extract"), module.exports);
20
+ __reExport(src_exports, require("./native"), module.exports);
21
+ __reExport(src_exports, require("./nativePrebuild"), module.exports);
22
22
  // Annotate the CommonJS export names for ESM import in node:
23
23
  0 && (module.exports = {
24
- ...require("./plugin.js"),
25
- ...require("./extract.js"),
26
- ...require("./native.js"),
27
- ...require("./nativePrebuild.js")
24
+ ...require("./plugin"),
25
+ ...require("./extract"),
26
+ ...require("./native"),
27
+ ...require("./nativePrebuild")
28
28
  });
29
29
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,wBAAd;AACA,wBAAc,yBADd;AAEA,wBAAc,wBAFd;AAGA,wBAAc,gCAHd;",
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,qBAAd;AACA,wBAAc,sBADd;AAEA,wBAAc,qBAFd;AAGA,wBAAc,6BAHd;",
5
5
  "names": []
6
6
  }
@@ -24,7 +24,7 @@ module.exports = __toCommonJS(native_exports);
24
24
  var import_promises = require("fs/promises");
25
25
  var import_path = require("path");
26
26
  var import_vite_plugin_flow = require("@bunchtogether/vite-plugin-flow");
27
- var import_extensions = require("./extensions.js");
27
+ var import_extensions = require("./extensions");
28
28
  function nativePlugin() {
29
29
  return {
30
30
  name: "tamagui-native",
@@ -34,7 +34,7 @@ module.exports = __toCommonJS(nativePrebuild_exports);
34
34
  var import_promises = require("fs/promises");
35
35
  var import_esbuild = require("esbuild");
36
36
  var import_flow_remove_types = __toESM(require("flow-remove-types"));
37
- var import_extensions = require("./extensions.js");
37
+ var import_extensions = require("./extensions");
38
38
  async function nativePrebuild() {
39
39
  console.log(`Prebuilding React Native (one time cost...)`);
40
40
  await Promise.all([
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export * from "./plugin.js";
2
- export * from "./extract.js";
3
- export * from "./native.js";
4
- export * from "./nativePrebuild.js";
1
+ export * from "./plugin";
2
+ export * from "./extract";
3
+ export * from "./native";
4
+ export * from "./nativePrebuild";
5
5
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- export * from "./plugin.js";
2
- export * from "./extract.js";
3
- export * from "./native.js";
4
- export * from "./nativePrebuild.js";
1
+ export * from "./plugin";
2
+ export * from "./extract";
3
+ export * from "./native";
4
+ export * from "./nativePrebuild";
5
5
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  import { readFile } from "fs/promises";
2
2
  import { join } from "path";
3
3
  import { esbuildFlowPlugin } from "@bunchtogether/vite-plugin-flow";
4
- import { extensions } from "./extensions.js";
4
+ import { extensions } from "./extensions";
5
5
  function nativePlugin() {
6
6
  return {
7
7
  name: "tamagui-native",
@@ -1,7 +1,7 @@
1
1
  import { readFile } from "fs/promises";
2
2
  import { join } from "path";
3
3
  import { esbuildFlowPlugin } from "@bunchtogether/vite-plugin-flow";
4
- import { extensions } from "./extensions.js";
4
+ import { extensions } from "./extensions";
5
5
  function nativePlugin() {
6
6
  return {
7
7
  name: "tamagui-native",
@@ -1,7 +1,7 @@
1
1
  import { readFile } from "fs/promises";
2
2
  import { build } from "esbuild";
3
3
  import flowRemoveTypes from "flow-remove-types";
4
- import { extensions } from "./extensions.js";
4
+ import { extensions } from "./extensions";
5
5
  async function nativePrebuild() {
6
6
  console.log(`Prebuilding React Native (one time cost...)`);
7
7
  await Promise.all([
@@ -1,7 +1,7 @@
1
1
  import { readFile } from "fs/promises";
2
2
  import { build } from "esbuild";
3
3
  import flowRemoveTypes from "flow-remove-types";
4
- import { extensions } from "./extensions.js";
4
+ import { extensions } from "./extensions";
5
5
  async function nativePrebuild() {
6
6
  console.log(`Prebuilding React Native (one time cost...)`);
7
7
  await Promise.all([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/vite-plugin",
3
- "version": "1.22.7",
3
+ "version": "1.22.9",
4
4
  "types": "./types/index.d.ts",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -29,10 +29,10 @@
29
29
  "@rollup/plugin-babel": "^6.0.3",
30
30
  "@rollup/plugin-commonjs": "^24.0.1",
31
31
  "@rollup/plugin-node-resolve": "^15.0.1",
32
- "@tamagui/fake-react-native": "1.22.7",
33
- "@tamagui/proxy-worm": "1.22.7",
34
- "@tamagui/react-native-svg": "1.22.7",
35
- "@tamagui/static": "1.22.7",
32
+ "@tamagui/fake-react-native": "1.22.9",
33
+ "@tamagui/proxy-worm": "1.22.9",
34
+ "@tamagui/react-native-svg": "1.22.9",
35
+ "@tamagui/static": "1.22.9",
36
36
  "esbuild": "^0.17.17",
37
37
  "fs-extra": "^11.1.0",
38
38
  "lodash": "^4.17.21",
@@ -41,7 +41,7 @@
41
41
  "rollup": ">=3.7.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@tamagui/build": "1.22.7",
44
+ "@tamagui/build": "1.22.9",
45
45
  "vite-plugin-environment": "^1.1.3"
46
46
  },
47
47
  "publishConfig": {
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from './plugin.js'
2
- export * from './extract.js'
3
- export * from './native.js'
4
- export * from './nativePrebuild.js'
1
+ export * from './plugin'
2
+ export * from './extract'
3
+ export * from './native'
4
+ export * from './nativePrebuild'
package/src/native.ts CHANGED
@@ -5,7 +5,7 @@ import { esbuildFlowPlugin } from '@bunchtogether/vite-plugin-flow'
5
5
  import { OutputOptions } from 'rollup'
6
6
  import type { Plugin } from 'vite'
7
7
 
8
- import { extensions } from './extensions.js'
8
+ import { extensions } from './extensions'
9
9
 
10
10
  export function nativePlugin(): Plugin {
11
11
  return {
@@ -3,7 +3,7 @@ import { readFile } from 'fs/promises'
3
3
  import { build } from 'esbuild'
4
4
  import flowRemoveTypes from 'flow-remove-types'
5
5
 
6
- import { extensions } from './extensions.js'
6
+ import { extensions } from './extensions'
7
7
 
8
8
  export async function nativePrebuild() {
9
9
  console.log(`Prebuilding React Native (one time cost...)`)
package/types/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export * from './plugin.js';
2
- export * from './extract.js';
3
- export * from './native.js';
4
- export * from './nativePrebuild.js';
1
+ export * from './plugin';
2
+ export * from './extract';
3
+ export * from './native';
4
+ export * from './nativePrebuild';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA"}