demo-pkg-dalana 0.0.5 → 0.0.6

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.
@@ -0,0 +1,12 @@
1
+ // Generated by dts-bundle-generator v9.5.1
2
+
3
+ export declare class Config {
4
+ static validate(schema: unknown): void;
5
+ static getConfig(key: string): void;
6
+ }
7
+ export declare class DigitalTwin {
8
+ query(): void;
9
+ mutate(): void;
10
+ }
11
+
12
+ export {};
@@ -0,0 +1,25 @@
1
+ // src/_internal/index.ts
2
+ async function init(options) {}
3
+
4
+ // src/config/index.ts
5
+ class Config {
6
+ static validate(schema) {
7
+ throw new Error("Not implemented");
8
+ }
9
+ static getConfig(key) {
10
+ throw new Error("Not implemented");
11
+ }
12
+ }
13
+
14
+ // src/digital-twin/index.ts
15
+ class DigitalTwin {
16
+ query() {}
17
+ mutate() {}
18
+ }
19
+
20
+ // src/index.ts
21
+ await init();
22
+ export {
23
+ DigitalTwin,
24
+ Config
25
+ };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "demo-pkg-dalana",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "0.0.5",
5
+ "version": "0.0.6",
6
6
  "devDependencies": {
7
7
  "@types/bun": "latest",
8
8
  "bun-plugin-dts": "^0.3.0"
package/build.ts DELETED
@@ -1,7 +0,0 @@
1
- import dts from "bun-plugin-dts";
2
-
3
- await Bun.build({
4
- entrypoints: ["./src/index.ts"],
5
- outdir: "./dist",
6
- plugins: [dts()],
7
- });