Fix Activepieces piece logos and Verdaccio permissions
- Update Python piece logo URL to use official python.org logo - Update Ruby piece logo URL to use official ruby-lang.org logo - Fix Verdaccio config to allow authenticated publish ($all instead of $anonymous) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,8 +2,8 @@ import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
import { runPythonCode } from './lib/run-python-code';
|
||||
|
||||
// Python logo - hosted on Django backend
|
||||
const PYTHON_LOGO = 'http://lvh.me:8000/static/images/python-logo.svg';
|
||||
// Python logo - use official Python logo from python.org
|
||||
const PYTHON_LOGO = 'https://www.python.org/static/community_logos/python-logo-generic.svg';
|
||||
|
||||
export const pythonCode = createPiece({
|
||||
displayName: 'Python Code',
|
||||
|
||||
@@ -2,8 +2,8 @@ import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
import { runRubyCode } from './lib/run-ruby-code';
|
||||
|
||||
// Ruby logo - hosted on Django backend
|
||||
const RUBY_LOGO = 'http://lvh.me:8000/static/images/ruby-logo.svg';
|
||||
// Ruby logo - use official Ruby logo from ruby-lang.org
|
||||
const RUBY_LOGO = 'https://www.ruby-lang.org/images/header-ruby-logo.png';
|
||||
|
||||
export const rubyCode = createPiece({
|
||||
displayName: 'Ruby Code',
|
||||
|
||||
@@ -22,23 +22,27 @@ uplinks:
|
||||
|
||||
# Package access rules
|
||||
packages:
|
||||
# Our custom Activepieces pieces - serve locally, allow anonymous publish
|
||||
# Our custom Activepieces pieces - serve locally, allow any publish
|
||||
'@activepieces/piece-smoothschedule':
|
||||
access: $all
|
||||
publish: $anonymous
|
||||
publish: $all
|
||||
unpublish: $all
|
||||
# No proxy - only serve from local storage
|
||||
|
||||
'@activepieces/piece-python-code':
|
||||
access: $all
|
||||
publish: $anonymous
|
||||
publish: $all
|
||||
unpublish: $all
|
||||
|
||||
'@activepieces/piece-ruby-code':
|
||||
access: $all
|
||||
publish: $anonymous
|
||||
publish: $all
|
||||
unpublish: $all
|
||||
|
||||
'@activepieces/piece-interfaces':
|
||||
access: $all
|
||||
publish: $anonymous
|
||||
publish: $all
|
||||
unpublish: $all
|
||||
|
||||
# All other @activepieces packages - proxy to npm
|
||||
'@activepieces/*':
|
||||
|
||||
Reference in New Issue
Block a user