Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix hanging build #313

Merged
merged 1 commit into from
Sep 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: 16.x

- name: install pnpm
uses: pnpm/action-setup@v2.0.1
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ dist
log.txt
coverage
examples/*/.env
pnpm-lock.yaml
.next
.cache
.clinic
examples/aws/.build
examples/aws/.build
.pnpm-debug.log*
*.log
3 changes: 3 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --config commitlint.config.cjs --edit "$1"
3 changes: 3 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm format && pnpm lint && pnpm test
13 changes: 0 additions & 13 deletions .pnpm-debug.log

This file was deleted.

58 changes: 29 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,34 @@
"pnpm": ">=5.3.0"
},
"devDependencies": {
"@changesets/cli": "^2.16.0",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@jest/globals": "^27.0.6",
"@rollup/plugin-typescript": "^8.2.5",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.1",
"@typescript-eslint/eslint-plugin": "^4.29.2",
"@typescript-eslint/parser": "^4.29.2",
"colorette": "^1.3.0",
"decache": "^4.6.0",
"dirname-filename-esm": "^1.1.1",
"enhanced-resolve": "^5.8.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.1",
"eta": "^1.12.3",
"husky": "7.0.1",
"jest": "^27.0.6",
"jsonwebtoken": "^8.5.1",
"prettier": "^2.3.2",
"range-parser": "^1.2.1",
"regexparam": "^2.0.0",
"rollup": "^2.56.2",
"supertest-fetch": "^1.4.3",
"ts-jest": "^27.0.5",
"tslib": "^2.3.1",
"typescript": "^4.3.5"
"@changesets/cli": "2.17.0",
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"@jest/globals": "27.1.1",
"@rollup/plugin-typescript": "8.2.5",
"@types/jest": "27.0.1",
"@types/node": "16.9.1",
"@typescript-eslint/eslint-plugin": "4.31.0",
"@typescript-eslint/parser": "4.31.0",
"colorette": "1.4.0",
"decache": "4.6.0",
"dirname-filename-esm": "1.1.1",
"enhanced-resolve": "5.8.2",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"eta": "1.12.3",
"husky": "7.0.2",
"jest": "27.1.1",
"jsonwebtoken": "8.5.1",
"prettier": "2.4.0",
"range-parser": "1.2.1",
"regexparam": "2.0.0",
"rollup": "2.56.3",
"supertest-fetch": "1.4.3",
"ts-jest": "27.0.5",
"tslib": "2.3.1",
"typescript": "4.3.5"
},
"scripts": {
"prerelease": "pnpm lint && pnpm build && pnpm test",
Expand All @@ -53,6 +53,6 @@
"format:fix": "prettier --write \"./**/*.{ts,js,mjs,cjs,md}\"",
"echo:ancestor": "echo ${ANCESTOR_REF:-$(git merge-base origin/master HEAD)}",
"build": "pnpm -r build",
"postinstall": "husky install"
"prepare": "husky install"
}
}
2 changes: 1 addition & 1 deletion packages/accepts/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cfg from '../../build/cfgBuilder'
import cfg from '../../build/cfgBuilder.js'
import { dependencies } from './package.json'

export default cfg({
Expand Down
2 changes: 1 addition & 1 deletion packages/app/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cfg from '../../build/cfgBuilder'
import cfg from '../../build/cfgBuilder.js'
import { dependencies } from './package.json'

export default cfg({
Expand Down
2 changes: 1 addition & 1 deletion packages/ip-filter/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cfg from '../../build/cfgBuilder'
import cfg from '../../build/cfgBuilder.js'
import { dependencies } from './package.json'

export default cfg({
Expand Down
2 changes: 1 addition & 1 deletion packages/proxy-addr/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cfg from '../../build/cfgBuilder'
import cfg from '../../build/cfgBuilder.js'
import deps from '../../build/deps'
import { dependencies } from './package.json'

Expand Down
2 changes: 1 addition & 1 deletion packages/rate-limit/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cfg from '../../build/cfgBuilder'
import cfg from '../../build/cfgBuilder.js'
import { dependencies } from './package.json'

export default cfg({
Expand Down
2 changes: 1 addition & 1 deletion packages/req/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cfg from '../../build/cfgBuilder'
import cfg from '../../build/cfgBuilder.js'
import { dependencies } from './package.json'

export default cfg({
Expand Down
2 changes: 1 addition & 1 deletion packages/res/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cfg from '../../build/cfgBuilder'
import cfg from '../../build/cfgBuilder.js'
import { dependencies } from './package.json'

export default cfg({
Expand Down
2 changes: 1 addition & 1 deletion packages/send/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cfg from '../../build/cfgBuilder'
import cfg from '../../build/cfgBuilder.js'
import { dependencies } from './package.json'

export default cfg({
Expand Down
2 changes: 1 addition & 1 deletion packages/type-is/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cfg from '../../build/cfgBuilder'
import cfg from '../../build/cfgBuilder.js'
import { dependencies } from './package.json'

export default cfg({
Expand Down
2 changes: 1 addition & 1 deletion packages/url/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cfg from '../../build/cfgBuilder'
import cfg from '../../build/cfgBuilder.js'
import { dependencies } from './package.json'

export default cfg({
Expand Down