-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use tsx, biome and node --test
BREAKING CHANGE: use ES2022 and ESM as compile target
- Loading branch information
Showing
46 changed files
with
848 additions
and
1,567 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 |
---|---|---|
|
@@ -93,5 +93,3 @@ jobs: | |
run: pnpm lint | ||
- name: Build | ||
run: pnpm build | ||
|
||
|
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
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 |
---|---|---|
|
@@ -55,7 +55,7 @@ jspm_packages | |
.env | ||
|
||
# Compiled app | ||
build | ||
dist | ||
|
||
# TAP files | ||
out.tap | ||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.1.2/schema.json", | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true | ||
} | ||
}, | ||
"$schema": "https://biomejs.dev/schemas/1.1.2/schema.json", | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true | ||
} | ||
}, | ||
"formatter": { | ||
"indentStyle": "space" | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"semicolons": "asNeeded", | ||
"quoteStyle":"single" | ||
"quoteStyle": "single" | ||
} | ||
} | ||
} |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,26 +2,26 @@ | |
"name": "turborepo-remote-cache", | ||
"version": "1.15.1", | ||
"description": "Turborepo remote cache server", | ||
"main": "build", | ||
"main": "./dist/index.js", | ||
"type": "module", | ||
"author": "Maksim Sinik <[email protected]>", | ||
"license": "MIT", | ||
"bin": { | ||
"turborepo-remote-cache": "./build/cli.js" | ||
"turborepo-remote-cache": "./dist/cli.js" | ||
}, | ||
"scripts": { | ||
"preinstall": "npx only-allow pnpm", | ||
"prebuild": "pnpm lint && rimraf ./build", | ||
"prebuild": "pnpm lint && rimraf ./dist", | ||
"build": "tsc -p ./tsconfig.json", | ||
"start": "node --enable-source-maps build/index.js", | ||
"start": "node --enable-source-maps dist/index.js", | ||
"lint": "biome check src test", | ||
"fmt": "biome format src test", | ||
"dev": "run-p dev:start check:types", | ||
"dev:start": "tsx --watch --inspect -r dotenv/config src/index.ts", | ||
"dev:start": "tsx watch --inspect --env-file=.env src/index.ts", | ||
"check:types": "tsc -p ./tsconfig.json --noEmit", | ||
"test": "cross-env TS_NODE_PROJECT=./test/tsconfig.json tap --ts", | ||
"posttest": "tap --coverage-report=lcov --no-browser", | ||
"test:watch": "pnpm test -- --watch", | ||
"test:report": "pnpm test -- --output-file=out.tap && tap-mocha-reporter xunit < out.tap > junit-testresults.xml", | ||
"test": "tsx --test ./test/*.ts", | ||
"test:watch": "tsx --watch --test ./test/*.ts", | ||
"test:coverage": "c8 --all --src src --reporter lcov --reporter text tsx --test ./test/*.ts", | ||
"commitlint": "commitlint", | ||
"semantic-release": "semantic-release", | ||
"commit": "npx git-cz", | ||
|
@@ -47,61 +47,45 @@ | |
"fastify-plugin": "4.5.0", | ||
"fs-blob-store": "6.0.0", | ||
"hyperid": "3.1.1", | ||
"make-promises-safe": "5.1.0", | ||
"pino": "6.13.3", | ||
"pino-pretty": "9.1.1", | ||
"s3-blob-store": "4.1.1", | ||
"tslib": "2.5.0" | ||
"s3-blob-store": "4.1.1" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.1.2", | ||
"@commitlint/cli": "^17.1.2", | ||
"@commitlint/config-conventional": "^17.1.0", | ||
"@commitlint/prompt": "^17.1.2", | ||
"@biomejs/biome": "1.2.2", | ||
"@commitlint/cli": "^17.7.1", | ||
"@commitlint/config-conventional": "^17.7.0", | ||
"@commitlint/prompt": "^17.7.1", | ||
"@ducktors/tsconfig": "^1.0.0", | ||
"@semantic-release/changelog": "^6.0.3", | ||
"@semantic-release/commit-analyzer": "^9.0.2", | ||
"@semantic-release/git": "^10.0.1", | ||
"@semantic-release/github": "^8.1.0", | ||
"@semantic-release/npm": "^9.0.1", | ||
"@semantic-release/release-notes-generator": "^10.0.3", | ||
"@types/node": "^18.17.9", | ||
"@types/tap": "^15.0.5", | ||
"commitizen": "^4.2.5", | ||
"@types/node": "^20.6.3", | ||
"c8": "^8.0.1", | ||
"commitizen": "^4.3.0", | ||
"commitlint-config-cz": "^0.13.3", | ||
"commitlint-plugin-function-rules": "^1.7.1", | ||
"coveralls": "^3.1.1", | ||
"cross-env": "^7.0.3", | ||
"commitlint-plugin-function-rules": "^2.0.2", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"dotenv": "^16.0.3", | ||
"fastify-tsconfig": "^2.0.0", | ||
"husky": "^8.0.3", | ||
"npm-run-all": "^4.1.5", | ||
"rimraf": "^4.1.2", | ||
"s3rver": "^3.7.1", | ||
"semantic-release": "^20.1.3", | ||
"tap": "^16.3.8", | ||
"ts-node": "^10.4.0", | ||
"tsx": "^3.12.9", | ||
"typescript": "^5.2.2" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/ducktors/turborepo-remote-cache/issues" | ||
}, | ||
"homepage": "https://github.com/ducktors/turborepo-remote-cache#readme", | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"engines": { | ||
"node": ">=16.20" | ||
"node": ">=18.0.0" | ||
}, | ||
"packageManager": "[email protected]", | ||
"keywords": [ | ||
"turborepo", | ||
"monorepo", | ||
"remote", | ||
"cache" | ||
], | ||
"files": [ | ||
"build", | ||
"vercel.json" | ||
] | ||
"keywords": ["turborepo", "monorepo", "remote", "cache"], | ||
"files": ["dist", "vercel.json"] | ||
} |
Oops, something went wrong.