-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: files not being published on release
- Loading branch information
1 parent
09f84cc
commit 9211034
Showing
7 changed files
with
69 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Contributing | ||
|
||
# Install | ||
|
||
```bash | ||
# Install pnpm | ||
corepack enable | ||
corepack prepare pnpm@latest --activate | ||
|
||
# Install dependencies | ||
pnpm i | ||
|
||
# Run tests | ||
pnpm test | ||
|
||
# Build | ||
pnpm build | ||
|
||
# Lint | ||
pnpm lint | ||
``` | ||
|
||
# Submitting PRs | ||
|
||
## General rules | ||
|
||
- Make sure to add tests for any code written. They are written using [`vitest`](https://vitest.dev/). The tests should pass before submitting a PR. | ||
- Make sure to run the linter before submitting a PR. The linter is run using `pnpm lint`. It uses | ||
[biome.js](https://biomejs.dev/) for linting. | ||
- The PR must pass the CI checks before it can be merged. This means it should pass linting and tests. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
node_modules | ||
pnpm-lock.yaml | ||
biome.json | ||
src | ||
tsconfig.json | ||
tsup.config.json | ||
.turbo | ||
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"version": "3.0.0", | ||
"description": "A library for sending batches of JSON log data to datadog", | ||
"files": [ | ||
"dist/*" | ||
"dist" | ||
], | ||
"types": "dist/index.d.ts", | ||
"main": "dist/index.js", | ||
|
@@ -22,7 +22,8 @@ | |
"format": "biome format src --write && biome format test --write", | ||
"lint": "biome lint src && biome lint test", | ||
"lint:check": "biome check --apply-unsafe src && check --apply-unsafe test", | ||
"typecheck": "tsc --noEmit" | ||
"typecheck": "tsc --noEmit", | ||
"prepublishOnly": "pnpm run build" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
|
@@ -36,7 +37,8 @@ | |
"homepage": "https://github.com/theogravity/datadog-transports/tree/main/packages/datadog-transport-common#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:theogravity/datadog-transports.git" | ||
"url": "[email protected]:theogravity/datadog-transports.git", | ||
"directory": "packages/datadog-transport-common" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/theogravity/datadog-transports/issues" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
node_modules | ||
pnpm-lock.yaml | ||
biome.json | ||
src | ||
tsconfig.json | ||
tsup.config.json | ||
.turbo | ||
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"version": "3.0.0", | ||
"description": "Send logs to Datadog from electron-log in Electron.", | ||
"files": [ | ||
"dist/*" | ||
"dist" | ||
], | ||
"types": "dist/index.d.ts", | ||
"main": "dist/index.js", | ||
|
@@ -22,7 +22,8 @@ | |
"format": "biome format src --write && biome format test --write", | ||
"lint": "biome lint src && biome lint test", | ||
"lint:check": "biome check --apply-unsafe src && check --apply-unsafe test", | ||
"typecheck": "tsc --noEmit" | ||
"typecheck": "tsc --noEmit", | ||
"prepublishOnly": "pnpm run build" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
|
@@ -41,7 +42,8 @@ | |
"homepage": "https://github.com/theogravity/datadog-transports/tree/main/packages/electron-log-transport-datadog#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:theogravity/datadog-transports.git" | ||
"url": "[email protected]:theogravity/datadog-transports.git", | ||
"directory": "packages/electron-log-transport-datadog" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/theogravity/datadog-transports/issues" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
node_modules | ||
pnpm-lock.yaml | ||
biome.json | ||
src | ||
tsconfig.json | ||
tsup.config.json | ||
.turbo | ||
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"version": "3.0.1", | ||
"description": "A pino v7+ transport for sending logs to Datadog", | ||
"files": [ | ||
"dist/*" | ||
"dist" | ||
], | ||
"types": "dist/index.d.ts", | ||
"main": "dist/index.js", | ||
|
@@ -21,11 +21,13 @@ | |
"format": "biome format src --write && biome format test --write", | ||
"lint": "biome lint src && biome lint test", | ||
"lint:check": "biome check --apply-unsafe src && check --apply-unsafe test", | ||
"typecheck": "tsc --noEmit" | ||
"typecheck": "tsc --noEmit", | ||
"prepublishOnly": "pnpm run build" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/theogravity/datadog-transports.git" | ||
"url": "git+https://github.com/theogravity/datadog-transports.git", | ||
"directory": "packages/pino-datadog-transport" | ||
}, | ||
"author": "Theo Gravity <[email protected]>", | ||
"license": "MIT", | ||
|