Skip to content

Commit eda6e7e

Browse files
committed
Don't use the dist blessed
1 parent 4eb9c76 commit eda6e7e

File tree

4 files changed

+34
-83
lines changed

4 files changed

+34
-83
lines changed

.config/rollup.base.config.mjs

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -59,27 +59,27 @@ export const EXTERNAL_PACKAGES = ['blessed']
5959

6060
export const INLINED_PACKAGES = [
6161
'@babel/runtime',
62-
'blessed-contrib',
63-
// 'blessed-contrib' package dependencies.
64-
'ansi-escapes',
65-
'ansi-regex',
66-
'bresenham',
67-
'buffers',
68-
'cardinal',
69-
'chalk',
70-
'charm',
71-
'cli-table3',
72-
'drawille-blessed-contrib',
73-
'drawille-canvas-blessed-contrib',
74-
'esprima',
75-
'event-stream',
76-
'gl-matrix',
77-
'has-flag',
78-
'node-emoji',
79-
'png-js',
80-
'readable-stream',
81-
'supports-hyperlinks',
82-
'x256'
62+
// 'blessed-contrib',
63+
// // 'blessed-contrib' package dependencies.
64+
// 'ansi-escapes',
65+
// 'ansi-regex',
66+
// 'bresenham',
67+
// 'buffers',
68+
// 'cardinal',
69+
// 'chalk',
70+
// 'charm',
71+
// 'cli-table3',
72+
// 'drawille-blessed-contrib',
73+
// 'drawille-canvas-blessed-contrib',
74+
// 'esprima',
75+
// 'event-stream',
76+
// 'gl-matrix',
77+
// 'has-flag',
78+
// 'node-emoji',
79+
// 'png-js',
80+
// 'readable-stream',
81+
// 'supports-hyperlinks',
82+
// 'x256'
8383
]
8484

8585
const SOCKET_INTEROP = '_socketInterop'
@@ -415,10 +415,10 @@ export default function baseConfig(extendConfig = {}) {
415415
replace: ''
416416
}),
417417
// Replace require('blessed/lib/widgets/xyz') with require('../blessed/lib/widgets/xyz').
418-
socketModifyPlugin({
419-
find: blessedRequiresRegExp,
420-
replace: (id) => `../${id}`
421-
}),
418+
// socketModifyPlugin({
419+
// find: blessedRequiresRegExp,
420+
// replace: (id) => `../${id}`
421+
// }),
422422
commonjsPlugin({
423423
defaultIsModuleExports: true,
424424
extensions: ['.cjs', '.js', '.ts', `.ts${ROLLUP_ENTRY_SUFFIX}`],

.dep-stats.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
"@socketsecurity/config": "2.1.3",
1313
"@socketsecurity/registry": "1.0.143",
1414
"@socketsecurity/sdk": "1.4.28",
15+
"blessed": "0.1.81",
16+
"blessed-contrib": "4.11.0",
1517
"browserslist": "4.24.4",
1618
"chalk-table": "1.0.2",
1719
"cmd-shim": "7.0.0",
@@ -66,6 +68,7 @@
6668
"external": {
6769
"@pnpm/lockfile.detect-dep-types": "^1001.0.7",
6870
"@pnpm/lockfile.fs": "^1001.1.9",
71+
"blessed-contrib": "4.11.0",
6972
"browserslist": "4.24.4",
7073
"chalk-table": "1.0.2",
7174
"cmd-shim": "7.0.0",

0 commit comments

Comments
 (0)