@milaboratories/milaboratories.pool-explorer.model 1.0.83 → 1.0.85

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/package.json CHANGED
@@ -1,36 +1,23 @@
1
1
  {
2
2
  "name": "@milaboratories/milaboratories.pool-explorer.model",
3
- "version": "1.0.83",
3
+ "version": "1.0.85",
4
4
  "description": "Block model",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
9
9
  "dependencies": {
10
- "@platforma-sdk/model": "1.42.16"
10
+ "@platforma-sdk/model": "1.42.22"
11
11
  },
12
12
  "devDependencies": {
13
13
  "typescript": "~5.6.3",
14
- "vite": "^6.3.5",
15
- "tsup": "~8.3.5",
16
- "@platforma-sdk/block-tools": "2.5.81"
17
- },
18
- "tsup": {
19
- "entry": [
20
- "src/index.ts"
21
- ],
22
- "splitting": false,
23
- "treeshake": true,
24
- "clean": true,
25
- "format": [
26
- "cjs",
27
- "esm"
28
- ],
29
- "dts": true,
30
- "minify": false,
31
- "sourcemap": true
14
+ "@milaboratories/build-configs": "1.0.7",
15
+ "@milaboratories/ts-configs": "1.0.6",
16
+ "@platforma-sdk/block-tools": "2.5.83",
17
+ "@milaboratories/ts-builder": "1.0.3"
32
18
  },
33
19
  "scripts": {
34
- "build": "tsup && vite build && block-tools build-model"
20
+ "build": "ts-builder build --target block-model && block-tools build-model",
21
+ "type-check": "ts-builder types --target block-model"
35
22
  }
36
23
  }
package/tsconfig.json CHANGED
@@ -1,17 +1,12 @@
1
1
  {
2
- "compilerOptions": {
3
- "target": "es2022",
4
- "module": "commonjs",
5
- "moduleResolution": "node",
6
- "esModuleInterop": true,
7
- "strict": true,
8
- "outDir": "./dist",
9
- "rootDir": "./src",
10
- "sourceMap": true,
11
- "declaration": true,
12
- "declarationMap": true
13
- },
14
- "types": [],
15
- "include": ["src/**/*"],
16
- "exclude": ["node_modules", "dist"]
17
- }
2
+ "extends": "@milaboratories/ts-configs/tsconfig.node.json",
3
+ "include": [
4
+ "src/**/*"
5
+ ],
6
+ "exclude": [
7
+ "node_modules",
8
+ "dist",
9
+ "**/*.test.ts",
10
+ "**/*.spec.ts"
11
+ ]
12
+ }
package/dist/index.d.cts DELETED
@@ -1,35 +0,0 @@
1
- import * as _platforma_sdk_model from '@platforma-sdk/model';
2
- import { InferOutputsType, InferHrefType } from '@platforma-sdk/model';
3
-
4
- type BlockArgs = {
5
- titleArg: string;
6
- };
7
- declare const platforma: _platforma_sdk_model.PlatformaV1<BlockArgs, {
8
- allSpecs: _platforma_sdk_model.ValueOrErrors<{
9
- readonly entries: {
10
- readonly ref: {
11
- readonly __isRef: true;
12
- readonly blockId: string;
13
- readonly name: string;
14
- readonly requireEnrichments?: true | undefined;
15
- };
16
- readonly obj: {
17
- readonly kind: string;
18
- readonly name: string;
19
- readonly domain?: {
20
- [x: string]: string;
21
- } | undefined;
22
- readonly annotations?: {
23
- [x: string]: string;
24
- } | undefined;
25
- };
26
- }[];
27
- readonly isComplete: boolean;
28
- }>;
29
- }, {
30
- [x: string]: never;
31
- }, "/">;
32
- type BlockOutputs = InferOutputsType<typeof platforma>;
33
- type Href = InferHrefType<typeof platforma>;
34
-
35
- export { type BlockArgs, type BlockOutputs, type Href, platforma };
package/vite.config.mts DELETED
@@ -1,20 +0,0 @@
1
- import { defineConfig } from 'vite';
2
-
3
- export default defineConfig({
4
- build: {
5
- emptyOutDir: false,
6
- lib: {
7
- entry: 'src/index.ts',
8
- name: 'model',
9
- fileName: (format) => `my-lib.${format}.js`
10
- },
11
- minify: false,
12
- sourcemap: true,
13
- rollupOptions: {
14
- output: {
15
- format: 'iife',
16
- entryFileNames: 'bundle.js'
17
- }
18
- }
19
- }
20
- });