@gershy/clearing 0.0.6 → 0.0.8

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/license ADDED
@@ -0,0 +1,15 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2026 Gershom Maes
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
+ PERFORMANCE OF THIS SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gershy/clearing",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "Adds the features you always wish javascript had!",
5
5
  "keywords": [
6
6
  "clearing",
@@ -29,17 +29,21 @@
29
29
  "@types/node": "^24.10.1",
30
30
  "cpx": "^1.5.0",
31
31
  "rimraf": "^6.1.2",
32
+ "tsx": "^4.21.0",
32
33
  "typescript": "^5.9.3"
33
34
  },
34
35
  "files": [
35
36
  "cmp"
36
37
  ],
37
38
  "scripts": {
39
+ "test": "npx tsx ./src/main.test.mts",
40
+ "ts.check": "npx tsc --noEmit",
38
41
  "build.cjs": "tsc -p ts/tsconfig.cjs.json",
39
42
  "build.mjs": "tsc -p ts/tsconfig.mjs.json",
40
43
  "build.types": "cpx src/global.d.ts cmp/types",
41
44
  "build": "rimraf cmp && npm run build.cjs && npm run build.mjs && npm run build.types",
42
- "npm.pub": "npm run build && npm publish --access public",
43
- "git.pub": "git add --all && git commit -m \"automated\" && git push"
45
+ "git.pub": "npm run test && git add --all && git commit -m \"automated\" && git push",
46
+ "npm.login": "npm login",
47
+ "npm.pub": "npm run test && npm run build && npm publish --access public"
44
48
  }
45
49
  }