tern-screeps 0.0.7 โ†’ 0.0.8

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,33 @@
1
+ name: Build npm package
2
+ on:
3
+ push:
4
+ branches:
5
+ - '**'
6
+
7
+ jobs:
8
+ build:
9
+ if: contains(github.event.head_commit.message, '๐Ÿ”–')
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ steps:
14
+ - name: โคต๏ธ Checkout
15
+ uses: actions/checkout@v4
16
+ - name: ๐Ÿ”จ Setup Node for npmjs
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: '24.x'
20
+ registry-url: https://registry.npmjs.org
21
+ - name: ๐Ÿ‘ท Install
22
+ run: npm ci
23
+ - name: ๐Ÿ“ฆ๏ธ Publish package (npmjs)
24
+ if: github.ref_name == 'master'
25
+ run: npm publish
26
+ env:
27
+ NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
28
+ - name: ๐Ÿ“ฆ๏ธ Publish tagged package (npmjs)
29
+ if: github.ref_name != 'master'
30
+ run: npm publish --tag "$DIST_TAG"
31
+ env:
32
+ DIST_TAG: ${{ github.ref_name }}
33
+ NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # tern-screeps
2
-
3
- tern-screeps brings an autocomplete functionality for Screeps game into your favorite code editor, powered by [ternjs](http://ternjs.net/).
4
-
5
- Tern is available for
6
- - [Atom](https://atom.io/packages/atom-ternjs)
7
- - [Eclipse](https://github.com/angelozerr/tern.java#readme)
8
- - [Emacs](http://ternjs.net/doc/manual.html#emacs)
9
- - [Vim](https://github.com/ternjs/tern_for_vim#readme)
10
- - [Sublime Text](https://github.com/ternjs/tern_for_sublime#readme)
11
-
1
+ # tern-screeps
2
+
3
+ tern-screeps brings an autocomplete functionality for Screeps game into your favorite code editor, powered by [ternjs](http://ternjs.net/).
4
+
5
+ Tern is available for
6
+ - [Atom](https://atom.io/packages/atom-ternjs)
7
+ - [Eclipse](https://github.com/angelozerr/tern.java#readme)
8
+ - [Emacs](http://ternjs.net/doc/manual.html#emacs)
9
+ - [Vim](https://github.com/ternjs/tern_for_vim#readme)
10
+ - [Sublime Text](https://github.com/ternjs/tern_for_sublime#readme)
11
+
12
12
  and [more](http://ternjs.net/#plugins).