@platforma-open/milaboratories.samples-and-data.workflow 1.7.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 ADDED
@@ -0,0 +1,3 @@
1
+ module.exports = { Templates: {
2
+ 'main': { type: 'from-file', path: require.resolve('./tengo/tpl/main.plj.gz') }
3
+ }};
@@ -0,0 +1,4 @@
1
+ declare type TemplateFromFile = { readonly type: "from-file"; readonly path: string; };
2
+ declare type TplName = "main";
3
+ declare const Templates: Record<TplName, TemplateFromFile>;
4
+ export { Templates };
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ import { resolve } from 'node:path';
2
+ export const Templates = {
3
+ 'main': { type: 'from-file', path: resolve(import.meta.dirname, './tengo/tpl/main.plj.gz') }
4
+ };
Binary file
package/package.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@platforma-open/milaboratories.samples-and-data.workflow",
3
+ "version": "1.7.3",
4
+ "type": "module",
5
+ "files": [
6
+ "./dist/**/*"
7
+ ],
8
+ "description": "Tengo-based template",
9
+ "devDependencies": {
10
+ "@platforma-sdk/tengo-builder": "^1.14.13",
11
+ "@platforma-sdk/workflow-tengo": "^1.2.11"
12
+ },
13
+ "scripts": {
14
+ "build": "rm -rf dist/* && pl-tengo check && pl-tengo build",
15
+ "format": "/usr/bin/env emacs --script ./format.el"
16
+ }
17
+ }