mahal_map 1.0.2 → 1.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.d.ts CHANGED
@@ -4,11 +4,11 @@ import * as searchUtils from "@lib/search/utils";
4
4
  import * as routerUtils from "@lib/routing/utils";
5
5
  export { Map, keyUtils, searchUtils, routerUtils };
6
6
  declare const MahalMap: {
7
- Map: typeof Map;
8
- keyUtils: typeof keyUtils;
9
- searchUtils: typeof searchUtils;
10
- routerUtils: typeof routerUtils;
11
- loadKeyFromScriptUrl: () => string;
7
+ Map: typeof Map;
8
+ keyUtils: typeof keyUtils;
9
+ searchUtils: typeof searchUtils;
10
+ routerUtils: typeof routerUtils;
11
+ loadKeyFromScriptUrl: () => string;
12
12
  };
13
13
  export default MahalMap;
14
- //# sourceMappingURL=index.d.ts.map
14
+ //# sourceMappingURL=index.d.ts.map
@@ -2,4 +2,4 @@ import type { Map as MapType } from "maplibre-gl";
2
2
  import type { IMahalMapOptions } from "@app/types";
3
3
  declare function createMap(options: IMahalMapOptions): MapType;
4
4
  export { createMap };
5
- //# sourceMappingURL=utils.d.ts.map
5
+ //# sourceMappingURL=utils.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mahal_map",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "mahal_map",
5
5
  "keywords": [
6
6
  "map",
package/rollup.config.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import resolve from "@rollup/plugin-node-resolve";
2
2
  import typescript from "@rollup/plugin-typescript";
3
- import { terser } from "rollup-plugin-terser";
4
3
  import commonjs from "@rollup/plugin-commonjs";
4
+ import { terser } from "rollup-plugin-terser";
5
5
 
6
6
  export default {
7
7
  input: "src/index.ts",
@@ -30,6 +30,8 @@ export default {
30
30
  tsconfig: "./tsconfig.json",
31
31
  declaration: true,
32
32
  declarationDir: "dist",
33
+ rootDir: "src",
34
+ emitDeclarationOnly: true,
33
35
  }),
34
36
  terser(),
35
37
  ],
package/tsconfig.json CHANGED
@@ -16,10 +16,8 @@
16
16
  "allowSyntheticDefaultImports": true,
17
17
  "paths": {
18
18
  "@app/*": ["./src/app/*"],
19
- "@lib/*": ["./src/lib/*"],
20
- "*": ["./src/*"]
19
+ "@lib/*": ["./src/lib/*"]
21
20
  }
22
21
  },
23
- "include": ["src/**/*.ts"],
24
- "exclude": ["node_modules"]
22
+ "include": ["src/**/*.ts"]
25
23
  }