connect-redis
Advanced tools
Comparing version 8.0.1-rc.1 to 8.0.1-rc.2
{ | ||
"name": "connect-redis", | ||
"description": "Redis session store for Connect", | ||
"version": "8.0.1-rc.1", | ||
"version": "8.0.1-rc.2", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -16,5 +16,10 @@ "contributors": [ | ||
".": { | ||
"import": "./dist/connect-redis.js", | ||
"require": "./dist/connect-redis.cjs", | ||
"types": "./dist/connect-redis.d.ts" | ||
"import": { | ||
"types": "./dist/connect-redis.d.ts", | ||
"default": "./dist/connect-redis.js" | ||
}, | ||
"require": { | ||
"types": "./dist/connect-redis.d.cts", | ||
"default": "./dist/connect-redis.cjs" | ||
} | ||
} | ||
@@ -21,0 +26,0 @@ }, |
@@ -0,1 +1,2 @@ | ||
import {copyFileSync} from "node:fs" | ||
import dts from "vite-plugin-dts" | ||
@@ -21,3 +22,10 @@ import {defineConfig} from "vitest/config" | ||
plugins: [ | ||
dts({include: ["index.ts"], rollupTypes: true, insertTypesEntry: true}), | ||
dts({ | ||
include: ["index.ts"], | ||
rollupTypes: true, | ||
insertTypesEntry: true, | ||
afterBuild: () => { | ||
copyFileSync("dist/connect-redis.d.ts", "dist/connect-redis.d.cts") | ||
}, | ||
}), | ||
], | ||
@@ -24,0 +32,0 @@ test: { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33159
17
738