Skip to content

Commit

Permalink
Merge branch 'develop' into fix/template-typos
Browse files Browse the repository at this point in the history
  • Loading branch information
shakkernerd authored Jan 28, 2025
2 parents c1eaf4e + 05679e4 commit 56020f9
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 37 deletions.
File renamed without changes.
37 changes: 37 additions & 0 deletions packages/plugin-lens-network/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "@elizaos/plugin-lens-network",
"version": "0.1.9",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@elizaos/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"tsup": "^8.3.5",
"web3": "^4.15.0",
"@lens-network/sdk": "^0.0.0-canary-20241203140504",
"dotenv": "^16.0.3",
"ethers": "^6.0.0",
"zksync-ethers": "^6.0.0"
},
"scripts": {
"build": "tsup --format esm --dts",
"lint": "eslint --fix --cache ."
},
"peerDependencies": {
"whatwg-url": "7.1.0"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
37 changes: 0 additions & 37 deletions packages/plugin-lensNetwork/package.json

This file was deleted.

25 changes: 25 additions & 0 deletions scripts/update-package-access.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
const fs = require('fs');
const path = require('path');
const glob = require('glob');
const { execSync } = require('child_process');

const packages = glob.sync('packages/*/package.json');

packages.forEach((packageJsonPath) => {
const packageJson = require(path.resolve(packageJsonPath));

if (packageJson.name.startsWith('@elizaos/') && !packageJson.private && !packageJson.publishConfig) {
packageJson.publishConfig = { access: 'public' };

fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2));
console.log(`Updated: ${packageJson.name}`);

// Format the file using npx Prettier
try {
execSync(`npx prettier --write ${packageJsonPath}`, { stdio: 'inherit' });
console.log(`Formatted: ${packageJsonPath}`);
} catch (error) {
console.error(`Error formatting file: ${packageJsonPath}`, error.message);
}
}
});

0 comments on commit 56020f9

Please # to comment.