Skip to content

Commit

Permalink
chore: fix hanging build (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldy505 committed Sep 10, 2021
1 parent db200d2 commit 94875e2
Show file tree
Hide file tree
Showing 17 changed files with 5,189 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
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
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
@@ -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
@@ -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
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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

0 comments on commit 94875e2

Please sign in to comment.