shellfie 1.3.6 → 1.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -41,6 +41,13 @@ outputs:
41
41
  <img src="./shellfies/shellfie.png" />
42
42
 
43
43
 
44
+ ### Apple Silicon
45
+ ```bash
46
+ # NOTE! if you are running on Apple Silicon you may need to set the following env variables:
47
+ export PUPPETEER_EXECUTABLE_PATH=`which chromium`
48
+ export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
49
+ ```f
50
+
44
51
  # data
45
52
  **type**: `string[]` || `string`
46
53
  **description**: string data to output to the terminal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shellfie",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "create beautiful terminal screenshots programmatically",
5
5
  "main": "shellfie.js",
6
6
  "directories": {
package/shellfie.js CHANGED
@@ -77,7 +77,6 @@ async function shellfie(data, config) {
77
77
  const styles = getStyles(style);
78
78
  const className = rendererType === 'dom' ? '.terminal.xterm' : 'canvas';
79
79
  const content = `${className} {${styles}}`;
80
- console.log(content);
81
80
  await page.addStyleTag({ content });
82
81
  }
83
82