1
0
Fork 0

Add a placeholder GitHub package

This will serve as something to build testing/TypeScript tooling around
pull/1/head
Jonathan Clem 2019-04-19 14:53:42 -04:00
parent a044bf542b
commit 97bc7918f4
No known key found for this signature in database
GPG Key ID: 48C5B22E9FD6E80F
6 changed files with 2984 additions and 0 deletions

2911
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,21 @@
{
"name": "root",
"private": true,
"scripts": {
"test": "jest"
},
"jest": {
"clearMocks": true,
"roots": [
"<rootDir>/packages"
],
"testEnvironment": "node",
"testRunner": "jest-circus/runner",
"verbose": true
},
"devDependencies": {
"jest": "^24.7.1",
"jest-circus": "^24.7.1",
"lerna": "^3.13.3"
}
}

11
packages/github/README.md Normal file
View File

@ -0,0 +1,11 @@
# `@actions/github`
> TODO: description
## Usage
```
const github = require('@actions/github');
// TODO: DEMONSTRATE API
```

View File

@ -0,0 +1,9 @@
'use strict';
// const github = require('..');
describe('@actions/github', () => {
it('needs tests', () => {
});
});

View File

@ -0,0 +1,7 @@
'use strict';
module.exports = github;
function github() {
// TODO
}

View File

@ -0,0 +1,32 @@
{
"name": "@actions/github",
"version": "0.0.0",
"description": "Actions tools for the GitHub API and GitHub context",
"keywords": [
"github",
"actions",
"toolkit"
],
"homepage": "https://github.com/actions/toolkit/tree/master/packages/github",
"license": "MIT",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/actions/toolkit.git"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1"
},
"bugs": {
"url": "https://github.com/actions/toolkit/issues"
}
}