@battis/typescript-tricks 0.5.3 → 0.5.5

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,19 @@
1
1
  # @battis/typescript-tricks
2
2
 
3
+ ## 0.5.5
4
+
5
+ ### Patch Changes
6
+
7
+ - c4f3174: replace shx with del
8
+
9
+ `del` (or, rather, `del-cli`) provides a safer, more-focused way of cleaning build directories.
10
+
11
+ ## 0.5.4
12
+
13
+ ### Patch Changes
14
+
15
+ - 56068c1: FormElements
16
+
3
17
  ## 0.5.3
4
18
 
5
19
  ### Patch Changes
@@ -0,0 +1 @@
1
+ export type HTMLFormElements<U extends string> = HTMLFormControlsCollection & Record<U, HTMLInputElement>;
package/dist/Forms.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -6,3 +6,4 @@ export * from './Shorthand';
6
6
  export * from './StaticImplements';
7
7
  export * from './JSONValue';
8
8
  export * from './MethodNames';
9
+ export * from './Forms';
package/dist/index.js CHANGED
@@ -22,3 +22,4 @@ __exportStar(require("./Shorthand"), exports);
22
22
  __exportStar(require("./StaticImplements"), exports);
23
23
  __exportStar(require("./JSONValue"), exports);
24
24
  __exportStar(require("./MethodNames"), exports);
25
+ __exportStar(require("./Forms"), exports);
package/package.json CHANGED
@@ -1,29 +1,32 @@
1
1
  {
2
2
  "name": "@battis/typescript-tricks",
3
+ "version": "0.5.5",
3
4
  "description": "A handful of useful types and operators",
4
- "version": "0.5.3",
5
- "author": "Seth Battis <seth@battis.net>",
6
- "license": "GPL-3.0",
7
- "main": "./dist/index.js",
8
- "types": "./dist/index.d.ts",
9
5
  "homepage": "https://github.com/battis/typescript-config/tree/main/packages/tricks#readme",
10
- "engines": {
11
- "node": "*"
12
- },
13
6
  "repository": {
14
7
  "type": "git",
15
8
  "url": "https://github.com/battis/typescript-config.git",
16
9
  "directory": "packages/tricks"
17
10
  },
11
+ "license": "GPL-3.0",
12
+ "author": {
13
+ "name": "Seth Battis",
14
+ "url": "https://github.com/battis"
15
+ },
16
+ "main": "./dist/index.js",
17
+ "types": "./dist/index.d.ts",
18
18
  "devDependencies": {
19
19
  "@tsconfig/recommended": "^1.0.7",
20
+ "del-cli": "^5.1.0",
20
21
  "npm-run-all": "^4.1.5",
21
- "shx": "^0.3.4",
22
22
  "typescript": "^4.9.5"
23
23
  },
24
+ "engines": {
25
+ "node": "*"
26
+ },
24
27
  "scripts": {
25
28
  "build": "run-s build:*",
26
- "build:clean": "shx rm -rf dist",
29
+ "build:clean": "del ./dist/*",
27
30
  "build:compile": "tsc"
28
31
  }
29
32
  }