@platforma-open/milaboratories.clonotype-clustering 2.5.14 → 2.6.0

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.
Files changed (3) hide show
  1. package/index.d.ts +10 -0
  2. package/index.js +16 -0
  3. package/package.json +7 -7
package/index.d.ts ADDED
@@ -0,0 +1,10 @@
1
+ import { BlockPackDescriptionAbsolute } from '@platforma-sdk/block-tools';
2
+
3
+ declare function loadBlockDescription(): BlockPackDescriptionAbsolute;
4
+ declare const blockSpec: {
5
+ type: 'dev-v2';
6
+ folder: string;
7
+ };
8
+
9
+ export { loadBlockDescription, blockSpec };
10
+
package/index.js ADDED
@@ -0,0 +1,16 @@
1
+ const blockTools = require('@platforma-sdk/block-tools');
2
+
3
+ async function loadBlockDescription() {
4
+ return await blockTools.loadPackDescriptionFromSource(__dirname);
5
+ }
6
+
7
+ const blockSpec = {
8
+ type: 'dev-v2',
9
+ folder: __dirname
10
+ };
11
+
12
+ module.exports = {
13
+ blockSpec,
14
+ loadBlockDescription
15
+ };
16
+
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.clonotype-clustering",
3
- "version": "2.5.14",
3
+ "version": "2.6.0",
4
4
  "files": [
5
5
  "index.d.ts",
6
6
  "index.js"
7
7
  ],
8
8
  "dependencies": {
9
- "@platforma-open/milaboratories.clonotype-clustering.workflow": "3.22.5",
10
- "@platforma-open/milaboratories.clonotype-clustering.model": "2.13.6",
11
- "@platforma-open/milaboratories.clonotype-clustering.ui": "3.11.8"
9
+ "@platforma-open/milaboratories.clonotype-clustering.model": "2.14.0",
10
+ "@platforma-open/milaboratories.clonotype-clustering.workflow": "3.24.0",
11
+ "@platforma-open/milaboratories.clonotype-clustering.ui": "3.12.0"
12
12
  },
13
13
  "block": {
14
14
  "components": {
@@ -44,11 +44,11 @@
44
44
  }
45
45
  },
46
46
  "devDependencies": {
47
- "@platforma-sdk/block-tools": "^2.6.27"
47
+ "@platforma-sdk/block-tools": "2.6.27"
48
48
  },
49
49
  "scripts": {
50
- "pretty": "prettier --write \"./**/*.{js,jsx,mjs,cjs,ts,tsx,json,vue}\"",
51
50
  "build": "rm -rf ./block-pack && block-tools pack",
52
- "mark-stable": "block-tools mark-stable -r 's3://milab-euce1-prod-pkgs-s3-block-registry/pub/releases/?region=eu-central-1'"
51
+ "mark-stable": "block-tools mark-stable -r 's3://milab-euce1-prod-pkgs-s3-block-registry/pub/releases/?region=eu-central-1'",
52
+ "do-pack": "rm -f *.tgz && block-tools pack && pnpm pack && mv *.tgz package.tgz"
53
53
  }
54
54
  }