Skip to content

Commit

Permalink
Merge pull request #1 from renarsvilnis/migrate-to-typescript
Browse files Browse the repository at this point in the history
Revive node-apple-sign
  • Loading branch information
renarsvilnis authored Mar 31, 2020
2 parents 05b7aaf + d81b28e commit a7b56e3
Show file tree
Hide file tree
Showing 27 changed files with 26,640 additions and 182 deletions.
25 changes: 24 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
module.exports = {
"extends": "airbnb-base"
env: {
node: true,
es6: true
},
parser: "@typescript-eslint/parser",
plugins: ["prettier", "@typescript-eslint"],
extends: [
"standard",
/**
* Extend standard by adding typescript specific rules
*/
"plugin:@typescript-eslint/recommended",
/**
* Use prettier/@typescript-eslint to disable prettier conflicting
* eslint rules set by @typescript-eslint/eslint-plugin
*/
"prettier/@typescript-eslint",
/**
* Enables eslint-plugin-prettier and displays prettier errors as eslint
* errors instead of running eslint and prettier separate.
* ⚠️ Make sure this is always the last configuration in the extends array!
*/
"plugin:prettier/recommended"
]
};
97 changes: 97 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@

# Created by https://www.gitignore.io/api/node,linux,macos,windows
# Edit at https://www.gitignore.io/?templates=node,linux,macos,windows

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Node ###
# Logs
logs
*.log
Expand Down Expand Up @@ -75,6 +123,18 @@ typings/
# nuxt.js build output
.nuxt

# rollup.js default build output
dist/

# Uncomment the public line if your project uses Gatsby
# https://nextjs.org/blog/next-9-1#public-directory-support
# https://create-react-app.dev/docs/using-the-public-folder/#docsNav
# public

# Storybook build outputs
.out
.storybook-out

# vuepress build output
.vuepress/dist

Expand All @@ -86,3 +146,40 @@ typings/

# DynamoDB Local files
.dynamodb/

# Temporary folders
tmp/
temp/

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

# End of https://www.gitignore.io/api/node,linux,macos,windows


### Project specific
# Typescript build location
lib
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10
3 changes: 3 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports= {
printWidth: 120
};
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Artem Efremov
Copyright (c) 2020 Renārs Vilnis

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
Loading

0 comments on commit a7b56e3

Please sign in to comment.