@slugbugblue/trax 1.0.0 → 1.0.1
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/CHANGELOG.md +4 -0
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/docs/engine.md +1 -2
- package/package.json +3 -3
- package/src/engine.js +3 -1
- package/src/version.js +1 -1
package/CHANGELOG.md
CHANGED
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright ©
|
|
189
|
+
Copyright © 2019-2026 Chad Transtrum
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -71,7 +71,7 @@ Trax][gnutrax] for over two decades, and has a lot of expertise in this area.
|
|
|
71
71
|
|
|
72
72
|
## License
|
|
73
73
|
|
|
74
|
-
Copyright 2019-
|
|
74
|
+
Copyright 2019-2026 Chad Transtrum
|
|
75
75
|
|
|
76
76
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
77
77
|
the files in this project except in compliance with the License. You may obtain
|
package/docs/engine.md
CHANGED
|
@@ -75,7 +75,6 @@ trax = new Trax(rules, moves, id)
|
|
|
75
75
|
that if an array is used, each item in the array should be a notation string.
|
|
76
76
|
If a string is used instead, it is permissible to include the move numbers of
|
|
77
77
|
each move as well. As an example, the following are equivalent:
|
|
78
|
-
|
|
79
78
|
- `['@0/', '@1+', 'B0\\']`
|
|
80
79
|
- `'1. @0/ 2. @1+ 3. B0\\'`
|
|
81
80
|
- `@0/ @1+ b0\\`
|
|
@@ -414,7 +413,7 @@ tie.
|
|
|
414
413
|
|
|
415
414
|
## License
|
|
416
415
|
|
|
417
|
-
Copyright 2019-
|
|
416
|
+
Copyright 2019-2026 Chad Transtrum
|
|
418
417
|
|
|
419
418
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
420
419
|
the files in this project except in compliance with the License. You may obtain
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slugbugblue/trax",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Trax game engine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"trax",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"genversion": "genversion --esm src/version.js",
|
|
23
23
|
"git-add": "git add src/version.js",
|
|
24
24
|
"test": "xo && c8 ava",
|
|
25
|
-
"prepare": "husky",
|
|
25
|
+
"prepare": "[ -n \"$CI\" ] || husky",
|
|
26
26
|
"preversion": "npm test",
|
|
27
27
|
"version": "npm run genversion ; npm run git-add",
|
|
28
|
-
"postversion": "git push && git push --tags
|
|
28
|
+
"postversion": "git push && git push --tags"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@slugbugblue/lru": "^1.0.0",
|
package/src/engine.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/** Trax engine.
|
|
2
|
-
* @copyright 2019-
|
|
2
|
+
* @copyright 2019-2026
|
|
3
3
|
* @author Chad Transtrum <chad@transtrum.net>
|
|
4
4
|
* @license Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
/// <reference path="./types.d.ts" />
|
|
8
|
+
|
|
7
9
|
import { Point } from '@slugbugblue/point'
|
|
8
10
|
|
|
9
11
|
// Fun trax helper constants
|
package/src/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.0.
|
|
2
|
+
export const version = '1.0.1'
|