Skip to content

Commit

Permalink
made chainable API first class interface
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoverson committed Jul 3, 2020
1 parent aa9645c commit 59b98d7
Show file tree
Hide file tree
Showing 24 changed files with 1,734 additions and 1,360 deletions.
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ module.exports = {
semi: true,
singleQuote: true,
printWidth: 120,
brackedSpacing: false,
bracketSpacing: false,
arrowParens: "avoid"
};
20 changes: 20 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug Mocha Tests",
"type": "node",
"request": "attach",
"port": 9229,
"protocol": "inspector",
"skipFiles": [
"<node_internals>/**"
],
"timeout": 5000,
"stopOnEntry": false
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@
"titleBar.inactiveBackground": "#1f2e3999",
"titleBar.inactiveForeground": "#e7e7e799"
},
"mochaExplorer.files": "test/**/*.ts",
"mochaExplorer.require": "ts-node/register",
"mochaExplorer.debuggerConfig": "Debug Mocha Tests",
"peacock.color": "#1f2e39"
}
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
"shift-validator": "^5.0.0"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.8.19",
"@microsoft/api-extractor": "^7.8.15",
"@microsoft/tsdoc": "^0.12.20",
"@types/chai": "^4.2.11",
"@types/debug": "^4.1.5",
"@types/mocha": "^7.0.2",
Expand All @@ -52,6 +55,8 @@
"mocha": "^7.1.2",
"prettier": "^1.18.2",
"ts-node": "^8.10.1",
"typedoc": "^0.17.7",
"typedoc-plugin-markdown": "^2.3.1",
"typescript": "^3.9.2"
},
"scripts": {
Expand All @@ -61,8 +66,11 @@
"prepublishOnly": "npm run compile",
"format": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",
"watch": "tsc -w",
"generate-docs": "npm run compile && api-extractor run --local --verbose && api-documenter markdown -i temp -o new-docs",
"typedoc": "typedoc --hideSources --hideBreadcrumbs --excludePrivate --excludeNotExported --stripInternal --disableSources",
"test-examples": "npm run compile && api-extractor run --local --verbose && ts-node -O '{\"resolveJsonModule\":true}' test/doclint/examples.ts",
"test": "mocha"
},
"author": "Jarrod Overson",
"license": "Apache-2.0"
}
}
3 changes: 3 additions & 0 deletions src/debug.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import DEBUG from 'debug';

export const debug = DEBUG('shift-refactor');
Loading

0 comments on commit 59b98d7

Please sign in to comment.