oc-template-elm-compiler 1.1.2 → 1.1.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.
@@ -1 +1 @@
1
- export declare const compile: (options: import("oc-generic-template-compiler").CompilerOptions, callback: (err: Error | null, data: unknown) => void) => void;
1
+ export declare const compile: (options: import("oc-vite-compiler/dist/lib/createCompile").CompilerOptions, callback: (err: Error | null, data: any) => void) => void;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = elmOCProviderTemplate;
3
4
  const extractName = (path) => path.match(/(\w+)\.elm$/)[1];
4
5
  const removeJsExtension = (path) => path.replace(/\.(t|j)s?$/, '');
5
6
  function elmEntry({ viewPath, providerFunctions }) {
@@ -82,4 +83,3 @@ function elmOCProviderTemplate({ viewPath, providerFunctions }) {
82
83
  }
83
84
  return jsEntry({ viewPath, providerFunctions });
84
85
  }
85
- exports.default = elmOCProviderTemplate;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oc-template-elm-compiler",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Compiler for the Elm OC template",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "elm": "^0.19.1-6",
32
32
  "oc-template-elm": "0.1.1",
33
- "oc-vite-compiler": "^4.1.0",
33
+ "oc-vite-compiler": "^4.1.1",
34
34
  "vite-plugin-elm": "^2.8.0"
35
35
  },
36
36
  "files": [
@@ -17,8 +17,8 @@
17
17
  },
18
18
  "dependencies": {},
19
19
  "devDependencies": {
20
- "oc-server": "^2.0.5",
21
- "oc-template-elm-compiler": "^1.1.1",
20
+ "oc-server": "^2.0.6",
21
+ "oc-template-elm-compiler": "^1.1.3",
22
22
  "elm": "^0.19.1-6",
23
23
  "typescript": "^5.3.3"
24
24
  }