backlog-js 0.12.1 → 0.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/README.md +1 -1
- package/dist/backlog.js +474 -10
- package/dist/backlog.min.js +1 -1
- package/dist/{src → types}/backlog.d.ts +98 -84
- package/dist/{src → types}/entity.d.ts +0 -0
- package/dist/{src → types}/error.d.ts +6 -7
- package/dist/{src → types}/index.d.ts +0 -0
- package/dist/{src → types}/oauth2.d.ts +0 -0
- package/dist/{src → types}/option.d.ts +2 -2
- package/dist/{src → types}/request.d.ts +2 -2
- package/package.json +17 -15
- package/.github/workflows/nodejs.yml +0 -26
- package/DEVELOPMENT.md +0 -47
- package/dist/backlog.d.ts +0 -745
- package/dist/src/backlog.js +0 -513
- package/dist/src/entity.js +0 -2
- package/dist/src/error.js +0 -91
- package/dist/src/index.js +0 -13
- package/dist/src/oauth2.js +0 -45
- package/dist/src/option.js +0 -65
- package/dist/src/request.js +0 -93
- package/dist/test/fixtures/index.d.ts +0 -3
- package/dist/test/fixtures/index.js +0 -15
- package/dist/test/fixtures/oauth2.d.ts +0 -6
- package/dist/test/fixtures/oauth2.js +0 -9
- package/dist/test/fixtures/project.d.ts +0 -10
- package/dist/test/fixtures/project.js +0 -15
- package/dist/test/fixtures/space.d.ts +0 -11
- package/dist/test/fixtures/space.js +0 -14
- package/dist/test/test.d.ts +0 -2
- package/dist/test/test.js +0 -183
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- "**"
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
test:
|
|
10
|
-
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
|
|
13
|
-
strategy:
|
|
14
|
-
matrix:
|
|
15
|
-
node-version: [12.x, 14.x]
|
|
16
|
-
|
|
17
|
-
steps:
|
|
18
|
-
- uses: actions/checkout@v2
|
|
19
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
20
|
-
uses: actions/setup-node@v2
|
|
21
|
-
with:
|
|
22
|
-
node-version: ${{ matrix.node-version }}
|
|
23
|
-
- name: Run npm ci
|
|
24
|
-
run: npm ci
|
|
25
|
-
- name: Run test
|
|
26
|
-
run: npm run build && npm test
|
package/DEVELOPMENT.md
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# For contributers
|
|
2
|
-
|
|
3
|
-
## Before you commit
|
|
4
|
-
|
|
5
|
-
* Create your branch from master branch. And your pull requests should head to master branch in general.
|
|
6
|
-
* Run `npm run build` to build `dist/*` and commit them. They are **not** `.gitignore`d.
|
|
7
|
-
|
|
8
|
-
# For repository owners
|
|
9
|
-
|
|
10
|
-
## Release procedure
|
|
11
|
-
|
|
12
|
-
### 0. Requirements
|
|
13
|
-
|
|
14
|
-
* [ghch](https://github.com/Songmu/ghch)
|
|
15
|
-
|
|
16
|
-
### 1. Create new tag
|
|
17
|
-
|
|
18
|
-
**Be sure your local master branch is up-to-date.**
|
|
19
|
-
|
|
20
|
-
1. Create a release branch from master branch.
|
|
21
|
-
1. `git switch master && git pull`
|
|
22
|
-
1. `git switch -c <BRANCH_NAME>`
|
|
23
|
-
1. Update the change log.
|
|
24
|
-
1. `VERSION=<TAG> npm run changelog`
|
|
25
|
-
1. Update versions in `package.json` and `package-lock.json`.
|
|
26
|
-
1. Manually 😜
|
|
27
|
-
1. Commit and push. Create a pull request.
|
|
28
|
-
1. `git commit -m "<TAG>"`
|
|
29
|
-
1. `git push`
|
|
30
|
-
1. Create a pull request in your favourite way.
|
|
31
|
-
1. After the PR is merged, add new tag to the HEAD of master branch.
|
|
32
|
-
1. `git tag <TAG>`
|
|
33
|
-
1. `git push origin <TAG>`
|
|
34
|
-
|
|
35
|
-
### 2. Publish to npm
|
|
36
|
-
|
|
37
|
-
1. `npm login`
|
|
38
|
-
1. Be sure you are logging in to the `nulab` account.
|
|
39
|
-
1. `npm publish --dry-run`
|
|
40
|
-
1. `npm publish`
|
|
41
|
-
1. `npm logout`
|
|
42
|
-
|
|
43
|
-
### 3. Create a release in GitHub
|
|
44
|
-
|
|
45
|
-
1. Push `Draft a new release` button in https://github.com/nulab/backlog-js/releases .
|
|
46
|
-
1. Paste a URL which links to the `CHANGELOG.md`.
|
|
47
|
-
1. e.g. https://github.com/nulab/backlog-js/blob/master/CHANGELOG.md#0120-2021-01-08
|