diff --git a/packages/cli-template-contracts-hardhat/package.json b/packages/cli-template-contracts-hardhat/package.json index 6ebd222b..adfe241c 100644 --- a/packages/cli-template-contracts-hardhat/package.json +++ b/packages/cli-template-contracts-hardhat/package.json @@ -16,9 +16,7 @@ ".prettierrc.json", "hardhat.config.ts", "tsconfig.json", - "README.md", - ".yarn/", - ".yarnrc.yml" + "README.md" ], "publishConfig": { "access": "public" @@ -32,7 +30,7 @@ "test:report-gas": "REPORT_GAS=true hardhat test", "test:coverage": "hardhat coverage", "typechain": "hardhat typechain", - "prepublish": "tar -czf files.tgz .gitignore", + "prepublish": "tar -czf files.tgz .gitignore .yarn .yarnrc.yml", "lint": "eslint . --ext .js,.ts && solhint 'contracts/**/*.sol'", "prettier": "prettier -c --plugin=prettier-plugin-solidity .", "prettier:write": "prettier -w --plugin=prettier-plugin-solidity ." diff --git a/packages/cli-template-monorepo-ethers/package.json b/packages/cli-template-monorepo-ethers/package.json index fdb4dd8f..459beecf 100644 --- a/packages/cli-template-monorepo-ethers/package.json +++ b/packages/cli-template-monorepo-ethers/package.json @@ -18,7 +18,7 @@ "lint": "yarn workspaces foreach -A -pi run lint", "prettier": "prettier -c . && yarn workspaces foreach -A -pi run prettier", "prettier:write": "prettier -w . && yarn workspaces foreach -A -pi run prettier:write", - "prepublish": "tar -czf files.tgz .gitignore .yarn .yarnrc.yml apps" + "prepublish": "tar --exclude typechain-types --exclude artifacts --exclude cache --exclude node_modules --exclude out --exclude .next --exclude build -czf files.tgz .gitignore .yarn .yarnrc.yml apps" }, "workspaces": [ "apps/*" diff --git a/packages/cli-template-monorepo-subgraph/package.json b/packages/cli-template-monorepo-subgraph/package.json index f73fb535..5ce7909e 100644 --- a/packages/cli-template-monorepo-subgraph/package.json +++ b/packages/cli-template-monorepo-subgraph/package.json @@ -18,7 +18,7 @@ "lint": "yarn workspaces foreach -A -pi run lint", "prettier": "prettier -c . && yarn workspaces foreach -A -pi run prettier", "prettier:write": "prettier -w . && yarn workspaces foreach -A -pi run prettier:write", - "prepublish": "tar -czf files.tgz .gitignore .yarn .yarnrc.yml apps" + "prepublish": "tar --exclude typechain-types --exclude artifacts --exclude cache --exclude node_modules --exclude out --exclude .next --exclude build -czf files.tgz .gitignore .yarn .yarnrc.yml apps" }, "workspaces": [ "apps/*"