Skip to content
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

Re-factor build scripts to TypeScript #202

Merged
merged 23 commits into from
Sep 10, 2021

Conversation

smithki
Copy link
Contributor

@smithki smithki commented Sep 1, 2021

📦 Pull Request

Re-factors our build scripts to TypeScript (removing the dependency on Bash and improving cross-OS development compatibility).

Version

Published prerelease version: @magic-sdk/[email protected]
@magic-sdk/[email protected]
@magic-sdk/[email protected]
@magic-sdk/[email protected]
[email protected]

Changelog

💥 Breaking Change

  • @magic-sdk/commons, @magic-sdk/provider, @magic-sdk/react-native, @magic-sdk/types, magic-sdk

Authors: 1

@smithki smithki added skip-release Preserve the current version when merged internal Changes only affect the internal API and removed skip-release Preserve the current version when merged labels Sep 1, 2021
@smithki smithki changed the base branch from master to feat/implement-abstract-provider September 2, 2021 01:23
@smithki smithki added skip-release Preserve the current version when merged major Increment the major version when merged and removed skip-release Preserve the current version when merged labels Sep 2, 2021
@smithki smithki changed the base branch from feat/implement-abstract-provider to master September 2, 2021 20:50
smithki and others added 9 commits September 2, 2021 16:10
* (feat): Added 'web3-core' package v1.5.2  to import the new AbstractProvider Type

* (feat): fix #83

* First step to refactoring 'PayloadTransport' into 'ViewController'

* Fix remaining tests

* Update 'peerDependencies' for @magic-sdk/commons

* Fix clean script

Co-authored-by: Adenekan Wonderful <[email protected]>
@smithki smithki force-pushed the feat/refactor-build-scripts-to-typescript branch from bbc4ced to a2325a2 Compare September 2, 2021 22:16
@smithki smithki changed the base branch from master to next September 10, 2021 15:45
@smithki smithki merged commit 608c423 into next Sep 10, 2021
@smithki smithki deleted the feat/refactor-build-scripts-to-typescript branch September 10, 2021 18:25
@smithki
Copy link
Contributor Author

smithki commented Sep 10, 2021

@smithki smithki added the prerelease This change is available in a prerelease. label Sep 10, 2021
smithki added a commit that referenced this pull request Sep 14, 2021
* Re-factor build scripts to TypeScript (#202)

* Re-factor scripts for building, development, linting, and cleaning to TypeScript

* Remove remnants of old test runner (ava)

* Re-factor scripts for unit testing to TypeScript

* Small cleanups

* Refactor to merge `ViewController` and `PayloadTransport` classes (#203)

* (feat): Added 'web3-core' package v1.5.2  to import the new AbstractProvider Type

* (feat): fix #83

* First step to refactoring 'PayloadTransport' into 'ViewController'

* Fix remaining tests

* Update 'peerDependencies' for @magic-sdk/commons

* Fix clean script

Co-authored-by: Adenekan Wonderful <[email protected]>

* Make script code more DRY

* Update TypeScript & make scripts more DRY

* Fix typo and add 'printSeparator' script utility

* Fix 'inject-env.ts' script following re-organization of code

* Remove outdated / unused dependencies from root PackageJSON

* Progress towards integrating microbundle

* Update build scripts to bundle all packages via microbundle

* Remove unnecessary console statement

* Run pre-commit hooks against all packages

* Add more memory for tasks spawned via 'wsrun'

* Raise the resource class in CI

* Try to fix ENOMEM errors in CI by limiting concurrency

* Replace 'p-limit' dependency with prior version (new version is ESM-only)

* Better caching in CircleCI

* Update test script to work with Yarn 2

* Fix tests related to ViewController refactor

* Reduce the CircleCI resource class back to medium

* Fix tests related to ViewController refactor

Co-authored-by: Adenekan Wonderful <[email protected]>

* Fix ENV variable interpolations

* Force publish

* Remove temporary change (#205)

* Add '--force-publish' flag to 'lerna version' command

* Apply forcePublish to 'auto'

* Log environment in one place during build

* Trigger publish on 'magic-sdk' and '@magic-sdk/react-native'

* Remove comments used to trigger prerelease

* Fix SemVer issues

* Ignore 'semver' wrapper from test coverage

* Target 'web'

Co-authored-by: Adenekan Wonderful <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Changes only affect the internal API major Increment the major version when merged prerelease This change is available in a prerelease.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant