@nemigo/svelte 1.5.0 → 2.0.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.
package/dist/loader.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import type { ISvelteState } from "./state.svelte.js";
2
1
  import { Loader } from "@nemigo/helpers/async/loader";
3
2
  import type { IState } from "@nemigo/helpers/types";
3
+ import type { ISvelteState } from "./state.svelte.js";
4
4
  export type { LoaderHook } from "@nemigo/helpers/async/loader";
5
5
  /**
6
6
  * Менеджер состояния выполнения для асинхронных операций.
package/dist/loader.js CHANGED
@@ -1,6 +1,6 @@
1
- import { createSvelteState } from "./state.svelte.js";
2
1
  import { Loader } from "@nemigo/helpers/async/loader";
3
2
  import { onMount } from "svelte";
3
+ import { createSvelteState } from "./state.svelte.js";
4
4
  /**
5
5
  * Менеджер состояния выполнения для асинхронных операций.
6
6
  * Поддерживает гидратацию true-значения после SSR
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@nemigo/svelte",
3
- "version": "1.5.0",
3
+ "version": "2.0.0",
4
4
  "private": false,
5
5
  "author": {
6
6
  "name": "Vlad Logvin",
7
7
  "email": "vlad.logvin84@gmail.com"
8
8
  },
9
9
  "type": "module",
10
- "engines": {
11
- "node": ">=22",
12
- "pnpm": ">=10.9.0"
13
- },
14
10
  "scripts": {
15
11
  "build": "svelte-package && rimraf .svelte-kit",
16
12
  "check": "tsc --noemit",
17
- "lint": "eslint ./",
18
- "format": "prettier --write ./"
13
+ "eslint": "eslint ./",
14
+ "eslint:fix": "eslint --fix ./",
15
+ "lint": "biome lint",
16
+ "lint:fix": "biome lint --fix --unsafe",
17
+ "lint:fix:unsafe": "biome lint --fix --unsafe",
18
+ "format": "biome check --write --linter-enabled=false"
19
19
  },
20
20
  "exports": {
21
21
  ".": {
@@ -32,7 +32,7 @@
32
32
  }
33
33
  },
34
34
  "peerDependencies": {
35
- "@nemigo/helpers": ">=1.5.0",
35
+ "@nemigo/helpers": ">=2.0.0",
36
36
  "@sveltejs/kit": ">=2.12.0",
37
37
  "svelte": ">=5.0.0"
38
38
  },
@@ -45,7 +45,7 @@
45
45
  "csstype": ">=3.0.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@nemigo/configs": "workspace:*",
49
- "@nemigo/helpers": "workspace:*"
48
+ "@nemigo/configs": "2.0.0",
49
+ "@nemigo/helpers": "2.0.0"
50
50
  }
51
51
  }