@aventoapp/framework 0.2.2 → 0.2.4
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/README.md +39 -2
- package/dist/server/index.js +1 -112
- package/dist/server/index.js.map +4 -4
- package/dist/server/mongo.js +109 -0
- package/dist/server/mongo.js.map +7 -0
- package/guard/no-framework-copy.js +471 -0
- package/moved.json +4 -0
- package/package.json +7 -8
- package/src/server/db/index.js +7 -7
- package/src/server/mongo.js +10 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// @aventoapp/framework/server/mongo
|
|
2
|
+
// The Mongo helpers, kept out of the /server barrel so importing /server does
|
|
3
|
+
// not load mongoose (vector#6334). Install mongoose beside the framework to use
|
|
4
|
+
// them: the framework does not install it.
|
|
5
|
+
export {
|
|
6
|
+
MongoConnection,
|
|
7
|
+
getMongoConnection,
|
|
8
|
+
createMongoConnection,
|
|
9
|
+
mongoose
|
|
10
|
+
} from './db/mongo.js';
|