canvasxpress-cli 65.6.0 → 65.7.1

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/cmds/io.js CHANGED
@@ -6,7 +6,10 @@ const { chromium } = require('playwright');
6
6
 
7
7
  module.exports = async (obj) => {
8
8
 
9
- const dirname = process.argv[1].replace('/bin/canvasxpress', '');
9
+ // Package root (node-cli/), where logs/ and src/ live. Derived from this file's
10
+ // location (cmds/) so it is correct under global installs and on Windows, where
11
+ // the previous argv[1] string-replace of '/bin/canvasxpress' broke.
12
+ const dirname = path.join(__dirname, '..');
10
13
 
11
14
  const today = new Date().toISOString().replace('-', '').split('T')[0].replace('-', '');
12
15
 
@@ -150,6 +153,8 @@ module.exports = async (obj) => {
150
153
  } catch (err) {
151
154
 
152
155
  console.error(err);
156
+ // Report failure to the shell so CI/scripts can detect a failed render.
157
+ process.exitCode = 1;
153
158
 
154
159
  }
155
160
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvasxpress-cli",
3
- "version": "65.6.0",
3
+ "version": "65.7.1",
4
4
  "license": {
5
5
  "type": "Dual licensing",
6
6
  "url": "https://www.canvasxpress.org/docs/license.html"
@@ -34,7 +34,6 @@
34
34
  "figlet": "^1.2.1",
35
35
  "minimist": "^1.2.0",
36
36
  "ora": "^3.4.0",
37
- "playwright": "^1.45.0",
38
- "puppeteer": "^13.0.0"
37
+ "playwright": "^1.45.0"
39
38
  }
40
39
  }
@@ -1413,7 +1413,7 @@ textarea.cX-Chat-Code-Output {
1413
1413
  container-type: inline-size;
1414
1414
  }
1415
1415
 
1416
- @container (max-width: 99px) {
1416
+ @container (max-width: 129px) {
1417
1417
  .cX-Customizer-Compact .cX-Customizer-LeftItemTop {
1418
1418
  display: none !important;
1419
1419
  }
@@ -1895,7 +1895,7 @@ textarea.cX-Chat-Code-Output {
1895
1895
  border: 1px var(--cx-border-style) var(--cx-datatable-border-color) !important;
1896
1896
  }
1897
1897
 
1898
- .cX-Customizer-RightItemSelect>select:hover,
1898
+ .cX-Customizer-RightItemSelect>select,
1899
1899
  .cX-Customizer-RightItemTextArea > textarea {
1900
1900
  overflow: hidden;
1901
1901
  resize: none;