@powerlines/plugin-tamagui 0.1.643 → 0.1.645
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.d.cts +19 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +19 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -0
- package/dist/types/index.d.cts +2 -0
- package/dist/types/index.d.mts +2 -0
- package/dist/types/plugin.d.cts +30 -0
- package/dist/types/plugin.d.cts.map +1 -0
- package/dist/types/plugin.d.mts +30 -0
- package/dist/types/plugin.d.mts.map +1 -0
- package/package.json +9 -9
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TamaguiPluginContext, TamaguiPluginOptions, TamaguiPluginResolvedConfig, TamaguiPluginUserConfig } from "./types/plugin.cjs";
|
|
2
|
+
import "./types/index.cjs";
|
|
3
|
+
import { Plugin } from "powerlines";
|
|
4
|
+
//#region src/index.d.ts
|
|
5
|
+
declare module "powerlines" {
|
|
6
|
+
interface Config {
|
|
7
|
+
tamagui?: TamaguiPluginOptions;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Tamagui plugin for Powerlines.
|
|
12
|
+
*
|
|
13
|
+
* @param options - The Tamagui plugin user configuration options.
|
|
14
|
+
* @returns A Powerlines plugin that integrates Tamagui into an existing Powerlines project.
|
|
15
|
+
*/
|
|
16
|
+
declare const plugin: <TContext extends TamaguiPluginContext = TamaguiPluginContext>(options?: TamaguiPluginOptions) => Plugin<TContext>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { TamaguiPluginContext, TamaguiPluginOptions, TamaguiPluginResolvedConfig, TamaguiPluginUserConfig, plugin as default, plugin };
|
|
19
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAuCY;IACR,UAAU;;;;;;;;;cAUD,SACX,iBAAiB,uBAAuB,sBAExC,UAAS,yBACR,OAAO"}
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TamaguiPluginContext, TamaguiPluginOptions, TamaguiPluginResolvedConfig, TamaguiPluginUserConfig } from "./types/plugin.mjs";
|
|
2
|
+
import "./types/index.mjs";
|
|
3
|
+
import { Plugin } from "powerlines";
|
|
4
|
+
//#region src/index.d.ts
|
|
5
|
+
declare module "powerlines" {
|
|
6
|
+
interface Config {
|
|
7
|
+
tamagui?: TamaguiPluginOptions;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Tamagui plugin for Powerlines.
|
|
12
|
+
*
|
|
13
|
+
* @param options - The Tamagui plugin user configuration options.
|
|
14
|
+
* @returns A Powerlines plugin that integrates Tamagui into an existing Powerlines project.
|
|
15
|
+
*/
|
|
16
|
+
declare const plugin: <TContext extends TamaguiPluginContext = TamaguiPluginContext>(options?: TamaguiPluginOptions) => Plugin<TContext>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { TamaguiPluginContext, TamaguiPluginOptions, TamaguiPluginResolvedConfig, TamaguiPluginUserConfig, plugin as default, plugin };
|
|
19
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":""}
|
package/dist/index.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
|
+
import { TamaguiOptions } from "@tamagui/types";
|
|
3
|
+
//#region src/types/plugin.d.ts
|
|
4
|
+
type TamaguiPluginOptions = Partial<TamaguiOptions> & {
|
|
5
|
+
/**
|
|
6
|
+
* The target platform for the Tamagui build.
|
|
7
|
+
*
|
|
8
|
+
* @defaultValue "web"
|
|
9
|
+
*/
|
|
10
|
+
platform?: "web" | "native";
|
|
11
|
+
/**
|
|
12
|
+
* An array of component paths to include in the Tamagui build.
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* These paths can include glob patterns to match multiple files or directories and placeholder tokens (the `replacePathTokens` function will be applied to allow for dynamic path resolution).
|
|
16
|
+
*
|
|
17
|
+
* @defaultValue ["\{root\}/src/components"]
|
|
18
|
+
*/
|
|
19
|
+
components?: string[];
|
|
20
|
+
};
|
|
21
|
+
interface TamaguiPluginUserConfig extends UserConfig {
|
|
22
|
+
tamagui: TamaguiPluginOptions;
|
|
23
|
+
}
|
|
24
|
+
interface TamaguiPluginResolvedConfig extends ResolvedConfig {
|
|
25
|
+
tamagui: TamaguiOptions & Required<Pick<TamaguiPluginOptions, "platform">>;
|
|
26
|
+
}
|
|
27
|
+
type TamaguiPluginContext<TResolvedConfig extends TamaguiPluginResolvedConfig = TamaguiPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { TamaguiPluginContext, TamaguiPluginOptions, TamaguiPluginResolvedConfig, TamaguiPluginUserConfig };
|
|
30
|
+
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;KAqBY,uBAAuB,QAAQ;;;;;;EAMzC;;;;;;;;;EAUA;;UAGe,gCAAgC;EAC/C,SAAS;;UAGM,oCAAoC;EACnD,SAAS,iBAAiB,SAAS,KAAK;;KAG9B,qBACV,wBAAwB,8BACtB,+BACA,cAAc"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
|
+
import { TamaguiOptions } from "@tamagui/types";
|
|
3
|
+
//#region src/types/plugin.d.ts
|
|
4
|
+
type TamaguiPluginOptions = Partial<TamaguiOptions> & {
|
|
5
|
+
/**
|
|
6
|
+
* The target platform for the Tamagui build.
|
|
7
|
+
*
|
|
8
|
+
* @defaultValue "web"
|
|
9
|
+
*/
|
|
10
|
+
platform?: "web" | "native";
|
|
11
|
+
/**
|
|
12
|
+
* An array of component paths to include in the Tamagui build.
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* These paths can include glob patterns to match multiple files or directories and placeholder tokens (the `replacePathTokens` function will be applied to allow for dynamic path resolution).
|
|
16
|
+
*
|
|
17
|
+
* @defaultValue ["\{root\}/src/components"]
|
|
18
|
+
*/
|
|
19
|
+
components?: string[];
|
|
20
|
+
};
|
|
21
|
+
interface TamaguiPluginUserConfig extends UserConfig {
|
|
22
|
+
tamagui: TamaguiPluginOptions;
|
|
23
|
+
}
|
|
24
|
+
interface TamaguiPluginResolvedConfig extends ResolvedConfig {
|
|
25
|
+
tamagui: TamaguiOptions & Required<Pick<TamaguiPluginOptions, "platform">>;
|
|
26
|
+
}
|
|
27
|
+
type TamaguiPluginContext<TResolvedConfig extends TamaguiPluginResolvedConfig = TamaguiPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { TamaguiPluginContext, TamaguiPluginOptions, TamaguiPluginResolvedConfig, TamaguiPluginUserConfig };
|
|
30
|
+
//# sourceMappingURL=plugin.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-tamagui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.645",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing the Tamagui plugin for Powerlines.",
|
|
6
6
|
"keywords": ["tamagui", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -90,22 +90,22 @@
|
|
|
90
90
|
"typings": "dist/index.d.mts",
|
|
91
91
|
"files": ["dist/**/*"],
|
|
92
92
|
"dependencies": {
|
|
93
|
-
"@powerlines/plugin-vite": "
|
|
94
|
-
"@stryke/fs": "^0.33.
|
|
95
|
-
"@stryke/hash": "^0.13.
|
|
96
|
-
"@stryke/path": "^0.29.
|
|
97
|
-
"@stryke/string-format": "^0.17.
|
|
93
|
+
"@powerlines/plugin-vite": "0.14.648",
|
|
94
|
+
"@stryke/fs": "^0.33.109",
|
|
95
|
+
"@stryke/hash": "^0.13.62",
|
|
96
|
+
"@stryke/path": "^0.29.34",
|
|
97
|
+
"@stryke/string-format": "^0.17.49",
|
|
98
98
|
"@tamagui/static-worker": "^1.144.4",
|
|
99
99
|
"@tamagui/types": "^1.144.4",
|
|
100
100
|
"defu": "^6.1.7",
|
|
101
|
-
"powerlines": "
|
|
101
|
+
"powerlines": "0.47.194",
|
|
102
102
|
"typescript": "^6.0.3",
|
|
103
103
|
"vite": "^8.2.1"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
|
-
"@powerlines/plugin-plugin": "
|
|
106
|
+
"@powerlines/plugin-plugin": "0.12.606",
|
|
107
107
|
"@types/node": "^25.9.5"
|
|
108
108
|
},
|
|
109
109
|
"publishConfig": { "access": "public" },
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "ca37aa95827eddaaa3b5c8cb750249cc9045ac29"
|
|
111
111
|
}
|