@walkeros/transformer-demo 0.6.1
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.mts +62 -0
- package/dist/index.d.ts +62 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +44 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Transformer as Transformer$1 } from '@walkeros/core';
|
|
2
|
+
|
|
3
|
+
interface Settings {
|
|
4
|
+
name?: string;
|
|
5
|
+
/** Fields to log from the event (dot notation paths). If omitted, logs entire event. */
|
|
6
|
+
fields?: string[];
|
|
7
|
+
/** If true, modifies the event by adding a 'processed' flag. */
|
|
8
|
+
addProcessedFlag?: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface Env extends Transformer$1.BaseEnv {
|
|
11
|
+
log?: (msg: string) => void;
|
|
12
|
+
}
|
|
13
|
+
type Types = Transformer$1.Types<Settings, Env>;
|
|
14
|
+
type Transformer = Transformer$1.Instance<Types>;
|
|
15
|
+
type Config = Transformer$1.Config<Types>;
|
|
16
|
+
type InitFn = Transformer$1.InitFn<Types>;
|
|
17
|
+
type Fn = Transformer$1.Fn<Types>;
|
|
18
|
+
|
|
19
|
+
type types_Config = Config;
|
|
20
|
+
type types_Env = Env;
|
|
21
|
+
type types_Fn = Fn;
|
|
22
|
+
type types_InitFn = InitFn;
|
|
23
|
+
type types_Settings = Settings;
|
|
24
|
+
type types_Transformer = Transformer;
|
|
25
|
+
type types_Types = Types;
|
|
26
|
+
declare namespace types {
|
|
27
|
+
export type { types_Config as Config, types_Env as Env, types_Fn as Fn, types_InitFn as InitFn, types_Settings as Settings, types_Transformer as Transformer, types_Types as Types };
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare const init: Env | undefined;
|
|
31
|
+
declare const push: Env;
|
|
32
|
+
/**
|
|
33
|
+
* Simulation tracking paths
|
|
34
|
+
*/
|
|
35
|
+
declare const simulation: string[];
|
|
36
|
+
|
|
37
|
+
declare const env_init: typeof init;
|
|
38
|
+
declare const env_push: typeof push;
|
|
39
|
+
declare const env_simulation: typeof simulation;
|
|
40
|
+
declare namespace env {
|
|
41
|
+
export { env_init as init, env_push as push, env_simulation as simulation };
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare const index_env: typeof env;
|
|
45
|
+
declare namespace index {
|
|
46
|
+
export { index_env as env };
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Demo transformer for walkerOS
|
|
51
|
+
*
|
|
52
|
+
* Logs events using env.log (or console.log fallback) and passes them through.
|
|
53
|
+
* Perfect for testing and demonstrations without external dependencies.
|
|
54
|
+
*
|
|
55
|
+
* Configuration options:
|
|
56
|
+
* - name: Custom name for logging prefix (default: 'transformer-demo')
|
|
57
|
+
* - fields: Array of dot-notation paths to log from the event (default: entire event)
|
|
58
|
+
* - addProcessedFlag: If true, adds a 'processed' flag to the event data
|
|
59
|
+
*/
|
|
60
|
+
declare const transformerDemo: Transformer$1.Init<Types>;
|
|
61
|
+
|
|
62
|
+
export { types as TransformerDemo, transformerDemo as default, index as examples, transformerDemo };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Transformer as Transformer$1 } from '@walkeros/core';
|
|
2
|
+
|
|
3
|
+
interface Settings {
|
|
4
|
+
name?: string;
|
|
5
|
+
/** Fields to log from the event (dot notation paths). If omitted, logs entire event. */
|
|
6
|
+
fields?: string[];
|
|
7
|
+
/** If true, modifies the event by adding a 'processed' flag. */
|
|
8
|
+
addProcessedFlag?: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface Env extends Transformer$1.BaseEnv {
|
|
11
|
+
log?: (msg: string) => void;
|
|
12
|
+
}
|
|
13
|
+
type Types = Transformer$1.Types<Settings, Env>;
|
|
14
|
+
type Transformer = Transformer$1.Instance<Types>;
|
|
15
|
+
type Config = Transformer$1.Config<Types>;
|
|
16
|
+
type InitFn = Transformer$1.InitFn<Types>;
|
|
17
|
+
type Fn = Transformer$1.Fn<Types>;
|
|
18
|
+
|
|
19
|
+
type types_Config = Config;
|
|
20
|
+
type types_Env = Env;
|
|
21
|
+
type types_Fn = Fn;
|
|
22
|
+
type types_InitFn = InitFn;
|
|
23
|
+
type types_Settings = Settings;
|
|
24
|
+
type types_Transformer = Transformer;
|
|
25
|
+
type types_Types = Types;
|
|
26
|
+
declare namespace types {
|
|
27
|
+
export type { types_Config as Config, types_Env as Env, types_Fn as Fn, types_InitFn as InitFn, types_Settings as Settings, types_Transformer as Transformer, types_Types as Types };
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare const init: Env | undefined;
|
|
31
|
+
declare const push: Env;
|
|
32
|
+
/**
|
|
33
|
+
* Simulation tracking paths
|
|
34
|
+
*/
|
|
35
|
+
declare const simulation: string[];
|
|
36
|
+
|
|
37
|
+
declare const env_init: typeof init;
|
|
38
|
+
declare const env_push: typeof push;
|
|
39
|
+
declare const env_simulation: typeof simulation;
|
|
40
|
+
declare namespace env {
|
|
41
|
+
export { env_init as init, env_push as push, env_simulation as simulation };
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare const index_env: typeof env;
|
|
45
|
+
declare namespace index {
|
|
46
|
+
export { index_env as env };
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Demo transformer for walkerOS
|
|
51
|
+
*
|
|
52
|
+
* Logs events using env.log (or console.log fallback) and passes them through.
|
|
53
|
+
* Perfect for testing and demonstrations without external dependencies.
|
|
54
|
+
*
|
|
55
|
+
* Configuration options:
|
|
56
|
+
* - name: Custom name for logging prefix (default: 'transformer-demo')
|
|
57
|
+
* - fields: Array of dot-notation paths to log from the event (default: entire event)
|
|
58
|
+
* - addProcessedFlag: If true, adds a 'processed' flag to the event data
|
|
59
|
+
*/
|
|
60
|
+
declare const transformerDemo: Transformer$1.Init<Types>;
|
|
61
|
+
|
|
62
|
+
export { types as TransformerDemo, transformerDemo as default, index as examples, transformerDemo };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e,o=Object.defineProperty,t=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,s=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})},a={};s(a,{TransformerDemo:()=>i,default:()=>m,examples:()=>l,transformerDemo:()=>u}),module.exports=(e=a,((e,s,a,i)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let l of r(s))n.call(e,l)||l===a||o(e,l,{get:()=>s[l],enumerable:!(i=t(s,l))||i.enumerable});return e})(o({},"__esModule",{value:!0}),e));var i={},l={};s(l,{env:()=>c});var c={};s(c,{init:()=>g,push:()=>d,simulation:()=>f});var g={log:void 0},d={log:Object.assign(()=>{},{})},f=["call:log"],u=e=>{const{config:o,env:t}=e,r={name:"transformer-demo",...o?.settings};return{type:"demo",config:{...o,settings:r},init(e){const o=t?.log||console.log;e.logger.debug("initialized"),o(`[${r.name}] initialized`)},push(e,o){const n=t?.log||console.log,s=r.fields?function(e,o){const t={};for(const r of o){const o=r.split(".").reduce((e,o)=>e?.[o],e);void 0!==o&&(t[r]=o)}return t}(e,r.fields):e;if(n(`[${r.name}] ${JSON.stringify(s,null,2)}`),o.logger.debug("processed event",{event:e.name}),r.addProcessedFlag)return{...e,data:{...e.data||{},_processed:!0,_processedBy:r.name}}}}};var m=u;//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/types.ts","../src/examples/index.ts","../src/examples/env.ts"],"sourcesContent":["import type { Transformer, WalkerOS } from '@walkeros/core';\nimport type { Types } from './types';\n\nexport * as TransformerDemo from './types';\nexport * as examples from './examples';\n\n/**\n * Demo transformer for walkerOS\n *\n * Logs events using env.log (or console.log fallback) and passes them through.\n * Perfect for testing and demonstrations without external dependencies.\n *\n * Configuration options:\n * - name: Custom name for logging prefix (default: 'transformer-demo')\n * - fields: Array of dot-notation paths to log from the event (default: entire event)\n * - addProcessedFlag: If true, adds a 'processed' flag to the event data\n */\nexport const transformerDemo: Transformer.Init<Types> = (initContext) => {\n const { config, env } = initContext;\n const settings = {\n name: 'transformer-demo',\n ...config?.settings,\n };\n\n return {\n type: 'demo',\n config: { ...config, settings },\n\n init(context: Transformer.Context<Types>) {\n // eslint-disable-next-line no-console\n const log = env?.log || console.log;\n context.logger.debug('initialized');\n log(`[${settings.name}] initialized`);\n },\n\n push(\n event: WalkerOS.DeepPartialEvent,\n context: Transformer.Context<Types>,\n ) {\n // eslint-disable-next-line no-console\n const log = env?.log || console.log;\n\n const output = settings.fields\n ? extractValues(\n event as unknown as Record<string, unknown>,\n settings.fields,\n )\n : event;\n\n log(`[${settings.name}] ${JSON.stringify(output, null, 2)}`);\n context.logger.debug('processed event', {\n event: (event as { name?: string }).name,\n });\n\n // Optionally modify the event\n if (settings.addProcessedFlag) {\n return {\n ...event,\n data: {\n ...(event.data || {}),\n _processed: true,\n _processedBy: settings.name,\n },\n } as WalkerOS.DeepPartialEvent;\n }\n\n // Return void for passthrough (event unchanged)\n return;\n },\n };\n};\n\n/**\n * Extract values from object using dot notation paths\n */\nfunction extractValues(\n obj: Record<string, unknown>,\n paths: string[],\n): Record<string, unknown> {\n const result: Record<string, unknown> = {};\n\n for (const path of paths) {\n const value = path\n .split('.')\n .reduce<unknown>(\n (acc, key) => (acc as Record<string, unknown>)?.[key],\n obj,\n );\n if (value !== undefined) {\n result[path] = value;\n }\n }\n\n return result;\n}\n\nexport default transformerDemo;\n","import type { Transformer as CoreTransformer } from '@walkeros/core';\n\nexport interface Settings {\n name?: string;\n /** Fields to log from the event (dot notation paths). If omitted, logs entire event. */\n fields?: string[];\n /** If true, modifies the event by adding a 'processed' flag. */\n addProcessedFlag?: boolean;\n}\n\nexport interface Env extends CoreTransformer.BaseEnv {\n log?: (msg: string) => void;\n}\n\nexport type Types = CoreTransformer.Types<Settings, Env>;\n\nexport type Transformer = CoreTransformer.Instance<Types>;\nexport type Config = CoreTransformer.Config<Types>;\nexport type InitFn = CoreTransformer.InitFn<Types>;\nexport type Fn = CoreTransformer.Fn<Types>;\n","export * as env from './env';\n","import type { Env } from '../types';\n\n/**\n * Example environment configurations for transformer demo\n */\n\nconst noop = () => {};\n\nexport const init: Env | undefined = {\n log: undefined,\n};\n\nexport const push: Env = {\n log: Object.assign(noop, {}) as Env['log'],\n};\n\n/**\n * Simulation tracking paths\n */\nexport const simulation = ['call:log'];\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;;;ACAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,IAAM,OAAO,MAAM;AAAC;AAEb,IAAM,OAAwB;AAAA,EACnC,KAAK;AACP;AAEO,IAAM,OAAY;AAAA,EACvB,KAAK,OAAO,OAAO,MAAM,CAAC,CAAC;AAC7B;AAKO,IAAM,aAAa,CAAC,UAAU;;;AHF9B,IAAM,kBAA2C,CAAC,gBAAgB;AACvE,QAAM,EAAE,QAAQ,IAAI,IAAI;AACxB,QAAM,WAAW;AAAA,IACf,MAAM;AAAA,IACN,GAAG,QAAQ;AAAA,EACb;AAEA,SAAO;AAAA,IACL,MAAM;AAAA,IACN,QAAQ,EAAE,GAAG,QAAQ,SAAS;AAAA,IAE9B,KAAK,SAAqC;AAExC,YAAM,MAAM,KAAK,OAAO,QAAQ;AAChC,cAAQ,OAAO,MAAM,aAAa;AAClC,UAAI,IAAI,SAAS,IAAI,eAAe;AAAA,IACtC;AAAA,IAEA,KACE,OACA,SACA;AAEA,YAAM,MAAM,KAAK,OAAO,QAAQ;AAEhC,YAAM,SAAS,SAAS,SACpB;AAAA,QACE;AAAA,QACA,SAAS;AAAA,MACX,IACA;AAEJ,UAAI,IAAI,SAAS,IAAI,KAAK,KAAK,UAAU,QAAQ,MAAM,CAAC,CAAC,EAAE;AAC3D,cAAQ,OAAO,MAAM,mBAAmB;AAAA,QACtC,OAAQ,MAA4B;AAAA,MACtC,CAAC;AAGD,UAAI,SAAS,kBAAkB;AAC7B,eAAO;AAAA,UACL,GAAG;AAAA,UACH,MAAM;AAAA,YACJ,GAAI,MAAM,QAAQ,CAAC;AAAA,YACnB,YAAY;AAAA,YACZ,cAAc,SAAS;AAAA,UACzB;AAAA,QACF;AAAA,MACF;AAGA;AAAA,IACF;AAAA,EACF;AACF;AAKA,SAAS,cACP,KACA,OACyB;AACzB,QAAM,SAAkC,CAAC;AAEzC,aAAW,QAAQ,OAAO;AACxB,UAAM,QAAQ,KACX,MAAM,GAAG,EACT;AAAA,MACC,CAAC,KAAK,QAAS,MAAkC,GAAG;AAAA,MACpD;AAAA,IACF;AACF,QAAI,UAAU,QAAW;AACvB,aAAO,IAAI,IAAI;AAAA,IACjB;AAAA,EACF;AAEA,SAAO;AACT;AAEA,IAAO,gBAAQ;","names":[]}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.defineProperty,n=(n,o)=>{for(var s in o)e(n,s,{get:o[s],enumerable:!0})},o={},s={};n(s,{env:()=>t});var t={};n(t,{init:()=>r,push:()=>i,simulation:()=>a});var r={log:void 0},i={log:Object.assign(()=>{},{})},a=["call:log"],l=e=>{const{config:n,env:o}=e,s={name:"transformer-demo",...n?.settings};return{type:"demo",config:{...n,settings:s},init(e){const n=o?.log||console.log;e.logger.debug("initialized"),n(`[${s.name}] initialized`)},push(e,n){const t=o?.log||console.log,r=s.fields?function(e,n){const o={};for(const s of n){const n=s.split(".").reduce((e,n)=>e?.[n],e);void 0!==n&&(o[s]=n)}return o}(e,s.fields):e;if(t(`[${s.name}] ${JSON.stringify(r,null,2)}`),n.logger.debug("processed event",{event:e.name}),s.addProcessedFlag)return{...e,data:{...e.data||{},_processed:!0,_processedBy:s.name}}}}};var d=l;export{o as TransformerDemo,d as default,s as examples,l as transformerDemo};//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/types.ts","../src/examples/index.ts","../src/examples/env.ts","../src/index.ts"],"sourcesContent":["import type { Transformer as CoreTransformer } from '@walkeros/core';\n\nexport interface Settings {\n name?: string;\n /** Fields to log from the event (dot notation paths). If omitted, logs entire event. */\n fields?: string[];\n /** If true, modifies the event by adding a 'processed' flag. */\n addProcessedFlag?: boolean;\n}\n\nexport interface Env extends CoreTransformer.BaseEnv {\n log?: (msg: string) => void;\n}\n\nexport type Types = CoreTransformer.Types<Settings, Env>;\n\nexport type Transformer = CoreTransformer.Instance<Types>;\nexport type Config = CoreTransformer.Config<Types>;\nexport type InitFn = CoreTransformer.InitFn<Types>;\nexport type Fn = CoreTransformer.Fn<Types>;\n","export * as env from './env';\n","import type { Env } from '../types';\n\n/**\n * Example environment configurations for transformer demo\n */\n\nconst noop = () => {};\n\nexport const init: Env | undefined = {\n log: undefined,\n};\n\nexport const push: Env = {\n log: Object.assign(noop, {}) as Env['log'],\n};\n\n/**\n * Simulation tracking paths\n */\nexport const simulation = ['call:log'];\n","import type { Transformer, WalkerOS } from '@walkeros/core';\nimport type { Types } from './types';\n\nexport * as TransformerDemo from './types';\nexport * as examples from './examples';\n\n/**\n * Demo transformer for walkerOS\n *\n * Logs events using env.log (or console.log fallback) and passes them through.\n * Perfect for testing and demonstrations without external dependencies.\n *\n * Configuration options:\n * - name: Custom name for logging prefix (default: 'transformer-demo')\n * - fields: Array of dot-notation paths to log from the event (default: entire event)\n * - addProcessedFlag: If true, adds a 'processed' flag to the event data\n */\nexport const transformerDemo: Transformer.Init<Types> = (initContext) => {\n const { config, env } = initContext;\n const settings = {\n name: 'transformer-demo',\n ...config?.settings,\n };\n\n return {\n type: 'demo',\n config: { ...config, settings },\n\n init(context: Transformer.Context<Types>) {\n // eslint-disable-next-line no-console\n const log = env?.log || console.log;\n context.logger.debug('initialized');\n log(`[${settings.name}] initialized`);\n },\n\n push(\n event: WalkerOS.DeepPartialEvent,\n context: Transformer.Context<Types>,\n ) {\n // eslint-disable-next-line no-console\n const log = env?.log || console.log;\n\n const output = settings.fields\n ? extractValues(\n event as unknown as Record<string, unknown>,\n settings.fields,\n )\n : event;\n\n log(`[${settings.name}] ${JSON.stringify(output, null, 2)}`);\n context.logger.debug('processed event', {\n event: (event as { name?: string }).name,\n });\n\n // Optionally modify the event\n if (settings.addProcessedFlag) {\n return {\n ...event,\n data: {\n ...(event.data || {}),\n _processed: true,\n _processedBy: settings.name,\n },\n } as WalkerOS.DeepPartialEvent;\n }\n\n // Return void for passthrough (event unchanged)\n return;\n },\n };\n};\n\n/**\n * Extract values from object using dot notation paths\n */\nfunction extractValues(\n obj: Record<string, unknown>,\n paths: string[],\n): Record<string, unknown> {\n const result: Record<string, unknown> = {};\n\n for (const path of paths) {\n const value = path\n .split('.')\n .reduce<unknown>(\n (acc, key) => (acc as Record<string, unknown>)?.[key],\n obj,\n );\n if (value !== undefined) {\n result[path] = value;\n }\n }\n\n return result;\n}\n\nexport default transformerDemo;\n"],"mappings":";;;;;;;AAAA;;;ACAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,IAAM,OAAO,MAAM;AAAC;AAEb,IAAM,OAAwB;AAAA,EACnC,KAAK;AACP;AAEO,IAAM,OAAY;AAAA,EACvB,KAAK,OAAO,OAAO,MAAM,CAAC,CAAC;AAC7B;AAKO,IAAM,aAAa,CAAC,UAAU;;;ACF9B,IAAM,kBAA2C,CAAC,gBAAgB;AACvE,QAAM,EAAE,QAAQ,IAAI,IAAI;AACxB,QAAM,WAAW;AAAA,IACf,MAAM;AAAA,IACN,GAAG,QAAQ;AAAA,EACb;AAEA,SAAO;AAAA,IACL,MAAM;AAAA,IACN,QAAQ,EAAE,GAAG,QAAQ,SAAS;AAAA,IAE9B,KAAK,SAAqC;AAExC,YAAM,MAAM,KAAK,OAAO,QAAQ;AAChC,cAAQ,OAAO,MAAM,aAAa;AAClC,UAAI,IAAI,SAAS,IAAI,eAAe;AAAA,IACtC;AAAA,IAEA,KACE,OACA,SACA;AAEA,YAAM,MAAM,KAAK,OAAO,QAAQ;AAEhC,YAAM,SAAS,SAAS,SACpB;AAAA,QACE;AAAA,QACA,SAAS;AAAA,MACX,IACA;AAEJ,UAAI,IAAI,SAAS,IAAI,KAAK,KAAK,UAAU,QAAQ,MAAM,CAAC,CAAC,EAAE;AAC3D,cAAQ,OAAO,MAAM,mBAAmB;AAAA,QACtC,OAAQ,MAA4B;AAAA,MACtC,CAAC;AAGD,UAAI,SAAS,kBAAkB;AAC7B,eAAO;AAAA,UACL,GAAG;AAAA,UACH,MAAM;AAAA,YACJ,GAAI,MAAM,QAAQ,CAAC;AAAA,YACnB,YAAY;AAAA,YACZ,cAAc,SAAS;AAAA,UACzB;AAAA,QACF;AAAA,MACF;AAGA;AAAA,IACF;AAAA,EACF;AACF;AAKA,SAAS,cACP,KACA,OACyB;AACzB,QAAM,SAAkC,CAAC;AAEzC,aAAW,QAAQ,OAAO;AACxB,UAAM,QAAQ,KACX,MAAM,GAAG,EACT;AAAA,MACC,CAAC,KAAK,QAAS,MAAkC,GAAG;AAAA,MACpD;AAAA,IACF;AACF,QAAI,UAAU,QAAW;AACvB,aAAO,IAAI,IAAI;AAAA,IACjB;AAAA,EACF;AAEA,SAAO;AACT;AAEA,IAAO,gBAAQ;","names":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@walkeros/transformer-demo",
|
|
3
|
+
"description": "Demo transformer for walkerOS - logs and passes through events",
|
|
4
|
+
"version": "0.6.1",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.mjs",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.mjs",
|
|
13
|
+
"require": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist/**"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsup --silent",
|
|
21
|
+
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
|
22
|
+
"dev": "jest --watchAll --colors",
|
|
23
|
+
"lint": "tsc && eslint \"**/*.ts*\"",
|
|
24
|
+
"test": "jest"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@walkeros/core": "0.7.0"
|
|
28
|
+
},
|
|
29
|
+
"repository": {
|
|
30
|
+
"url": "git+https://github.com/elbwalker/walkerOS.git",
|
|
31
|
+
"directory": "apps/demos/transformer"
|
|
32
|
+
},
|
|
33
|
+
"author": "elbwalker <hello@elbwalker.com>",
|
|
34
|
+
"homepage": "https://github.com/elbwalker/walkerOS#readme",
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://github.com/elbwalker/walkerOS/issues"
|
|
37
|
+
},
|
|
38
|
+
"keywords": [
|
|
39
|
+
"walker",
|
|
40
|
+
"walkerOS",
|
|
41
|
+
"transformer",
|
|
42
|
+
"demo"
|
|
43
|
+
]
|
|
44
|
+
}
|