Skip to content

Commit

Permalink
Merge pull request #392 from skrtheboss/fix/391-wrong-types
Browse files Browse the repository at this point in the history
Fix/391 wrong types
  • Loading branch information
skrtheboss authored Feb 20, 2024
2 parents f0004cf + 0e82c6a commit cf4ba66
Show file tree
Hide file tree
Showing 4 changed files with 1,108 additions and 13 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-async-semaphore",
"version": "3.0.4",
"version": "4.0.0",
"license": "MIT",
"scripts": {
"format": "nx format:write",
Expand All @@ -27,6 +27,7 @@
"@nx/jest": "17.0.2",
"@nx/js": "17.0.2",
"@nx/plugin": "17.0.2",
"@nx/rollup": "17.0.2",
"@nx/workspace": "17.0.2",
"@swc-node/register": "1.6.8",
"@swc/cli": "0.1.62",
Expand All @@ -37,6 +38,7 @@
"@types/yargs": "17.0.29",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"colorette": "^2.0.20",
"commitizen": "4.3.0",
"eslint": "8.52.0",
"eslint-config-prettier": "9.0.0",
Expand Down
9 changes: 3 additions & 6 deletions packages/ts-async-semaphore/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "ts-async-semaphore",
"version": "3.0.4",
"version": "4.0.0",
"description": "A counting semaphore for node based on Java's Sempahore.",
"main": "dist/semaphore.js",
"types": "dist/semaphore.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/skrtheboss/ts-async-semaphore.git"
Expand Down Expand Up @@ -34,7 +32,6 @@
"engines": {
"node": ">=14.5.0"
},
"dependencies": {
"tslib": "2.6.2"
}
"dependencies": {},
"types": "./src/semaphore.d.ts"
}
13 changes: 10 additions & 3 deletions packages/ts-async-semaphore/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,20 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/js:tsc",
"executor": "@nx/rollup:rollup",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/ts-async-semaphore",
"main": "packages/ts-async-semaphore/src/index.ts",
"project": "packages/ts-async-semaphore/package.json",
"main": "packages/ts-async-semaphore/src/semaphore.ts",
"tsConfig": "packages/ts-async-semaphore/tsconfig.lib.json",
"assets": ["packages/ts-async-semaphore/*.md", "LICENSE"]
"format": ["esm", "cjs"],
"compiler": "tsc",
"assets": [
{ "input": "./packages/ts-async-semaphore", "glob": "*.md", "output": "./" },
{ "input": "./", "glob": "LICENSE", "output": "./" }
],
"generateExportsField": true
}
},
"lint": {
Expand Down
Loading

0 comments on commit cf4ba66

Please sign in to comment.