Compare commits

...

1 Commits

Author SHA1 Message Date
sriram veeraghanta
86b6a196ce chore: removed package build for utils and hooks 2025-03-26 18:41:08 +05:30
8 changed files with 26 additions and 21 deletions

View File

@@ -0,0 +1,3 @@
build/*
dist/*
out/*

View File

@@ -0,0 +1,6 @@
/** @type {import("eslint").Linter.Config} */
module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js"],
parser: "@typescript-eslint/parser",
};

View File

@@ -3,5 +3,9 @@
"version": "0.25.3",
"private": true,
"main": "./src/index.ts",
"license": "AGPL-3.0"
"license": "AGPL-3.0",
"scripts": {
"lint": "eslint src --ext .ts,.tsx",
"lint:errors": "eslint src --ext .ts,.tsx --quiet"
}
}

View File

@@ -0,0 +1,9 @@
{
"extends": "@plane/typescript-config/react-library.json",
"compilerOptions": {
"jsx": "react",
"lib": ["esnext", "dom"]
},
"include": ["./src"],
"exclude": ["dist", "build", "node_modules"]
}

View File

@@ -3,7 +3,4 @@ module.exports = {
root: true,
extends: ["@plane/eslint-config/library.js"],
parser: "@typescript-eslint/parser",
parserOptions: {
project: true,
},
};

View File

@@ -4,14 +4,8 @@
"license": "AGPL-3.0",
"description": "React hooks that are shared across multiple apps internally",
"private": true,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist/**"
],
"main": "./src/index.ts",
"scripts": {
"build": "tsup ./src/index.ts --format esm,cjs --dts --external react --minify",
"lint": "eslint src --ext .ts,.tsx",
"lint:errors": "eslint src --ext .ts,.tsx --quiet"
},
@@ -22,7 +16,6 @@
"@plane/eslint-config": "*",
"@types/node": "^22.5.4",
"@types/react": "^18.3.11",
"tsup": "^8.4.0",
"typescript": "^5.3.3"
}
}

View File

@@ -4,14 +4,8 @@
"description": "Helper functions shared across multiple apps internally",
"license": "AGPL-3.0",
"private": true,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist/**"
],
"main": "./src/index.ts",
"scripts": {
"build": "tsup ./src/index.ts --format esm,cjs --dts --external react --minify",
"lint": "eslint src --ext .ts,.tsx",
"lint:errors": "eslint src --ext .ts,.tsx --quiet"
},
@@ -29,7 +23,6 @@
"@types/node": "^22.5.4",
"@types/react": "^18.3.11",
"@types/zxcvbn": "^4.4.5",
"tsup": "^8.4.0",
"typescript": "^5.3.3"
}
}

View File

@@ -1,5 +1,5 @@
{
"extends": "@plane/typescript-config/react-library.json",
"extends": "@plane/typescript-config/base.json",
"compilerOptions": {
"jsx": "react",
"lib": ["esnext", "dom"]