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 { PieceCategory } from '@activepieces/shared';
|
||||||
import { runPythonCode } from './lib/run-python-code';
|
import { runPythonCode } from './lib/run-python-code';
|
||||||
|
|
||||||
// Python logo - hosted on Django backend
|
// Python logo - use official Python logo from python.org
|
||||||
const PYTHON_LOGO = 'http://lvh.me:8000/static/images/python-logo.svg';
|
const PYTHON_LOGO = 'https://www.python.org/static/community_logos/python-logo-generic.svg';
|
||||||
|
|
||||||
export const pythonCode = createPiece({
|
export const pythonCode = createPiece({
|
||||||
displayName: 'Python Code',
|
displayName: 'Python Code',
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
|
|||||||
import { PieceCategory } from '@activepieces/shared';
|
import { PieceCategory } from '@activepieces/shared';
|
||||||
import { runRubyCode } from './lib/run-ruby-code';
|
import { runRubyCode } from './lib/run-ruby-code';
|
||||||
|
|
||||||
// Ruby logo - hosted on Django backend
|
// Ruby logo - use official Ruby logo from ruby-lang.org
|
||||||
const RUBY_LOGO = 'http://lvh.me:8000/static/images/ruby-logo.svg';
|
const RUBY_LOGO = 'https://www.ruby-lang.org/images/header-ruby-logo.png';
|
||||||
|
|
||||||
export const rubyCode = createPiece({
|
export const rubyCode = createPiece({
|
||||||
displayName: 'Ruby Code',
|
displayName: 'Ruby Code',
|
||||||
|
|||||||
@@ -22,23 +22,27 @@ uplinks:
|
|||||||
|
|
||||||
# Package access rules
|
# Package access rules
|
||||||
packages:
|
packages:
|
||||||
# Our custom Activepieces pieces - serve locally, allow anonymous publish
|
# Our custom Activepieces pieces - serve locally, allow any publish
|
||||||
'@activepieces/piece-smoothschedule':
|
'@activepieces/piece-smoothschedule':
|
||||||
access: $all
|
access: $all
|
||||||
publish: $anonymous
|
publish: $all
|
||||||
|
unpublish: $all
|
||||||
# No proxy - only serve from local storage
|
# No proxy - only serve from local storage
|
||||||
|
|
||||||
'@activepieces/piece-python-code':
|
'@activepieces/piece-python-code':
|
||||||
access: $all
|
access: $all
|
||||||
publish: $anonymous
|
publish: $all
|
||||||
|
unpublish: $all
|
||||||
|
|
||||||
'@activepieces/piece-ruby-code':
|
'@activepieces/piece-ruby-code':
|
||||||
access: $all
|
access: $all
|
||||||
publish: $anonymous
|
publish: $all
|
||||||
|
unpublish: $all
|
||||||
|
|
||||||
'@activepieces/piece-interfaces':
|
'@activepieces/piece-interfaces':
|
||||||
access: $all
|
access: $all
|
||||||
publish: $anonymous
|
publish: $all
|
||||||
|
unpublish: $all
|
||||||
|
|
||||||
# All other @activepieces packages - proxy to npm
|
# All other @activepieces packages - proxy to npm
|
||||||
'@activepieces/*':
|
'@activepieces/*':
|
||||||
|
|||||||
Reference in New Issue
Block a user