@roastery/barista 0.0.1 → 0.0.3
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/dist/index.cjs +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -30,14 +30,14 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
30
30
|
// src/index.ts
|
|
31
31
|
var index_exports = {};
|
|
32
32
|
__export(index_exports, {
|
|
33
|
-
|
|
33
|
+
barista: () => barista
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(index_exports);
|
|
36
36
|
var import_elysia = __toESM(require("elysia"), 1);
|
|
37
|
-
function
|
|
37
|
+
function barista(config) {
|
|
38
38
|
return new import_elysia.default(config);
|
|
39
39
|
}
|
|
40
40
|
// Annotate the CommonJS export names for ESM import in node:
|
|
41
41
|
0 && (module.exports = {
|
|
42
|
-
|
|
42
|
+
barista
|
|
43
43
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Elysia, { ElysiaConfig } from 'elysia';
|
|
2
2
|
|
|
3
|
-
declare function
|
|
3
|
+
declare function barista<BasePath extends string = "">(config?: ElysiaConfig<BasePath>): Elysia<BasePath, {
|
|
4
4
|
decorator: {};
|
|
5
5
|
store: {};
|
|
6
6
|
derive: {};
|
|
@@ -29,4 +29,4 @@ declare function Barista<BasePath extends string = "">(config?: ElysiaConfig<Bas
|
|
|
29
29
|
response: {};
|
|
30
30
|
}>;
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { barista };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Elysia, { ElysiaConfig } from 'elysia';
|
|
2
2
|
|
|
3
|
-
declare function
|
|
3
|
+
declare function barista<BasePath extends string = "">(config?: ElysiaConfig<BasePath>): Elysia<BasePath, {
|
|
4
4
|
decorator: {};
|
|
5
5
|
store: {};
|
|
6
6
|
derive: {};
|
|
@@ -29,4 +29,4 @@ declare function Barista<BasePath extends string = "">(config?: ElysiaConfig<Bas
|
|
|
29
29
|
response: {};
|
|
30
30
|
}>;
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { barista };
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roastery/barista",
|
|
3
3
|
"description": "Elysia HTTP server factory for the Roastery CMS ecosystem",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Alan Reis",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "https://github.com/roastery-cms/
|
|
13
|
+
"url": "https://github.com/roastery-cms/barista"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"main": "./dist/index.cjs",
|