1- unity-changeset
2- ===
1+ # unity-changeset
32
43Get/List Unity editor changeset
54
@@ -34,34 +33,34 @@ const { getUnityChangeset, scrapeArchivedChangesets, scrapeBetaChangesets } = fr
3433### Example
3534
3635``` js
37- const { getUnityChangeset , scrapeArchivedChangesets , scrapeBetaChangesets } = require (' unity-changeset' );
36+ const { getUnityChangeset , scrapeArchivedChangesets , scrapeBetaChangesets } =
37+ require (" unity-changeset" );
3838
3939(async () => {
40- const changeset = await getUnityChangeset (' 2020.1.14f1' );
41- console .log (changeset);
42- // => UnityChangeset {version: '2020.1.14f1', changeset: 'd81f64f5201d'}
43- console .log (changeset .toString ());
44- // => 2020.1.14f1 d81f64f5201d
45- const changesets = await scrapeArchivedChangesets ();
46- console .dir (changesets);
47- // => [
48- // UnityChangeset { version: '2020.1.15f1', changeset: '97d0ae02d19d' },
49- // UnityChangeset { version: '2020.1.14f1', changeset: 'd81f64f5201d' },
50- // UnityChangeset { version: '2020.1.13f1', changeset: '5e24f28bfbc0' },
51- // ...
52- // ]
53- const betaChangesets = await scrapeBetaChangesets ();
54- console .log (betaChangesets);
55- // => [
56- // UnityChangeset { version: '2020.2.0b13', changeset: '655e1a328b90' },
57- // UnityChangeset { version: '2020.2.0b12', changeset: '92852ae685d8' },
58- // UnityChangeset { version: '2020.2.0b11', changeset: 'c499c2bf2e80' },
59- // ...
60- // ]
40+ const changeset = await getUnityChangeset (" 2020.1.14f1" );
41+ console .log (changeset);
42+ // => UnityChangeset {version: '2020.1.14f1', changeset: 'd81f64f5201d'}
43+ console .log (changeset .toString ());
44+ // => 2020.1.14f1 d81f64f5201d
45+ const changesets = await scrapeArchivedChangesets ();
46+ console .dir (changesets);
47+ // => [
48+ // UnityChangeset { version: '2020.1.15f1', changeset: '97d0ae02d19d' },
49+ // UnityChangeset { version: '2020.1.14f1', changeset: 'd81f64f5201d' },
50+ // UnityChangeset { version: '2020.1.13f1', changeset: '5e24f28bfbc0' },
51+ // ...
52+ // ]
53+ const betaChangesets = await scrapeBetaChangesets ();
54+ console .log (betaChangesets);
55+ // => [
56+ // UnityChangeset { version: '2020.2.0b13', changeset: '655e1a328b90' },
57+ // UnityChangeset { version: '2020.2.0b12', changeset: '92852ae685d8' },
58+ // UnityChangeset { version: '2020.2.0b11', changeset: 'c499c2bf2e80' },
59+ // ...
60+ // ]
6161})();
6262```
6363
64-
6564## Usage as a deno module
6665
6766``` js
9190deno install -A -f -n unity-changeset https://deno.land/x/unity_changeset/src/cli.ts
9291```
9392
94-
9593### Help
9694
9795```
@@ -146,15 +144,13 @@ deno install -A -f -n unity-changeset https://deno.land/x/unity_changeset/src/cl
146144 --pretty-json - Output in pretty json format
147145```
148146
149-
150147### Get a changeset for specific version:
151148
152149``` sh
153150$ unity-changeset 2020.2.14f1
154151d81f64f5201d
155152```
156153
157-
158154### Get a changeset for specific version
159155
160156``` sh
@@ -273,12 +269,12 @@ Issues are very valuable to this project.
273269
274270### Pull Requests
275271
276- Pull requests are, a great way to get your ideas into this repository.
272+ Pull requests are, a great way to get your ideas into this repository.
277273
278274### Support
279275
280- This is an open source project that I am developing in my spare time.
281- If you like it, please support me.
276+ This is an open source project that I am developing in my spare time.\
277+ If you like it, please support me.\
282278With your support, I can spend more time on development. :)
283279
284280[ ![ ] ( https://user-images.githubusercontent.com/12690315/66942881-03686280-f085-11e9-9586-fc0b6011029f.png )] ( https://github.com/users/mob-sakai/sponsorship )
@@ -287,15 +283,19 @@ With your support, I can spend more time on development. :)
287283
288284## License
289285
290- * MIT
286+ - MIT
291287
292288## Author
293289
294- * ![ ] ( https://user-images.githubusercontent.com/12690315/96986908-434a0b80-155d-11eb-8275-85138ab90afa.png ) [ mob-sakai] ( https://github.com/mob-sakai ) [ ![ ] ( https://img.shields.io/twitter/follow/mob_sakai.svg?label=Follow&style=social )] ( https://twitter.com/intent/follow?screen_name=mob_sakai ) ![ GitHub followers] ( https://img.shields.io/github/followers/mob-sakai?style=social )
290+ - ![ ] ( https://user-images.githubusercontent.com/12690315/96986908-434a0b80-155d-11eb-8275-85138ab90afa.png )
291+ [ mob-sakai] ( https://github.com/mob-sakai )
292+ [ ![ ] ( https://img.shields.io/twitter/follow/mob_sakai.svg?label=Follow&style=social )] ( https://twitter.com/intent/follow?screen_name=mob_sakai )
293+ ![ GitHub followers] ( https://img.shields.io/github/followers/mob-sakai?style=social )
295294
296295## See Also
297296
298- * GitHub page : https://github.com/mob-sakai/unity-changeset
299- * Releases : https://github.com/mob-sakai/unity-changeset/releases
300- * Issue tracker : https://github.com/mob-sakai/unity-changeset/issues
301- * Change log : https://github.com/mob-sakai/unity-changeset/blob/main/CHANGELOG.md
297+ - GitHub page : https://github.com/mob-sakai/unity-changeset
298+ - Releases : https://github.com/mob-sakai/unity-changeset/releases
299+ - Issue tracker : https://github.com/mob-sakai/unity-changeset/issues
300+ - Change log :
301+ https://github.com/mob-sakai/unity-changeset/blob/main/CHANGELOG.md
0 commit comments