@powerlines/plugin-tamagui 0.1.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.
- package/LICENSE +201 -0
- package/README.md +294 -0
- package/dist/index-yWl_OgyO.d.cts +1440 -0
- package/dist/index-yWl_OgyO.d.ts +1440 -0
- package/dist/index.cjs +13 -0
- package/dist/index.d.cts +31 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +13 -0
- package/dist/types/index.cjs +1 -0
- package/dist/types/index.d.cts +20 -0
- package/dist/types/index.d.ts +20 -0
- package/dist/types/index.js +1 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +20 -0
- package/dist/types/plugin.d.ts +20 -0
- package/dist/types/plugin.js +0 -0
- package/package.json +118 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var resolve=require('@stryke/fs/resolve'),neutral=require('@stryke/hash/neutral'),join=require('@stryke/path/join'),R=require('@tamagui/static-worker'),I=require('defu'),getConfigPath=require('powerlines/plugin-utils/get-config-path'),paths=require('powerlines/plugin-utils/paths'),vite=require('vite'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var R__namespace=/*#__PURE__*/_interopNamespace(R);var I__default=/*#__PURE__*/_interopDefault(I);/*****************************************
|
|
2
|
+
*
|
|
3
|
+
* ⚡ Built by Storm Software
|
|
4
|
+
*
|
|
5
|
+
*****************************************/
|
|
6
|
+
|
|
7
|
+
var C=Object.defineProperty;var v=(g,s)=>C(g,"name",{value:s,configurable:true});const D=v((g={})=>{let s={},f=0;const T=v(()=>{s={},f=0;},"clearCompilerCache"),c=new Map;let l=null;return {name:"tamagui",async config(){const e=getConfigPath.getConfigPath(this,"tamagui"),t=await R.loadTamaguiBuildConfig(I__default.default({...g,components:[join.joinPaths("{projectRoot}","src/components")]},{config:e,disableExtraction:false,platform:"web",logTimings:this.config.logLevel==="debug"||this.config.logLevel==="trace",prefixLogs:"Powerlines"})),i=[];if(t.platform!=="native"&&(i.push({find:"react-native/Libraries/Renderer/shims/ReactFabric",replacement:await resolve.resolvePackage("@tamagui/proxy-worm")||"@tamagui/proxy-worm"}),i.push({find:"react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry",replacement:await resolve.resolvePackage("@tamagui/proxy-worm")||"@tamagui/proxy-worm"}),i.push({find:"react-native-svg",replacement:await resolve.resolvePackage("react-native-svg")||"react-native-svg"}),t?.useReactNativeWebLite)){i.push({find:"react-native",replacement:await resolve.resolvePackage("react-native-web-lite")||"react-native-web-lite"});const n=await resolve.resolvePackage(t?.useReactNativeWebLite==="without-animated"?"@tamagui/react-native-web-lite/without-animated":"@tamagui/react-native-web-lite")||t?.useReactNativeWebLite==="without-animated"?"@tamagui/react-native-web-lite/without-animated":"@tamagui/react-native-web-lite";i.push({find:/^react-native$/,replacement:n}),i.push({find:/^react-native\/(.+)$/,replacement:`${n}/$1`}),i.push({find:/^react-native-web$/,replacement:n}),i.push({find:/^react-native-web\/(.+)$/,replacement:`${n}/$1`}),i.push({find:/react-native.*\/dist\/exports\/StyleSheet\/compiler\/createReactDOMStyle/,replacement:await resolve.resolvePackage("@tamagui/react-native-web-lite/dist/exports/StyleSheet/compiler/createReactDOMStyle")||"@tamagui/react-native-web-lite/dist/exports/StyleSheet/compiler/createReactDOMStyle"});}return {tamagui:t,build:{platform:"browser",extensions:[".web.mjs",".web.js",".web.jsx",".web.ts",".web.tsx",".mjs",".js",".mts",".ts",".jsx",".tsx",".json"],define:{_frameTimestamp:void 0,_WORKLET:false,__DEV__:`${this.config.mode==="development"}`,"process.env.NODE_ENV":JSON.stringify(process.env.NODE_ENV||this.config.mode),"process.env.ENABLE_RSC":JSON.stringify(process.env.ENABLE_RSC||""),"process.env.ENABLE_STEPS":JSON.stringify(process.env.ENABLE_STEPS||""),"process.env.IS_STATIC":JSON.stringify(false),...this.config.mode==="production"&&{"process.env.TAMAGUI_OPTIMIZE_THEMES":JSON.stringify(true)}},alias:i}}},configEnvironment(e,t){return t.consumer==="client"||e==="client"?{build:{define:{"process.env.TAMAGUI_IS_CLIENT":JSON.stringify(true),"process.env.TAMAGUI_ENVIRONMENT":'"client"'}}}:null},configResolved(){if(!this.config.tamagui.components||this.config.tamagui.components.length===0)throw new Error("Tamagui Plugin: No components paths defined in Tamagui configuration. Please ensure that the 'components' option is set correctly.");this.config.tamagui.components=this.config.tamagui.components.map(e=>paths.replacePathTokens(this,e)).filter(Boolean),this.config.build.variant==="vite"&&(this.config.build.optimizeDeps??={},this.config.build.optimizeDeps.include??=[],this.config.build.optimizeDeps.include.push("@tamagui/core/inject-styles"));},async resolveId(e){if(this.environment?.name&&(this.environment.name==="ios"||this.environment.name==="android")||this.config?.tamagui?.disableServerOptimization&&this.environment?.name&&this.environment.name!=="client")return;const[t,i]=e.split("?");if(!t?.endsWith(".tamagui.css"))return;let n=e;return e.startsWith(this.config.projectRoot)||(n=join.joinPaths(this.config.projectRoot,t)),c.has(n)?n+(i?`?${i}`:""):null},async load(e){if(this.config?.tamagui?.disableExtraction||this.environment?.name&&(this.environment.name==="ios"||this.environment.name==="android")||this.config?.tamagui?.disableServerOptimization&&this.environment?.name&&this.environment.name!=="client")return;const[t]=e.split("?");return t?c.get(t):null},transform:{order:"pre",async handler(e,t){if(t.includes("expo-linear-gradient"))return vite.transformWithEsbuild(e,t,{loader:"jsx",jsx:"automatic"});if(this.config?.tamagui?.disableExtraction||this.environment?.name&&(this.environment.name==="ios"||this.environment.name==="android")||this.config?.tamagui?.disableServerOptimization&&this.environment?.name&&this.environment.name!=="client")return;const[i]=t.split("?");if(!i?.endsWith(".tsx"))return;const n=e.indexOf("// "),{shouldDisable:w,shouldPrintDebug:x}=await R.getPragmaOptions({source:n>=0?e.slice(n):"",path:i});if(x&&this.trace(`Current file: ${t} in environment: ${this.environment?.name}, shouldDisable: ${w}
|
|
8
|
+
|
|
9
|
+
Original source:
|
|
10
|
+
${e}
|
|
11
|
+
|
|
12
|
+
`),w)return;const S=neutral.murmurhash({cacheEnv:this.environment.name==="client"||this.environment.name==="ssr"?"web":this.environment.name,code:e,id:t}),y=s[S];if(y)return y;let a;try{a=await R__namespace.extractToClassNames({source:e,sourcePath:i,options:this.config.tamagui,shouldPrintDebug:x});}catch(r){this.error(r instanceof Error?r.message:String(r));return}if(!a)return;const m=`${i}.tamagui.css`;let u=m;u.startsWith(this.config.projectRoot)||(u=join.joinPaths(this.config.projectRoot,m));let p=a.js;if(a.styles){if(this.addWatchFile(m),l&&c.has(u)&&l){const{moduleGraph:r}=l,E=r.getModulesByFile(m);if(E)for(const d of E)r.invalidateModule(d),d.lastHMRTimestamp=d.lastInvalidationTimestamp||Date.now();}p=`${p.toString()}
|
|
13
|
+
import "${m}";`,c.set(u,a.styles);}const h={code:p.toString(),map:a.map};return f+=h.code.length,f>26214400&&T(),s[S]=h,h}},async finalize(){await R__namespace?.destroyPool();},vite:{configureServer(e){l=e;}}}},"plugin");var ie=D;exports.default=ie;exports.plugin=D;Object.keys(types).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return types[k]}})});
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { T as TamaguiPluginContext, a as TamaguiPluginOptions, P as Plugin } from './index-yWl_OgyO.cjs';
|
|
2
|
+
export { c as TamaguiPluginResolvedConfig, b as TamaguiPluginUserConfig } from './index-yWl_OgyO.cjs';
|
|
3
|
+
import '@tamagui/types';
|
|
4
|
+
import '@storm-software/build-tools/types';
|
|
5
|
+
import '@storm-software/config-tools/types';
|
|
6
|
+
import '@storm-software/config/types';
|
|
7
|
+
import '@stryke/types/base';
|
|
8
|
+
import '@stryke/types/configuration';
|
|
9
|
+
import '@stryke/types/file';
|
|
10
|
+
import 'vite';
|
|
11
|
+
import '@stryke/env/get-env-paths';
|
|
12
|
+
import '@stryke/types/package-json';
|
|
13
|
+
import 'jiti';
|
|
14
|
+
import 'oxc-parser';
|
|
15
|
+
import 'semver';
|
|
16
|
+
import 'unplugin';
|
|
17
|
+
import '@stryke/types/tsconfig';
|
|
18
|
+
import 'typescript';
|
|
19
|
+
import '@stryke/json/types';
|
|
20
|
+
import 'node:fs';
|
|
21
|
+
import '@stryke/types/array';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Tamagui plugin for Powerlines.
|
|
25
|
+
*
|
|
26
|
+
* @param options - The Tamagui plugin user configuration options.
|
|
27
|
+
* @returns A Powerlines plugin that integrates Tamagui into an existing Powerlines project.
|
|
28
|
+
*/
|
|
29
|
+
declare const plugin: <TContext extends TamaguiPluginContext = TamaguiPluginContext>(options?: TamaguiPluginOptions) => Plugin<TContext>;
|
|
30
|
+
|
|
31
|
+
export { TamaguiPluginContext, TamaguiPluginOptions, plugin as default, plugin };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { T as TamaguiPluginContext, a as TamaguiPluginOptions, P as Plugin } from './index-yWl_OgyO.js';
|
|
2
|
+
export { c as TamaguiPluginResolvedConfig, b as TamaguiPluginUserConfig } from './index-yWl_OgyO.js';
|
|
3
|
+
import '@tamagui/types';
|
|
4
|
+
import '@storm-software/build-tools/types';
|
|
5
|
+
import '@storm-software/config-tools/types';
|
|
6
|
+
import '@storm-software/config/types';
|
|
7
|
+
import '@stryke/types/base';
|
|
8
|
+
import '@stryke/types/configuration';
|
|
9
|
+
import '@stryke/types/file';
|
|
10
|
+
import 'vite';
|
|
11
|
+
import '@stryke/env/get-env-paths';
|
|
12
|
+
import '@stryke/types/package-json';
|
|
13
|
+
import 'jiti';
|
|
14
|
+
import 'oxc-parser';
|
|
15
|
+
import 'semver';
|
|
16
|
+
import 'unplugin';
|
|
17
|
+
import '@stryke/types/tsconfig';
|
|
18
|
+
import 'typescript';
|
|
19
|
+
import '@stryke/json/types';
|
|
20
|
+
import 'node:fs';
|
|
21
|
+
import '@stryke/types/array';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Tamagui plugin for Powerlines.
|
|
25
|
+
*
|
|
26
|
+
* @param options - The Tamagui plugin user configuration options.
|
|
27
|
+
* @returns A Powerlines plugin that integrates Tamagui into an existing Powerlines project.
|
|
28
|
+
*/
|
|
29
|
+
declare const plugin: <TContext extends TamaguiPluginContext = TamaguiPluginContext>(options?: TamaguiPluginOptions) => Plugin<TContext>;
|
|
30
|
+
|
|
31
|
+
export { TamaguiPluginContext, TamaguiPluginOptions, plugin as default, plugin };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {resolvePackage}from'@stryke/fs/resolve';import {murmurhash}from'@stryke/hash/neutral';import {joinPaths}from'@stryke/path/join';import*as R from'@tamagui/static-worker';import {getPragmaOptions,loadTamaguiBuildConfig}from'@tamagui/static-worker';import I from'defu';import {getConfigPath}from'powerlines/plugin-utils/get-config-path';import {replacePathTokens}from'powerlines/plugin-utils/paths';import {transformWithEsbuild}from'vite';export*from'./types';/*****************************************
|
|
2
|
+
*
|
|
3
|
+
* ⚡ Built by Storm Software
|
|
4
|
+
*
|
|
5
|
+
*****************************************/
|
|
6
|
+
|
|
7
|
+
var C=Object.defineProperty;var v=(g,s)=>C(g,"name",{value:s,configurable:true});const D=v((g={})=>{let s={},f=0;const T=v(()=>{s={},f=0;},"clearCompilerCache"),c=new Map;let l=null;return {name:"tamagui",async config(){const e=getConfigPath(this,"tamagui"),t=await loadTamaguiBuildConfig(I({...g,components:[joinPaths("{projectRoot}","src/components")]},{config:e,disableExtraction:false,platform:"web",logTimings:this.config.logLevel==="debug"||this.config.logLevel==="trace",prefixLogs:"Powerlines"})),i=[];if(t.platform!=="native"&&(i.push({find:"react-native/Libraries/Renderer/shims/ReactFabric",replacement:await resolvePackage("@tamagui/proxy-worm")||"@tamagui/proxy-worm"}),i.push({find:"react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry",replacement:await resolvePackage("@tamagui/proxy-worm")||"@tamagui/proxy-worm"}),i.push({find:"react-native-svg",replacement:await resolvePackage("react-native-svg")||"react-native-svg"}),t?.useReactNativeWebLite)){i.push({find:"react-native",replacement:await resolvePackage("react-native-web-lite")||"react-native-web-lite"});const n=await resolvePackage(t?.useReactNativeWebLite==="without-animated"?"@tamagui/react-native-web-lite/without-animated":"@tamagui/react-native-web-lite")||t?.useReactNativeWebLite==="without-animated"?"@tamagui/react-native-web-lite/without-animated":"@tamagui/react-native-web-lite";i.push({find:/^react-native$/,replacement:n}),i.push({find:/^react-native\/(.+)$/,replacement:`${n}/$1`}),i.push({find:/^react-native-web$/,replacement:n}),i.push({find:/^react-native-web\/(.+)$/,replacement:`${n}/$1`}),i.push({find:/react-native.*\/dist\/exports\/StyleSheet\/compiler\/createReactDOMStyle/,replacement:await resolvePackage("@tamagui/react-native-web-lite/dist/exports/StyleSheet/compiler/createReactDOMStyle")||"@tamagui/react-native-web-lite/dist/exports/StyleSheet/compiler/createReactDOMStyle"});}return {tamagui:t,build:{platform:"browser",extensions:[".web.mjs",".web.js",".web.jsx",".web.ts",".web.tsx",".mjs",".js",".mts",".ts",".jsx",".tsx",".json"],define:{_frameTimestamp:void 0,_WORKLET:false,__DEV__:`${this.config.mode==="development"}`,"process.env.NODE_ENV":JSON.stringify(process.env.NODE_ENV||this.config.mode),"process.env.ENABLE_RSC":JSON.stringify(process.env.ENABLE_RSC||""),"process.env.ENABLE_STEPS":JSON.stringify(process.env.ENABLE_STEPS||""),"process.env.IS_STATIC":JSON.stringify(false),...this.config.mode==="production"&&{"process.env.TAMAGUI_OPTIMIZE_THEMES":JSON.stringify(true)}},alias:i}}},configEnvironment(e,t){return t.consumer==="client"||e==="client"?{build:{define:{"process.env.TAMAGUI_IS_CLIENT":JSON.stringify(true),"process.env.TAMAGUI_ENVIRONMENT":'"client"'}}}:null},configResolved(){if(!this.config.tamagui.components||this.config.tamagui.components.length===0)throw new Error("Tamagui Plugin: No components paths defined in Tamagui configuration. Please ensure that the 'components' option is set correctly.");this.config.tamagui.components=this.config.tamagui.components.map(e=>replacePathTokens(this,e)).filter(Boolean),this.config.build.variant==="vite"&&(this.config.build.optimizeDeps??={},this.config.build.optimizeDeps.include??=[],this.config.build.optimizeDeps.include.push("@tamagui/core/inject-styles"));},async resolveId(e){if(this.environment?.name&&(this.environment.name==="ios"||this.environment.name==="android")||this.config?.tamagui?.disableServerOptimization&&this.environment?.name&&this.environment.name!=="client")return;const[t,i]=e.split("?");if(!t?.endsWith(".tamagui.css"))return;let n=e;return e.startsWith(this.config.projectRoot)||(n=joinPaths(this.config.projectRoot,t)),c.has(n)?n+(i?`?${i}`:""):null},async load(e){if(this.config?.tamagui?.disableExtraction||this.environment?.name&&(this.environment.name==="ios"||this.environment.name==="android")||this.config?.tamagui?.disableServerOptimization&&this.environment?.name&&this.environment.name!=="client")return;const[t]=e.split("?");return t?c.get(t):null},transform:{order:"pre",async handler(e,t){if(t.includes("expo-linear-gradient"))return transformWithEsbuild(e,t,{loader:"jsx",jsx:"automatic"});if(this.config?.tamagui?.disableExtraction||this.environment?.name&&(this.environment.name==="ios"||this.environment.name==="android")||this.config?.tamagui?.disableServerOptimization&&this.environment?.name&&this.environment.name!=="client")return;const[i]=t.split("?");if(!i?.endsWith(".tsx"))return;const n=e.indexOf("// "),{shouldDisable:w,shouldPrintDebug:x}=await getPragmaOptions({source:n>=0?e.slice(n):"",path:i});if(x&&this.trace(`Current file: ${t} in environment: ${this.environment?.name}, shouldDisable: ${w}
|
|
8
|
+
|
|
9
|
+
Original source:
|
|
10
|
+
${e}
|
|
11
|
+
|
|
12
|
+
`),w)return;const S=murmurhash({cacheEnv:this.environment.name==="client"||this.environment.name==="ssr"?"web":this.environment.name,code:e,id:t}),y=s[S];if(y)return y;let a;try{a=await R.extractToClassNames({source:e,sourcePath:i,options:this.config.tamagui,shouldPrintDebug:x});}catch(r){this.error(r instanceof Error?r.message:String(r));return}if(!a)return;const m=`${i}.tamagui.css`;let u=m;u.startsWith(this.config.projectRoot)||(u=joinPaths(this.config.projectRoot,m));let p=a.js;if(a.styles){if(this.addWatchFile(m),l&&c.has(u)&&l){const{moduleGraph:r}=l,E=r.getModulesByFile(m);if(E)for(const d of E)r.invalidateModule(d),d.lastHMRTimestamp=d.lastInvalidationTimestamp||Date.now();}p=`${p.toString()}
|
|
13
|
+
import "${m}";`,c.set(u,a.styles);}const h={code:p.toString(),map:a.map};return f+=h.code.length,f>26214400&&T(),s[S]=h,h}},async finalize(){await R?.destroyPool();},vite:{configureServer(e){l=e;}}}},"plugin");var ne=D;export{ne as default,D as plugin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var plugin=require('./plugin');Object.keys(plugin).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return plugin[k]}})});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { T as TamaguiPluginContext, a as TamaguiPluginOptions, c as TamaguiPluginResolvedConfig, b as TamaguiPluginUserConfig } from '../index-yWl_OgyO.cjs';
|
|
2
|
+
import '@tamagui/types';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/base';
|
|
7
|
+
import '@stryke/types/configuration';
|
|
8
|
+
import '@stryke/types/file';
|
|
9
|
+
import 'vite';
|
|
10
|
+
import '@stryke/env/get-env-paths';
|
|
11
|
+
import '@stryke/types/package-json';
|
|
12
|
+
import 'jiti';
|
|
13
|
+
import 'oxc-parser';
|
|
14
|
+
import 'semver';
|
|
15
|
+
import 'unplugin';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'node:fs';
|
|
20
|
+
import '@stryke/types/array';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { T as TamaguiPluginContext, a as TamaguiPluginOptions, c as TamaguiPluginResolvedConfig, b as TamaguiPluginUserConfig } from '../index-yWl_OgyO.js';
|
|
2
|
+
import '@tamagui/types';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/base';
|
|
7
|
+
import '@stryke/types/configuration';
|
|
8
|
+
import '@stryke/types/file';
|
|
9
|
+
import 'vite';
|
|
10
|
+
import '@stryke/env/get-env-paths';
|
|
11
|
+
import '@stryke/types/package-json';
|
|
12
|
+
import 'jiti';
|
|
13
|
+
import 'oxc-parser';
|
|
14
|
+
import 'semver';
|
|
15
|
+
import 'unplugin';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'node:fs';
|
|
20
|
+
import '@stryke/types/array';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from'./plugin';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import '@tamagui/types';
|
|
2
|
+
export { T as TamaguiPluginContext, a as TamaguiPluginOptions, c as TamaguiPluginResolvedConfig, b as TamaguiPluginUserConfig } from '../index-yWl_OgyO.cjs';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/base';
|
|
7
|
+
import '@stryke/types/configuration';
|
|
8
|
+
import '@stryke/types/file';
|
|
9
|
+
import 'vite';
|
|
10
|
+
import '@stryke/env/get-env-paths';
|
|
11
|
+
import '@stryke/types/package-json';
|
|
12
|
+
import 'jiti';
|
|
13
|
+
import 'oxc-parser';
|
|
14
|
+
import 'semver';
|
|
15
|
+
import 'unplugin';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'node:fs';
|
|
20
|
+
import '@stryke/types/array';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import '@tamagui/types';
|
|
2
|
+
export { T as TamaguiPluginContext, a as TamaguiPluginOptions, c as TamaguiPluginResolvedConfig, b as TamaguiPluginUserConfig } from '../index-yWl_OgyO.js';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/base';
|
|
7
|
+
import '@stryke/types/configuration';
|
|
8
|
+
import '@stryke/types/file';
|
|
9
|
+
import 'vite';
|
|
10
|
+
import '@stryke/env/get-env-paths';
|
|
11
|
+
import '@stryke/types/package-json';
|
|
12
|
+
import 'jiti';
|
|
13
|
+
import 'oxc-parser';
|
|
14
|
+
import 'semver';
|
|
15
|
+
import 'unplugin';
|
|
16
|
+
import '@stryke/types/tsconfig';
|
|
17
|
+
import 'typescript';
|
|
18
|
+
import '@stryke/json/types';
|
|
19
|
+
import 'node:fs';
|
|
20
|
+
import '@stryke/types/array';
|
|
File without changes
|
package/package.json
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@powerlines/plugin-tamagui",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "A package containing the Tamagui plugin for Powerlines.",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "github",
|
|
8
|
+
"url": "https://github.com/storm-software/powerlines.git",
|
|
9
|
+
"directory": "packages/plugin-tamagui"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://stormsoftware.com",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://stormsoftware.com/support",
|
|
14
|
+
"email": "support@stormsoftware.com"
|
|
15
|
+
},
|
|
16
|
+
"author": {
|
|
17
|
+
"name": "Storm Software",
|
|
18
|
+
"email": "contact@stormsoftware.com",
|
|
19
|
+
"url": "https://stormsoftware.com"
|
|
20
|
+
},
|
|
21
|
+
"maintainers": [
|
|
22
|
+
{
|
|
23
|
+
"name": "Storm Software",
|
|
24
|
+
"email": "contact@stormsoftware.com",
|
|
25
|
+
"url": "https://stormsoftware.com"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"contributors": [
|
|
29
|
+
{
|
|
30
|
+
"name": "Storm Software",
|
|
31
|
+
"email": "contact@stormsoftware.com",
|
|
32
|
+
"url": "https://stormsoftware.com"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"funding": {
|
|
36
|
+
"type": "github",
|
|
37
|
+
"url": "https://github.com/sponsors/storm-software"
|
|
38
|
+
},
|
|
39
|
+
"license": "Apache-2.0",
|
|
40
|
+
"private": false,
|
|
41
|
+
"main": "dist/index.cjs",
|
|
42
|
+
"module": "dist/index.js",
|
|
43
|
+
"exports": {
|
|
44
|
+
"./package.json": "./package.json",
|
|
45
|
+
".": {
|
|
46
|
+
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
47
|
+
"require": {
|
|
48
|
+
"types": "./dist/index.d.cts",
|
|
49
|
+
"default": "./dist/index.cjs"
|
|
50
|
+
},
|
|
51
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
52
|
+
},
|
|
53
|
+
"./index": {
|
|
54
|
+
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
55
|
+
"require": {
|
|
56
|
+
"types": "./dist/index.d.cts",
|
|
57
|
+
"default": "./dist/index.cjs"
|
|
58
|
+
},
|
|
59
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
60
|
+
},
|
|
61
|
+
"./plugin": {
|
|
62
|
+
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
63
|
+
"require": {
|
|
64
|
+
"types": "./dist/index.d.cts",
|
|
65
|
+
"default": "./dist/index.cjs"
|
|
66
|
+
},
|
|
67
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
68
|
+
},
|
|
69
|
+
"./types": {
|
|
70
|
+
"import": {
|
|
71
|
+
"types": "./dist/types/index.d.ts",
|
|
72
|
+
"default": "./dist/types/index.js"
|
|
73
|
+
},
|
|
74
|
+
"require": {
|
|
75
|
+
"types": "./dist/types/index.d.cts",
|
|
76
|
+
"default": "./dist/types/index.cjs"
|
|
77
|
+
},
|
|
78
|
+
"default": {
|
|
79
|
+
"types": "./dist/types/index.d.ts",
|
|
80
|
+
"default": "./dist/types/index.js"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"./types/*": {
|
|
84
|
+
"import": {
|
|
85
|
+
"types": "./dist/types/*.d.ts",
|
|
86
|
+
"default": "./dist/types/*.js"
|
|
87
|
+
},
|
|
88
|
+
"require": {
|
|
89
|
+
"types": "./dist/types/*.d.cts",
|
|
90
|
+
"default": "./dist/types/*.cjs"
|
|
91
|
+
},
|
|
92
|
+
"default": {
|
|
93
|
+
"types": "./dist/types/*.d.ts",
|
|
94
|
+
"default": "./dist/types/*.js"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"typings": "dist/index.d.ts",
|
|
99
|
+
"files": ["dist/**/*"],
|
|
100
|
+
"keywords": ["tamagui", "powerlines", "storm-software", "powerlines-plugin"],
|
|
101
|
+
"dependencies": {
|
|
102
|
+
"@stryke/path": "^0.19.2",
|
|
103
|
+
"@stryke/fs": "^0.32.13",
|
|
104
|
+
"@stryke/hash": "^0.12.3",
|
|
105
|
+
"@tamagui/static-worker": "^1.138.0",
|
|
106
|
+
"defu": "^6.1.4",
|
|
107
|
+
"powerlines": "^0.21.0",
|
|
108
|
+
"typescript": "^5.9.3",
|
|
109
|
+
"vite": "^7.2.2"
|
|
110
|
+
},
|
|
111
|
+
"devDependencies": {
|
|
112
|
+
"@powerlines/nx": "^0.10.11",
|
|
113
|
+
"@tamagui/types": "^1.138.0",
|
|
114
|
+
"@types/node": "^22.19.1"
|
|
115
|
+
},
|
|
116
|
+
"publishConfig": { "access": "public" },
|
|
117
|
+
"gitHead": "c6ed2ca745c8f340a55758b3102933dc41e83428"
|
|
118
|
+
}
|