diff --git a/http-adapter/http-adapter-ext.js b/http-adapter/http-adapter-ext.js index a0353e8..c4b3a59 100644 --- a/http-adapter/http-adapter-ext.js +++ b/http-adapter/http-adapter-ext.js @@ -2,11 +2,11 @@ var assert = require("assert"); module.exports = function setup(options, imports, register) { - assert(options.mount, "option 'mount' is required"); + assert(options.mount, "option 'mount' is required"); - imports.connect.useMain(require("vfs/http-adapter/restful")(options.mount, imports.vfs)); + imports.connect.useMain(require("@pylonide/vfs-http-adapter/restful")(options.mount, imports.vfs)); - register(null, { - "vfs-rest": {} - }); -} \ No newline at end of file + register(null, { + "vfs-rest": {} + }); +} diff --git a/local/local-ext.js b/local/local-ext.js index 3a13708..c6f0da4 100644 --- a/local/local-ext.js +++ b/local/local-ext.js @@ -2,9 +2,9 @@ var assert = require("assert"); module.exports = function setup(options, imports, register) { - assert(options.root, "option 'root' is required"); + assert(options.root, "option 'root' is required"); - register(null, { - "vfs": require("vfs-local")(options) - }); + register(null, { + "vfs": require("@pylonide/vfs-local")(options) + }); } \ No newline at end of file diff --git a/local/package.json b/local/package.json index 50493d8..c10dd1f 100644 --- a/local/package.json +++ b/local/package.json @@ -1,14 +1,14 @@ { - "name": "vfs.local", - "version": "0.0.1", - "main": "local-ext.js", - "private": true, + "name": "vfs.local", + "version": "0.1.0", + "main": "local-ext.js", + "private": true, - "dependencies": { - "vfs-local": "~0.0.3" - }, + "dependencies": { + "@pylonide/vfs-local": "~0.5.0" + }, - "plugin": { - "provides": ["vfs"] - } + "plugin": { + "provides": ["vfs"] + } } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 83c9fea..37dba44 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,44 +1,45 @@ { - "name": "vfs-architect", - "version": "0.0.6", - "lockfileVersion": 1, - "requires": true, - "dependencies": { - "architect": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/architect/-/architect-0.1.13.tgz", - "integrity": "sha1-76eHg/2Bi2TkxHsOde6hk1IDkLo=" - }, - "nan": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz", - "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==" - }, - "node-pty": { - "version": "0.9.0-beta19", - "resolved": "https://registry.npmjs.org/node-pty/-/node-pty-0.9.0-beta19.tgz", - "integrity": "sha512-MkKEvBnauGnzgXNr/oaoWQLVXm1gheIKZs4YQp8883ZiETmbEnpSvD0FU3bELcPXG5VFPRqIGsQJ4KUMBLzkPA==", - "requires": { - "nan": "2.14.0" - } - }, - "simple-mime": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/simple-mime/-/simple-mime-0.1.0.tgz", - "integrity": "sha1-lfUXxPRm18/1YacfydqyWW6p7y4=" - }, - "vfs": { - "version": "https://github.com/pylonide/vfs/tarball/078762a9e5fe6f4652a3c0a81ff65bb3bea1dd08", - "integrity": "sha512-TdQDpdO/Qc0kXEc+lZk4fGalqldgTiLOc8RJQ1c8Kv+/u/EBc7F3iNveGnWZ5+JYwRKXWNO3HUOif3lpiCzE3Q==", - "optional": true - }, - "vfs-local": { - "version": "https://github.com/pylonide/vfs-local/tarball/b72cd6e74e923f72bf03ebab2c39329fd3304f45", - "integrity": "sha512-xMUM1jvJDJDQr3kThpGAH/Co8OdV7ju3TaXqTp6OJq/RBJgsAd5NG0T9glOxc7MF1w8AMDer4lqDjVt+6e4PvA==", - "requires": { - "node-pty": "0.9.0-beta19", - "simple-mime": "0.1.0" - } - } + "name": "@pylonide/vfs-architect", + "version": "0.1.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@pylonide/vfs-http-adapter": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@pylonide/vfs-http-adapter/-/vfs-http-adapter-0.3.0.tgz", + "integrity": "sha512-pEq1YHvBqsYOCXYjRGzLOhY6rOI5tzDUkIle8TQnHDBc7bGcwox+vsjsO2DSlCZUbfqTavIGy834p/XDZ8O0Pg==" + }, + "@pylonide/vfs-local": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@pylonide/vfs-local/-/vfs-local-0.5.0.tgz", + "integrity": "sha512-dtCAjewcYH1sJQ4crYAk++/3T3yWx9k+L514tBzvKlDeIUGF3tg6TZ11bu+9f3hfTIhdwayJsvv+540iNTt8xg==", + "requires": { + "node-pty": "0.9.0-beta21", + "simple-mime": "0.1.0" + } + }, + "architect": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/architect/-/architect-0.1.13.tgz", + "integrity": "sha1-76eHg/2Bi2TkxHsOde6hk1IDkLo=" + }, + "nan": { + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz", + "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==" + }, + "node-pty": { + "version": "0.9.0-beta21", + "resolved": "https://registry.npmjs.org/node-pty/-/node-pty-0.9.0-beta21.tgz", + "integrity": "sha512-+OkCaEjr5xMLEa3IGqph+6jPDtRkZBFU2l0AsXKrGN/28AHoyfy+wrf5ov5KCd6UPjiCxCsJ+qOdBWoXJDHJHA==", + "requires": { + "nan": "2.14.0" + } + }, + "simple-mime": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/simple-mime/-/simple-mime-0.1.0.tgz", + "integrity": "sha1-lfUXxPRm18/1YacfydqyWW6p7y4=" } + } } diff --git a/package.json b/package.json index b47b0e6..2a0a8fe 100644 --- a/package.json +++ b/package.json @@ -1,25 +1,23 @@ { - "name": "vfs-architect", - "description": "Architect plugins for vfs", - "version": "0.0.6", - "author": "ajax.org B.V. ", - "contributors": [ - { - "name": "Fabian Jakobs", - "email": "fabian@c9.io" - }, - "Sten Feldman (http://sten.feldman.eesti.ee/)" - ], - "dependencies": { - "architect": "~0.1.13", - "vfs-local": "https://github.com/pylonide/vfs-local/tarball/b72cd6e74e923f72bf03ebab2c39329fd3304f45" + "name": "@pylonide/vfs-architect", + "description": "Architect plugins for vfs", + "version": "0.1.0", + "author": "ajax.org B.V. ", + "contributors": [ + { + "name": "Fabian Jakobs", + "email": "fabian@c9.io" }, - "optionalDependencies": { - "vfs": "https://github.com/pylonide/vfs/tarball/078762a9e5fe6f4652a3c0a81ff65bb3bea1dd08" - }, - "license": "MIT", - "repository": { - "type": "git", - "url": "http://github.com/pylonide/vfs-architect.git" - } + "Sten Feldman (http://sten.feldman.eesti.ee/)" + ], + "dependencies": { + "architect": "~0.1.13", + "@pylonide/vfs-local": "~0.5.0", + "@pylonide/vfs-http-adapter": "~0.3.0" + }, + "license": "MIT", + "repository": { + "type": "git", + "url": "http://github.com/pylonide/vfs-architect.git" + } }