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