Skip to content

Commit

Permalink
feat: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
theogravity committed Sep 22, 2024
1 parent fdedded commit 245ee7d
Show file tree
Hide file tree
Showing 6 changed files with 440 additions and 491 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
![NPM Downloads](https://img.shields.io/npm/dm/loglayer)
[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/)

To update:
Configure the following files:

- `package.json`
- `.changeset/config.json`

In Github settings:

- `Workflow permissions`
- `Code and Automation > Actions > Workflow permissions`
* `Read and write permissions`
* `Allow Github Actoins to create and approve pull requests`
* `Allow Github Actions to create and approve pull requests`
- `Secrets and variables > Actions`
* `Repository Secrets > create NPM_TOKEN`
* `Repository Secrets > Actions > create NPM_TOKEN`
23 changes: 6 additions & 17 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,27 @@
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"enabled": true
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"lineWidth": 120,
"ignore": [
"vendor/*",
"node_modules/*",
"*.config.*",
"*.json",
"tsconfig.json",
".turbo",
"build/*",
"coverage/*",
".pnpm-store/*",
"dist/*"
]
"ignore": ["node_modules/*", "*.config.*", "*.json", "tsconfig.json", ".turbo", "dist/*", ".pnpm-store/*"]
},
"linter": {
"enabled": true,
"ignore": ["build/*", "coverage/*"],
"ignore": ["dist/*", ".pnpm-store/*", "packages/backend-client/*"],
"rules": {
"style": {
"noNonNullAssertion": "off"
},
"performance": {
"noDelete": "off"
},
"complexity": {
"useLiteralKeys": "off"
},
"correctness": {
"noUnusedImports": "error"
},
"suspicious": {
"noImplicitAnyLet": "off",
"noExplicitAny": "off"
Expand Down
30 changes: 14 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,27 @@
"description": "",
"version": "0.2.2",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"types": "dist/index.d.ts",
"author": "Theo Gravity <[email protected]>",
"keywords": [],
"scripts": {
"build": "tsup src/index.ts",
"changeset": "changeset",
"add-changeset": "changeset add",
"clean": "rm -rf node_modules dist",
"debug": "ts-node-dev --inspect -- src/index.ts",
"debug:break": "ts-node-dev --inspect-brk -- src/index.ts",
"lint": "biome check --write --unsafe src && biome format src --write && biome lint src --fix",
"lint-staged": "lint-staged",
"prepare": "husky",
"release": "changeset publish",
"syncpack:update": "syncpack update",
"syncpack:fix": "syncpack fix-mismatches",
"syncpack:update": "syncpack update && syncpack fix-mismatches && pnpm i",
"syncpack:format": "syncpack format",
"syncpack:lint": "syncpack lint",
"test": "vitest run",
Expand All @@ -34,19 +32,19 @@
"version-packages": "changeset version"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@biomejs/biome": "1.9.2",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.7",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@types/node": "22.1.0",
"husky": "9.1.4",
"lint-staged": "15.2.7",
"tsup": "8.2.4",
"syncpack": "12.4.0",
"turbo": "2.0.9",
"typescript": "5.5.4",
"vitest": "2.0.5"
"@changesets/cli": "2.27.8",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@types/node": "22.5.5",
"husky": "9.1.6",
"lint-staged": "15.2.10",
"tsup": "8.3.0",
"syncpack": "13.0.0",
"turbo": "2.1.2",
"typescript": "5.6.2",
"vitest": "2.1.1"
},
"bugs": "https://github.com/theogravity/example-typescript-package/issues",
"engines": {
Expand Down
Loading

0 comments on commit 245ee7d

Please sign in to comment.