Compare commits

...

189 commits

Author SHA1 Message Date
505cb7468d chore(deps): update yarn to v4.5.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-10-18 17:01:45 +00:00
dc4b7eb19f chore(deps): update dependency @swc/core to v1.7.36
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-10-15 17:02:25 +00:00
576af4b0dc chore(deps): update dependency @swc/core to v1.7.35
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-10-10 10:02:19 +00:00
6519db52d4 chore(deps): update dependency rollup-plugin-swc3 to v0.12.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-10-07 20:02:12 +00:00
75b47f654e chore(deps): update dependency rollup-plugin-swc3 to v0.12.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-10-06 08:02:09 +00:00
fcbf96728b chore(deps): update dependency @guanghechen/rollup-plugin-copy to v6
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-10-03 13:01:47 +00:00
1aab186285 chore(deps): update dependency rollup to v4.24.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-10-02 10:02:16 +00:00
58827f0a13 chore(deps): update dependency rollup to v4.22.5
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-09-27 12:02:15 +00:00
adcf073767 chore(deps): update dependency @swc/core to v1.7.28
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-09-24 13:02:23 +00:00
888d325839 chore(deps): update dependency rollup to v4.22.4
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-09-21 07:03:57 +00:00
0d6e90bd03 chore(deps): update dependency rollup to v4.22.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-09-19 05:02:01 +00:00
464d0c1532 chore(deps): update dependency eslint to v8.57.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-09-16 16:01:52 +00:00
91e6aeae9e chore(deps): update yarn to v4.5.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-09-14 13:01:31 +00:00
a57f59e7a4 chore(deps): update dependency rollup to v4.21.3
Some checks failed
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/manual/checks Pipeline was successful
ci/woodpecker/manual/release Pipeline failed
2024-09-13 16:02:01 +02:00
10bcd72e06 chore(deps): update dependency @swc/core to v1.7.26
Some checks failed
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline failed
2024-09-12 12:01:31 +00:00
36cfe53e5e chore(deps): update commitlint monorepo to v19.5.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-09-11 09:02:05 +00:00
2e739ea74d chore(deps): update dependency @swc/core to v1.7.24
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-09-08 07:02:07 +00:00
8d734a8866 chore(deps): update dependency @swc/core to v1.7.23
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-09-03 00:01:51 +00:00
7ac88207cf chore(deps): update dependency @swc/core to v1.7.22
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-31 11:01:24 +00:00
a63e008a90 chore(deps): update dependency rollup to v4.21.2
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-30 08:02:02 +00:00
ca0fa06ea3 chore(deps): update commitlint monorepo to v19.4.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-28 08:04:29 +00:00
b099f4921a chore(deps): update dependency rollup to v4.21.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-26 17:03:48 +00:00
e9f27fd440 chore(deps): update yarn to v4.4.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-25 14:01:23 +00:00
e897c34eb1 chore(deps): update dependency @swc/core to v1.7.18
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-24 11:01:50 +00:00
d0568f5c4c chore(deps): update dependency @swc/core to v1.7.14
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-19 15:01:53 +00:00
bcca5af4f1 chore(deps): update dependency rollup to v4.21.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-18 06:02:10 +00:00
f11702c611 chore(deps): update dependency @swc/core to v1.7.11
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-14 10:01:59 +00:00
a657616f20 chore(deps): update dependency @swc/core to v1.7.10
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-09 21:05:13 +00:00
913238cacf chore(deps): update dependency @commitlint/cli to v19.4.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-07 09:03:43 +00:00
d5af049c26 chore(deps): update dependency @swc/core to v1.7.6
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-05 04:03:21 +00:00
33875419b0 chore(deps): update dependency rollup to v4.20.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-04 01:01:24 +00:00
7f197f2082 chore(deps): update yarn to v4.4.0
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-04 02:02:28 +02:00
b3927d5386 chore(deps): update dependency @swc/core to v1.7.5
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-02 22:03:19 +00:00
235603bc26 chore(deps): update dependency rollup to v4.19.2
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-08-01 20:01:22 +00:00
de5d3c0dee chore(deps): update dependency @swc/core to v1.7.4
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-07-31 17:03:40 +00:00
b491217cad chore(deps): update dependency @swc/core to v1.7.3
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-07-28 08:01:15 +00:00
e6a768e6a0 chore(deps): update dependency rollup to v4.19.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-07-27 05:03:36 +00:00
3868e37e61 chore(deps): update dependency @swc/core to v1.7.2
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-07-25 16:03:58 +00:00
89d7830e2b chore(deps): update dependency @swc/core to v1.7.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-07-24 07:01:28 +00:00
b724ec02f7 chore(deps): update dependency rollup to v4.19.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-07-20 06:01:44 +00:00
cbab5fcd7e chore(deps): update dependency @swc/core to v1.7.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-07-18 05:03:19 +00:00
65297ae25e chore(deps): update dependency semver to v7.6.3
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-07-16 23:03:44 +00:00
6d6b7f4702 chore(deps): update dependency rimraf to v6
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-07-10 22:03:35 +00:00
9ced545e95 chore(deps): update dependency rimraf to v5.0.9
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-07-09 19:02:51 +00:00
33974ce5b4 chore(deps): update dependency rollup to v4.18.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-07-08 16:01:47 +00:00
4b307dc05f chore(deps): update dependency @swc/core to v1.6.13
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-07-07 07:01:15 +00:00
5b08e52161 chore(deps): update dependency rimraf to v5.0.8
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-07-06 05:02:03 +00:00
7ea98ade6d chore(deps): update dependency @swc/core to v1.6.7
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-07-03 15:03:44 +00:00
9b515af2cb chore(deps): update dependency @swc/core to v1.6.6
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-06-29 12:03:41 +00:00
0ba0f0555d chore(deps): update dependency @swc/core to v1.6.5
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-06-22 09:02:36 +00:00
6823af9779 chore(deps): update yarn to v4.3.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-06-21 07:01:29 +00:00
149c2c302b chore(deps): update dependency @swc/core to v1.6.3
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-06-19 05:01:37 +00:00
46713d3fd5 chore(deps): update dependency @swc/core to v1.6.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-06-16 07:03:24 +00:00
caac1d3882 chore(deps): update dependency conventional-changelog-conventionalcommits to v8
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2024-06-15 20:05:12 +02:00
0bbe834345 chore(deps): update commitlint monorepo to v19
Some checks failed
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline failed
2024-06-15 18:04:28 +00:00
c809782df3 chore(deps): update yarn to v4.3.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-06-15 17:05:40 +00:00
a88a09c8d5 chore(deps): update dependency conventional-changelog-cli to v5
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2024-06-15 18:13:14 +02:00
6bcc17082e chore(deps): update dependency semver to v7.6.2
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2024-06-15 18:11:51 +02:00
0baf2c8972 chore(deps): update dependency rollup to v4.18.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-06-15 16:11:13 +00:00
25bb1c97ad chore(deps): update commitlint monorepo
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2024-06-15 17:14:40 +02:00
6fe2c4e211 chore(deps): update dependency rollup-plugin-swc3 to v0.11.2
Some checks failed
ci/woodpecker/push/checks Pipeline failed
2024-06-15 17:14:19 +02:00
f5b4982299 chore(deps): update dependency eslint to v8.57.0
Some checks failed
ci/woodpecker/push/checks Pipeline failed
2024-06-15 17:14:14 +02:00
8495a93b00 chore(deps): update dependency rimraf to v5.0.7
Some checks failed
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline failed
2024-06-15 15:13:41 +00:00
1259e3f9be chore(deps): update dependency @swc/core to v1.6.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2024-06-15 14:03:16 +00:00
cda8af89ae chore(deps): update dependency @swc/core to v1.3.101
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-12-18 09:03:55 +00:00
ac7a34d188 chore(deps): update dependency rollup to v4.9.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-12-17 07:01:31 +00:00
3ccf33fa08 chore(deps): update dependency eslint to v8.56.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-12-15 23:04:20 +00:00
f270481b76 chore(deps): update dependency rollup to v4.9.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-12-13 10:04:14 +00:00
3cef898abf chore(deps): update dependency rollup to v4.8.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-12-11 07:01:41 +00:00
d1180bf7df chore(deps): update dependency rollup to v4.7.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-12-08 08:01:41 +00:00
d19e327f4c chore(deps): update dependency rollup-plugin-swc3 to v0.11.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-12-06 07:01:31 +00:00
7426ca274b chore(deps): update dependency eslint to v8.55.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-12-03 15:01:01 +00:00
2a42f8b29f chore(deps): update dependency eslint-config-prettier to v9.1.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-12-02 12:03:35 +00:00
a823fdbf00 chore(deps): update dependency @swc/core to v1.3.100
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-12-01 09:03:20 +00:00
066c2b519f chore(deps): update dependency rollup to v4.6.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-30 06:01:37 +00:00
9f00002105 chore(deps): update dependency fs-extra to v11.2.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-28 01:03:36 +00:00
241c12fbdb chore(deps): update dependency rollup to v4.6.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-26 14:01:33 +00:00
436393edbe chore(deps): update dependency rollup to v4.5.2
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-24 07:03:44 +00:00
845272ca2f chore(deps): update dependency rollup to v4.5.1
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-23 06:01:56 +00:00
cedad40674 chore(deps): update dependency @swc/core to v1.3.99
Some checks failed
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline failed
2023-11-22 05:01:04 +00:00
a559e3f757 chore(deps): update commitlint monorepo to v18.4.3
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-21 03:02:12 +00:00
377e7934bb chore(deps): update dependency rollup to v4.5.0
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-19 16:01:43 +00:00
0bc55acc24 chore(deps): update dependency eslint to v8.54.0
Some checks failed
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline failed
2023-11-18 14:03:00 +00:00
4a0ce3cabf chore(deps): update dependency rollup-plugin-swc3 to v0.10.4
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-17 11:01:06 +00:00
32eb87a9fd chore(deps): update commitlint monorepo to v18.4.2
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-16 09:01:09 +00:00
405f9282e8 chore(deps): update yarn to v4.0.2
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-15 12:01:55 +00:00
212e8c1d33 chore(deps): update dependency rollup to v4.4.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-14 06:01:11 +00:00
8275431a5f chore(deps): update dependency rollup to v4.4.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-12 08:01:11 +00:00
f9d960f5b2 chore(deps): update commitlint monorepo
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-12 05:03:06 +00:00
6d7a224453 chore(deps): update dependency @guanghechen/rollup-plugin-copy to v5.0.12
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-07 22:01:10 +00:00
981f751dc6 chore(deps): update dependency eslint to v8.53.0
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-07 01:01:20 +00:00
0e457ec062 chore(deps): update dependency @swc/core to v1.3.96
Some checks failed
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline failed
2023-11-05 23:01:03 +00:00
woodpecker[bot]
e4c19341bf chore(release): 1.4.4
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/tag/checks Pipeline was successful
ci/woodpecker/tag/publish Pipeline was successful
2023-11-05 22:17:02 +00:00
d10c32cd70
chore(deps): bump foundry-publish to v2.4.1
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/manual/checks Pipeline was successful
ci/woodpecker/manual/release Pipeline was successful
2023-11-05 23:15:31 +01:00
woodpecker[bot]
d43bfdd660 chore(release): 1.4.3
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/tag/checks Pipeline was successful
ci/woodpecker/tag/publish Pipeline was successful
2023-11-05 21:38:34 +00:00
woodpecker[bot]
caf0d70c5c chore(release): 1.4.2
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/tag/checks Pipeline was successful
ci/woodpecker/tag/publish Pipeline was successful
ci/woodpecker/manual/checks Pipeline was successful
ci/woodpecker/manual/release Pipeline was successful
2023-11-05 21:32:26 +00:00
5bf71441d7
build: fix bump-version
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/manual/checks Pipeline was successful
ci/woodpecker/manual/release Pipeline was successful
2023-11-05 22:31:33 +01:00
woodpecker[bot]
2fb69390a6 chore(release): 1.4.1
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/tag/checks Pipeline was successful
ci/woodpecker/tag/publish Pipeline was successful
2023-11-05 21:24:13 +00:00
7ffd9706af
chore: use new package version publishing flow
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/manual/checks Pipeline was successful
ci/woodpecker/manual/release Pipeline was successful
2023-11-05 22:21:19 +01:00
27992aa4d6
chore(deps): update yarn to v4
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-05 22:16:46 +01:00
ca88e4975d chore(deps): update dependency rollup to v4.3.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-03 21:01:42 +00:00
c2d083b7fe chore(deps): update dependency rollup to v4.2.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-11-01 05:00:59 +00:00
b4310f531d chore(deps): update dependency @guanghechen/rollup-plugin-copy to v5.0.11
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-31 02:01:36 +00:00
216d812cad chore(deps): update dependency rollup to v4.1.5
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-28 14:00:54 +00:00
27ca6ec375 chore(deps): update dependency @guanghechen/rollup-plugin-copy to v5.0.10
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-27 11:00:57 +00:00
e5aed880e5 chore(deps): update commitlint monorepo
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-26 08:01:50 +00:00
f614027da5 chore(deps): update dependency @swc/core to v1.3.95
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-24 13:01:30 +00:00
8007302d75 chore(deps): update dependency eslint to v8.52.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-22 19:01:06 +00:00
4971b6c5e6 chore(deps): update commitlint monorepo to v18
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-22 18:58:58 +00:00
c9e793f12a chore(deps): update dependency @swc/core to v1.3.94
Some checks failed
ci/woodpecker/push/checks Pipeline failed
2023-10-22 18:58:35 +00:00
8a1541b5bc chore(deps): update dependency rollup-plugin-swc3 to v0.10.3
Some checks failed
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline failed
2023-10-21 16:01:21 +00:00
c54b97c1bf chore(deps): update commitlint monorepo to v17.8.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-20 13:01:44 +00:00
54cd50f2eb chore(deps): update dependency @guanghechen/rollup-plugin-copy to v5.0.9
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-18 15:01:24 +00:00
1a005d12af chore(deps): update dependency rollup to v4.1.4
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-16 05:01:34 +00:00
e9c0665adb chore(deps): update commitlint monorepo to v17.8.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-14 13:01:27 +00:00
bd7609c322 chore(deps): update dependency @swc/core to v1.3.93
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-13 05:01:27 +00:00
bf329ae87e chore(deps): update dependency rollup to v4
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-08 09:02:03 +00:00
ec0608b00a chore(deps): update dependency eslint to v8.51.0
Some checks failed
ci/woodpecker/push/checks Pipeline failed
2023-10-08 09:01:42 +00:00
baccb02b14 chore(deps): update dependency rollup-plugin-swc3 to v0.10.2
Some checks failed
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline failed
2023-10-07 07:00:59 +00:00
654a51c2b5 chore(deps): update dependency @swc/core to v1.3.92
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-06 05:00:54 +00:00
c1a33062af chore(deps): update dependency @guanghechen/rollup-plugin-copy to v5.0.8
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-05 02:01:03 +00:00
1364450962 chore(deps): update yarn to v3.6.4
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-03 23:01:00 +00:00
b15d9cf10b chore(deps): update dependency @swc/core to v1.3.91
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-10-01 16:01:29 +00:00
3f27641ab5 chore(deps): update dependency @commitlint/cli to v17.7.2
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-29 09:00:54 +00:00
dcdc6356f4 chore(deps): update dependency rimraf to v5.0.5
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-28 06:01:31 +00:00
c34af4d356 chore(deps): update dependency @swc/core to v1.3.90
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-27 03:01:29 +00:00
d0f1a492f9 chore(deps): update dependency @swc/core to v1.3.89
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-25 16:01:26 +00:00
ed75b33989 chore(deps): update dependency @swc/core to v1.3.88
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-24 10:00:55 +00:00
89e56e4a21 chore(deps): update dependency eslint to v8.50.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-23 07:01:00 +00:00
c9c5b20c9f chore(deps): update dependency @swc/core to v1.3.87
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-22 04:01:24 +00:00
612aa3b020 chore(deps): update dependency @swc/core to v1.3.86
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-18 23:01:34 +00:00
82995162dd chore(deps): update dependency @swc/core to v1.3.85
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-15 08:01:21 +00:00
ad8eac4e98 chore(deps): update dependency @swc/core to v1.3.84
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-11 16:01:18 +00:00
5285ef1088 chore(deps): update dependency conventional-changelog-conventionalcommits to v7.0.2
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-10 13:00:52 +00:00
5773c43793 chore(deps): update dependency eslint to v8.49.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-10 12:01:10 +00:00
5eca94039a chore(deps): update dependency conventional-changelog-cli to v4.1.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-09 09:00:55 +00:00
655196cb1c chore(deps): update dependency @guanghechen/rollup-plugin-copy to v5.0.7
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-08 06:00:56 +00:00
5f3cfb8247 chore(deps): update dependency @swc/core to v1.3.83
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-07 03:01:31 +00:00
3950db5fcd chore(deps): update dependency @swc/core to v1.3.82
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-09-01 04:01:25 +00:00
f095e33e67 chore(deps): update dependency @swc/core to v1.3.81
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-30 14:01:15 +00:00
b3d303e380 chore(deps): update dependency conventional-changelog-conventionalcommits to v7
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-29 01:00:48 +00:00
cbc091ddb0 chore(deps): update dependency conventional-changelog-cli to v4
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-29 00:02:07 +00:00
6821abce61 chore(deps): update dependency rollup-plugin-swc3 to v0.10.1
Some checks failed
ci/woodpecker/push/checks Pipeline failed
2023-08-29 00:01:58 +00:00
f53fac6645 chore(deps): update dependency @guanghechen/rollup-plugin-copy to v5.0.6
Some checks failed
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline failed
2023-08-27 22:00:59 +00:00
c23d37c911 chore(deps): update dependency eslint to v8.48.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-26 19:01:20 +00:00
25c4b15237 chore(deps): update dependency @swc/core to v1.3.80
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-25 16:01:17 +00:00
a198a26345 chore(deps): update yarn to v3.6.3
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-23 23:01:30 +00:00
536b67f193 chore(deps): update dependency @guanghechen/rollup-plugin-copy to v5.0.5
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-19 09:01:33 +00:00
8de98d8ff7 chore(deps): update dependency @swc/core to v1.3.78
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-18 23:02:03 +00:00
a4b7600326 chore(deps): update yarn to v3.6.2
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-17 20:01:34 +00:00
2370fe14ab chore(deps): update dependency @swc/core to v1.3.77
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-16 04:01:32 +00:00
1ca2ad23b6 chore(deps): update dependency eslint to v8.47.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-11 18:01:10 +00:00
3ed1c6196d chore(deps): update commitlint monorepo
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-11 17:01:42 +00:00
8500606450 chore(deps): update dependency @swc/core to v1.3.76
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-10 14:01:16 +00:00
c9cd7b2725 chore(deps): update dependency @guanghechen/rollup-plugin-copy to v5.0.4
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-09 11:02:21 +00:00
2813f3ee00 chore(deps): update dependency @swc/core to v1.3.75
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-08 07:01:28 +00:00
4668484905 chore(deps): update dependency eslint-config-prettier to v9
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-05 20:01:19 +00:00
29d9f02556 chore(deps): update dependency eslint-config-prettier to v8.10.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-04 03:01:09 +00:00
19dfec62af chore(deps): update dependency @swc/core to v1.3.74
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-03 00:01:28 +00:00
038afc1019 chore(deps): update dependency @swc/core to v1.3.73
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-08-01 06:01:28 +00:00
116aa8e919 chore(deps): update dependency eslint to v8.46.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-30 12:01:18 +00:00
68a3d240b0 chore(deps): update dependency @swc/core to v1.3.72
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-29 09:01:12 +00:00
db97b38d49 chore(deps): update dependency eslint-config-prettier to v8.9.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-28 06:01:12 +00:00
a626943052 chore(deps): update dependency @swc/core to v1.3.71
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-28 05:01:10 +00:00
16b04a540a chore(deps): update dependency @guanghechen/rollup-plugin-copy to v5.0.3
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-27 02:03:39 +00:00
ddfa89c9c2 chore(deps): update dependency rollup-plugin-swc3 to v0.9.1
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-20 16:01:59 +00:00
33c00ab630 chore(deps): update commitlint monorepo to v17.6.7
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-19 14:01:14 +00:00
3b30838c16 chore(deps): update dependency @swc/core to v1.3.70
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-18 11:01:40 +00:00
cd88b75774 chore(deps): update dependency @guanghechen/rollup-plugin-copy to v5.0.2
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-15 19:01:15 +00:00
b483098b07 chore(deps): update dependency eslint to v8.45.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-14 16:01:09 +00:00
66896fb61e chore(deps): update dependency @swc/core to v1.3.69
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-13 04:04:37 +00:00
23743ca5de chore(deps): update dependency rollup-plugin-swc3 to v0.9.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-11 07:02:12 +00:00
3b3794d3ac chore(deps): update dependency eslint to v8.44.0
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-11 06:02:10 +00:00
58aec5fe19 chore(deps): update dependency semver to v7.5.4
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-11 05:01:02 +00:00
912e84999b chore(deps): update dependency @swc/core to v1.3.68
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-11 04:01:04 +00:00
c0c07cf214 chore(deps): update commitlint monorepo to v17.6.6
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-10 01:02:02 +00:00
woodpecker[bot]
65096d11b8 chore(release): 1.4.0
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/tag/checks Pipeline was successful
ci/woodpecker/tag/publish Pipeline was successful
2023-07-10 00:25:20 +00:00
3d00caa31f
chore: use correct styles path for hot reload
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/manual/checks Pipeline was successful
ci/woodpecker/manual/release Pipeline was successful
2023-07-10 02:21:57 +02:00
5d8e34ce5f
chore: mark v11 compatibility 2023-07-10 02:20:57 +02:00
woodpecker[bot]
dbac03fbad chore(release): 1.3.4
All checks were successful
ci/woodpecker/tag/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/tag/publish Pipeline was successful
2023-07-10 00:20:23 +00:00
95a595773d
fix: correctly calculate tick value when stopping to wait
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/manual/checks Pipeline was successful
ci/woodpecker/manual/release Pipeline was successful
2023-07-10 02:17:05 +02:00
753b934534
chore: update yarn and sdks 2023-07-10 01:24:08 +02:00
woodpecker[bot]
261d7a8b5a chore(release): 1.3.3
All checks were successful
ci/woodpecker/tag/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/tag/publish Pipeline was successful
2023-07-09 23:04:19 +00:00
704798cc27
fix: use correct tick value for combatants joining later
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/manual/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/manual/release Pipeline was successful
2023-07-10 01:01:38 +02:00
a578cbff0d
docs: fix readme
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
2023-07-10 00:39:30 +02:00
woodpecker[bot]
512728bf30 chore(release): 1.3.2
All checks were successful
ci/woodpecker/tag/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/tag/publish Pipeline was successful
2023-07-09 22:33:10 +00:00
woodpecker[bot]
53b0fb3732 chore(release): 1.3.2-0
All checks were successful
ci/woodpecker/manual/checks Pipeline was successful
ci/woodpecker/manual/release Pipeline was successful
2023-07-09 22:30:27 +00:00
woodpecker[bot]
0975561df9 chore(release): 1.3.1
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/manual/checks Pipeline was successful
ci/woodpecker/manual/release Pipeline was successful
2023-07-09 22:26:30 +00:00
694641c1da
ci: switch to gitea + woodpecker
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/manual/checks Pipeline was successful
ci/woodpecker/manual/release Pipeline was successful
2023-07-10 00:18:44 +02:00
30 changed files with 3638 additions and 3707 deletions

