Skip to content

Commit 63126c0

Browse files
committed
Initial commit
0 parents  commit 63126c0

File tree

17 files changed

+275
-0
lines changed

17 files changed

+275
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: possible bug
6+
assignees: ''
7+
8+
---
9+
10+
- [ ] The [readme](https://github.com/PrismarineJS/prismarine-template/README.md) doesn't contain a resolution to my issue
11+
- [ ] The [example](https://github.com/PrismarineJS/prismarine-template/example.js) doesn't contain a resolution to my issue
12+
13+
<!-- To mark the checkbox, insert `x` into it: [x] -->
14+
15+
## Versions
16+
- node: #.#.#
17+
- prismarine-template: #.#.#
18+
19+
## Detailed description of a problem
20+
A clear and concise description of what the problem is.
21+
22+
## Your current code
23+
```js
24+
console.log("Hello world.")
25+
```
26+
27+
## Expected behavior
28+
A clear and concise description of what you expected to happen.
29+
30+
## Additional context
31+
Add any other context about the problem here.
32+
---
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: new feature
6+
assignees: ''
7+
8+
---
9+
10+
## Is your feature request related to a problem? Please describe.
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
## Describe the solution you'd like
14+
A clear and concise description of what you want to happen.
15+
16+
## Describe alternatives you've considered
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
## Additional context
20+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
name: Question
3+
about: Ask a question
4+
title: ''
5+
labels: question
6+
assignees: ''
7+
8+
---
9+
10+
- [ ] The [readme](https://github.com/PrismarineJS/prismarine-template/README.md) doesn't contain a resolution to my issue
11+
- [ ] The [example](https://github.com/PrismarineJS/prismarine-template/example.js) doesn't contain a resolution to my issue
12+
13+
14+
<!-- To mark the checkbox, insert `x` into it: [x] -->
15+
16+
## Versions
17+
18+
- mineflayer: #.#.#
19+
- server: vanilla/spigot/paper #.#.#
20+
- node: #.#.#
21+
22+
## Clear question
23+
24+
A clear question, with as much context as possible.
25+
What are you building? What problem are you trying to solve?
26+
27+
## What did you try yet?
28+
29+
Did you try any method from the API?
30+
Did you try any example? Any error from those?
31+
32+
## Your current code
33+
34+
Please put here any custom code you tried yet.
35+
36+
```js
37+
38+
/*
39+
Some code here, replace this
40+
*/
41+
42+
```
43+
44+
## Additional context
45+
46+
Add any other context about the problem here.

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [14.x]
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v1
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
- run: npm install
25+
- run: npm test

.github/workflows/publish.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: npm-publish
2+
on:
3+
push:
4+
branches:
5+
- master # Change this to your default branch
6+
jobs:
7+
npm-publish:
8+
name: npm-publish
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@master
13+
- name: Set up Node.js
14+
uses: actions/setup-node@master
15+
with:
16+
node-version: 14.0.0
17+
- id: publish
18+
uses: JS-DevTools/npm-publish@v1
19+
with:
20+
token: ${{ secrets.NPM_AUTH_TOKEN }}
21+
- name: Create Release
22+
if: steps.publish.outputs.type != 'none'
23+
id: create_release
24+
uses: actions/create-release@v1
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
with:
28+
tag_name: ${{ steps.publish.outputs.version }}
29+
release_name: Release ${{ steps.publish.outputs.version }}
30+
body: ${{ steps.publish.outputs.version }}
31+
draft: false
32+
prerelease: false

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
package-lock.json
3+
.vscode

.gitpod

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
image:
2+
file: .gitpod.DockerFile
3+
tasks:
4+
- command: npm install

.gitpod.DockerFile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM gitpod/workspace-full:latest
2+
3+
RUN bash -c ". .nvm/nvm.sh \
4+
&& nvm install 14 \
5+
&& nvm use 14 \
6+
&& nvm alias default 14"
7+
8+
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

0 commit comments

Comments
 (0)