Run prettier over markdown / json files (#1395)

This commit is contained in:
Bryan Phelps 2018-01-29 19:56:24 -08:00 committed by GitHub
parent f090b7f3bd
commit bc86337e50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 26108 additions and 25596 deletions

11
.vscode/launch.json vendored
View File

@ -12,9 +12,7 @@
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
},
"runtimeArgs": [
"--enable-logging"
],
"runtimeArgs": ["--enable-logging"],
"console": "internalConsole"
},
{
@ -27,10 +25,7 @@
"windows": {
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
},
"runtimeArgs": [
"--enable-logging",
"${workspaceRoot}/lib/main/src/main.js"
],
"runtimeArgs": ["--enable-logging", "${workspaceRoot}/lib/main/src/main.js"],
"webRoot": "${workspaceRoot}",
"sourceMaps": true,
"sourceMapPathOverrides": {
@ -38,4 +33,4 @@
}
}
]
}
}

View File

@ -1,15 +1,18 @@
# ONI
## Accounting
This file will contain a monthly report including:
- Incoming contributions
- How the contributions are distributed, in accordance with the project's goals
* Incoming contributions
* How the contributions are distributed, in accordance with the project's goals
The initial plan for allocation is as follows:
- 10% - Vim - Contribute to Bram's charity of choice
- 20% - Neovim Development
- 35% - Paid to contributors via bounties
- 35% - Paid to maintainer
* 10% - Vim - Contribute to Bram's charity of choice
* 20% - Neovim Development
* 35% - Paid to contributors via bounties
* 35% - Paid to maintainer
Your contributions help keep this project alive!

View File

