Skip to content

Commit

Permalink
fix: workaround issue #8
Browse files Browse the repository at this point in the history
  • Loading branch information
satoruk committed Sep 25, 2020
1 parent 1010547 commit 7a22f81
Show file tree
Hide file tree
Showing 43 changed files with 329 additions and 47 deletions.
5 changes: 4 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@
"codecov",
"gopath",
"macos",
"minimalistic",
"mkdir",
"openpgp",
"openpgpjs",
"satoruk",
"vercel"
"vercel",
"vordimous"
]
}
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
coverage
node_modules/*

# Fix https://github.com/vercel/ncc/issues/538
!node_modules/asn1.js/
!node_modules/bn.js/
!node_modules/inherits/
!node_modules/safer-buffer/
!node_modules/minimalistic-assert/

*.code-workspace
*.log
*.tgz
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
27 changes: 0 additions & 27 deletions node_modules/asn1.js/.eslintrc.js

This file was deleted.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
"license": "MIT",
"homepage": "https://github.com/satoruk/action-prepare",
"scripts": {
"build": "tsc --noEmit && ncc build --minify --source-map src/index.ts",
"build": "yarn lint && yarn build:ncc && yarn copy",
"build:ncc": "ncc build --minify --source-map src/index.ts",
"clean": "yarn clean:report && yarn clean:build",
"clean:build": "del dist",
"clean:report": "del coverage '*.log'",
"commit": "git-cz",
"copy": "cpx -C \"node_modules/{asn1.js,bn.js,inherits,safer-buffer,minimalistic-assert}/**/*\" dist/node_modules",
"lint": "yarn lint:es && yarn lint:spell '**/*.*'",
"lint:es": "eslint",
"lint:es": "tsc --noEmit && eslint",
"lint:spell": "cspell",
"format": "eslint --fix . && prettier --write .",
"prepack": "yarn prepare",
Expand All @@ -35,6 +37,7 @@
"@vercel/ncc": "0.23.0",
"ajv": "6.12.4",
"commitizen": "4.1.5",
"cpx": "1.5.0",
"cspell": "4.1.0",
"cz-conventional-changelog": "3.2.0",
"del-cli": "3.0.1",
Expand Down
Loading

0 comments on commit 7a22f81

Please sign in to comment.