Commit Graph

20 Commits

Author SHA1 Message Date
Christian Koop 19265bf5a2
Release 1.0.2 2021-08-01 20:02:41 +02:00
Christian Koop a1c87b0147
Better Java 16 / Minecraft 1.17+ support
Using a version older than Java 16 with the original BuildTools causes the build to fail as Minecraft 1.17 requires Java 16 and Tool preparations are done without telling the tool a version to build (until now).

Additionally the test builds in this repo have been updated to use java 16 for the latest build.
2021-08-01 19:50:38 +02:00
Christian Koop 2f6ac0ccdb
Update dependencies
Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.27.0 to 0.29.0.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.27.0...0.29.0)

---
updated-dependencies:
- dependency-name: "@vercel/ncc"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump @actions/core from 1.2.6 to 1.4.0

Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.6 to 1.4.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump @types/async from 3.2.5 to 3.2.7

Bumps [@types/async](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/async) from 3.2.5 to 3.2.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/async)

---
updated-dependencies:
- dependency-name: "@types/async"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump @types/fs-extra from 9.0.9 to 9.0.12

Bumps [@types/fs-extra](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fs-extra) from 9.0.9 to 9.0.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/fs-extra)

---
updated-dependencies:
- dependency-name: "@types/fs-extra"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump typescript from 4.2.3 to 4.3.5

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.3 to 4.3.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.3...v4.3.5)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>


Bump fs-extra from 9.1.0 to 10.0.0

Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.1.0...10.0.0)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump ts-node from 9.1.1 to 10.1.0

Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 9.1.1 to 10.1.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v9.1.1...v10.1.0)

---
updated-dependencies:
- dependency-name: ts-node
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump @tsconfig/node12 from 1.0.7 to 1.0.9

Bumps [@tsconfig/node12](https://github.com/tsconfig/bases/tree/HEAD/bases) from 1.0.7 to 1.0.9.
- [Release notes](https://github.com/tsconfig/bases/releases)
- [Commits](https://github.com/tsconfig/bases/commits/HEAD/bases)

---
updated-dependencies:
- dependency-name: "@tsconfig/node12"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump @types/n-readlines from 1.0.1 to 1.0.2

Bumps [@types/n-readlines](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/n-readlines) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/n-readlines)

---
updated-dependencies:
- dependency-name: "@types/n-readlines"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Change @types/node version to 12.x


Bump @types/node from 12.20.7 to 12.20.18

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.20.7 to 12.20.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-01 19:47:17 +02:00
Christian Koop 4d6b6af270
Update dependencies (#47)
* Bump @vercel/ncc from 0.26.1 to 0.27.0

Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.26.1 to 0.27.0.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.26.1...0.27.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fs-extra from 9.0.1 to 9.1.0

Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.0.1 to 9.1.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.0.1...9.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @types/node from 12.19.11 to 12.19.15

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.19.11 to 12.19.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

* Run build script

* Bump typescript from 4.1.3 to 4.2.3

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.3 to 4.2.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @types/fs-extra from 9.0.6 to 9.0.9

Bumps [@types/fs-extra](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fs-extra) from 9.0.6 to 9.0.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/fs-extra)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @types/node from 12.19.11 to 12.20.7

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.19.11 to 12.20.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-01 22:03:34 +02:00
Christian Koop 3fa105973c
Merge pull request #60 from SpraxDev/use-jdk-8
* GitHub Actions: Use JDK 8
* Use SpigotMC BuildTools by default
2021-04-01 21:53:05 +02:00
Christian Koop fd4df7496c
Update dependency typescript, @vercel/ncc and TS-Types (#40)
* *typescript* from `4.1.2` to `4.1.3`
* *@vercel/ncc* from `0.25.1` to `0.26.1`
* *@types/node* from `12.19.8` to `12.19.11`
* *@types/fs-extra* from `9.0.4` to `9.0.6`

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-28 21:20:19 +01:00
Christian Koop 4f433c8a97
Update dependency ts-node and TS-Type dependencies (#32)
* *@types/node* from `12.19.6` to `12.19.8`
* *@types/async* from `3.2.4` to `3.2.5`
* *ts-node* from `9.0.0` to `9.1.1`

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-09 16:51:22 +01:00
Christian Koop 4455a6d125
Release v1.0.0 2020-11-24 19:31:40 +01:00
Christian Koop 70e656229c
Fix ERR_STREAM_WRITE_AFTER_END 2020-11-24 19:13:26 +01:00
Christian Koop 00d37a9871
Always write to log file 2020-11-24 19:09:55 +01:00
Christian Koop 1645fc3ee7
No longer allow to configure 'target' and default to 'Spigot' 2020-11-24 18:24:19 +01:00
Christian Koop 3a72e11367
Check for existing artifacts in local maven repository 2020-11-24 18:23:22 +01:00
Christian Koop d14b966ef1
Replace 'read-last-lines' with 'n-readlines'
read-last-lines had trouble reading lines
2020-11-24 15:36:21 +01:00
Christian Koop c06cf8b5d3
Fix not building in some cases and wrongly following download redirects 2020-11-24 14:53:41 +01:00
Christian Koop 69c7fb8c2f
Follow redirects when downloading files 2020-11-24 11:47:15 +01:00
Christian Koop c901bfb72a
Error handling
Some errors did not cause the Action to fail
2020-11-24 11:39:30 +01:00
Christian Koop f88defe2ae
Use 'SpraxDev/Spigot-BuildTools' by default
The action can now be configured to use the original BuildTools or a fork of mine with some tweaks (More info at https://github.com/SpraxDev/Spigot-BuildTools/#breaking-changes)
2020-11-24 11:31:39 +01:00
Christian Koop ff431ef526
Update some dependencies (#24)
* Bump @vercel/ncc from 0.24.1 to 0.25.1

Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.24.1 to 0.25.1.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.24.1...0.25.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @types/async from 3.2.3 to 3.2.4

Bumps [@types/async](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/async) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/async)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump typescript from 4.0.5 to 4.1.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.5 to 4.1.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.5...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @types/node from 12.19.4 to 12.19.6

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.19.4 to 12.19.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

* Build project

It looks like `ncc` has a bug that adds 2 semicolon to `sourcemap-register.js` but that should not be a problem

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-24 09:08:55 +01:00
Christian Koop 59bfa35172
Fix 'disableJavaCheck' not always being checked 2020-11-01 03:11:53 +01:00
Christian Koop ecb587ae2f
Initial commit 2020-11-01 02:29:17 +01:00