@primocaredentgroup/convex-campaigns-component 0.3.5 → 0.3.8
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/convex.config.ts +2 -10
- package/package.json +6 -2
package/convex.config.ts
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent } from "convex/server";
|
|
2
2
|
|
|
3
3
|
const campaignsComponent = defineComponent("campaigns");
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
// L'host che installa da npm usa: import campaignsComponent from "package/convex.config"
|
|
7
|
-
// e fa app.use(campaignsComponent) - quindi serve il componente.
|
|
8
|
-
const app = defineApp();
|
|
9
|
-
app.use(campaignsComponent, { name: "campaigns" });
|
|
10
|
-
|
|
11
|
-
export default app;
|
|
12
|
-
// Per host npm: import { campaignsComponent } from "package/convex.config"
|
|
13
|
-
export { campaignsComponent };
|
|
5
|
+
export default campaignsComponent;
|
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primocaredentgroup/convex-campaigns-component",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"description": "Convex Campaigns backend component for PrimoCore",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "convex.config.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
"./convex.config.js": "./convex.config.ts",
|
|
10
|
+
"./convex.config": "./convex.config.ts"
|
|
11
|
+
},
|
|
8
12
|
"files": [
|
|
9
13
|
"convex.config.ts",
|
|
10
14
|
"README.md",
|
|
@@ -16,7 +20,7 @@
|
|
|
16
20
|
"prepack": "npm run sync:from-repo",
|
|
17
21
|
"test": "tsx --test tests/**/*.test.ts",
|
|
18
22
|
"smoke": "node scripts/smoke-test.mjs",
|
|
19
|
-
"version:patch": "
|
|
23
|
+
"version:patch": "node scripts/bump-version.mjs",
|
|
20
24
|
"publish:component": "npm run version:patch && npm publish"
|
|
21
25
|
},
|
|
22
26
|
"peerDependencies": {
|