@h3ravel/shared 0.27.3 → 0.27.4
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 +1 -1
- package/dist/{index.mjs → index.js} +1 -1
- package/package.json +9 -8
- package/dist/index.d.mts +0 -1448
- /package/dist/{index.d.cts → index.d.ts} +0 -0
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.
|
|
491
|
+
start: "DIST_DIR=dist node -r source-map-support/register dist/server.js",
|
|
492
492
|
lint: "eslint . --ext .ts",
|
|
493
493
|
test: "NODE_NO_WARNINGS=1 NODE_ENV=testing jest --passWithNoTests",
|
|
494
494
|
postinstall: "pnpm prepare"
|
|
@@ -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.
|
|
462
|
+
start: "DIST_DIR=dist node -r source-map-support/register dist/server.js",
|
|
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,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h3ravel/shared",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.4",
|
|
4
4
|
"description": "Shared Utilities.",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/index.
|
|
7
|
-
"types": "./dist/index.d.
|
|
8
|
-
"module": "./dist/index.
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"import": "./dist/index.
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
12
|
"require": "./dist/index.cjs"
|
|
13
13
|
},
|
|
14
|
-
"
|
|
14
|
+
"./*": "./*"
|
|
15
15
|
},
|
|
16
16
|
"typesVersions": {
|
|
17
17
|
"*": {
|
|
18
18
|
"*": [
|
|
19
|
-
"dist/index.d.
|
|
19
|
+
"dist/index.d.ts"
|
|
20
20
|
]
|
|
21
21
|
}
|
|
22
22
|
},
|
|
@@ -58,8 +58,9 @@
|
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "tsdown --config-loader unconfig",
|
|
61
|
+
"barrel": "barrelsby --directory src --delete --singleQuotes",
|
|
61
62
|
"dev": "tsx watch src/index.ts",
|
|
62
|
-
"start": "node dist/index.
|
|
63
|
+
"start": "node dist/index.js",
|
|
63
64
|
"lint": "eslint . --ext .ts",
|
|
64
65
|
"test": "jest --passWithNoTests",
|
|
65
66
|
"release:patch": "pnpm build && pnpm version patch && git add . && git commit -m \"version: bump shared package and publish\" && pnpm publish --tag latest",
|