From 210baf628bab80c800996dae050f414120fa33e1 Mon Sep 17 00:00:00 2001 From: nikoloza Date: Mon, 30 Dec 2024 16:00:51 +0400 Subject: [PATCH] packages -> deps --- packages/cli/bin/fs.js | 4 ++-- packages/create/src/prepare.js | 2 +- packages/socket/client.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/cli/bin/fs.js b/packages/cli/bin/fs.js index 42d2d68c8..05494f4e9 100644 --- a/packages/cli/bin/fs.js +++ b/packages/cli/bin/fs.js @@ -16,10 +16,10 @@ const { removeValueFromArray } = utils -let singleFileKeys = ['designSystem', 'state', 'files', 'dependencies', 'packages'] +let singleFileKeys = ['designSystem', 'state', 'files', 'dependencies'] const directoryKeys = ['components', 'snippets', 'pages', 'functions', 'methods'] -const defaultExports = ['pages', 'designSystem', 'state', 'files', 'dependencies', 'packages', 'schema'] +const defaultExports = ['pages', 'designSystem', 'state', 'files', 'dependencies', 'schema'] export async function createFs ( body, diff --git a/packages/create/src/prepare.js b/packages/create/src/prepare.js index 7e1435b50..de447119a 100644 --- a/packages/create/src/prepare.js +++ b/packages/create/src/prepare.js @@ -64,7 +64,7 @@ export const prepareMethods = (context) => { const cachedDeps = {} export const prepareDependencies = ({ - packages: dependencies, + dependencies, dependenciesOnDemand, document }) => { diff --git a/packages/socket/client.js b/packages/socket/client.js index e02a94659..5fe5698d1 100644 --- a/packages/socket/client.js +++ b/packages/socket/client.js @@ -47,7 +47,7 @@ export const connect = (key, options = {}) => { socket.on('connect', () => { if (isDev) { - console.log( + console.warn( `Connected to %c${primaryUrl} %c${key} %c${socket.id}`, 'font-weight: bold; color: green;', 'font-weight: bold;',