@appartmint/mint 5.0.8 → 5.0.10

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.
@@ -1,4 +1,4 @@
1
- import { Callback } from '../util/event';
1
+ export type Callback<T extends unknown[] = []> = (...args: T) => unknown;
2
2
  /**
3
3
  * A generic item
4
4
  *
@@ -64,6 +64,6 @@ export declare class MintItem {
64
64
  /**
65
65
  * Item functions
66
66
  */
67
- click?: Callback;
67
+ click?: Function;
68
68
  }
69
69
  export default MintItem;
@@ -1,5 +1,5 @@
1
1
  /** Accepts any function; `never[]` is the safe "any callback" parameter type. */
2
- export type Callback = (...args: never[]) => unknown;
2
+ type Callback = (...args: never[]) => unknown;
3
3
  /**
4
4
  * Event helper functions
5
5
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@appartmint/mint",
3
3
  "author": "App Art Mint LLC",
4
- "version": "5.0.8",
4
+ "version": "5.0.10",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "description": "The front-end TS/SCSS framework of App Art Mint",
@@ -48,7 +48,7 @@
48
48
  "./scss/entry/*": "./src/scss/*.scss"
49
49
  },
50
50
  "scripts": {
51
- "version": "npm i && git add -A",
51
+ "version": "npm i --package-lock-only && git add -A",
52
52
  "postversion": "git push && git push --tags && cross-replace gh release create \"v$npm_package_version\" --generate-notes",
53
53
  "prepare": "run-s clean lint test build",
54
54
  "clean": "rimraf dist docs",
@@ -57,7 +57,7 @@
57
57
  "build:css:dev": "sass src/scss/mint.scss dist/mint.css && sass src/scss/noscript.scss dist/noscript.css",
58
58
  "build:css:prod": "sass src/scss/mint.scss dist/mint.min.css --style compressed && sass src/scss/noscript.scss dist/noscript.min.css --style compressed",
59
59
  "build:tsdoc": "typedoc --tsconfig tsconfig.lib.json",
60
- "test": "run-p test:*",
60
+ "test": "run-p test:**",
61
61
  "test:types": "tsc -b",
62
62
  "test:deps": "depcruise src",
63
63
  "lint": "eslint --fix .",