Skip to content

Commit

Permalink
fix: disable pyroscope logo (#890)
Browse files Browse the repository at this point in the history
* fix: disable pyroscope logo

until we figure out a nice watermark
  • Loading branch information
eh-am authored Feb 24, 2022
1 parent bb593f0 commit 0477cff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/pyroscope-flamegraph/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pyroscope/flamegraph",
"version": "0.0.3",
"version": "0.0.4",
"main": "dist/index.node.js",
"browser": "dist/index.js",
"license": "Apache-2.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/pyroscope-flamegraph/src/index.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { render, screen } from '@testing-library/react';
// import { Units } from '@utils/format';
import { FlamegraphRenderer } from './index';

const SimpleTree = {
Expand Down Expand Up @@ -31,7 +30,7 @@ const SimpleTree = {
spyName: 'gospy',
};

describe('Pyroscope Library', () => {
describe.skip('Pyroscope Library', () => {
it('should not be possible to override the pyroscope logo using props', () => {
render(
<FlamegraphRenderer
Expand Down
3 changes: 2 additions & 1 deletion packages/pyroscope-flamegraph/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import FlameGraphRenderer from './FlameGraph/FlameGraphRenderer';
import Flamegraph from './FlameGraph/FlameGraphComponent/Flamegraph';

const overrideProps = {
showPyroscopeLogo: !process.env.PYROSCOPE_HIDE_LOGO as any, // this is injected by webpack
// showPyroscopeLogo: !process.env.PYROSCOPE_HIDE_LOGO as any, // this is injected by webpack
showPyroscopeLogo: false,
};

// TODO: type props
Expand Down
2 changes: 1 addition & 1 deletion packages/pyroscope-panel-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"dev": "webpack --config ../../scripts/webpack/webpack.panel.ts --watch"
},
"dependencies": {
"@pyroscope/flamegraph": "^0.0.3"
"@pyroscope/flamegraph": "*"
}
}

0 comments on commit 0477cff

Please sign in to comment.