pinggy 0.3.7 → 0.3.9

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.
@@ -0,0 +1,13 @@
1
+ const { createDefaultEsmPreset } = require('ts-jest');
2
+
3
+ const presetConfig = createDefaultEsmPreset();
4
+
5
+ /** @type {import("jest").Config} **/
6
+ module.exports = {
7
+ ...presetConfig,
8
+ testEnvironment: "node",
9
+ moduleNameMapper: {
10
+ // This handles the .js extension in your TS imports
11
+ '^(\\.{1,2}/.*)\\.js$': '$1',
12
+ },
13
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinggy",
3
- "version": "0.3.7",
3
+ "version": "0.3.9",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "description": "Create secure, shareable tunnels to your localhost and manage them from the command line. ",
@@ -14,7 +14,7 @@
14
14
  "build:tsc": "tsc",
15
15
  "build": "tsup",
16
16
  "start": "node dist/index.js",
17
- "test": "jest --config jest.config.js",
17
+ "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
18
18
  "bump": "node scripts/bumpVersion.js --bump && npm install",
19
19
  "bump:minor": "node scripts/bumpVersion.js --bump --minor && npm install",
20
20
  "bump:major": "node scripts/bumpVersion.js --bump --major && npm install",
@@ -46,11 +46,12 @@
46
46
  "assets": [
47
47
  "node_modules/@pinggy/pinggy/**/*",
48
48
  "node_modules/blessed/lib/**/*",
49
- "node_modules/blessed/usr/**/*"
49
+ "node_modules/blessed/usr/**/*",
50
+ "dist/workers/**/*"
50
51
  ]
51
52
  },
52
53
  "dependencies": {
53
- "@pinggy/pinggy": "^0.3.5",
54
+ "@pinggy/pinggy": "^0.3.8",
54
55
  "blessed": "^0.1.81",
55
56
  "clipboardy": "^5.0.0",
56
57
  "mime": "^4.1.0",