Skip to content

Commit 8f51502

Browse files
Gabrel Tgtupak
authored andcommitted
fix: publish contents of dist/ and not the dist folder itself
1 parent bf65a12 commit 8f51502

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

.releaserc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"branches": [
3+
"master",
4+
"develop"
5+
],
6+
"pkgRoot": "dist"
7+
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"main": "dist/src/index.js",
55
"typings": "dist/src/index.d.ts",
66
"files": [
7-
"dist/src/*",
8-
"dist/arc-types/*",
9-
"dist/deployments/*"
7+
"src/*",
8+
"arc-types/*",
9+
"deployments/*"
1010
],
1111
"author": "Kerman Kohli <kermankohli@gmail.com>",
1212
"license": "MIT",
@@ -21,7 +21,7 @@
2121
"test": "yarn hardhat test",
2222
"test:ci": "npx mocha --reporter mocha-junit-reporter --require ts-node/register --require tsconfig-paths/register --require hardhat/register --exit",
2323
"release": "yarn release:local && release-it",
24-
"release:local": "rm -rf dist && ttsc && copyfiles -u 2 src/typings/*.d.ts dist/src/typings",
24+
"release:local": "rm -rf dist && ttsc && copyfiles -u 2 src/typings/*.d.ts dist/src/typings && cp package.json dist",
2525
"commit": "git add . && cz"
2626
},
2727
"devDependencies": {

0 commit comments

Comments
 (0)