is-bun-module
Advanced tools
Comparing version
@@ -46,3 +46,4 @@ "use strict"; | ||
"bun:sqlite": true, | ||
"bun:test": true | ||
"bun:test": true, | ||
"bun:wrap": true | ||
}; | ||
@@ -49,0 +50,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "Is this specifier a Bun core module or supported Node one?", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"license": "MIT", | ||
@@ -16,8 +16,8 @@ "files": [ | ||
"import": { | ||
"default": "./dist/esm/index.mjs", | ||
"types": "./dist/esm/index.d.mts" | ||
"types": "./dist/esm/index.d.mts", | ||
"default": "./dist/esm/index.mjs" | ||
}, | ||
"require": { | ||
"default": "./dist/cjs/index.js", | ||
"types": "./dist/cjs/index.d.ts" | ||
"types": "./dist/cjs/index.d.ts", | ||
"default": "./dist/cjs/index.js" | ||
} | ||
@@ -42,4 +42,4 @@ }, | ||
"build": "bun --bun tsup", | ||
"check-all": "concurrently --kill-others=failure 'bun run test' 'bun lint' 'bun type-check' 'bun format:check'", | ||
"test": "bun run build && bun test", | ||
"check-all": "bun --bun concurrently --kill-others=failure 'bun run test' 'bun lint' 'bun type-check' 'bun format:check'", | ||
"test": "bun test", | ||
"format": "bun format:base --write", | ||
@@ -49,3 +49,4 @@ "format:check": "bun format:base --check", | ||
"lint": "bun --bun eslint . --cache", | ||
"type-check": "bun --bun tsc" | ||
"type-check": "bun --bun tsc", | ||
"publish": "bun --bun semantic-release" | ||
}, | ||
@@ -56,19 +57,19 @@ "dependencies": { | ||
"devDependencies": { | ||
"@commitlint/cli": "^19.4.1", | ||
"@commitlint/config-conventional": "^19.4.1", | ||
"@eslint/js": "^9.10.0", | ||
"@commitlint/cli": "^19.6.0", | ||
"@commitlint/config-conventional": "^19.6.0", | ||
"@eslint/js": "^9.15.0", | ||
"@semantic-release/exec": "^6.0.3", | ||
"@types/bun": "^1.1.8", | ||
"@types/bun": "^1.1.14", | ||
"@types/eslint__js": "^8.42.3", | ||
"@types/semver": "^7.5.8", | ||
"concurrently": "^9.0.0", | ||
"eslint": "^9.10.0", | ||
"concurrently": "^9.1.0", | ||
"eslint": "^9.15.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"husky": "^9.1.5", | ||
"prettier": "^3.3.3", | ||
"semantic-release": "^24.1.0", | ||
"tsup": "^8.2.4", | ||
"typescript": "^5.5.4", | ||
"typescript-eslint": "^8.4.0" | ||
"husky": "^9.1.7", | ||
"prettier": "^3.4.0", | ||
"semantic-release": "^24.2.0", | ||
"tsup": "^8.3.5", | ||
"typescript": "^5.7.2", | ||
"typescript-eslint": "^8.16.0" | ||
} | ||
} |
@@ -29,1 +29,2 @@ # is-bun-module | ||
- Inspired by [is-core-module](https://github.com/inspect-js/is-core-module) and made for [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) | ||
- Runtime-independent |
Sorry, the diff of this file is not supported yet
11754
0.88%226
0.89%30
3.45%