Remove @xtermjs package scope

Too big of a change for now, I think we should do this when/if we
move to GH package registry (we would have to I think).
This commit is contained in:
Daniel Imms
2019-06-04 11:07:11 -07:00
parent d5fddae788
commit d4be839d8d
35 changed files with 30 additions and 30 deletions
@@ -1,5 +1,5 @@
{
"name": "@xtermjs/addon-attach",
"name": "xterm-addon-attach",
"version": "0.1.0-beta8",
"author": {
"name": "The xterm.js authors",
@@ -9,7 +9,7 @@
"types": "typings/attach.d.ts",
"license": "MIT",
"scripts": {
"prepublishOnly": "../../../node_modules/.bin/tsc -p src"
"prepublishOnly": "../../node_modules/.bin/tsc -p src"
},
"peerDependencies": {
"xterm": "^3.14.0"
@@ -14,6 +14,6 @@
},
"include": [
"./**/*",
"../../../../typings/xterm.d.ts"
"../../../typings/xterm.d.ts"
]
}
@@ -5,7 +5,7 @@
import { Terminal, ILinkMatcherOptions, ITerminalAddon } from 'xterm';
declare module '@xtermjs/addon-attach' {
declare module 'xterm-addon-attach' {
export interface IAttachOptions {
/**
* Whether input should be written to the backend. Defaults to `true`.
@@ -1,5 +1,5 @@
{
"name": "@xtermjs/addon-fit",
"name": "xterm-addon-fit",
"version": "0.1.0-beta7",
"author": {
"name": "The xterm.js authors",
@@ -9,7 +9,7 @@
"types": "typings/fit.d.ts",
"license": "MIT",
"scripts": {
"prepublishOnly": "../../../node_modules/.bin/tsc -p src"
"prepublishOnly": "../../node_modules/.bin/tsc -p src"
},
"peerDependencies": {
"xterm": "^3.14.0"
@@ -14,6 +14,6 @@
},
"include": [
"./**/*",
"../../../../typings/xterm.d.ts"
"../../../typings/xterm.d.ts"
]
}
@@ -5,7 +5,7 @@
import { Terminal, ITerminalAddon } from 'xterm';
declare module '@xtermjs/addon-fit' {
declare module 'xterm-addon-fit' {
/**
* An xterm.js addon that enables resizing the terminal to the dimensions of
* its containing element.
@@ -1,15 +1,15 @@
{
"name": "@xtermjs/addon-search",
"name": "xterm-addon-search",
"version": "0.1.0-beta4",
"author": {
"name": "The xterm.js authors",
"url": "https://xtermjs.org/"
},
"main": "lib/SearchAddon.js",
"types": "typings/search.d.ts",
"types": "typings/xterm-addon-search.d.ts",
"license": "MIT",
"scripts": {
"prepublishOnly": "../../../node_modules/.bin/tsc -p src"
"prepublishOnly": "../../node_modules/.bin/tsc -p src"
},
"peerDependencies": {
"xterm": "^3.14.0"
@@ -13,6 +13,6 @@
},
"include": [
"./**/*",
"../../../../typings/xterm.d.ts"
"../../../typings/xterm.d.ts"
]
}
@@ -5,7 +5,7 @@
import { Terminal, ILinkMatcherOptions, IDisposable, ITerminalAddon } from 'xterm';
declare module '@xtermjs/addon-search' {
declare module 'xterm-addon-search' {
/**
* Options for a search.
*/
@@ -1,5 +1,5 @@
{
"name": "@xtermjs/addon-web-links",
"name": "xterm-addon-web-links",
"version": "0.1.0-beta7",
"author": {
"name": "The xterm.js authors",
@@ -9,7 +9,7 @@
"types": "typings/web-links.d.ts",
"license": "MIT",
"scripts": {
"prepublishOnly": "../../../node_modules/.bin/tsc -p src"
"prepublishOnly": "../../node_modules/.bin/tsc -p src"
},
"peerDependencies": {
"xterm": "^3.14.0"
@@ -14,6 +14,6 @@
},
"include": [
"./**/*",
"../../../../typings/xterm.d.ts"
"../../../typings/xterm.d.ts"
]
}
@@ -6,7 +6,7 @@
import { Terminal, IDisposable, ILinkMatcherOptions } from 'xterm';
declare module '@xtermjs/addon-web-links' {
declare module 'xterm-addon-web-links' {
// TODO: This is temporary, link to xterm when the new version is published
export interface ITerminalAddon extends IDisposable {
activate(terminal: Terminal): void;
+4 -4
View File
@@ -12,10 +12,10 @@ import { Terminal } from '../out/public/Terminal';
// Use webpacked version (yarn package)
// import { Terminal } from '../lib/xterm';
import { AttachAddon } from '@xtermjs/addon-attach';
import { FitAddon } from '@xtermjs/addon-fit';
import { SearchAddon, ISearchOptions } from '@xtermjs/addon-search';
import { WebLinksAddon } from '@xtermjs/addon-web-links';
import { AttachAddon } from 'xterm-addon-attach';
import { FitAddon } from 'xterm-addon-fit';
import { SearchAddon, ISearchOptions } from 'xterm-addon-search';
import { WebLinksAddon } from 'xterm-addon-web-links';
// Pulling in the module's types relies on the <reference> above, it's looks a
// little weird here as we're importing "this" module
+4 -4
View File
@@ -6,10 +6,10 @@
"sourceMap": true,
"baseUrl": ".",
"paths": {
"@xtermjs/addon-attach": ["../addons/@xtermjs/addon-attach"],
"@xtermjs/addon-fit": ["../addons/@xtermjs/addon-fit"],
"@xtermjs/addon-search": ["../addons/@xtermjs/addon-search"],
"@xtermjs/addon-web-links": ["../addons/@xtermjs/addon-web-links"]
"xterm-addon-attach": ["../addons/xterm-addon-attach"],
"xterm-addon-fit": ["../addons/xterm-addon-fit"],
"xterm-addon-search": ["../addons/xterm-addon-search"],
"xterm-addon-web-links": ["../addons/xterm-addon-web-links"]
}
},
"include": [
+1 -1
View File
@@ -19,7 +19,7 @@
"prepare": "npm run build",
"prepublishOnly": "npm run package",
"watch": "tsc -b -w ./tsconfig.all.json --preserveWatchOutput",
"clean": "rm -rf lib out addons/@xtermjs/*/lib"
"clean": "rm -rf lib out addons/*/lib"
},
"devDependencies": {
"@types/chai": "^3.4.34",
+4 -4
View File
@@ -3,9 +3,9 @@
"include": [],
"references": [
{ "path": "./src" },
{ "path": "./addons/@xtermjs/addon-attach/src" },
{ "path": "./addons/@xtermjs/addon-fit/src" },
{ "path": "./addons/@xtermjs/addon-search/src" },
{ "path": "./addons/@xtermjs/addon-web-links/src" }
{ "path": "./addons/xterm-addon-attach/src" },
{ "path": "./addons/xterm-addon-fit/src" },
{ "path": "./addons/xterm-addon-search/src" },
{ "path": "./addons/xterm-addon-web-links/src" }
]
}