@lightningjs/solid
Advanced tools
Comparing version 0.8.3 to 0.8.4
@@ -251,3 +251,3 @@ import { createSignal, createEffect, mergeProps as mergeProps$1, createRoot, createRenderEffect, createMemo, createComponent as createComponent$1, untrack } from 'solid-js'; | ||
const isDev = import.meta?.env?.MODE === 'development'; | ||
const isDev = import.meta.env.MODE === 'development'; | ||
function log(msg, node, ...args) { | ||
@@ -1352,3 +1352,3 @@ if (isDev) { | ||
const loadInspector = import.meta?.env?.MODE === 'development'; | ||
const loadInspector = import.meta.env.MODE === 'development'; | ||
if (loadInspector) { | ||
@@ -1355,0 +1355,0 @@ attachInspector(); |
@@ -21,3 +21,3 @@ /* eslint-disable @typescript-eslint/unbound-method */ | ||
import universalInspector, { attachInspector, } from './universal/dom-inspector.js'; | ||
const loadInspector = import.meta?.env?.MODE === 'development'; | ||
const loadInspector = import.meta.env.MODE === 'development'; | ||
if (loadInspector) { | ||
@@ -24,0 +24,0 @@ attachInspector(); |
@@ -19,3 +19,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
import { config } from '../config.js'; | ||
const isDev = import.meta?.env?.MODE === 'development'; | ||
const isDev = import.meta.env.MODE === 'development'; | ||
export function log(msg, node, ...args) { | ||
@@ -22,0 +22,0 @@ if (isDev) { |
@@ -52,5 +52,5 @@ import { type AnimationSettings, type Dimensions, type INode, type INodeWritableProps, type ITextNodeWritableProps } from '@lightningjs/renderer'; | ||
} | ||
export type StyleSheet = IntrinsicNodeStyleProps; | ||
export type NodeStyles = IntrinsicNodeStyleProps; | ||
export type TextStyles = IntrinsicTextNodeStyleProps; | ||
export type NodeProps = IntrinsicNodeProps; | ||
export type TextProps = IntrinsicTextProps; |
{ | ||
"name": "@lightningjs/solid", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"description": "Lightning renderer for solid universal", | ||
@@ -20,3 +20,3 @@ "type": "module", | ||
"scripts": { | ||
"start": "npm run dev", | ||
"start": "npm run watch", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
@@ -32,3 +32,2 @@ "lint": "npm run lint:prettier && npm run lint:eslint", | ||
"watch": "tsc -w", | ||
"dev": "concurrently -c \"auto\" \"npm:watch\" \"npm:vite\"", | ||
"prepare": "husky install", | ||
@@ -35,0 +34,0 @@ "prepack": "npm run build" |
@@ -27,3 +27,3 @@ /* eslint-disable @typescript-eslint/unbound-method */ | ||
const loadInspector = import.meta?.env?.MODE === 'development'; | ||
const loadInspector = import.meta.env.MODE === 'development'; | ||
if (loadInspector) { | ||
@@ -30,0 +30,0 @@ attachInspector(); |
@@ -22,3 +22,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
const isDev = import.meta?.env?.MODE === 'development'; | ||
const isDev = import.meta.env.MODE === 'development'; | ||
export function log(msg: string, node: SolidNode, ...args: any[]) { | ||
@@ -25,0 +25,0 @@ if (isDev) { |
@@ -98,5 +98,5 @@ /* | ||
export type StyleSheet = IntrinsicNodeStyleProps; | ||
export type NodeStyles = IntrinsicNodeStyleProps; | ||
export type TextStyles = IntrinsicTextNodeStyleProps; | ||
export type NodeProps = IntrinsicNodeProps; | ||
export type TextProps = IntrinsicTextProps; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
282353