bhooai-nexus 2.0.7 → 2.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bhooai-nexus",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "BhooAI Nexus - a Node-based full-stack framework (websockets, GraphQL federation, inbuilt security, custom ODM, OAuth, payments, WebRTC, AI, plugins). v2: multi-app, Laravel-style folders, Docker-based scaling.",
5
5
  "license": "MIT",
6
6
  "author": "BhooAI",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-admin",
3
- "version": "2.0.8",
3
+ "version": "2.0.11",
4
4
  "description": "BhooAI Nexus v2 admin SPA — Apps-tab-first, live registry/health/logs/config/users/payments/AI",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,4 +1,4 @@
1
- import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
1
+ import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
2
2
  import logoUrl from './assets/bhooai-nexus-logo.svg';
3
3
  import { Icon, isIconName, type IconName } from './icons.js';
4
4
  import { SafeGotoDialog, SafeGotoLink } from '@bhooai/nexus-safe-goto';
@@ -1,4 +1,4 @@
1
- import { createContext, useCallback, useContext, useEffect, useRef, useState, type ReactNode } from 'react';
1
+ import React, { createContext, useCallback, useContext, useEffect, useRef, useState, type ReactNode } from 'react';
2
2
  import { Icon, type IconName } from './icons.js';
3
3
 
4
4
  export type AlertKind = 'ok' | 'err' | 'warn';
@@ -1,4 +1,4 @@
1
- import type { ReactNode, SVGProps } from 'react';
1
+ import React, { type ReactNode, type SVGProps } from 'react';
2
2
 
3
3
  export type IconName =
4
4
  | 'house' | 'server' | 'terminal' | 'braces' | 'key' | 'puzzle' | 'users' | 'activity'
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-ads",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-ai-client",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-auth",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-cache",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-cli",
3
- "version": "2.0.8",
3
+ "version": "2.0.11",
4
4
  "description": "BhooAI Nexus v2 CLI — init, dev, build, test, scaffolding, plugins, queue, db.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,5 +1,10 @@
1
1
  import { createPreset } from '@bhooai/nexus-postcss';
2
2
 
3
3
  export default createPreset({
4
- extraContent: ['./src/**/*.{ts,tsx}'],
4
+ extraContent: [
5
+ './src/**/*.{ts,tsx}',
6
+ '../../node_modules/@bhooai/nexus-admin/src/**/*.{ts,tsx,js}',
7
+ './node_modules/@bhooai/nexus-admin/src/**/*.{ts,tsx,js}',
8
+ '../../../node_modules/@bhooai/nexus-admin/src/**/*.{ts,tsx,js}',
9
+ ],
5
10
  });
@@ -3,6 +3,10 @@ export default {
3
3
  content: [
4
4
  './index.html',
5
5
  './src/**/*.{ts,tsx}',
6
+ // When admin is package-only, scan the published package so admin-* utilities are not purged
7
+ '../../node_modules/@bhooai/nexus-admin/src/**/*.{ts,tsx,js}',
8
+ './node_modules/@bhooai/nexus-admin/src/**/*.{ts,tsx,js}',
9
+ '../../../node_modules/@bhooai/nexus-admin/src/**/*.{ts,tsx,js}',
6
10
  ],
7
11
  theme: { extend: {} },
8
12
  plugins: [],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-core",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-crypto",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-data",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-email",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-examples",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "Working examples for BhooAI Nexus v2 — each demos a slice of the framework.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-graphql",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-payments",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-plugins",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-postcss",
3
- "version": "2.0.7",
3
+ "version": "2.0.10",
4
4
  "description": "Opinionated PostCSS preset for BhooAI Nexus apps — Tailwind, nesting, future CSS, autoprefixing, and minification in one curated pipeline.",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -9,7 +9,15 @@ import cssnano from 'cssnano';
9
9
  import postcssLightningcss from 'postcss-lightningcss';
10
10
 
11
11
  export function createPreset(options = {}) {
12
- const DEFAULT_CONTENT = ['./index.html', './src/**/*.{ts,tsx}'];
12
+ const DEFAULT_CONTENT = [
13
+ './index.html',
14
+ './src/**/*.{ts,tsx}',
15
+ // Package-only admin: include the published @bhooai/nexus-admin source so Tailwind does not purge admin-* classes.
16
+ // Covers hoisted (workspaces) and isolated (apps/admin/node_modules) installs.
17
+ '../../node_modules/@bhooai/nexus-admin/src/**/*.{ts,tsx,js}',
18
+ './node_modules/@bhooai/nexus-admin/src/**/*.{ts,tsx,js}',
19
+ '../../../node_modules/@bhooai/nexus-admin/src/**/*.{ts,tsx,js}',
20
+ ];
13
21
  const PRESET_ENV_STAGES = ['stage2', 'stage3', 'stage4'];
14
22
  const env = process.env.NODE_ENV ?? 'development';
15
23
  const shouldMinify = options.minify ?? env === 'production';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-realtime",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-safe-goto",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "Safe external link navigation for the BhooAI Nexus admin panel — intercepts external URLs, shows a confirmation dialog, and opens with noopener/noreferrer to prevent tab-nabbing and phishing.",
5
5
  "type": "module",
6
6
  "main": "src/index.tsx",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhooai/nexus-telemetry",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },