screeps 4.2.16-rc8 โ†’ 4.2.16

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.
@@ -0,0 +1,31 @@
1
+ name: Build npm package
2
+ on:
3
+ push:
4
+ branches:
5
+ - '**'
6
+ jobs:
7
+ build:
8
+ if: contains(github.event.head_commit.message, '๐Ÿ”–')
9
+ runs-on: ubuntu-20.04
10
+ permissions:
11
+ contents: read
12
+ packages: write
13
+ steps:
14
+ - name: โคต๏ธ Checkout
15
+ uses: actions/checkout@v3
16
+ - name: ๐Ÿ”จ Setup node (github registry)
17
+ uses: actions/setup-node@v3
18
+ with:
19
+ node-version: '10.x'
20
+ - name: ๐Ÿ‘ท Install
21
+ run: npm ci
22
+ - name: ๐Ÿ“ฆ๏ธ Publish package (npmjs)
23
+ if: github.ref_name == 'master'
24
+ run: npm publish
25
+ env:
26
+ NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
27
+ - name: ๐Ÿ“ฆ๏ธ Publish tagged package (npmjs)
28
+ if: github.ref_name != 'master'
29
+ run: npm publish --tag ${{ github.ref_name }}
30
+ env:
31
+ NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "screeps",
3
- "version": "4.2.16-rc8",
3
+ "version": "4.2.16",
4
4
  "description": "A standalone server for programming game Screeps",
5
5
  "main": "package.json",
6
6
  "bin": {
7
7
  "screeps": "bin/screeps.js"
8
8
  },
9
9
  "scripts": {
10
- "build": "npm explore @screeps/driver -- npx webpack",
11
- "postinstall": "ls -al ../@screeps && cd ../.. && npm explore @screeps/driver -- npx webpack"
10
+ "postinstall": "cd `node_modules` && npm explore @screeps/driver -- npx webpack"
12
11
  },
13
12
  "author": "Artem Chivchalov <contact@screeps.com>",
14
13
  "license": "ISC",
@@ -19,11 +18,12 @@
19
18
  "dependencies": {
20
19
  "@screeps/backend": "3.2.4",
21
20
  "@screeps/common": "2.15.5",
22
- "@screeps/driver": "5.2.2",
23
- "@screeps/engine": "4.2.18",
21
+ "@screeps/driver": "5.2.3",
22
+ "@screeps/engine": "4.2.20",
24
23
  "@screeps/launcher": "4.1.1",
25
24
  "@screeps/pathfinding": "0.4.17",
26
- "@screeps/storage": "5.1.2"
25
+ "@screeps/storage": "5.1.2",
26
+ "node_modules-path": "2.0.7"
27
27
  },
28
28
  "engines": {
29
29
  "node": ">=10.13.0",