@ -4,10 +4,10 @@ Oni is an MIT-licensed open-source project. It's an independent project without
If you use Oni, please consider joining them via the following options:
- Become a backer on [OpenCollective](https://opencollective.com/oni#backer)
- Become a backer on [Bountysource](https://salt.bountysource.com/teams/oni)
- Make a donation via [PayPal](https://www.paypal.me/bryphe/25)
- Make a donation via Bitcoin / Ethereum (coming soon)
* Become a backer on [OpenCollective](https://opencollective.com/oni#backer)
* Become a backer on [Bountysource](https://salt.bountysource.com/teams/oni)
* Make a donation via [PayPal](https://www.paypal.me/bryphe/25)
* Make a donation via Bitcoin / Ethereum (coming soon)
Thanks you to all our backers for making Oni possible!
@ -54,31 +54,31 @@ Thanks you to all our backers for making Oni possible!
## VIP Backers via BountySource
- @jordwalke
- @mhartington
* @jordwalke
* @mhartington
## Backers via BountySource
- @adambard
- @akin_so
- @ayohan
- @badosu
- @josemarluedke
- @napcode
- @robtrac
- @rrichardson
- @sbuljac
* @adambard
* @akin_so
* @ayohan
* @badosu
* @josemarluedke
* @napcode
* @robtrac
* @rrichardson
* @sbuljac
## Backers via PayPal
- @mchalkley
* @mchalkley
## Backers via OpenCollective
- Tal Amuyal
- Akinola Sowemimo
- Martijn Arts
- Amadeus Folego
* Tal Amuyal
* Akinola Sowemimo
* Martijn Arts
* Amadeus Folego
<a href="https://opencollective.com/oni/tiers/backer/0/website" target="_blank"><img src="https://opencollective.com/oni/tiers/backer/0/avatar.png"></a>
<a href="https://opencollective.com/oni/tiers/backer/1/website" target="_blank"><img src="https://opencollective.com/oni/tiers/backer/1/avatar.png"></a>

View File

@ -4,16 +4,17 @@
First, thank you for considering contributing to oni! It's people like you that make the open source community such a great community! 😊
We welcome any type of contribution, not only code. You can help with
- **QA**: file bug reports, the more details you can give the better (e.g. screenshots with the console open)
- **Marketing**: writing blog posts, howto's, printing stickers, ...
- **Community**: presenting the project at meetups, organizing a dedicated meetup for the local community, ...
- **Code**: take a look at the [open issues](issues). Even if you can't write code, commenting on them, showing that you care about a given issue matters. It helps us triage them.
- **Money**: we welcome financial contributions in full transparency on our [open collective](https://opencollective.com/oni).
We welcome any type of contribution, not only code. You can help with
* **QA**: file bug reports, the more details you can give the better (e.g. screenshots with the console open)
* **Marketing**: writing blog posts, howto's, printing stickers, ...
* **Community**: presenting the project at meetups, organizing a dedicated meetup for the local community, ...
* **Code**: take a look at the [open issues](issues). Even if you can't write code, commenting on them, showing that you care about a given issue matters. It helps us triage them.
* **Money**: we welcome financial contributions in full transparency on our [open collective](https://opencollective.com/oni).
## Your First Contribution
Working on your first Pull Request? You can learn how from this *free* series, [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).
Working on your first Pull Request? You can learn how from this _free_ series, [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).
## Submitting code
@ -41,14 +42,12 @@ You can also reach us at hello@oni.opencollective.com.
Thank you to all the people who have already contributed to oni!
<a href="graphs/contributors"><img src="https://opencollective.com/oni/contributors.svg?width=890" /></a>
### Backers
Thank you to all our backers! [[Become a backer](https://opencollective.com/oni#backer)]
<a href="https://opencollective.com/oni#backers" target="_blank"><img src="https://opencollective.com/oni/backers.svg?width=890"></a>
### Sponsors
Thank you to all our sponsors! (please ask your company to also support this open source project by [becoming a sponsor](https://opencollective.com/oni#sponsor))
@ -64,4 +63,4 @@ Thank you to all our sponsors! (please ask your company to also support this ope
<a href="https://opencollective.com/oni/sponsor/8/website" target="_blank"><img src="https://opencollective.com/oni/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/oni/sponsor/9/website" target="_blank"><img src="https://opencollective.com/oni/sponsor/9/avatar.svg"></a>
<!-- This `CONTRIBUTING.md` is based on @nayafia's template https://github.com/nayafia/contributing-template -->
<!-- This `CONTRIBUTING.md` is based on @nayafia's template https://github.com/nayafia/contributing-template -->

View File

@ -9,9 +9,9 @@
<h2 align="center">Supporting Oni</h2>
Oni is an independent, MIT-licensed open source project. Please consider supporting Oni by:
- [Become a backer or sponsor on Open Collective](https://opencollective.com/oni)
- [Become a backer on BountySource](https://www.bountysource.com/teams/oni)
* [Become a backer or sponsor on Open Collective](https://opencollective.com/oni)
* [Become a backer on BountySource](https://www.bountysource.com/teams/oni)
<h3 align="center">Sponsors via OpenCollective</h3>
@ -55,7 +55,7 @@ The vision of Oni is to build an editor that allows you to go from _thought to c
<img src="https://s3-us-west-2.amazonaws.com/oni-media/screenshot-darwin.png"/>
</p>
This repository is under __active development__, and until 1.0 please consider everything unstable.
This repository is under **active development**, and until 1.0 please consider everything unstable.
Check out [Releases](https://github.com/onivim/oni/releases) for the latest binaries, or [Build Oni](https://github.com/onivim/oni/wiki/Development) from source. Consider making a donation via [OpenCollective](https://opencollective.com/oni) [BountySource](https://salt.bountysource.com/teams/oni) if you find this project useful!
@ -63,11 +63,11 @@ Check out [Releases](https://github.com/onivim/oni/releases) for the latest bina
Oni brings several IDE-like integrations to neovim:
- [Quick Info](https://github.com/onivim/oni/wiki/Features#quick-info)
- [Code Completion](https://github.com/onivim/oni/wiki/Features#code-completion)
- [Syntax / Compilation Errors](https://github.com/onivim/oni/wiki/Features#syntax--compilation-errors)
- [Fuzzy Finding](https://github.com/onivim/oni/wiki/Features#fuzzy-finder)
- [Status Bar](https://github.com/onivim/oni/wiki/Features#status-bar)
* [Quick Info](https://github.com/onivim/oni/wiki/Features#quick-info)
* [Code Completion](https://github.com/onivim/oni/wiki/Features#code-completion)
* [Syntax / Compilation Errors](https://github.com/onivim/oni/wiki/Features#syntax--compilation-errors)
* [Fuzzy Finding](https://github.com/onivim/oni/wiki/Features#fuzzy-finder)
* [Status Bar](https://github.com/onivim/oni/wiki/Features#status-bar)
And more coming - check out our [Roadmap](https://github.com/onivim/oni/wiki/Roadmap)
@ -76,9 +76,10 @@ Oni is cross-platform and supports Windows, Mac, and Linux.
## Installation
We have installation guides for each platform:
- [Windows](https://github.com/onivim/oni/wiki/Installation-Guide#windows)
- [Mac](https://github.com/onivim/oni/wiki/Installation-Guide#mac)
- [Linux](https://github.com/onivim/oni/wiki/Installation-Guide#linux)
* [Windows](https://github.com/onivim/oni/wiki/Installation-Guide#windows)
* [Mac](https://github.com/onivim/oni/wiki/Installation-Guide#mac)
* [Linux](https://github.com/onivim/oni/wiki/Installation-Guide#linux)
The latest binaries are available on our [Releases](https://github.com/onivim/oni/releases) page, and if you'd prefer to build from source, check out our [Development](https://github.com/onivim/oni/wiki/Development) guide.
@ -86,51 +87,51 @@ The latest binaries are available on our [Releases](https://github.com/onivim/on
The goal of this project is to provide both the full-fledged Vim experience, with no compromises, while pushing forward to enable new productivity scenarios.
- __Modern UX__ - The Vim experience should not be compromised by terminal limitations.
- __Rich plugin development__ - using JavaScript, instead of VimL.
- __Cross-platform support__ - across Windows, OS X, and Linux.
- __Batteries included__ - rich features are available out of the box - minimal setup needed to be productive.
- __Performance__ - no compromises, Vim is fast, and Oni should be fast too.
- __Ease Learning Curve__ - without sacrificing the Vim experience.
* **Modern UX** - The Vim experience should not be compromised by terminal limitations.
* **Rich plugin development** - using JavaScript, instead of VimL.
* **Cross-platform support** - across Windows, OS X, and Linux.
* **Batteries included** - rich features are available out of the box - minimal setup needed to be productive.
* **Performance** - no compromises, Vim is fast, and Oni should be fast too.
* **Ease Learning Curve** - without sacrificing the Vim experience.
Vim is an incredible tool for manipulating *text* at the speed of thought. With a composable, modal command language, it is no wonder that Vim usage is still prevalent today.
Vim is an incredible tool for manipulating _text_ at the speed of thought. With a composable, modal command language, it is no wonder that Vim usage is still prevalent today.
However, going from thought to *code* has some different challenges than going from thought to *text*. Code editors today provide several benefits that help to reduce __cognitive load__ when writing code, and that benefit is tremendously important - not only in terms of pure coding efficiency and productivity, but also in making the process of writing code enjoyable and fun.
However, going from thought to _code_ has some different challenges than going from thought to _text_. Code editors today provide several benefits that help to reduce **cognitive load** when writing code, and that benefit is tremendously important - not only in terms of pure coding efficiency and productivity, but also in making the process of writing code enjoyable and fun.
The goal of this project is to give an editor that gives the best of both worlds - the power, speed, and flexibility of using Vim for manipulating text, as well as the rich tooling that comes with an IDE. We want to make coding as efficient, fast, and fun as we can!
## Documentation
- Check out the [Wiki](https://github.com/onivim/oni/wiki) for documentation on how to use and modify Oni.
- [FAQ](https://github.com/onivim/oni/wiki/FAQ)
- [Roadmap](https://github.com/onivim/oni/wiki/Roadmap)
* Check out the [Wiki](https://github.com/onivim/oni/wiki) for documentation on how to use and modify Oni.
* [FAQ](https://github.com/onivim/oni/wiki/FAQ)
* [Roadmap](https://github.com/onivim/oni/wiki/Roadmap)
## Contributing
There many ways to get involved & contribute to Oni:
- Support Oni financially by making a donation via [OpenCollective](https://opencollective.com/oni) or [Bountysource](https://salt.bountysource.com/teams/oni)
- Thumbs up existing [issues](https://github.com/onivim/oni/issues) if they impact you.
- [Create an issue](https://github.com/onivim/oni/issues) for bugs or new features.
- Review and upate our [documentation](https://github.com/onivim/oni/wiki).
- Try out the latest [released build](https://github.com/onivim/oni/releases).
- Help us [develop](https://github.com/onivim/oni/wiki/Development):
- Review [PRs](https://github.com/onivim/oni/pulls)
- Submit a bug fix or feature
- Add test cases
* Support Oni financially by making a donation via [OpenCollective](https://opencollective.com/oni) or [Bountysource](https://salt.bountysource.com/teams/oni)
* Thumbs up existing [issues](https://github.com/onivim/oni/issues) if they impact you.
* [Create an issue](https://github.com/onivim/oni/issues) for bugs or new features.
* Review and upate our [documentation](https://github.com/onivim/oni/wiki).
* Try out the latest [released build](https://github.com/onivim/oni/releases).
* Help us [develop](https://github.com/onivim/oni/wiki/Development):
* Review [PRs](https://github.com/onivim/oni/pulls)
* Submit a bug fix or feature
* Add test cases
## Acknowledgements
Oni is an independent project and is made possible by the support of some exceptional people. Big thanks to the following people for helping to realize this project:
- the [neovim team](https://neovim.io/), especially [justinmk](https://github.com/justinmk) and [tarruda](https://github.com/tarruda) - Oni would not be possible without their vision
- [jordwalke](https://github.com/jordwalke) for his generous support, inspiration, and ideas. And React ;)
- [keforbes](https://github.com/keforbes) for helping to get this project off the ground
- [tillarnold](https://github.com/tillarnold) for giving us the `oni` npm package name
- [mhartington](https://github.com/mhartington) for his generous support
- [badosu](https://github.com/badosu) for his support, contributions, and managing the AUR releases
- All our current monthly [sponsors](https://salt.bountysource.com/teams/oni/supporters) and [backers](BACKERS.md)
- All of our [contributors](https://github.com/onivim/oni/graphs/contributors) - thanks for helping to improve this project!
* the [neovim team](https://neovim.io/), especially [justinmk](https://github.com/justinmk) and [tarruda](https://github.com/tarruda) - Oni would not be possible without their vision
* [jordwalke](https://github.com/jordwalke) for his generous support, inspiration, and ideas. And React ;)
* [keforbes](https://github.com/keforbes) for helping to get this project off the ground
* [tillarnold](https://github.com/tillarnold) for giving us the `oni` npm package name
* [mhartington](https://github.com/mhartington) for his generous support
* [badosu](https://github.com/badosu) for his support, contributions, and managing the AUR releases
* All our current monthly [sponsors](https://salt.bountysource.com/teams/oni/supporters) and [backers](BACKERS.md)
* All of our [contributors](https://github.com/onivim/oni/graphs/contributors) - thanks for helping to improve this project!
Several other great neovim front-end UIs [here](https://github.com/neovim/neovim/wiki/Related-projects) served as a reference, especially [NyaoVim](https://github.com/rhysd/NyaoVim) and [VimR](https://github.com/qvacua/vimr). I encourage you to check those out!
@ -150,9 +151,9 @@ Windows and OSX have a bundled version of Neovim, which is covered under [Neovim
### Bundled Plugins
Bundled plugins have their own license terms. These include:
- [typescript-vim](https://github.com/leafgarland/typescript-vim) (`oni/vim/core/typescript.vim`)
- [targets.vim](https://github.com/wellle/targets.vim) (`oni/vim/default/bundle/targets.vim`)
- [vim-commentary](https://github.com/tpope/vim-commentary) (`oni/vim/default/bundle/vim-commentary`)
- [vim-unimpaired](https://github.com/tpope/vim-unimpaired) (`oni/vim/default/bundle/vim-unimpaired`)
- [vim-reasonml](https://github.com/reasonml-editor/vim-reason) (`.vim` files in `oni/vim/core/oni-plugin-reasonml`)
* [typescript-vim](https://github.com/leafgarland/typescript-vim) (`oni/vim/core/typescript.vim`)
* [targets.vim](https://github.com/wellle/targets.vim) (`oni/vim/default/bundle/targets.vim`)
* [vim-commentary](https://github.com/tpope/vim-commentary) (`oni/vim/default/bundle/vim-commentary`)
* [vim-unimpaired](https://github.com/tpope/vim-unimpaired) (`oni/vim/default/bundle/vim-unimpaired`)
* [vim-reasonml](https://github.com/reasonml-editor/vim-reason) (`.vim` files in `oni/vim/core/oni-plugin-reasonml`)

View File

@ -5,10 +5,7 @@
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react",
"lib": [
"dom",
"es2017"
],
"lib": ["dom", "es2017"],
"module": "esnext",
"moduleResolution": "node",
"newLine": "LF",
@ -28,11 +25,6 @@
"target": "es2015",
"sourceMap": true
},
"include": [
"src/**/*.ts",
"test/**/*.ts"
],
"exclude": [
"node_modules"
]
"include": ["src/**/*.ts", "test/**/*.ts"],
"exclude": ["node_modules"]
}

View File

@ -5,10 +5,7 @@
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react",
"lib": [
"dom",
"es2017"
],
"lib": ["dom", "es2017"],
"module": "commonjs",
"moduleResolution": "node",
"newLine": "LF",
@ -28,11 +25,6 @@
"target": "es2015",
"sourceMap": true
},
"include": [
"src/**/*.ts",
"test/**/*.ts"
],
"exclude": [
"node_modules"
]
"include": ["src/**/*.ts", "test/**/*.ts"],
"exclude": ["node_modules"]
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -1,20 +1,16 @@
{
"name": "oni-layer-browser",
"version": "0.0.1",
"main": "lib/index.js",
"engines": {
"oni": "^0.0.1"
},
"scripts": {
"build": "rimraf lib && tsc",
"test": "tsc -p tsconfig.test.json && mocha --recursive ./lib_test/test"
},
"oni": {
},
"tbd-dependencies": {
},
"tbd-peerDependencies": {
},
"tbd-devDependencies": {
}
"name": "oni-layer-browser",
"version": "0.0.1",
"main": "lib/index.js",
"engines": {
"oni": "^0.0.1"
},
"scripts": {
"build": "rimraf lib && tsc",
"test": "tsc -p tsconfig.test.json && mocha --recursive ./lib_test/test"
},
"oni": {},
"tbd-dependencies": {},
"tbd-peerDependencies": {},
"tbd-devDependencies": {}
}

View File

@ -5,20 +5,12 @@
"preserveConstEnums": true,
"outDir": "./lib",
"jsx": "react",
"lib": [
"dom",
"es2017"
],
"lib": ["dom", "es2017"],
"declaration": true,
"sourceMap": true,
"target": "es2015",
"skipLibCheck": true
},
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"node_modules"
]
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["node_modules"]
}

View File

@ -1,37 +1,35 @@
{
"name": "oni-plugin-markdown-preview",
"version": "0.0.1",
"main": "lib/index.js",
"engines": {
"oni": "^0.0.1"
},
"scripts": {
"build": "rimraf lib && tsc",
"test": "tsc -p tsconfig.test.json && mocha --recursive ./lib_test/test"
},
"oni": {
"supportedFileTypes": [
"markdown"
],
"commands": {
"markdown.preview": {
"name": "Markdown Preview",
"details": "Preview open markdown file"
}
"name": "oni-plugin-markdown-preview",
"version": "0.0.1",
"main": "lib/index.js",
"engines": {
"oni": "^0.0.1"
},
"scripts": {
"build": "rimraf lib && tsc",
"test": "tsc -p tsconfig.test.json && mocha --recursive ./lib_test/test"
},
"oni": {
"supportedFileTypes": ["markdown"],
"commands": {
"markdown.preview": {
"name": "Markdown Preview",
"details": "Preview open markdown file"
}
}
},
"tbd-dependencies": {
"marked": "^0.3.6",
"dompurify": "1.0.2",
"oni-types": "^0.0.4",
"oni-api": "^0.0.9"
},
"tbd-peerDependencies": {
"typescript": "^2.5.3",
"rimraf": "^2.6.2"
},
"tbd-devDependencies": {
"typescript": "2.5.3",
"rimraf": "2.6.2"
}
},
"tbd-dependencies": {
"marked": "^0.3.6",
"dompurify": "1.0.2",
"oni-types": "^0.0.4",
"oni-api": "^0.0.9"
},
"tbd-peerDependencies": {
"typescript": "^2.5.3",
"rimraf": "^2.6.2"
},
"tbd-devDependencies": {
"typescript": "2.5.3",
"rimraf": "2.6.2"
}
}

View File

@ -5,20 +5,12 @@
"preserveConstEnums": true,
"outDir": "./lib",
"jsx": "react",
"lib": [
"dom",
"es2017"
],
"lib": ["dom", "es2017"],
"declaration": true,
"sourceMap": true,
"target": "es2015",
"skipLibCheck": true
},
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"node_modules"
]
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["node_modules"]
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,19 +1,19 @@
{
"name": "theme-icons-seti",
"private": true,
"version": "0.0.1",
"name": "theme-icons-seti",
"private": true,
"version": "0.0.1",
"description": "A file icon theme made out of the Seti UI file icons",
"publisher": "onivim",
"engines": {
"oni": "0.2.19"
},
"contributes": {
"iconThemes": [
{
"id": "theme-icons-seti",
"label": "Seti (Oni)",
"path": "./icons/seti-icon-theme.json"
}
]
}
"publisher": "onivim",
"engines": {
"oni": "0.2.19"
},
"contributes": {
"iconThemes": [
{
"id": "theme-icons-seti",
"label": "Seti (Oni)",
"path": "./icons/seti-icon-theme.json"
}
]
}
}

View File

@ -1,19 +1,21 @@
{
"name": "theme-nord",
"version": "0.0.1",
"description": "Nord theme, customized for Oni",
"engines": {
"oni": "0.2.18"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"contributes": {
"themes": [{
"name": "nord",
"path": "colors/nord.json"
}]
},
"author": "",
"license": "MIT"
"name": "theme-nord",
"version": "0.0.1",
"description": "Nord theme, customized for Oni",
"engines": {
"oni": "0.2.18"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"contributes": {
"themes": [
{
"name": "nord",
"path": "colors/nord.json"
}
]
},
"author": "",
"license": "MIT"
}

View File

@ -1,19 +1,21 @@
{
"name": "theme-onedark",
"version": "0.0.1",
"description": "One-dark theme, set for Oni",
"engines": {
"oni": "0.2.18"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"contributes": {
"themes": [{
"name": "onedark",
"path": "colors/onedark.json"
}]
},
"author": "",
"license": "MIT"
"name": "theme-onedark",
"version": "0.0.1",
"description": "One-dark theme, set for Oni",
"engines": {
"oni": "0.2.18"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"contributes": {
"themes": [
{
"name": "onedark",
"path": "colors/onedark.json"
}
]
},
"author": "",
"license": "MIT"
}

View File

@ -1,45 +1,45 @@
{
"name": "solarized8_dark",
"baseVimTheme": "solarized8_dark",
"colors": {
"background": "#073642",
"foreground": "#839496",
"name": "solarized8_dark",
"baseVimTheme": "solarized8_dark",
"colors": {
"background": "#073642",
"foreground": "#839496",
"title.background": "#002b36",
"title.foreground": "#839496",
"title.background": "#002b36",
"title.foreground": "#839496",
"editor.background": "#073642",
"editor.foreground": "#586e75",
"editor.background": "#073642",
"editor.foreground": "#586e75",
"tabs.background": "#073642",
"tabs.foreground": "#839496",
"tabs.background": "#073642",
"tabs.foreground": "#839496",
"toolTip.background": "#002b36",
"toolTip.foreground": "#839496",
"toolTip.border": "#505050",
"toolTip.background": "#002b36",
"toolTip.foreground": "#839496",
"toolTip.border": "#505050",
"menu.background": "#002b36",
"menu.foreground": "#839496",
"menu.border": "#505050",
"menu.background": "#002b36",
"menu.foreground": "#839496",
"menu.border": "#505050",
"contextMenu.background": "#002b36",
"contextMenu.foreground": "#839496",
"contextMenu.border": "#505050",
"contextMenu.highlight": "#3F4652",
"contextMenu.background": "#002b36",
"contextMenu.foreground": "#839496",
"contextMenu.border": "#505050",
"contextMenu.highlight": "#3F4652",
"statusBar.background": "#073642",
"statusBar.foreground": "#839496",
"statusBar.background": "#073642",
"statusBar.foreground": "#839496",
"highlight.mode.insert.background": "#2aa198",
"highlight.mode.insert.foreground": "#fdf6e3",
"highlight.mode.insert.background": "#2aa198",
"highlight.mode.insert.foreground": "#fdf6e3",
"highlight.mode.normal.background": "#839496",
"highlight.mode.normal.foreground": "#fdf6e3",
"highlight.mode.normal.background": "#839496",
"highlight.mode.normal.foreground": "#fdf6e3",
"highlight.mode.operator.background": "#d19a66",
"highlight.mode.operator.foreground": "#fdf6e3",
"highlight.mode.operator.background": "#d19a66",
"highlight.mode.operator.foreground": "#fdf6e3",
"highlight.mode.visual.background": "#d33682",
"highlight.mode.visual.foreground": "#fdf6e3"
}
"highlight.mode.visual.background": "#d33682",
"highlight.mode.visual.foreground": "#fdf6e3"
}
}

View File

@ -1,45 +1,45 @@
{
"name": "solarized8_light",
"baseVimTheme": "solarized8_light",
"colors": {
"background": "#073642",
"foreground": "#839496",
"name": "solarized8_light",
"baseVimTheme": "solarized8_light",
"colors": {
"background": "#073642",
"foreground": "#839496",
"title.background": "#002b36",
"title.foreground": "#839496",
"title.background": "#002b36",
"title.foreground": "#839496",
"editor.background": "#002b36",
"editor.foreground": "#586e75",
"editor.background": "#002b36",
"editor.foreground": "#586e75",
"tabs.background": "#002b36",
"tabs.foreground": "#839496",
"tabs.background": "#002b36",
"tabs.foreground": "#839496",
"toolTip.background": "#002b36",
"toolTip.foreground": "#839496",
"toolTip.border": "#505050",
"toolTip.background": "#002b36",
"toolTip.foreground": "#839496",
"toolTip.border": "#505050",
"menu.background": "#002b36",
"menu.foreground": "#839496",
"menu.border": "#505050",
"menu.background": "#002b36",
"menu.foreground": "#839496",
"menu.border": "#505050",
"contextMenu.background": "#002b36",
"contextMenu.foreground": "#839496",
"contextMenu.border": "#505050",
"contextMenu.highlight": "#3F4652",
"contextMenu.background": "#002b36",
"contextMenu.foreground": "#839496",
"contextMenu.border": "#505050",
"contextMenu.highlight": "#3F4652",
"statusBar.background": "#839496",
"statusBar.foreground": "#073642",
"statusBar.background": "#839496",
"statusBar.foreground": "#073642",
"highlight.mode.insert.background": "#2aa198",
"highlight.mode.insert.foreground": "#fdf6e3",
"highlight.mode.insert.background": "#2aa198",
"highlight.mode.insert.foreground": "#fdf6e3",
"highlight.mode.normal.background": "#839496",
"highlight.mode.normal.foreground": "#fdf6e3",
"highlight.mode.normal.background": "#839496",
"highlight.mode.normal.foreground": "#fdf6e3",
"highlight.mode.operator.background": "#d19a66",
"highlight.mode.operator.foreground": "#fdf6e3",
"highlight.mode.operator.background": "#d19a66",
"highlight.mode.operator.foreground": "#fdf6e3",
"highlight.mode.visual.background": "#d33682",
"highlight.mode.visual.foreground": "#fdf6e3"
}
"highlight.mode.visual.background": "#d33682",
"highlight.mode.visual.foreground": "#fdf6e3"
}
}

View File

@ -1,25 +1,25 @@
{
"name": "theme-solarized",
"version": "0.0.1",
"description": "Solarized theme, set for Oni",
"engines": {
"oni": "0.2.18"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"contributes": {
"themes": [
{
"name": "solarized8_dark",
"path": "colors/solarized8_dark.json"
},
{
"name": "solarized8_light",
"path": "colors/solarized8_light.json"
}
]
},
"author": "",
"license": "MIT"
"name": "theme-solarized",
"version": "0.0.1",
"description": "Solarized theme, set for Oni",
"engines": {
"oni": "0.2.18"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"contributes": {
"themes": [
{
"name": "solarized8_dark",
"path": "colors/solarized8_dark.json"
},
{
"name": "solarized8_light",
"path": "colors/solarized8_light.json"
}
]
},
"author": "",
"license": "MIT"
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,10 +5,7 @@
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react",
"lib": [
"dom",
"es2017"
],
"lib": ["dom", "es2017"],
"module": "commonjs",
"moduleResolution": "node",
"newLine": "LF",
@ -27,10 +24,6 @@
"target": "es2015",
"sourceMap": true
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules"
]
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}

View File

@ -1,38 +0,0 @@
/**
* Test scripts for QuickOpen
*/
import * as assert from "assert"
import * as os from "os"
import * as path from "path"
const getCompletionElement = () => {
const elements = document.body.getElementsByClassName("autocompletion")
if (!elements || !elements.length) {
return null
} else {
return elements[0]
}
}
export const test = async (oni: any) => {
const dir = os.tmpdir()
const testFileName = `testFile-${new Date().getTime()}.ts`
const tempFilePath = path.join(dir, testFileName)
oni.automation.sendKeys(":e " + tempFilePath)
oni.automation.sendKeys("<cr>")
await oni.automation.sleep(500)
oni.automation.sendKeys("i")
oni.automation.sendKeys("window.a")
// Wait for completion popup to show
await oni.automation.waitFor(() => getCompletionElement() !== null)
// Check for 'alert' as an available completion
const completionElement = getCompletionElement()
const textContent = completionElement.textContent
assert.ok(textContent.indexOf("alert") >= 0, "Verify 'alert' was presented as a completion")
}

View File

@ -8,18 +8,9 @@
"allowJs": true,
"outDir": "../lib_test",
"jsx": "react",
"lib": [
"dom",
"es2017"
],
"lib": ["dom", "es2017"],
"skipLibCheck": true
},
"include": [
"**/*.tsx",
"**/*.ts",
"**/*.js"
],
"exclude": [
"node_modules"
]
"include": ["**/*.tsx", "**/*.ts", "**/*.js"],
"exclude": ["node_modules"]
}

View File

@ -5,13 +5,10 @@
"engines": {
"oni": "^0.2.3"
},
"scripts": {
},
"scripts": {},
"oni": {
"supportedFileTypes": ["*"]
},
"dependencies": {
},
"devDependencies": {
}
"dependencies": {},
"devDependencies": {}
}

View File

@ -5,13 +5,10 @@
"engines": {
"oni": "^0.2.6"
},
"scripts": {
},
"scripts": {},
"oni": {
"supportedFileTypes": ["*"]
},
"dependencies": {
},
"devDependencies": {
}
"dependencies": {},
"devDependencies": {}
}

View File

@ -5,13 +5,10 @@
"engines": {
"oni": "^0.2.6"
},
"scripts": {
},
"scripts": {},
"oni": {
"supportedFileTypes": ["*"]
},
"dependencies": {
},
"devDependencies": {
}
"dependencies": {},
"devDependencies": {}
}

View File

@ -10,10 +10,7 @@
"test": "npm install && tsc -p tsconfig.test.json && mocha --recursive ./lib_test/test"
},
"oni": {
"supportedFileTypes": [
"javascript",
"typescript"
]
"supportedFileTypes": ["javascript", "typescript"]
},
"dependencies": {},
"devDependencies": {

View File

@ -7,12 +7,6 @@
"sourceMap": true,
"target": "ES5"
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules",
"typings/browser.d.ts",
"typings/browser"
]
"include": ["src/**/*.ts"],
"exclude": ["node_modules", "typings/browser.d.ts", "typings/browser"]
}

View File

@ -7,13 +7,6 @@
"sourceMap": true,
"target": "ES5"
},
"include": [
"test/**/*.ts",
"src/**/*.ts"
],
"exclude": [
"node_modules",
"typings/browser.d.ts",
"typings/browser"
]
"include": ["test/**/*.ts", "src/**/*.ts"],
"exclude": ["node_modules", "typings/browser.d.ts", "typings/browser"]
}