@mongoosejs/studio 0.0.140 → 0.1.0
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/backend/next.js +2 -3
- package/frontend/public/app.js +1 -1
- package/package.json +1 -1
package/backend/next.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const Backend = require('./');
|
|
4
|
-
const { toNetlifyFunction } = require('extrovert');
|
|
5
4
|
|
|
6
|
-
module.exports = function next() {
|
|
7
|
-
const backend = Backend();
|
|
5
|
+
module.exports = function next(conn, options) {
|
|
6
|
+
const backend = Backend(conn, options?.studioConnection, options);
|
|
8
7
|
|
|
9
8
|
return function wrappedNextJSFunction(req, res) {
|
|
10
9
|
const params = { ...req.query, ...req.body, ...req.params };
|
package/frontend/public/app.js
CHANGED
|
@@ -16367,7 +16367,7 @@ module.exports = function stringToParts(str) {
|
|
|
16367
16367
|
/***/ ((module) => {
|
|
16368
16368
|
|
|
16369
16369
|
"use strict";
|
|
16370
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@mongoosejs/studio","version":"0.0
|
|
16370
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@mongoosejs/studio","version":"0.1.0","description":"A sleek, powerful MongoDB UI with built-in dashboarding and auth, seamlessly integrated with your Express, Vercel, or Netlify app.","homepage":"https://studio.mongoosejs.io/","repository":{"type":"git","url":"https://github.com/mongoosejs/studio"},"license":"Apache-2.0","dependencies":{"archetype":"0.13.1","csv-stringify":"6.3.0","ejson":"^2.2.3","extrovert":"^0.1.0","marked":"15.0.12","node-inspect-extracted":"3.x","tailwindcss":"3.4.0","vanillatoasts":"^1.6.0","vue":"3.x","webpack":"5.x"},"peerDependencies":{"bson":"^5.5.1 || 6.x","express":"4.x","mongoose":"7.x || 8.x"},"devDependencies":{"@masteringjs/eslint-config":"0.1.1","axios":"1.2.2","dedent":"^1.6.0","eslint":"9.30.0","express":"4.x","mocha":"10.2.0","mongoose":"8.x"},"scripts":{"lint":"eslint .","tailwind":"tailwindcss -o ./frontend/public/tw.css","tailwind:watch":"tailwindcss -o ./frontend/public/tw.css --watch","test":"mocha test/*.test.js"}}');
|
|
16371
16371
|
|
|
16372
16372
|
/***/ })
|
|
16373
16373
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mongoosejs/studio",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "A sleek, powerful MongoDB UI with built-in dashboarding and auth, seamlessly integrated with your Express, Vercel, or Netlify app.",
|
|
5
5
|
"homepage": "https://studio.mongoosejs.io/",
|
|
6
6
|
"repository": {
|