Skip to content

Commit 82eaa8f

Browse files
committed
feat: upgrade compatibility for @most/core
1 parent 7f4f669 commit 82eaa8f

17 files changed

+2557
-0
lines changed

.config/tsconfig.commonjs.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"lib": [
5+
"es5",
6+
"es2015"
7+
],
8+
"target": "es5",
9+
"moduleResolution": "node",
10+
"module": "commonjs",
11+
"declaration": true,
12+
"noImplicitAny": true,
13+
"sourceMap": true,
14+
"noUnusedParameters": true,
15+
"noUnusedLocals": true,
16+
"outDir": "../lib"
17+
},
18+
"exclude": [
19+
"../src/**/*.test.ts"
20+
]
21+
}

.config/tsconfig.es2015.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"lib": [
5+
"es5",
6+
"es2015"
7+
],
8+
"target": "es5",
9+
"moduleResolution": "node",
10+
"module": "es2015",
11+
"declaration": true,
12+
"noImplicitAny": true,
13+
"sourceMap": true,
14+
"noUnusedParameters": true,
15+
"noUnusedLocals": true,
16+
"outDir": "../lib.es2015"
17+
},
18+
"exclude": [
19+
"../src/**/*.test.ts"
20+
]
21+
}

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
tab_width = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
14+
insert_final_newline = false

.github/ISSUE_TEMPLATE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!--
2+
Do you need help or have a question? Please ensure your question is thorough.
3+
Found a bug? Please fill out the sections below 👍.
4+
Show some empathy to the person reading your issue. They are volunteers.
5+
-->
6+
7+
**Code to reproduce the issue:**
8+
9+
10+
**Expected behavior:**
11+
12+
13+
**Actual behavior:**
14+
15+
16+
**Versions of packages used:**

.gitignore

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
6+
# Runtime data
7+
pids
8+
*.pid
9+
*.seed
10+
11+
# Directory for instrumented libs generated by jscoverage/JSCover
12+
lib-cov
13+
14+
# Coverage directory used by tools like istanbul
15+
coverage
16+
17+
# nyc test coverage
18+
.nyc_output
19+
20+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
21+
.grunt
22+
23+
# node-waf configuration
24+
.lock-wscript
25+
26+
# Compiled binary addons (http://nodejs.org/api/addons.html)
27+
build/Release
28+
29+
# Dependency directories
30+
node_modules
31+
jspm_packages
32+
33+
# Optional npm cache directory
34+
.npm
35+
36+
# Optional REPL history
37+
.node_repl_history
38+
39+
# generated files
40+
lib
41+
lib.es2015
42+
.tmp
43+
44+
# other stuff
45+
src/test.ts
46+
.DS_STORE

.npmignore

Whitespace-only changes.

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
language: node_js
2+
3+
node_js:
4+
- 8

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"typescript.tsdk": "node_modules/typescript/lib"
3+
}

CONTRIBUTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Contributing
2+
3+
First of all, thank you so much, we need your help.
4+
5+
## Contributing a fix or feature
6+
7+
1. Fork the repository
8+
2. Switch to a new branch `git checkout -b [branchName]`
9+
3. Produce your fix or feature
10+
4. Submit a pull request for review

LICENSE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2017 Tylor Steinberger
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)