mirror of
https://github.com/actions/toolkit
synced 2025-05-08 16:17:40 +00:00
Add a placeholder GitHub package
This will serve as something to build testing/TypeScript tooling around
This commit is contained in:
parent
a044bf542b
commit
97bc7918f4
6 changed files with 2984 additions and 0 deletions
2911
package-lock.json
generated
2911
package-lock.json
generated
File diff suppressed because it is too large
Load diff
14
package.json
14
package.json
|
@ -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
11
packages/github/README.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# `@actions/github`
|
||||
|
||||
> TODO: description
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
const github = require('@actions/github');
|
||||
|
||||
// TODO: DEMONSTRATE API
|
||||
```
|
9
packages/github/__tests__/github.test.js
Normal file
9
packages/github/__tests__/github.test.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
// const github = require('..');
|
||||
|
||||
describe('@actions/github', () => {
|
||||
it('needs tests', () => {
|
||||
|
||||
});
|
||||
});
|
7
packages/github/lib/github.js
Normal file
7
packages/github/lib/github.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = github;
|
||||
|
||||
function github() {
|
||||
// TODO
|
||||
}
|
32
packages/github/package.json
Normal file
32
packages/github/package.json
Normal 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"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue