3317d15(#365 by @jbolda) Convert package to ESM only. All LTS are able to import ESM, both from an ESM or CJS context.
b0313de(#370 by @jbolda) Workspace deps with pnpm unintentionally expanded the dep range for@simulacrum/foundation-simulator. Clamp it down to only exact range defined.
9ef139f(#359 by @jbolda) Enabling oxfmt and oxlint for more consistency.a3a8108(#357 by @jbolda) Swap to pnpm within monorepo.
fd1d673(#350 by @jbolda) Upgrades the foundation simulator tostarfx@0.16.0which in turn upgrades toeffection@^4. Highly unlikely to be a breaking change, but bumping a minor for safety.
d4f2be5(#349 by @jbolda) Skip simulator asset minification. Also remove usage ofString.raw. This was breaking the/loginview in the Auth0 simulator with the waytsdownwas escaping the strings.
- Upgraded to
@simulacrum/foundation-simulator@0.6.1
a78fa61(#341 by @jbolda) Use theextendoptions and properly pass theextendRouterthat will allow the user to add or change route handling. Closes #317.7c120ed(#315 by @jbolda) Better handle nested owners which previously threw errors, e.g. map() of undefined. Also accept the custom header as used by the@octokit/graphqlpackage.
- Upgraded to
@simulacrum/foundation-simulator@0.6.0 16ceab1(#337 by @jbolda) Export helpers from foundation simulator for use in dumping data into the stores, such as in the GitHub API simulator.
356bfddFixtypesVersionpointing to old directories. Updatetsdown.
- Upgraded to
@simulacrum/foundation-simulator@0.5.1
c52b964(#322 by @jbolda) POSSIBLY BREAKING: Switch to ESM modules with a dual published CJS option. This was enabled by swapping out lodash for defu to merge OpenAPI specifications.95bc2cf(#323 by @jbolda) POSSIBLY BREAKING: Update the express v5. If you are using the extended router, you may need to confirm your routes against the express v5 migration guide.33efe53(#329 by @jbolda) Add additional TypeScript configure in workspace to further refine type checks. Runtscin CI for every package.6b452c3(#320 by @jbolda) Switch to usingtsdownto help build both ESM and CJS versions of the package. This also includes helpers to ensure that the published package has all of the required properties and configuration.
- Upgraded to
@simulacrum/foundation-simulator@0.5.0
dd8a08cAdd extensions to all imports including bare/indeximports. With an updated version of TypeScript, this allowed a build which correctly added extensions to every relative import improving compatibility with Node and file resolution.
- Upgraded to
@simulacrum/foundation-simulator@0.4.1
- Upgraded to
@simulacrum/foundation-simulator@0.4.0
ade6ca6The/user/memberships/orgsendpoint didn't return data per the schema. Fix and validate.
e920b0dAll existing custom routes, repository and installations endpoints, now return a 404 in cases where there are no associated resources to match the real API functionality.
0ba82b7Change the default simulation helper page to/simulationto avoid the conflict with the default GitHub route at the root,/.
- Upgraded to
@simulacrum/foundation-simulator@0.3.1
e565f7bPossibly breaking We incorrectly used the hosted schema with an Enterprise endpoint. Correcting this to default to the hosted endpoint with the hosted schema. UseapiUrlandapiSchemaif there is need to adjust for Enterprise use cases.
85816d8Validate and correct responses with OpenAPI specification for/installation/repositories,/orgs/{org}/repos,/repos/{org}/{repo}/branches,orgs/{org}/installation, and/repos/{owner}/{repo}/installationwhen passing ininitialState.
- Upgraded to
@simulacrum/foundation-simulator@0.3.0
2741f00The bin file was not specified so running withnpxdirectly was broken.
- Upgraded to
@simulacrum/foundation-simulator@0.2.1
7d39c71Rebuilding on top of the foundation simulator to establish a mutable state. Also begin handling REST-based routes.
1040a8f(#263) Arepositoryquery would fail due to a destructuredname. This fixes the reference and adds an additional check for matchingnameWithOwner.
70eedc3(#260) Bump the version of graphgen to 1.8.1 to support the latest type signature expected from the factory that is passed to the server.
- Allow extenstion of github api simulator with new endpoints and middleware
- b065a10 Add changeset on 2023-05-05
- Added the description mapping to repositories.
- add repository mock data to github-api-simulator
- Fix path resolution to github api schema
- create the @simulacrum/github-api-simulator package
- 0eb4ebf add changeset on 2022-11-30