-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* nodenext output * just js problems, mjs vs cjs builds done * version
- Loading branch information
Showing
8 changed files
with
78 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
{ | ||
"name": "warp-contracts-redis", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Redis implementation for Warp Contracts", | ||
"types": "./lib/types/index.d.ts", | ||
"main": "./lib/cjs/index.js", | ||
"module": "./lib/mjs/index.js", | ||
"type": "module", | ||
"license": "MIT", | ||
"author": "FirstBatch Team <[email protected]>", | ||
"homepage": "https://github.com/firstbatchxyz/warp-contracts-redis#readme", | ||
"contributors": [ | ||
"Faruk Can Özkan <[email protected]>", | ||
"Erhan Tezcan <[email protected]>" | ||
], | ||
"exports": { | ||
".": "./lib/cjs/index.js" | ||
}, | ||
"sideEffects": false, | ||
"engines": { | ||
"node": ">=16.5" | ||
|
@@ -30,9 +29,10 @@ | |
"cache" | ||
], | ||
"scripts": { | ||
"build:cjs": "tsc -b tsconfig.json", | ||
"build:mjs": "tsc -b tsconfig.mjs.json", | ||
"build:cjs": "tsc -b tsconfig.cjs.json", | ||
"build:types": "tsc -b tsconfig.types.json", | ||
"build": "pnpm run clean && pnpm build:cjs && pnpm build:types", | ||
"build": "pnpm run clean && pnpm build:cjs && pnpm build:mjs && pnpm build:types", | ||
"format": "prettier --write 'src/**/*.ts'", | ||
"clean": "rimraf ./lib", | ||
"lint": "eslint . --ext .ts", | ||
|
@@ -54,8 +54,8 @@ | |
"safe-stable-stringify": "^2.4.3" | ||
}, | ||
"peerDependencies": { | ||
"warp-contracts": "^1.4.2", | ||
"ioredis": "^5.3.2" | ||
"ioredis": "^5.3.2", | ||
"warp-contracts": "^1.4.2" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^28.1.6", | ||
|
@@ -66,6 +66,7 @@ | |
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^3.4.1", | ||
"jest": "^29.5.0", | ||
"jest-ts-webcompat-resolver": "^1.0.0", | ||
"prettier": "^2.3.2", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^29.1.0", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { RedisCache } from "./redisCache"; | ||
export type { RedisOptions } from "./types/redisCache"; | ||
export { RedisCache } from "./redisCache.js"; | ||
export type { RedisOptions } from "./types/redisCache.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tsconfig", | ||
"compileOnSave": false, | ||
"compilerOptions": { | ||
"target": "es2019", | ||
"types": ["jest", "node"], | ||
"module": "CommonJS", | ||
"moduleResolution": "Node", | ||
"sourceMap": true, | ||
"skipLibCheck": true, | ||
"isolatedModules": false, | ||
"esModuleInterop": true, | ||
"allowSyntheticDefaultImports": true, | ||
"resolveJsonModule": true, | ||
"outDir": "./lib/cjs", | ||
"baseUrl": "./src", | ||
"allowJs": true | ||
}, | ||
"include": ["src"], | ||
"exclude": ["node_modules", "test"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/tsconfig", | ||
"compileOnSave": false, | ||
"compilerOptions": { | ||
"target": "es2019", | ||
"types": ["jest", "node"], | ||
"moduleResolution": "NodeNext", | ||
"module": "NodeNext", | ||
"sourceMap": true, | ||
"skipLibCheck": true, | ||
"isolatedModules": false, | ||
"esModuleInterop": true, | ||
"allowSyntheticDefaultImports": true, | ||
"resolveJsonModule": true, | ||
"outDir": "./lib/mjs", | ||
"baseUrl": "./src", | ||
"allowJs": true | ||
}, | ||
"include": ["src"], | ||
"exclude": ["node_modules", "test"] | ||
} |