Skip to content

Commit

Permalink
Merge pull request #7 from luckymarmot/feature-rewrite-0.1.0
Browse files Browse the repository at this point in the history
Rewrite + Support for Collections v2.0 and v2.1
  • Loading branch information
mittsh committed Nov 8, 2019
2 parents aea5761 + 022fc60 commit 40c0887
Show file tree
Hide file tree
Showing 43 changed files with 40,434 additions and 17,869 deletions.
10 changes: 10 additions & 0 deletions .babelrc
@@ -0,0 +1,10 @@
{
"presets": [
"@babel/env",
"@babel/typescript"
],
"plugins": [
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread"
]
}
33 changes: 33 additions & 0 deletions .eslintrc
@@ -0,0 +1,33 @@
{
"extends": [
"./node_modules/eslint-config-airbnb-base/rules/best-practices.js",
"./node_modules/eslint-config-airbnb-base/rules/errors.js",
"./node_modules/eslint-config-airbnb-base/rules/node.js",
"./node_modules/eslint-config-airbnb-base/rules/style.js",
"./node_modules/eslint-config-airbnb-base/rules/variables.js",
"./node_modules/eslint-config-airbnb-base/rules/es6.js",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint"],
"rules": {
"lines-between-class-members": "off",
"@typescript-eslint/no-for-in-array": "warn",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-function-return-type": [
"warn",
{
"allowExpressions": true
}
]
},
"env": {
"browser": true,
"node": true
}
}
127 changes: 127 additions & 0 deletions .gitignore
@@ -0,0 +1,127 @@
# Created by https://www.gitignore.io/api/node,macos
# Edit at https://www.gitignore.io/?templates=node,macos

### 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
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# react / gatsby
public/

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

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

/dist
1 change: 1 addition & 0 deletions .nvmrc
@@ -0,0 +1 @@
v12.13.0
11 changes: 11 additions & 0 deletions .travis.yml
@@ -0,0 +1,11 @@
language: node_js
cache:
yarn: true
directories:
- node_modules
env:
- TEST_CMD=build
- TEST_CMD=tsc
- TEST_CMD=test
script:
- yarn run ${TEST_CMD}
23 changes: 23 additions & 0 deletions Paw-PostmanCollectionV2Importer.code-workspace
@@ -0,0 +1,23 @@
{
"folders": [
{
"path": "."
}
],
"settings": {
// enable eslint checking and fixing in both `.ts` and `.tsx` files
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "typescript",
"autoFix": true
},
{
"language": "typescriptreact",
"autoFix": true
}
],
"editor.tabSize": 2
}
}

0 comments on commit 40c0887

Please sign in to comment.