View file

@ -0,0 +1,99 @@
# SPDX-FileCopyrightText: 2023 Johannes Loher
#
# SPDX-License-Identifier: MIT
name: Bug Report
about: File a bug report
labels: ['bug', 'to be confirmed']
body:
- type: markdown
attributes:
value: |
Your issue may already have been reported! Please search on the [issue tracker](https://git.f3l.de/dungeonslayers/tickwerk/issues) before submitting a new one.
Thanks for taking the time to fill out this bug report! In order to make it effective, please provide the following information.
- type: markdown
attributes:
value: |
## Issue Description
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: What is the behavior that you expected?
validations:
required: true
- type: textarea
id: current
attributes:
label: Current Behavior
description: What is the current behavior, i.e., what happens actually?
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: What are the steps to reproduce the problem?
placeholder: |
1.
2.
3.
4.
validations:
required: true
- type: textarea
id: context
attributes:
label: Context
description: Please provide any additional context that might be helpful, e.g. log messages, screenshots, videos, or exports of problematic scenes or worlds.
validations:
required: false
- type: markdown
attributes:
value: |
## Environment Details
- type: input
id: version
attributes:
label: Version
description: Which version(s) of Tickwerk are you seeing the problem on?
validations:
required: true
- type: input
id: foundry-version
attributes:
label: Foundry VTT Version
description: Which version(s) and build of Foundry VTT are you seeing the problem on?
validations:
required: true
- type: input
id: os
attributes:
label: Operating System
description: Which operating system are you using? (Windows, OS X, Linux (which distro))
placeholder: Windows
validations:
required: true
- type: dropdown
id: browser
attributes:
label: Browser / App
description: Are you using a Browser or the native Electron application? (Select all that apply)
multiple: true
options:
- Native Electron App
- Chrome
- Firefox
- Microsoft Edge
- Safari
- Other
validations:
required: true
- type: input
id: modules
attributes:
label: Relevant Modules
description: Please list any other active modules (including their versions) that you think might be relevant.
validations:
required: false

View file

@ -0,0 +1,5 @@
# SPDX-FileCopyrightText: 2023 Johannes Loher
#
# SPDX-License-Identifier: MIT
blank_issues_enabled: false

View file

@ -0,0 +1,28 @@
# SPDX-FileCopyrightText: 2023 Johannes Loher
#
# SPDX-License-Identifier: MIT
name: Feature Request
description: Submit a feature request
labels: ['feature']
body:
- type: markdown
attributes:
value: |
Your issue may already have been reported! Please search on the [issue tracker](https://git.f3l.de/dungeonslayers/tickwerk/issues) before submitting a new one.
In order to submit an effective feature request, please provide the following information.
- type: textarea
id: description
attributes:
label: Description
description: Please describe the proposal in as much detail as you feel is necessary.
validations:
required: true
- type: textarea
id: context
attributes:
label: Context
description: Is there anything else you can add about the proposal? You might want to link to related issues here if you haven't already.
validations:
required: false

View file

@ -1,173 +0,0 @@
# SPDX-FileCopyrightText: 2021 Johannes Loher
# SPDX-FileCopyrightText: 2021 Oliver Rümpelein
#
# SPDX-License-Identifier: MIT
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when: never
- if: $CI_COMMIT_BRANCH
- if: $CI_COMMIT_TAG
variables:
PACKAGE_NAME: tickwerk
PACKAGE_TYPE: module
PACKAGE_REGISTRY_URL: $CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/$PACKAGE_NAME
stages:
- check
- build
- prepare-release
- release
- publish
image: node:lts
cache: &global_cache
paths:
- .yarn/cache
lint:
stage: check
before_script:
- yarn install --immutable
script:
- yarn lint
cache:
<<: *global_cache
reuse:
stage: check
image:
name: fsfe/reuse:latest
entrypoint: ['']
script:
- reuse lint
commitlint:
stage: check
before_script:
- yarn install --immutable
script:
- yarn run commitlint --from $CI_MERGE_REQUEST_DIFF_BASE_SHA
rules:
- if: "$CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_DIFF_BASE_SHA"
build:
stage: build
before_script:
- yarn install --immutable
- if [[ ! -z ${CI_COMMIT_TAG+x} ]]; then export NODE_ENV=production; fi
script:
- yarn build
cache:
<<: *global_cache
artifacts:
paths:
- dist
expire_in: 1 week
publish-artifacts:
stage: prepare-release
image: alpine:latest
before_script:
- apk update
- apk add zip curl
script: |
cd dist
zip -r ../$PACKAGE_TYPE.zip .
cd ..
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file $PACKAGE_TYPE.zip "$PACKAGE_REGISTRY_URL/$CI_COMMIT_TAG/$PACKAGE_TYPE.zip"
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file dist/$PACKAGE_TYPE.json "$PACKAGE_REGISTRY_URL/$CI_COMMIT_TAG/$PACKAGE_TYPE.json"
rules:
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
changelog:
stage: prepare-release
before_script:
- yarn install --immutable
script:
- yarn changelog
cache:
<<: *global_cache
artifacts:
paths:
- CHANGELOG.md
rules:
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
.release-template: &release-template
stage: release
before_script:
- yarn install
- apt update
- apt install --yes jq
- REPOSITORY_URL=$(echo "${CI_REPOSITORY_URL}" | sed -e "s|gitlab-ci-token:.*@|${RELEASE_TOKEN}:${RELEASE_TOKEN_SECRET}@|g")
- git remote set-url origin $REPOSITORY_URL
- git config user.name $GITLAB_USER_LOGIN
- git config user.email $GITLAB_USER_EMAIL
- git branch -D ci-processing || true
- git checkout -b ci-processing
cache:
<<: *global_cache
script: |
yarn bump-version --release=${RELEASE_TYPE}
RELEASE_VERSION=$(jq -r '.version' < package.json)
git add package.json module.json
git --no-pager diff
git commit -m "chore(release): ${RELEASE_VERSION}"
git tag -f ${RELEASE_VERSION}
git push origin ci-processing:${CI_BUILD_REF_NAME} -o ci.skip
git push origin ${RELEASE_VERSION}
only:
- main
when: manual
release-patch:
variables:
RELEASE_TYPE: patch
<<: *release-template
release-minor:
variables:
RELEASE_TYPE: minor
<<: *release-template
release-major:
variables:
RELEASE_TYPE: major
<<: *release-template
release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
script:
- echo 'release job'
rules:
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
release:
tag_name: $CI_COMMIT_TAG
description: './CHANGELOG.md'
assets:
links:
- name: '$PACKAGE_TYPE.zip'
url: '$PACKAGE_REGISTRY_URL/$CI_COMMIT_TAG/$PACKAGE_TYPE.zip'
filepath: /$PACKAGE_TYPE.zip
link_type: package
- name: '$PACKAGE_TYPE.json'
url: '$PACKAGE_REGISTRY_URL/$CI_COMMIT_TAG/$PACKAGE_TYPE.json'
filepath: /$PACKAGE_TYPE.json
link_type: other
publish-latest-manifest:
stage: publish
image: alpine:latest
before_script:
- apk update
- apk add zip curl
script: |
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file dist/$PACKAGE_TYPE.json "$PACKAGE_REGISTRY_URL/latest/$PACKAGE_TYPE.json"
rules:
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'

View file

@ -1,48 +0,0 @@
Your issue may already have been reported! Please search on the issue tracker (https://git.f3l.de/dungeonslayers/tickwerk/-/issues) before submitting a new one.
Thanks for taking the time to fill out this bug report! In order to make it effective, please provide the following information.
# Issue Description
## Expected Behavior
(What is the behavior that you expected?)
## Current Behavior
(What is the current behavior, i.e., what happens actually?)
## Steps to Reproduce
(What are the steps to reproduce the problem?)
1. ...
2. ...
3. ...
## Context
(Please provide any additional context that might be helpful, e.g. log messages,
screenshots, videos, or exports of problematic scenes or worlds.)
# Environment Details
## Version
(Which version(s) of Tickwerk are you seeing the problem on?)
## Foundry VTT Version
(Which version(s) and build of Foundry VTT are you seeing the problem on?)
## Operating System
(Which operating system are you using? (Windows, OS X, Linux (which distro)))
## Browser / App
(Are you using a Browser or the native Electron application?)
## Relevant Modules
(Please list any active modules (including their versions) that you think might be relevant.)

View file

@ -1,3 +0,0 @@
SPDX-FileCopyrightText: 2022 Johannes Loher
SPDX-License-Identifier: MIT

View file

@ -1,11 +0,0 @@
Your issue may already have been reported! Please search on the issue tracker (https://git.f3l.de/dungeonslayers/tickwerk/-/issues) before submitting a new one.
In order to submit an effective feature request, please provide the following information.
# Description
(Please describe the proposal in as much detail as you feel is necessary.)
# Context
(Is there anything else you can add about the proposal? You might want to link to related issues here if you haven't already.)

View file

@ -1,3 +0,0 @@
SPDX-FileCopyrightText: 2022 Johannes Loher
SPDX-License-Identifier: MIT

2
.vscode/launch.json vendored
View file

@ -5,7 +5,7 @@
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"type": "chrome",
"request": "launch",
"runtimeExecutable": "/usr/bin/chromium",
"name": "Launch Chrome against localhost",

View file

@ -4,11 +4,5 @@
"**/.pnp.*": true
},
"eslint.nodePath": ".yarn/sdks",
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
"importSorter.generalConfiguration.sortOnBeforeSave": true,
"importSorter.importStringConfiguration.maximumNumberOfImportExpressionsPerLine.type": "newLineEachExpressionAfterCountLimitExceptIfOnlyOne",
"importSorter.importStringConfiguration.maximumNumberOfImportExpressionsPerLine.count": 120,
"importSorter.importStringConfiguration.tabSize": 2,
"importSorter.importStringConfiguration.quoteMark": "single",
"importSorter.importStringConfiguration.trailingComma": "multiLine"
"prettier.prettierPath": ".yarn/sdks/prettier/index.js"
}

45
.woodpecker/checks.yaml Normal file
View file

@ -0,0 +1,45 @@
# SPDX-FileCopyrightText: 2023 Johannes Loher
#
# SPDX-License-Identifier: MIT
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/master/pipeline/schema/schema.json
variables:
- &node_image node:lts
when:
- event: push
branch: ${CI_REPO_DEFAULT_BRANCH}
- event: pull_request
- event: tag
- event: manual
steps:
install:
image: *node_image
commands:
- yarn install --immutable
lint:
group: check
image: *node_image
commands:
- yarn lint
reuse:
group: check
image: fsfe/reuse:latest
commands:
- reuse lint
commitlint:
group: check
image: *node_image
commands:
- git fetch
- yarn run commitlint --from origin/${CI_COMMIT_TARGET_BRANCH}
when:
event: pull_request
build:
group: build
image: *node_image
commands:
- export APPDATA=$(pwd)
- yarn build

92
.woodpecker/publish.yaml Normal file
View file

@ -0,0 +1,92 @@
# SPDX-FileCopyrightText: 2023 Johannes Loher
#
# SPDX-License-Identifier: MIT
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/master/pipeline/schema/schema.json
variables:
- &node_image node:lts
when:
event: tag
evaluate: CI_COMMIT_TAG matches "^[0-9]+\\\\.[0-9]+\\\\.[0-9]+(-[0-9]+)?$"
depends_on:
- checks
steps:
install:
image: *node_image
commands:
- yarn install --immutable
build:
image: *node_image
environment:
NODE_ENV: production
commands:
- export APPDATA=$(pwd)
- yarn build
package:
group: prepare-release
image: alpine:latest
commands:
- apk update
- apk add zip curl
- mv dist ${CI_REPO_NAME}
- zip -r ${CI_REPO_NAME}.zip ${CI_REPO_NAME}/*
changelog:
group: prepare-release
image: *node_image
commands:
- yarn changelog
choose-latest-channel:
group: prepare-release
image: alpine:latest
commands:
- echo latest > .RELEASE_CHANNEL
when:
evaluate: CI_COMMIT_TAG matches "^[0-9]+\\\\.[0-9]+\\\\.[0-9]+$"
choose-beta-channel:
group: prepare-release
image: alpine:latest
commands:
- echo beta > .RELEASE_CHANNEL
when:
evaluate: CI_COMMIT_TAG matches "^[0-9]+\\\\.[0-9]+\\\\.[0-9]+-[0-9]+$"
release:
image: woodpeckerci/plugin-gitea-release
settings:
base_url: ${CI_FORGE_URL}
title: ${CI_COMMIT_TAG}
note: CHANGELOG.md
files:
- ${CI_REPO_NAME}.zip
- ${CI_REPO_NAME}/module.json
api_key:
from_secret: forge_token
publish-manifest:
group: publish
image: alpine:latest
commands:
- apk update
- apk add curl
- export RELEASE_CHANNEL=$(cat .RELEASE_CHANNEL)
- 'curl --header "Authorization: token $${FORGE_TOKEN}" -X "DELETE" "${CI_FORGE_URL}/api/packages/${CI_REPO_OWNER}/generic/${CI_REPO_NAME}/$${RELEASE_CHANNEL}/module.json"'
- 'curl --fail --header "Authorization: token $${FORGE_TOKEN}" --upload-file ${CI_REPO_NAME}/module.json "${CI_FORGE_URL}/api/packages/${CI_REPO_OWNER}/generic/${CI_REPO_NAME}/$${RELEASE_CHANNEL}/module.json"'
secrets:
- forge_token
publish-to-foundry-admin:
group: publish
image: johannesloher/foundry-publish:v2.4.1
environment:
FVTT_DELETE_OBSOLETE_VERSIONS: 'true'
FVTT_USE_NEW_PACKAGE_ADMINISTRATION_INTERFACE: 'true'
commands:
- export FVTT_MANIFEST_PATH=${CI_REPO_NAME}/module.json
- export FVTT_MANIFEST_URL=${CI_REPO_URL}/releases/download/${CI_COMMIT_TAG}/module.json
- foundry-publish
secrets:
- fvtt_username
- fvtt_password
when:
evaluate: CI_COMMIT_TAG matches "^[0-9]+\\\\.[0-9]+\\\\.[0-9]+$"

42
.woodpecker/release.yaml Normal file
View file

@ -0,0 +1,42 @@
# SPDX-FileCopyrightText: 2023 Johannes Loher
#
# SPDX-License-Identifier: MIT
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/master/pipeline/schema/schema.json
variables:
- &node_image node:lts
when:
event: manual
branch: ${CI_REPO_DEFAULT_BRANCH}
depends_on:
- checks
steps:
install:
image: *node_image
commands:
- yarn install --immutable
release:
image: *node_image
commands:
- apt-get update
- apt-get install --yes jq
- export REPOSITORY_URL=$(echo "${CI_REPO_CLONE_URL}" | sed -e "s|://|://$${FORGE_TOKEN_NAME}:$${FORGE_TOKEN}@|g")
- git remote set-url origin $${REPOSITORY_URL}
- git config user.name woodpecker[bot]
- git config user.email woodpecker[bot]@${CI_SYSTEM_HOST}
- yarn bump-version --release=${RELEASE_TYPE}
- export RELEASE_VERSION=$(jq -r '.version' < package.json)
- yarn prettier --write package.json module.json
- git --no-pager diff
- git add package.json module.json
- 'git commit -m "chore(release): $${RELEASE_VERSION}"'
- git tag -f $${RELEASE_VERSION}
- git push origin ${CI_COMMIT_BRANCH}
- git push origin $${RELEASE_VERSION}
secrets:
- forge_token_name
- forge_token

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

934
.yarn/releases/yarn-4.5.1.cjs vendored Executable file

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,20 @@
#!/usr/bin/env node
const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {resolve} = require(`path`);
const relPnpApiPath = "../../../../.pnp.cjs";
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);
if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require eslint/use-at-your-own-risk
require(absPnpApiPath).setup();
}
}
// Defer to the real eslint/use-at-your-own-risk your application uses
module.exports = absRequire(`eslint/use-at-your-own-risk`);

View file

@ -1,6 +1,14 @@
{
"name": "eslint",
"version": "8.28.0-sdk",
"version": "8.52.0-sdk",
"main": "./lib/api.js",
"type": "commonjs"
"type": "commonjs",
"bin": {
"eslint": "./bin/eslint.js"
},
"exports": {
"./package.json": "./package.json",
".": "./lib/api.js",
"./use-at-your-own-risk": "./lib/unsupported-api.js"
}
}

20
.yarn/sdks/prettier/bin-prettier.js vendored Executable file
View file

@ -0,0 +1,20 @@
#!/usr/bin/env node
const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {resolve} = require(`path`);
const relPnpApiPath = "../../../.pnp.cjs";
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);
if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require prettier/bin-prettier.js
require(absPnpApiPath).setup();
}
}
// Defer to the real prettier/bin-prettier.js your application uses
module.exports = absRequire(`prettier/bin-prettier.js`);

6
.yarn/sdks/prettier/index.js vendored Executable file → Normal file
View file

@ -11,10 +11,10 @@ const absRequire = createRequire(absPnpApiPath);
if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require prettier/index.js
// Setup the environment to be able to require prettier
require(absPnpApiPath).setup();
}
}
// Defer to the real prettier/index.js your application uses
module.exports = absRequire(`prettier/index.js`);
// Defer to the real prettier your application uses
module.exports = absRequire(`prettier`);

View file

@ -1,6 +1,7 @@
{
"name": "prettier",
"version": "2.8.0-sdk",
"version": "2.8.8-sdk",
"main": "./index.js",
"type": "commonjs"
"type": "commonjs",
"bin": "./bin-prettier.js"
}

View file

@ -1,7 +1,5 @@
nodeLinker: pnp
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: '@yarnpkg/plugin-interactive-tools'
yarnPath: .yarn/releases/yarn-4.5.1.cjs
yarnPath: .yarn/releases/yarn-3.6.0.cjs
enableGlobalCache: false

View file

@ -7,6 +7,12 @@ SPDX-License-Identifier: MIT
# Tickwerk
[![status-badge](https://ci.f3l.de/api/badges/10/status.svg)](https://ci.f3l.de/repos/10)
[![REUSE status](https://api.reuse.software/badge/git.f3l.de/dungeonslayers/tickwerk)](https://api.reuse.software/info/git.f3l.de/dungeonslayers/tickwerk)
[![Forge installs](https://img.shields.io/badge/dynamic/json?label=Forge%20Installs&query=package.installs&suffix=%25&url=https%3A%2F%2Fforge-vtt.com%2Fapi%2Fbazaar%2Fpackage%2Ftickwerk&colorB=4aa94a)](https://forge-vtt.com/bazaar#package=tickwerk)
[![Supported foundry versions](https://img.shields.io/endpoint?url=https://foundryshields.com/version?url=https://git.f3l.de/api/packages/dungeonslayers/generic/tickwerk/latest/module.json)](https://git.f3l.de/dungeonslayers/tickwerk)
[![Ko-fi](https://img.shields.io/badge/Ko--fi-ghostfvtt-00B9FE?logo=kofi)](https://ko-fi.com/ghostfvtt)
A tick based combat system for [Foundry Virtual Tabletop].
This module adjusts the combat to use ticks instead of rounds for tracking time.
@ -19,7 +25,7 @@ To install and use the Tickwerk module for Foundry Virtual Tabletop,
find it in the list in the **Install Module** dialog on the Setup menu of the
application. Alternatively, paste the following Manifest URL in that dialog:
https://git.f3l.de/api/v4/projects/dungeonslayers%2Ftickwerk/packages/generic/tickwerk/latest/module.json
https://git.f3l.de/api/packages/dungeonslayers/generic/tickwerk/latest/module.json
## Development

View file

@ -1,7 +1,8 @@
{
"compilerOptions": {
"module": "es2022",
"target": "ES2022"
"target": "ES2022",
"strict": true
},
"exclude": ["node_modules", "dist"],
"include": ["src", "client", "common"]

View file

@ -10,22 +10,23 @@
"ko-fi": "ghostfvtt"
}
],
"url": "https://git.f3l.de/dungeonslayers/tickwerk",
"license": "https://git.f3l.de/dungeonslayers/tickwerk/-/raw/1.3.0/LICENSE.md",
"readme": "https://git.f3l.de/dungeonslayers/tickwerk/-/raw/1.3.0/README.md",
"bugs": "https://git.f3l.de/dungeonslayers/tickwerk/-/issues",
"changelog": "https://git.f3l.de/dungeonslayers/tickwerk/-/releases/1.3.0",
"version": "1.3.0",
"license": "https://git.f3l.de/dungeonslayers/tickwerk/raw/tag/1.4.4/LICENSE.md",
"readme": "https://git.f3l.de/dungeonslayers/tickwerk/raw/tag/1.4.4/README.md",
"bugs": "https://git.f3l.de/dungeonslayers/tickwerk/issues",
"changelog": "https://git.f3l.de/dungeonslayers/tickwerk/releases/tag/1.4.4",
"version": "1.4.4",
"flags": {
"hotReload": {
"extensions": ["css", "hbs", "json"],
"paths": ["templates", "styles", "lang"]
}
},
"compatibility": {
"minimum": "10.290",
"verified": "10"
"verified": "11"
},
"esmodules": [
"tickwerk.js"
],
"styles": [
"styles/tickwerk.css"
],
"esmodules": ["tickwerk.js"],
"styles": ["styles/tickwerk.css"],
"languages": [
{
"lang": "en",
@ -38,7 +39,8 @@
"path": "lang/de.json"
}
],
"manifest": "https://git.f3l.de/dungeonslayers/tickwerk/-/releases/permalink/latest/downloads/module.json",
"download": "https://git.f3l.de/dungeonslayers/tickwerk/-/releases/1.3.0/downloads/module.zip",
"manifestPlusVersion": "1.2.0"
"manifest": "https://git.f3l.de/api/packages/dungeonslayers/generic/tickwerk/latest/module.json",
"download": "https://git.f3l.de/dungeonslayers/tickwerk/releases/download/1.4.4/tickwerk.zip",
"manifestPlusVersion": "1.2.0",
"url": "https://git.f3l.de/dungeonslayers/tickwerk"
}

View file

@ -2,7 +2,7 @@
"private": true,
"name": "tickwerk",
"description": "A tick based combat system for Foundry Virtual Tabletop",
"version": "1.3.0",
"version": "1.4.4",
"license": "https://git.f3l.de/dungeonslayers/tickwerk#licensing",
"homepage": "https://git.f3l.de/dungeonslayers/tickwerk",
"repository": {
@ -10,7 +10,7 @@
"url": "https://git.f3l.de/dungeonslayers/tickwerk"
},
"bugs": {
"url": "https://git.f3l.de/dungeonslayers/tickwerk/-/issues"
"url": "https://git.f3l.de/dungeonslayers/tickwerk/issues"
},
"contributors": [
{
@ -29,30 +29,30 @@
"clean:link": "node ./tools/link-package.js --clean",
"lint": "eslint --ext .js,.cjs,.mjs .",
"lint:fix": "eslint --ext .js,.cjs,.mjs --fix .",
"format": "prettier --write \"./**/*.(js|cjs|mjs|json|scss|yml)\"",
"format": "prettier --write \"./**/*.(js|cjs|mjs|json|scss|yml|yaml)\"",
"bump-version": "node ./tools/bump-version.js",
"changelog": "conventional-changelog -p conventionalcommits -o CHANGELOG.md -r 2"
},
"devDependencies": {
"@commitlint/cli": "17.6.5",
"@commitlint/config-conventional": "17.6.5",
"@guanghechen/rollup-plugin-copy": "5.0.1",
"@swc/core": "1.3.62",
"conventional-changelog-cli": "2.2.2",
"conventional-changelog-conventionalcommits": "5.0.0",
"eslint": "8.42.0",
"eslint-config-prettier": "8.8.0",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@guanghechen/rollup-plugin-copy": "6.0.2",
"@swc/core": "1.7.36",
"conventional-changelog-cli": "5.0.0",
"conventional-changelog-conventionalcommits": "8.0.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "4.2.1",
"fs-extra": "11.1.1",
"fs-extra": "11.2.0",
"npm-run-all": "4.1.5",
"prettier": "2.8.8",
"rimraf": "5.0.1",
"rollup": "3.23.0",
"rimraf": "6.0.1",
"rollup": "4.24.0",
"rollup-plugin-styles": "4.0.0",
"rollup-plugin-swc3": "0.8.2",
"rollup-plugin-swc3": "0.12.1",
"sass": "1.62.1",
"semver": "7.5.1",
"semver": "7.6.3",
"yargs": "17.7.2"
},
"packageManager": "yarn@3.6.0"
"packageManager": "yarn@4.5.1"
}

View file

@ -42,7 +42,7 @@ const CombatantMixin = (BaseCombatant) => {
*/
toggleWaiting() {
const update = { [`flags.${packageId}.waiting`]: !this.waiting };
if (this.parent?.started && this.waiting) update.initiative = this.parent?.round;
if (this.parent?.started && this.waiting) update.initiative = this.parent?.tickValue;
return this.update(update);
}
@ -66,7 +66,8 @@ const CombatantMixin = (BaseCombatant) => {
}
await this.update({ initiative: this.initiative + ticks });
const advanceTime = ticks * CONFIG.time.roundTime;
const tickTime = CONFIG.tickwerk?.tickTime;
const advanceTime = tickTime !== undefined ? ticks * tickTime : undefined;
if (advanceTime !== 0) {
await this.combat?.update(undefined, { diff: false, advanceTime });
}
@ -111,14 +112,16 @@ const CombatantMixin = (BaseCombatant) => {
* @param {object} data The data of the creation / update
*/
async #updateTiebreakerData(data) {
if ('initiative' in data) {
const waiting = data.flags?.[packageId]?.waiting;
if ('initiative' in data || waiting !== undefined) {
const newInitiative = data.initiative ?? this.initiative;
const combatantsWithSameTickValue =
this.parent?.combatants.filter((combatant) => {
const otherInitiative =
combatant._newInitiative !== undefined ? combatant._newInitiative : combatant.initiative;
return otherInitiative === data.initiative;
return otherInitiative === newInitiative && combatant !== this;
}) ?? [];
const tiebreaker = await this.#getTiebreaker(combatantsWithSameTickValue);
const tiebreaker = await this.#getTiebreaker(combatantsWithSameTickValue, waiting);
foundry.utils.setProperty(data, `flags.${packageId}.tiebreaker`, tiebreaker);
this._newInitiative = data.initiative;
this._newTiebreaker = tiebreaker;
@ -128,11 +131,12 @@ const CombatantMixin = (BaseCombatant) => {
/**
* Get a tiebreaker between this combatant and the given other combatants.
* @param {TickwerkCombatant[]} combatants The other combatants among which to find a tiebreaker
* @param {boolean | undefined} waiting The change of the waiting state of the combatanmt
* @returns {Promise<number>} A promise that resolves to the tiebreaker
*/
async #getTiebreaker(combatants) {
async #getTiebreaker(combatants, waiting) {
const getTiebreaker = CONFIG.tickwerk?.getTiebreaker ?? defaultGetTiebreaker;
return getTiebreaker(this, combatants);
return getTiebreaker(this, combatants, waiting);
}
/** @override */
@ -178,14 +182,14 @@ const CombatantMixin = (BaseCombatant) => {
/**
* A function to get a tiebreaker for a combatant
* @typedef {(combatant: TickwerkCombatant, combatants: TickwerkCombatant[]) => Promise<number>} GetTiebreaker
* @typedef {(combatant: TickwerkCombatant, combatants: TickwerkCombatant[], waiting: boolean | undefined) => Promise<number>} GetTiebreaker
*/
/**
* Default implementation to get a tiebreaker for a combatant.
* @type {GetTiebreaker}
*/
const defaultGetTiebreaker = async (combatant, combatants) => {
export const defaultGetTiebreaker = async (combatant, combatants) => {
if (combatants.length === 0) return 0;
const tiebreakers = combatants.map((combatant) => {
return (

View file

@ -7,14 +7,14 @@ import { getGame } from '../helpers';
export const registerDS4SpecificFunctionality = () => {
if (CONFIG.tickwerk === undefined) CONFIG.tickwerk = {};
foundry.utils.mergeObject(CONFIG.tickwerk, { getTiebreaker, getInitiativeFormula });
foundry.utils.mergeObject(CONFIG.tickwerk, { getTiebreaker, getInitiativeFormula, tickTime: 0.5 });
registerRollItemSetting();
Hooks.on('ds4.rollItem', onRollItem);
};
/** @type {import("../data/documents/combatant").GetTiebreaker} */
const getTiebreaker = async (combatant, combatants) => {
const getTiebreaker = async (combatant, combatants, waiting) => {
if (combatants.length === 0) return 0;
/** @type {number[]} */
@ -26,7 +26,7 @@ const getTiebreaker = async (combatant, combatants) => {
for (const other of combatants) {
const tiebreaker = other._newTiebreaker ?? other.getFlag(packageId, 'tiebreaker') ?? 0;
if (getInitiative(other) > getInitiative(combatant)) {
if (getInitiative(other) > getInitiative(combatant) || waiting === false) {
lowerBounds.push(tiebreaker);
} else if (getInitiative(other) < getInitiative(combatant)) {
upperBounds.push(tiebreaker);
@ -71,7 +71,7 @@ const getTiebreaker = async (combatant, combatants) => {
const getInitiativeFormula = (combatant) => {
const started = combatant.combat?.started ?? false;
if (!started) return '-@combatValues.initiative.total';
const tickValue = combatant.combat?.round ?? 0;
const tickValue = combatant.combat?.tickValue ?? 0;
return `max(${tickValue} + 10 - @combatValues.initiative.total, ${tickValue})`;
};

View file

@ -7,15 +7,21 @@ import semver from 'semver';
import yargs from 'yargs';
import { hideBin } from 'yargs/helpers';
const repository = 'dungeonslayers/tickwerk';
const gitlabURL = 'https://git.f3l.de';
const packageType = 'module';
const repositoryOwner = process.env.CI_REPO_OWNER;
const repositoryName = process.env.CI_REPO_NAME;
const repositoryURL = process.env.CI_REPO_URL;
const forgeURL = process.env.CI_FORGE_URL;
const getLicenseURL = (version) => `${gitlabURL}/${repository}/-/raw/${version}/LICENSE.md`;
const getReadmeURL = (version) => `${gitlabURL}/${repository}/-/raw/${version}/README.md`;
const getChangelogURL = (version) => `${gitlabURL}/${repository}/-/releases/${version}`;
const getDownloadURL = (version) => `${gitlabURL}/${repository}/-/releases/${version}/downloads/module.zip`;
const getManifestUrl = (channel) =>
`${forgeURL}/api/packages/${repositoryOwner}/generic/${repositoryName}/${channel}/${packageType}.json`;
const getDownloadURL = (version) => `${repositoryURL}/releases/download/${version}/${repositoryName}.zip`;
const bugsURL = `${repositoryURL}/issues`;
const getChangelogURL = (version) => `${repositoryURL}/releases/tag/${version}`;
const getReadmeURL = (version) => `${repositoryURL}/raw/tag/${version}/README.md`;
const getLicenseURL = (version) => `${repositoryURL}/raw/tag/${version}/LICENSE.md`;
const manifestPath = './module.json';
const manifestPath = `${packageType}.json`;
/**
* Get the contents of the manifest file as object.
@ -41,6 +47,15 @@ function getTargetVersion(currentVersion, release) {
}
}
/**
* Get the channel for a given version.
* @param {string} version The version for which to get the channel
* @returns {"latest" | "beta"} The channel for the version
*/
function getChannel(version) {
return version.includes('-') ? 'beta' : 'latest';
}
/**
* Update version and download URL.
* @param {semver.ReleaseType | string} release Either a semver release type or a valid semver version
@ -67,11 +82,14 @@ function bumpVersion(release) {
console.log(`Bumping version number to '${targetVersion}'`);
packageJson.version = targetVersion;
fs.writeJSONSync('package.json', packageJson, { spaces: 2 });
manifest.license = getLicenseURL(targetVersion);
manifest.readme = getReadmeURL(targetVersion);
manifest.changelog = getChangelogURL(targetVersion);
manifest.version = targetVersion;
manifest.url = repositoryURL;
manifest.manifest = getManifestUrl(getChannel(targetVersion));
manifest.download = getDownloadURL(targetVersion);
manifest.bugs = bugsURL;
manifest.changelog = getChangelogURL(targetVersion);
manifest.readme = getReadmeURL(targetVersion);
manifest.license = getLicenseURL(targetVersion);
fs.writeJSONSync(manifestPath, manifest, { spaces: 2 });
}

4685
yarn.lock

File diff suppressed because it is too large Load diff