@supermousejs/utils 2.0.2 → 2.1.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # @supermousejs/utils
2
2
 
3
+ ## 2.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 67f771b: Add relevant npm metadata to package.json file
8
+ - Updated dependencies [67f771b]
9
+ - @supermousejs/core@2.0.5
10
+
11
+ ## 2.1.0
12
+
13
+ ### Minor Changes
14
+
15
+ - 0a1652d: fixed build architecture and updated plugin metadata
16
+
17
+ ## 2.0.4
18
+
19
+ ### Patch Changes
20
+
21
+ - 993dc67: Updated supemousejs packages with proper author, license and url descriptors to repo
22
+ - Updated dependencies [993dc67]
23
+ - @supermousejs/core@2.0.4
24
+
25
+ ## 2.0.3
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies
30
+ - @supermousejs/core@2.0.3
31
+
3
32
  ## 2.0.2
4
33
 
5
34
  ### Patch Changes
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@supermousejs/utils",
3
- "version": "2.0.2",
3
+ "version": "2.1.1",
4
4
  "main": "dist/index.umd.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
7
- "dependencies": {
8
- "@supermousejs/core": "2.0.2"
9
- },
7
+ "author": "O.S David",
8
+ "url": "https://github.com/Whitestar14/supermouse-js",
9
+ "license": "MIT",
10
10
  "exports": {
11
11
  ".": {
12
12
  "types": "./dist/index.d.ts",
@@ -14,9 +14,24 @@
14
14
  "require": "./dist/index.umd.js"
15
15
  }
16
16
  },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/Whitestar14/supermouse-js.git",
20
+ "directory": "packages/core"
21
+ },
22
+ "bugs": {
23
+ "url": "https://github.com/Whitestar14/supermouse-js/issues"
24
+ },
25
+ "homepage": "https://github.com/Whitestar14/supermouse-js/tree/main/packages/utils#readme",
17
26
  "publishConfig": {
18
27
  "access": "public"
19
28
  },
29
+ "peerDependencies": {
30
+ "@supermousejs/core": "2.0.5"
31
+ },
32
+ "devDependencies": {
33
+ "@supermousejs/core": "2.0.5"
34
+ },
20
35
  "scripts": {
21
36
  "build": "vite build"
22
37
  }
package/src/plugin.ts CHANGED
@@ -2,13 +2,11 @@ import type { Supermouse, SupermousePlugin } from '@supermousejs/core';
2
2
  import { normalize } from './options';
3
3
  import { setStyle } from './dom';
4
4
 
5
- // --- SHARED OPTIONS ---
6
5
  export interface BasePluginOptions {
7
6
  name?: string;
8
7
  isEnabled?: boolean;
9
8
  }
10
9
 
11
- // --- MODE A: LOGIC PLUGIN CONFIG ---
12
10
  interface LogicConfig {
13
11
  name: string;
14
12
  priority?: number;