Skip to content

Commit

Permalink
[package] switch to @2bad/tsfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhyde committed Sep 1, 2024
1 parent bfe49a6 commit ad8af46
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 20 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
eslint.config.mjs linguist-vendored
fix-ext.sh linguist-vendored
9 changes: 0 additions & 9 deletions fix-ext.sh

This file was deleted.

66 changes: 66 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 7 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@2bad/onvif",
"version": "1.0.0",
"description": "",
"keywords": [
"onvif"
],
"keywords": ["onvif"],
"homepage": "https://github.com/2BAD/onvif#readme",
"bugs": {
"url": "https://github.com/2BAD/onvif/issues"
Expand All @@ -25,22 +23,20 @@
"type": "module",
"exports": "./build/index.js",
"typings": "./build/index.d.ts",
"files": [
"build"
],
"files": ["build"],
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"postbuild": "run-s fix:alias fix:ext",
"build:swc": "swc ./source -d ./build --strip-leading-paths",
"build:types": "tsc --project tsconfig.build.json",
"check": "run-p check:*",
"check:code": "eslint . --report-unused-disable-directives --max-warnings 0",
"check:format": "biome format ./source",
"check:eslint": "eslint . --report-unused-disable-directives --max-warnings 0",
"check:biome": "biome check ./source",
"fix": "run-s fix:code fix:format",
"fix:alias": "tsc-alias -p tsconfig.build.json",
"fix:code": "run-s 'check:code -- --fix'",
"fix:ext": "./fix-ext.sh",
"fix:code": "run-s 'check:eslint -- --fix'",
"fix:ext": "tsfix",
"fix:format": "biome format --write ./source",
"prepublishOnly": "run-s build",
"preversion": "run-s check test build",
Expand All @@ -51,6 +47,7 @@
"devDependencies": {
"@2bad/eslint-config": "1.0.0-beta.2",
"@2bad/tsconfig": "3.0.1",
"@2bad/tsfix": "0.1.0",
"@biomejs/biome": "1.8.3",
"@swc/cli": "0.4.0",
"@swc/core": "1.7.18",
Expand Down

0 comments on commit ad8af46

Please sign in to comment.