@agimon-ai/po-style-system-tooling 0.2.14-alpha.31 → 0.2.14-alpha.32
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/cli.cjs +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shims/react-native-quick-base64.ts +7 -0
- package/dist/{stdio-BIiP42CT.mjs → stdio-CS_84Tnv.mjs} +13 -2
- package/dist/{stdio-BtinwvD7.cjs → stdio-hVaI6TRE.cjs} +13 -2
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { A as resolveStyleSystemThemePath, B as STYLE_SYSTEM_TYPES, F as TailwindCSSClassesService, P as DEFAULT_STYLE_SYSTEM_CONFIG, a as STYLE_SYSTEM_CLI_NAME, i as createServer$1, o as STYLE_SYSTEM_VERSION, r as generateRestrictedClassesConfig, s as createContainer, t as StdioTransportHandler, w as getAppDesignSystemConfig, y as getBundlerServiceFromConfig, z as log } from "./stdio-
|
|
2
|
+
import { A as resolveStyleSystemThemePath, B as STYLE_SYSTEM_TYPES, F as TailwindCSSClassesService, P as DEFAULT_STYLE_SYSTEM_CONFIG, a as STYLE_SYSTEM_CLI_NAME, i as createServer$1, o as STYLE_SYSTEM_VERSION, r as generateRestrictedClassesConfig, s as createContainer, t as StdioTransportHandler, w as getAppDesignSystemConfig, y as getBundlerServiceFromConfig, z as log } from "./stdio-CS_84Tnv.mjs";
|
|
3
3
|
import { promises } from "node:fs";
|
|
4
4
|
import path, { join } from "node:path";
|
|
5
5
|
import { z } from "zod";
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_stdio = require("./stdio-
|
|
2
|
+
const require_stdio = require("./stdio-hVaI6TRE.cjs");
|
|
3
3
|
let node_fs = require("node:fs");
|
|
4
4
|
let node_path = require("node:path");
|
|
5
5
|
node_path = require_stdio.__toESM(node_path, 1);
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as resolveStyleSystemThemePath, B as STYLE_SYSTEM_TYPES, C as launchBrowserWithFallback, D as resetStyleSystemConfigCache, E as hasStyleSystemProjectConfig, F as TailwindCSSClassesService, I as BaseCSSClassesService, L as TemplatesManagerService, M as StoriesIndexService, N as CSSClassesServiceFactory, O as resolveAppDesignSystemConfig, P as DEFAULT_STYLE_SYSTEM_CONFIG, R as isContained, S as BaseBundlerService, T as getSharedComponentTags, _ as createDefaultBundlerService, b as ViteReactNativeBundlerService, c as createStyleSystemModule, d as GetComponentVisualTool, f as GetCSSClassesTool, g as ThemeService, h as ComponentRendererService, i as createServer, j as MAX_STYLE_SYSTEM_VIEWPORT_DIMENSION, k as StyleSystemConfigLoader, l as ListAppComponentsTool, m as GetUiComponentService, n as extractCustomTokenNames, p as ListThemesTool, r as generateRestrictedClassesConfig, s as createContainer, t as StdioTransportHandler, u as ListSharedComponentsTool, v as getBundlerService, w as getAppDesignSystemConfig, x as ViteReactBundlerService, y as getBundlerServiceFromConfig, z as log } from "./stdio-
|
|
1
|
+
import { A as resolveStyleSystemThemePath, B as STYLE_SYSTEM_TYPES, C as launchBrowserWithFallback, D as resetStyleSystemConfigCache, E as hasStyleSystemProjectConfig, F as TailwindCSSClassesService, I as BaseCSSClassesService, L as TemplatesManagerService, M as StoriesIndexService, N as CSSClassesServiceFactory, O as resolveAppDesignSystemConfig, P as DEFAULT_STYLE_SYSTEM_CONFIG, R as isContained, S as BaseBundlerService, T as getSharedComponentTags, _ as createDefaultBundlerService, b as ViteReactNativeBundlerService, c as createStyleSystemModule, d as GetComponentVisualTool, f as GetCSSClassesTool, g as ThemeService, h as ComponentRendererService, i as createServer, j as MAX_STYLE_SYSTEM_VIEWPORT_DIMENSION, k as StyleSystemConfigLoader, l as ListAppComponentsTool, m as GetUiComponentService, n as extractCustomTokenNames, p as ListThemesTool, r as generateRestrictedClassesConfig, s as createContainer, t as StdioTransportHandler, u as ListSharedComponentsTool, v as getBundlerService, w as getAppDesignSystemConfig, x as ViteReactBundlerService, y as getBundlerServiceFromConfig, z as log } from "./stdio-CS_84Tnv.mjs";
|
|
2
2
|
import { promises } from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// The real package binds a JSI TurboModule at import; previews use the browser codec.
|
|
2
|
+
export const fromByteArray = (bytes: Uint8Array, urlSafe = false): string => {
|
|
3
|
+
const text = btoa(Array.from(bytes, (byte) => String.fromCharCode(byte)).join(''));
|
|
4
|
+
return urlSafe ? text.replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, '') : text;
|
|
5
|
+
};
|
|
6
|
+
export const toByteArray = (text: string): Uint8Array =>
|
|
7
|
+
Uint8Array.from(atob(text.replace(/-/g, '+').replace(/_/g, '/')), (char) => char.charCodeAt(0));
|
|
@@ -2660,6 +2660,7 @@ const JAVASCRIPT_EXTENSION = ".js";
|
|
|
2660
2660
|
const EXPO_VECTOR_ICONS_FALLBACK_CODEPOINT = 9633;
|
|
2661
2661
|
const EXPO_VECTOR_ICONS_SHIM_FILE = "expo-vector-icons.ts";
|
|
2662
2662
|
const EXPO_SYMBOLS_SHIM_FILE = "expo-symbols.ts";
|
|
2663
|
+
const QUICK_BASE64_SHIM_FILE = "react-native-quick-base64.ts";
|
|
2663
2664
|
const REQUIRED_REACT_NATIVE_SHIM_FILES = [EXPO_VECTOR_ICONS_SHIM_FILE, EXPO_SYMBOLS_SHIM_FILE];
|
|
2664
2665
|
const PACKAGE_JSON_SUBPATH = "package.json";
|
|
2665
2666
|
const REACT_NATIVE_UNISTYLES_WEB_INDEX = "lib/module/index.js";
|
|
@@ -2966,7 +2967,13 @@ var ViteReactNativeBundlerService = class ViteReactNativeBundlerService extends
|
|
|
2966
2967
|
{
|
|
2967
2968
|
name: REACT_NATIVE_OPTIMIZE_DEPS_PLUGIN_NAME,
|
|
2968
2969
|
config: (config) => ({ optimizeDeps: {
|
|
2969
|
-
rolldownOptions: {
|
|
2970
|
+
rolldownOptions: {
|
|
2971
|
+
resolve: { extensions: config.resolve?.extensions },
|
|
2972
|
+
moduleTypes: {
|
|
2973
|
+
".ts": "ts",
|
|
2974
|
+
".tsx": "tsx"
|
|
2975
|
+
}
|
|
2976
|
+
},
|
|
2970
2977
|
exclude: [
|
|
2971
2978
|
"@react-native-segmented-control/segmented-control",
|
|
2972
2979
|
SAFE_AREA_CONTEXT_PACKAGE,
|
|
@@ -3063,6 +3070,10 @@ const styleSystemSafeAreaMetrics = {
|
|
|
3063
3070
|
find: EXPO_SYMBOLS_PACKAGE,
|
|
3064
3071
|
replacement: path.join(shimsDir, EXPO_SYMBOLS_SHIM_FILE)
|
|
3065
3072
|
},
|
|
3073
|
+
{
|
|
3074
|
+
find: /^react-native-quick-base64$/,
|
|
3075
|
+
replacement: path.join(shimsDir, QUICK_BASE64_SHIM_FILE)
|
|
3076
|
+
},
|
|
3066
3077
|
{
|
|
3067
3078
|
find: STORYBOOK_REACT_NATIVE_PACKAGE,
|
|
3068
3079
|
replacement: STORYBOOK_REACT_PACKAGE
|
|
@@ -4714,7 +4725,7 @@ function createContainer(options) {
|
|
|
4714
4725
|
}
|
|
4715
4726
|
//#endregion
|
|
4716
4727
|
//#region package.json
|
|
4717
|
-
var version = "0.2.14-alpha.
|
|
4728
|
+
var version = "0.2.14-alpha.32";
|
|
4718
4729
|
//#endregion
|
|
4719
4730
|
//#region src/metadata.ts
|
|
4720
4731
|
const STYLE_SYSTEM_CLI_NAME = "style-system";
|
|
@@ -2688,6 +2688,7 @@ const JAVASCRIPT_EXTENSION = ".js";
|
|
|
2688
2688
|
const EXPO_VECTOR_ICONS_FALLBACK_CODEPOINT = 9633;
|
|
2689
2689
|
const EXPO_VECTOR_ICONS_SHIM_FILE = "expo-vector-icons.ts";
|
|
2690
2690
|
const EXPO_SYMBOLS_SHIM_FILE = "expo-symbols.ts";
|
|
2691
|
+
const QUICK_BASE64_SHIM_FILE = "react-native-quick-base64.ts";
|
|
2691
2692
|
const REQUIRED_REACT_NATIVE_SHIM_FILES = [EXPO_VECTOR_ICONS_SHIM_FILE, EXPO_SYMBOLS_SHIM_FILE];
|
|
2692
2693
|
const PACKAGE_JSON_SUBPATH = "package.json";
|
|
2693
2694
|
const REACT_NATIVE_UNISTYLES_WEB_INDEX = "lib/module/index.js";
|
|
@@ -2994,7 +2995,13 @@ var ViteReactNativeBundlerService = class ViteReactNativeBundlerService extends
|
|
|
2994
2995
|
{
|
|
2995
2996
|
name: REACT_NATIVE_OPTIMIZE_DEPS_PLUGIN_NAME,
|
|
2996
2997
|
config: (config) => ({ optimizeDeps: {
|
|
2997
|
-
rolldownOptions: {
|
|
2998
|
+
rolldownOptions: {
|
|
2999
|
+
resolve: { extensions: config.resolve?.extensions },
|
|
3000
|
+
moduleTypes: {
|
|
3001
|
+
".ts": "ts",
|
|
3002
|
+
".tsx": "tsx"
|
|
3003
|
+
}
|
|
3004
|
+
},
|
|
2998
3005
|
exclude: [
|
|
2999
3006
|
"@react-native-segmented-control/segmented-control",
|
|
3000
3007
|
SAFE_AREA_CONTEXT_PACKAGE,
|
|
@@ -3091,6 +3098,10 @@ const styleSystemSafeAreaMetrics = {
|
|
|
3091
3098
|
find: EXPO_SYMBOLS_PACKAGE,
|
|
3092
3099
|
replacement: node_path.default.join(shimsDir, EXPO_SYMBOLS_SHIM_FILE)
|
|
3093
3100
|
},
|
|
3101
|
+
{
|
|
3102
|
+
find: /^react-native-quick-base64$/,
|
|
3103
|
+
replacement: node_path.default.join(shimsDir, QUICK_BASE64_SHIM_FILE)
|
|
3104
|
+
},
|
|
3094
3105
|
{
|
|
3095
3106
|
find: STORYBOOK_REACT_NATIVE_PACKAGE,
|
|
3096
3107
|
replacement: STORYBOOK_REACT_PACKAGE
|
|
@@ -4742,7 +4753,7 @@ function createContainer(options) {
|
|
|
4742
4753
|
}
|
|
4743
4754
|
//#endregion
|
|
4744
4755
|
//#region package.json
|
|
4745
|
-
var version = "0.2.14-alpha.
|
|
4756
|
+
var version = "0.2.14-alpha.32";
|
|
4746
4757
|
//#endregion
|
|
4747
4758
|
//#region src/metadata.ts
|
|
4748
4759
|
const STYLE_SYSTEM_CLI_NAME = "style-system";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/po-style-system-tooling",
|
|
3
|
-
"version": "0.2.14-alpha.
|
|
3
|
+
"version": "0.2.14-alpha.32",
|
|
4
4
|
"description": "MCP server for exploring themes, Tailwind CSS classes, and UI components from Storybook with standalone component rendering capabilities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-system",
|