Skip to content

Commit

Permalink
Set to publish public
Browse files Browse the repository at this point in the history
  • Loading branch information
y3fers0n committed May 28, 2024
1 parent 17a7e6c commit 92a8717
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 12 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@trustwallet/web3-provider",
"module": "index.ts",
"private": "true",
"type": "module",
"scripts": {
"lint": "eslint .",
Expand Down
3 changes: 1 addition & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"module": "dist/index.es.js",
"unpkg": "dist/index.umd.js",
"types": "dist/types/index.d.ts",
"author": "Trust <support@trustwalletapp.com>",
"author": "Trust <support@trustwallet.com>",
"license": "MIT",
"private": true,
"sideEffects": false,
"files": [
"dist"
Expand Down
3 changes: 1 addition & 2 deletions packages/cosmos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"module": "dist/index.es.js",
"unpkg": "dist/index.umd.js",
"types": "dist/types/index.d.ts",
"author": "Trust <support@trustwalletapp.com>",
"author": "Trust <support@trustwallet.com>",
"license": "MIT",
"private": true,
"sideEffects": false,
"files": [
"dist"
Expand Down
3 changes: 1 addition & 2 deletions packages/ethereum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"module": "dist/index.es.js",
"unpkg": "dist/index.umd.js",
"types": "dist/types/index.d.ts",
"author": "Trust <support@trustwalletapp.com>",
"author": "Trust <support@trustwallet.com>",
"license": "MIT",
"private": true,
"sideEffects": false,
"files": [
"dist"
Expand Down
3 changes: 1 addition & 2 deletions packages/solana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"module": "dist/index.es.js",
"unpkg": "dist/index.umd.js",
"types": "dist/types/index.d.ts",
"author": "Trust <support@trustwalletapp.com>",
"author": "Trust <support@trustwallet.com>",
"license": "MIT",
"private": true,
"sideEffects": false,
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ directories.forEach((directory) => {
console.log(`Publishing ${directory}`);

try {
execSync('npm publish', { stdio: 'inherit', cwd: dirPath });
execSync('npm publish --access public', { stdio: 'inherit', cwd: dirPath });
console.log(`Published ${directory}`);
} catch (error) {
console.error(`Failed to build ${directory}`);
Expand Down
3 changes: 1 addition & 2 deletions templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"module": "dist/index.es.js",
"unpkg": "dist/index.umd.js",
"types": "dist/types/index.d.ts",
"author": "Trust <support@trustwalletapp.com>",
"author": "Trust <support@trustwallet.com>",
"license": "MIT",
"private": true,
"sideEffects": false,
"files": [
"dist"
Expand Down

0 comments on commit 92a8717

Please sign in to comment.