From 826f9d85a33d4721891d94476adbeb4edfc77c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Breitbart?= Date: Tue, 3 May 2022 15:36:06 +0200 Subject: [PATCH] prepare npm release --- .npmignore | 8 ++++++++ LICENSE | 2 +- package.json | 10 ++++------ typings/xterm-addon-image.d.ts | 22 +--------------------- 4 files changed, 14 insertions(+), 28 deletions(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..143c7fe --- /dev/null +++ b/.npmignore @@ -0,0 +1,8 @@ +.github +fixture +overwrite +bootstrap.sh +tsconfig.json +webpack.config.js +test +out-test diff --git a/LICENSE b/LICENSE index f80debc..2db452a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2019, 2020, 2021 Joerg Breitbart. +Copyright (c) 2019, 2020, 2021, 2022 Joerg Breitbart. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/package.json b/package.json index 2690f5c..1a01135 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xterm-addon-image", - "version": "0.0.1", + "version": "0.1.0", "author": "Joerg Breitbart ", "main": "lib/xterm-addon-image.js", "types": "typings/xterm-addon-image.d.ts", @@ -13,12 +13,10 @@ "prepublishOnly": "npm run package" }, "peerDependencies": { - "xterm": "~4.16.0" - }, - "dependencies": { - "sixel": "^0.16.0" + "xterm": "~4.18.0" }, "devDependencies": { - "png-ts": "^0.0.3" + "png-ts": "^0.0.3", + "sixel": "^0.16.0" } } diff --git a/typings/xterm-addon-image.d.ts b/typings/xterm-addon-image.d.ts index 76a1918..8d266fd 100644 --- a/typings/xterm-addon-image.d.ts +++ b/typings/xterm-addon-image.d.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2012 Joerg Breitbart. + * Copyright (c) 2022 Joerg Breitbart. * @license MIT */ @@ -55,22 +55,6 @@ declare module 'xterm-addon-image' { */ showPlaceholder?: boolean; - /** - * Leave cursor to right of image. - * This has no effect, if an image covers all cells to the right. - * Same as DECSET 8452, default is false. - */ - cursorRight?: boolean; - - /** - * Leave cursor below the first row of an image, scrolling if needed. - * If disabled, the cursor is left at the beginning of the next line. - * This settings is partially overwritten by `cursorRight`, if an image - * does not cover all cells to the right. - * Same as DECSET 7730, default is false. - */ - cursorBelow?: boolean; - /** * SIXEL settings */ @@ -83,10 +67,6 @@ declare module 'xterm-addon-image' { sixelPaletteLimit?: number; /** SIXEL image size limit in bytes (default 25000000 bytes). */ sixelSizeLimit?: number; - /** Whether to use private palettes for SIXEL sequences (default is true). Same as DECSET 1070. */ - sixelPrivatePalette?: boolean; - /** Default start palette (default is 'VT340-COLOR'). */ - sixelDefaultPalette?: 'VT340-COLOR' | 'VT340-GREY' | 'ANSI256'; } export class ImageAddon implements ITerminalAddon {