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:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -3,7 +3,7 @@ node_modules
|
||||
|
||||
# output
|
||||
out
|
||||
dist
|
||||
dist/
|
||||
*.tgz
|
||||
|
||||
# code coverage
|
||||
|
||||
@@ -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"] },
|
||||
|
||||
19
package.json
19
package.json
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user