diamond-square 1.6.0 → 1.7.0
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/.github/workflows/ci.yml +1 -1
- package/.github/workflows/publish.yml +7 -5
- package/README.md +6 -0
- package/package.json +1 -1
package/.github/workflows/ci.yml
CHANGED
|
@@ -3,6 +3,9 @@ on:
|
|
|
3
3
|
push:
|
|
4
4
|
branches:
|
|
5
5
|
- master # Change this to your default branch
|
|
6
|
+
permissions:
|
|
7
|
+
id-token: write
|
|
8
|
+
contents: write
|
|
6
9
|
jobs:
|
|
7
10
|
npm-publish:
|
|
8
11
|
name: npm-publish
|
|
@@ -13,13 +16,12 @@ jobs:
|
|
|
13
16
|
- name: Set up Node.js
|
|
14
17
|
uses: actions/setup-node@master
|
|
15
18
|
with:
|
|
16
|
-
node-version:
|
|
19
|
+
node-version: 24
|
|
20
|
+
registry-url: 'https://registry.npmjs.org'
|
|
17
21
|
- id: publish
|
|
18
|
-
uses: JS-DevTools/npm-publish@
|
|
19
|
-
with:
|
|
20
|
-
token: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
22
|
+
uses: JS-DevTools/npm-publish@v4
|
|
21
23
|
- name: Create Release
|
|
22
|
-
if: steps.publish.outputs.type
|
|
24
|
+
if: ${{ steps.publish.outputs.type }}
|
|
23
25
|
id: create_release
|
|
24
26
|
uses: actions/create-release@v1
|
|
25
27
|
env:
|
package/README.md
CHANGED
|
@@ -24,6 +24,12 @@ world.getBlock(new Vec3(3, 50, 3)).then(block => console.log(JSON.stringify(bloc
|
|
|
24
24
|
|
|
25
25
|
## History
|
|
26
26
|
|
|
27
|
+
### 1.7.0
|
|
28
|
+
* [Update CI to Node 24 (#25)](https://github.com/PrismarineJS/diamond-square/commit/bf96a033be58c5a2f1085074055224742c7e6bc3) (thanks @rom1504)
|
|
29
|
+
* [Fix publish condition for npm-publish v4 (#24)](https://github.com/PrismarineJS/diamond-square/commit/be7fa79cba7362f6f513a7e6aa78f97e66f14165) (thanks @rom1504)
|
|
30
|
+
* [Switch to trusted publishing via OIDC (#23)](https://github.com/PrismarineJS/diamond-square/commit/7da053d958d8b6625e7c104b8b8b85941fe3b918) (thanks @rom1504)
|
|
31
|
+
* [node 22 (#22)](https://github.com/PrismarineJS/diamond-square/commit/48828d65708d90a1e709f0b29ba958ed99161de6) (thanks @rom1504)
|
|
32
|
+
|
|
27
33
|
### 1.6.0
|
|
28
34
|
* [Update for 1.17+ (#20)](https://github.com/PrismarineJS/diamond-square/commit/1b1a097dcb64c95a921f07c07cd239d571175a57) (thanks @extremeheat)
|
|
29
35
|
|