-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update season-1 branch #260
Commits on Dec 7, 2020
-
fix depositType (screepers#189)
Fix documentation for `Deposit.depositType`
Configuration menu - View commit details
-
Copy full SHA for 85a8f42 - Browse repository at this point
Copy the full SHA 85a8f42View commit details -
Update Creep.build (screepers#186)
* Update Creep.build * update index.d.ts
Configuration menu - View commit details
-
Copy full SHA for 861f38f - Browse repository at this point
Copy the full SHA 861f38fView commit details
Commits on Feb 27, 2021
-
- Added `StructureInvaderCore.Spawning` - Updated `PIXEL_CPU_COST` constant to 10000
Configuration menu - View commit details
-
Copy full SHA for d798c56 - Browse repository at this point
Copy the full SHA d798c56View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbcabfb - Browse repository at this point
Copy the full SHA dbcabfbView commit details
Commits on Mar 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fea3f44 - Browse repository at this point
Copy the full SHA fea3f44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74ca8c8 - Browse repository at this point
Copy the full SHA 74ca8c8View commit details
Commits on Aug 4, 2021
-
Add support for type predicates (screepers#199)
* Add support for type predicates * correct mistake in generic type predicate
Configuration menu - View commit details
-
Copy full SHA for 3fe9e23 - Browse repository at this point
Copy the full SHA 3fe9e23View commit details -
Fix typo in docstring (screepers#198)
Just a simple typo fix in the Flag interface : `spawn` -> `flag`
Configuration menu - View commit details
-
Copy full SHA for b267448 - Browse repository at this point
Copy the full SHA b267448View commit details
Commits on Aug 9, 2021
-
Add notes for unreleased changes Fix year in date for prior 3.2.2 release
Configuration menu - View commit details
-
Copy full SHA for 6c7569f - Browse repository at this point
Copy the full SHA 6c7569fView commit details -
Add explicit
undefined
for optional propertiesTypescript 4.4 (currently in beta) provides support for distinguishing whether or not optional parameters should be allowed to be sete to an undefined value. In order to indicate optional values that support being set to undefined, ` | undefined` must explicitly be included in the type definition. Also fix some doc strings regarding default values for map/visual styles
Configuration menu - View commit details
-
Copy full SHA for ea97839 - Browse repository at this point
Copy the full SHA ea97839View commit details
Commits on Aug 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8f992a2 - Browse repository at this point
Copy the full SHA 8f992a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f0b1e3 - Browse repository at this point
Copy the full SHA 7f0b1e3View commit details
Commits on Aug 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for eeaafd6 - Browse repository at this point
Copy the full SHA eeaafd6View commit details
Commits on Aug 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ee19994 - Browse repository at this point
Copy the full SHA ee19994View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fc0a79 - Browse repository at this point
Copy the full SHA 9fc0a79View commit details
Commits on Oct 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b2b476c - Browse repository at this point
Copy the full SHA b2b476cView commit details
Commits on Mar 27, 2022
-
An unpowered factory has undefined for level (screepers#205)
Make level optional on factory to match what is given for an unpowered factory.
Configuration menu - View commit details
-
Copy full SHA for a8f68e6 - Browse repository at this point
Copy the full SHA a8f68e6View commit details -
Update changelog screepers#204,screepers#205
Adds 204,205 to Unreleased section Adds test for screepers#205
Configuration menu - View commit details
-
Copy full SHA for a6c047e - Browse repository at this point
Copy the full SHA a6c047eView commit details
Commits on Apr 10, 2022
-
Stricter Id type (screepers#207)
* clean up test and format * Id only works for objects that has an id * remove deprecated getObjectById * fix Spawning constructor
Configuration menu - View commit details
-
Copy full SHA for 172fbcb - Browse repository at this point
Copy the full SHA 172fbcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e630ac7 - Browse repository at this point
Copy the full SHA e630ac7View commit details
Commits on Apr 16, 2022
-
Update TypeScript version to 4.6
The Typescript version has been set at 2.8 for a number of years and is no longer supported by DefinitelyTyped. The latest release is 4.6. Fixes new linting issues (stricter strings, no-for-in) Updates dependencies Replaces `dtslint` with `@definitelytyped/dtslint` in an effort to still follow the DT repo structure which hasn't yet moved to eslint. Unfortunately this triggers some audit rules. Remove `concat` dependency in favor of directly using `fs` due to security notice.
Configuration menu - View commit details
-
Copy full SHA for a1ed661 - Browse repository at this point
Copy the full SHA a1ed661View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e928fa - Browse repository at this point
Copy the full SHA 9e928faView commit details -
Husky was very old, now updated to version 7 and configured. Adds new git hooks directory `.husky` Updates `prepare` lifecycle hook to include installing Husky Removes unused husky section from `package.json`
Configuration menu - View commit details
-
Copy full SHA for a776b21 - Browse repository at this point
Copy the full SHA a776b21View commit details
Commits on Apr 18, 2022
-
Updates project version number Clarifies Screeps in README to refer to Screeps: World
Configuration menu - View commit details
-
Copy full SHA for 2b10396 - Browse repository at this point
Copy the full SHA 2b10396View commit details
Commits on May 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 06ab538 - Browse repository at this point
Copy the full SHA 06ab538View commit details -
Configuration menu - View commit details
-
Copy full SHA for 926712d - Browse repository at this point
Copy the full SHA 926712dView commit details
Commits on Jul 7, 2022
-
Game.structures contains only the structures owned by the player (scr…
…eepers#211) Change type of Game.structures to OwnedStructure
Configuration menu - View commit details
-
Copy full SHA for 1ef2196 - Browse repository at this point
Copy the full SHA 1ef2196View commit details -
Configuration menu - View commit details
-
Copy full SHA for 696f777 - Browse repository at this point
Copy the full SHA 696f777View commit details -
Small changes to allow easier reuse of Commodities types (screepers#212)
* Added CommoditiesTypes and CommodityEntry to simplify reusing those types. * Updated factory.produce to use the new CommoditiesTypes
Configuration menu - View commit details
-
Copy full SHA for c6b3abf - Browse repository at this point
Copy the full SHA c6b3abfView commit details -
Add missing 3.3.0 heading and new unrealeased updates
Configuration menu - View commit details
-
Copy full SHA for ae85cfd - Browse repository at this point
Copy the full SHA ae85cfdView commit details
Commits on Feb 12, 2023
-
Add type inference for params in filter callbacks (screepers#221)
* Prettier auto fixes * Fix type inference of params in filter callbacks `findInRange`,`findclosestByRange` * Make FilterFunction more fits _.filter * Update changelog screepers#221
Configuration menu - View commit details
-
Copy full SHA for 916d00b - Browse repository at this point
Copy the full SHA 916d00bView commit details -
Changed
LOOK_STRUCTURES
return type (screepers#217)* Changed `LOOK_STRUCTURES` return type Was `AllLookAtTypes.structure: Structure`, Now `AllLookAtTypes.structure: AnyStructure`. * Ran `npm run dtslint`
Configuration menu - View commit details
-
Copy full SHA for 6ac75a9 - Browse repository at this point
Copy the full SHA 6ac75a9View commit details -
An instance of CostMatrix cannot be used with new. (screepers#214)
* An instance of CostMatrix cannot be used with new. JSON.stringify(new (new PathFinder.CostMatrix())()); Results in TypeError: (intermediate value) is not a constructor at eval (eval at <anonymous> (_console1656190542011_0:1:46), <anonymous>:1:16) at _console1656190542011_0:1:46 at _console1656190542011_0:1:60 at Object.exports.evalCode (<runtime>:15336:71) at Object.exports.run (<runtime>:20819:41) * Updated PathFinder.CostMatrix to be CostMatrixConstructor * Move deserialize to CostMatrixConstructor According to the docs, deserialize is a static method on Pathfinder.CostMatrix (the constructor), not instances. https://docs.screeps.com/api/#PathFinder.CostMatrix.deserialize * Add tests for updated PathFinder.CostMatrix --------- Co-authored-by: Skyler Kehren <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3969653 - Browse repository at this point
Copy the full SHA 3969653View commit details -
Recompile and update changelog
Update changelog for screepers#214 and screepers#217
Configuration menu - View commit details
-
Copy full SHA for 57e7178 - Browse repository at this point
Copy the full SHA 57e7178View commit details
Commits on Feb 26, 2023
-
Setup CI using github action (screepers#232)
* Create CI.yml * chore: replace travis CI with github action CI * fix: dtslint fixes
Configuration menu - View commit details
-
Copy full SHA for c09486e - Browse repository at this point
Copy the full SHA c09486eView commit details -
Update changelog and add Mofeng to maintainers (screepers#228)
* changelog: add 3.3.1 * changelog: sort out unreleased changes * chore: update package version to 3.3.1 * chore!: add Mofeng to maintainers Mofeng's profile: https://github.com/DiamondMofeng see DefinitelyTyped/DefinitelyTyped#64389 and DefinitelyTyped/DefinitelyTyped@dbbe88d
Configuration menu - View commit details
-
Copy full SHA for 56b7cd2 - Browse repository at this point
Copy the full SHA 56b7cd2View commit details
Commits on Apr 3, 2023
-
Chore: MarkoSulamagi resigns from DT side maintainers (screepers#239)
* MarkoSulamagi resigns from DT maintainer DefinitelyTyped/DefinitelyTyped#64588 * update changelog about 3.3.2
Configuration menu - View commit details
-
Copy full SHA for 87f2086 - Browse repository at this point
Copy the full SHA 87f2086View commit details
Commits on Aug 16, 2023
-
Mark Spawning.directions as optional (screepers#244)
* Mark Spawning.directions as optional This property is only defined if it was passed as spawn options, or it got set through `Spawn.spawning.setDirections`. Otherwise it'll be `undefined` and the creep will default to `[TOP]`. * Apply suggestions from code review Co-authored-by: Mofeng <[email protected]> --------- Co-authored-by: Mofeng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c78130 - Browse repository at this point
Copy the full SHA 1c78130View commit details
Commits on Aug 21, 2023
-
Refactor: Decoupling
FilterOption
andFindConstant
and Improve `F……ilterOption` (screepers#238) * test: add test cases * fix: `FilterObject` should be `DeepPartial` * fix: add non-narrowing filter function to FilterOptions * feat: mark `filter` as optional * fix: decoupling `FilterOption` and `FindConstant` * test: add dtslint assertions * test: add test for object and string style filter predicate
Configuration menu - View commit details
-
Copy full SHA for 8c974bf - Browse repository at this point
Copy the full SHA 8c974bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c6dc6d - Browse repository at this point
Copy the full SHA 4c6dc6dView commit details
Commits on Sep 13, 2023
-
Fix: Room.getEventLog() may return string (screepers#245)
* fix: Room.getEventLog() may return string * run dtslint * docs: update changelog --------- Co-authored-by: Wyatt Lipscomb <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 71265a9 - Browse repository at this point
Copy the full SHA 71265a9View commit details -
Fix: Unlimited stores have no notion of free capacity (screepers#208)
* unlimited stores have no notion of free capacity * test: add test cases for store definition * docs: update changelog * test: add test cases for `get*Capacity()` when no resourceType is specified ---------
Configuration menu - View commit details
-
Copy full SHA for bd7e6fc - Browse repository at this point
Copy the full SHA bd7e6fcView commit details -
Chore: Bump minimatch from 3.0.4 to 3.1.2 (screepers#233)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. - [Release notes](https://github.com/isaacs/minimatch/releases) - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](isaacs/minimatch@v3.0.4...v3.1.2) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae52290 - Browse repository at this point
Copy the full SHA ae52290View commit details
Commits on Sep 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2f426c0 - Browse repository at this point
Copy the full SHA 2f426c0View commit details
Commits on Dec 2, 2023
-
Fix: Update invader core-related constants to their actual values (sc…
…reepers#249) The only one that's breaking is `INVADER_CORE_EXPAND_TIME` which is keyed by the core's level now.
Configuration menu - View commit details
-
Copy full SHA for 1e39c4f - Browse repository at this point
Copy the full SHA 1e39c4fView commit details -
feat: add RoomTerrain.getRawBuffer() (screepers#247)
* feat: add RoomTerrain.getRawBuffer() * fix: incorporate changes recommended by @DiamondMofend and update tests * fix: replace TypedArray helper with inline type
Configuration menu - View commit details
-
Copy full SHA for 9d727de - Browse repository at this point
Copy the full SHA 9d727deView commit details
Commits on Jan 6, 2024
-
Fix screepers#252: lookForAtArea matrix result type. (screepers#253)
* Fix lookForAtArea matrix result type. * npm run dtslint * Modify new test to explicitly match issue description * Separate tests for default and explicit isArray=false --------- Co-authored-by: Piotr Paulski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12cfd11 - Browse repository at this point
Copy the full SHA 12cfd11View commit details
Commits on Feb 3, 2024
-
Feat: Setting the Order type to ORDER_BUY | ORDER_SELL instead of str…
…ing (screepers#255) * Update Order interface in market.ts Setting the type to ORDER_BUY | ORDER_SELL instead of string * Updating index.d.ts * test: add test for hardcoded string literal value
Configuration menu - View commit details
-
Copy full SHA for 8957b7b - Browse repository at this point
Copy the full SHA 8957b7bView commit details -
Game.map.describeExits returns null for non-existent rooms (screepers…
…#250) * Game.map.describeExits returns null for non-existent rooms * chore: add example for type `ExitsInformation`
Configuration menu - View commit details
-
Copy full SHA for 1911145 - Browse repository at this point
Copy the full SHA 1911145View commit details
Commits on Mar 31, 2024
-
Update Game.market.deal documentation (screepers#256)
* Update Game.market.deal documentation * Fix long line for tests * chore: keep comment the same as official doc
Configuration menu - View commit details
-
Copy full SHA for 79884ad - Browse repository at this point
Copy the full SHA 79884adView commit details
Commits on Jul 17, 2024
-
Fix a transferEnergy type error where it suggested a creep. (screeper…
…s#258) * No more beaming energy into creeps minds...
Configuration menu - View commit details
-
Copy full SHA for 5a93dc1 - Browse repository at this point
Copy the full SHA 5a93dc1View commit details
Commits on Jul 20, 2024
-
Update dependencies, replace tslint with eslint, migrate to pnpm (scr…
…eepers#259) * chore: remove unused dependencies * chore: upgrade ts to 5.5.0 * fix dtslint errors * use `typescript-eslint` and `eslint-plugin-expect-type` instead of `dtslint`, `tslint` * migrate to pnpm * chore: add comment about eslint-plugin-expect-type * chore: rm tslint from vscode extension recommendations
Configuration menu - View commit details
-
Copy full SHA for 89807e5 - Browse repository at this point
Copy the full SHA 89807e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cac3c75 - Browse repository at this point
Copy the full SHA cac3c75View commit details
Commits on Aug 3, 2024
-
Adapt to new DefinitelyTyped layout
* No longer needed to prepend header and descriptions
Configuration menu - View commit details
-
Copy full SHA for 3c1b1b2 - Browse repository at this point
Copy the full SHA 3c1b1b2View commit details
Commits on Aug 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 199337c - Browse repository at this point
Copy the full SHA 199337cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28d8a8c - Browse repository at this point
Copy the full SHA 28d8a8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c03fbf - Browse repository at this point
Copy the full SHA 5c03fbfView commit details