Update package version to 1.0.1, enhance ESLint configuration to ignore specific directories and files, and refine .gitignore to include dist directory.

This commit is contained in:
2025-11-22 21:26:31 -05:00
parent d0db8e5076
commit cf04e28c38
3 changed files with 22 additions and 4 deletions

2
.gitignore vendored
View File

@@ -3,7 +3,7 @@ node_modules
# output
out
dist
dist/
*.tgz
# code coverage

View File

@@ -7,6 +7,9 @@ import css from "@eslint/css";
import { defineConfig } from "eslint/config";
export default defineConfig([
{
ignores: ["dist/**", "node_modules/**", "*.min.js"]
},
{ files: ["**/*.{js,mjs,cjs,ts,mts,cts}"], plugins: { js }, extends: ["js/recommended"], languageOptions: { globals: globals.node } },
tseslint.configs.recommended,
{ files: ["**/*.json"], plugins: { json }, language: "json/json", extends: ["json/recommended"] },

View File

@@ -1,11 +1,26 @@
{
"name": "@techniker-me/hash-map",
"version": "1.0.0",
"version": "1.0.1",
"description": "A robust HashMap implementation following OOP SOLID principles",
"module": "src/index.ts",
"type": "module",
"main": "src/index.ts",
"types": "src/index.ts",
"types": "types/index.d.ts",
"exports": {
".": {
"node": "./node/index.js",
"browser": "./browser/index.js"
},
"./types": "./types/index.d.ts"
},
"files": [
"node",
"browser",
"types"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"ci-install": "bun install",
"ci-test": "bun test",
@@ -22,7 +37,7 @@
"build:browser": "bun build ./src/index.ts --target=browser --sourcemap=none --format=esm --splitting --minify --outdir=dist/browser",
"build:types": "bunx tsc -p tsconfig.d.json",
"build:prepare-package-json": "bash scripts/prepare-package-json.sh"
},
},
"keywords": [
"hashmap",
"hash-map",