mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
fix: cloudcmd: default -> named
This commit is contained in:
parent
b61818fe62
commit
a266c1452c
19 changed files with 20 additions and 21 deletions
|
|
@ -8,7 +8,7 @@ import express from 'express';
|
|||
import {Server} from 'socket.io';
|
||||
import writejson from 'writejson';
|
||||
import readjson from 'readjson';
|
||||
import cloudcmd from '../server/cloudcmd.js';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import serveOnce from 'serve-once';
|
||||
import test from 'supertape';
|
||||
import cloudcmd from '../../server/cloudcmd.js';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
||||
const configManager = cloudcmd.createConfigManager();
|
||||
const {request} = serveOnce(cloudcmd, {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {mkdirSync} from 'node:fs';
|
|||
import serveOnce from 'serve-once';
|
||||
import test from 'supertape';
|
||||
import {rimraf} from 'rimraf';
|
||||
import cloudcmd from '../../server/cloudcmd.js';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import serveOnce from 'serve-once';
|
||||
import test from 'supertape';
|
||||
import cloudcmd from '../../server/cloudcmd.js';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
||||
const {request} = serveOnce(cloudcmd, {
|
||||
config: {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import {EventEmitter} from 'node:events';
|
|||
import wait from '@iocmd/wait';
|
||||
import {test, stub} from 'supertape';
|
||||
import serveOnce from 'serve-once';
|
||||
import cloudcmd from '../../server/cloudcmd.js';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
||||
test('cloudcmd: rest: move', async (t) => {
|
||||
const move = new EventEmitter();
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import tar from 'tar-stream';
|
|||
import gunzip from 'gunzip-maybe';
|
||||
import pullout from 'pullout';
|
||||
import serveOnce from 'serve-once';
|
||||
import cloudcmd from '../../server/cloudcmd.js';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import test from 'supertape';
|
|||
import {Volume} from 'memfs';
|
||||
import {ufs} from 'unionfs';
|
||||
import serveOnce from 'serve-once';
|
||||
import cloudcmd from '../../server/cloudcmd.js';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
||||
test('cloudcmd: rest: rename', async (t) => {
|
||||
const volume = {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import {dirname, join} from 'node:path';
|
|||
import {fileURLToPath} from 'node:url';
|
||||
import serveOnce from 'serve-once';
|
||||
import {test, stub} from 'supertape';
|
||||
import cloudcmd from '../../server/cloudcmd.js';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
import modulas from '../../server/modulas.js';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import {Buffer} from 'node:buffer';
|
|||
import serveOnce from 'serve-once';
|
||||
import test from 'supertape';
|
||||
import criton from 'criton';
|
||||
import cloudcmd from '../server/cloudcmd.js';
|
||||
import {cloudcmd} from '#server/cloudcmd';
|
||||
|
||||
const config = {
|
||||
auth: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue