@h3ravel/shared 0.27.2 → 0.27.3

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/dist/index.cjs CHANGED
@@ -488,7 +488,7 @@ const baseTsconfig = { extends: "./.h3ravel/tsconfig.json" };
488
488
  const packageJsonScript = {
489
489
  build: "NODE_ENV=production tsdown --config-loader unconfig -c tsdown.default.config.ts",
490
490
  dev: "NODE_ENV=development pnpm tsdown --config-loader unconfig -c tsdown.default.config.ts",
491
- start: "DIST_DIR=dist node -r source-map-support/register dist/server.js",
491
+ start: "DIST_DIR=dist node -r source-map-support/register dist/server.mjs",
492
492
  lint: "eslint . --ext .ts",
493
493
  test: "NODE_NO_WARNINGS=1 NODE_ENV=testing jest --passWithNoTests",
494
494
  postinstall: "pnpm prepare"
package/dist/index.mjs CHANGED
@@ -459,7 +459,7 @@ const baseTsconfig = { extends: "./.h3ravel/tsconfig.json" };
459
459
  const packageJsonScript = {
460
460
  build: "NODE_ENV=production tsdown --config-loader unconfig -c tsdown.default.config.ts",
461
461
  dev: "NODE_ENV=development pnpm tsdown --config-loader unconfig -c tsdown.default.config.ts",
462
- start: "DIST_DIR=dist node -r source-map-support/register dist/server.js",
462
+ start: "DIST_DIR=dist node -r source-map-support/register dist/server.mjs",
463
463
  lint: "eslint . --ext .ts",
464
464
  test: "NODE_NO_WARNINGS=1 NODE_ENV=testing jest --passWithNoTests",
465
465
  postinstall: "pnpm prepare"
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@h3ravel/shared",
3
- "version": "0.27.2",
3
+ "version": "0.27.3",
4
4
  "description": "Shared Utilities.",
5
5
  "type": "module",
6
- "main": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "module": "./dist/index.js",
6
+ "main": "./dist/index.mjs",
7
+ "types": "./dist/index.d.mts",
8
+ "module": "./dist/index.mjs",
9
9
  "exports": {
10
10
  ".": {
11
- "import": "./dist/index.js",
11
+ "import": "./dist/index.mjs",
12
12
  "require": "./dist/index.cjs"
13
13
  },
14
14
  "./tsconfig.json": "./tsconfig.json"
@@ -16,7 +16,7 @@
16
16
  "typesVersions": {
17
17
  "*": {
18
18
  "*": [
19
- "dist/index.d.ts"
19
+ "dist/index.d.mts"
20
20
  ]
21
21
  }
22
22
  },
@@ -59,7 +59,7 @@
59
59
  "scripts": {
60
60
  "build": "tsdown --config-loader unconfig",
61
61
  "dev": "tsx watch src/index.ts",
62
- "start": "node dist/index.js",
62
+ "start": "node dist/index.mjs",
63
63
  "lint": "eslint . --ext .ts",
64
64
  "test": "jest --passWithNoTests",
65
65
  "release:patch": "pnpm build && pnpm version patch && git add . && git commit -m \"version: bump shared package and publish\" && pnpm publish --tag latest",