Skip to content

Commit

Permalink
Release typescript resolve conflict (#1801)
Browse files Browse the repository at this point in the history
* Nialexsan/add types (#1710)

* switch to uuid from @onflow/utils-uid

* create tsconfigs

* typedefs in ts

* types for actor util

* types for address util

* Revert "switch to uuid from @onflow/utils-uid"

This reverts commit 2a15ef5.

* PKG -- [util-actor] converted to ts

* updated tsconfig

* fixed ts types generation

* Resolve circular dependency

* ts rlp

* change type location

* more types

* build types during regular build

* fix tests

* VSN -- [root] Changeset

* Merge remote-tracking branch 'origin/master' into nialexsan/add-types

* Revert "Resolve circular dependency"

This reverts commit 36efc7d.

* update lock

* VSN -- [root] changeset

* Implement typescript for several branches & adjust configuration (#1750)

Implements typescript support for: @onflow/rlp, @onflow/util-uid, @onflow/util-template, @onflow/util-logger, @onflow/util-invariant, @onflow/util-encode-key, @onflow/util-address

* Convert @onflow/types to TS (#1760)

* [WIP] Convert @onflow/types to TS

* stash

* kind of working

* fix package.json

* fix dictionary

* fix tests

* stash

* strong type tests

* remove any

* rename

* changeset

* PKG -- [util-actor] Enhance TS support (#1761)

* PKG -- [util-actor] Enhance TS support

* rename handlerfnmap

* PKG -- [types] Simplify generics for @onflow/types (#1772)

* PKG -- [types] Simplify generics

* Fix array

* Fix Array

* PKG -- [config] Convert @onflow/config to TS (#1731)

* PKG -- [config] Add TypeScript

* Changeset

* fixup

* Remove unnecessary generic from util-actor

* remove non null assertions

---------

Co-authored-by: Alex <[email protected]>

* Fix JSDoc type generation (#1780)

* restore changeset

* align packages

* pre typescript

* any type for config

* update package lock

* Update packages/util-logger/src/util-logger.ts

* fix config type

* use any type

* exit pre

* revert changes to changelogs

---------

Co-authored-by: Jordan Ribbink <[email protected]>
  • Loading branch information
nialexsan and jribbink authored Nov 7, 2023
1 parent 55db557 commit 8881394
Show file tree
Hide file tree
Showing 111 changed files with 4,393 additions and 2,167 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-buttons-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/fcl-bundle": minor
---

Switched to rollup-plugin-typescript2
5 changes: 5 additions & 0 deletions .changeset/fluffy-yaks-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/types": minor
---

Convert @onflow/types to TypeScript
11 changes: 11 additions & 0 deletions .changeset/giant-ducks-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@onflow/util-encode-key": minor
"@onflow/util-invariant": minor
"@onflow/util-template": minor
"@onflow/util-address": minor
"@onflow/util-logger": minor
"@onflow/util-uid": minor
"@onflow/rlp": minor
---

Convert to Typescript
21 changes: 21 additions & 0 deletions .changeset/hip-radios-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
"@onflow/util-encode-key": minor
"@onflow/transport-grpc": minor
"@onflow/transport-http": minor
"@onflow/util-invariant": minor
"@onflow/util-template": minor
"@onflow/util-address": minor
"@onflow/util-logger": minor
"@onflow/fcl-bundle": minor
"@onflow/util-actor": minor
"@onflow/typedefs": minor
"@onflow/util-uid": minor
"@onflow/config": minor
"@onflow/fcl-wc": minor
"@onflow/types": minor
"@onflow/fcl": minor
"@onflow/rlp": minor
"@onflow/sdk": minor
---

TS build
33 changes: 33 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"mode": "exit",
"tag": "typescript",
"initialVersions": {
"@onflow/config": "1.1.2",
"@onflow/fcl": "1.7.0",
"@onflow/fcl-bundle": "1.3.1",
"@onflow/fcl-wc": "4.0.0",
"@onflow/protobuf": "1.2.1",
"@onflow/rlp": "1.1.0",
"@onflow/sdk": "1.2.3",
"@onflow/transport-grpc": "1.2.2",
"@onflow/transport-http": "1.7.2",
"@onflow/typedefs": "1.1.1",
"@onflow/types": "1.1.0",
"@onflow/util-actor": "1.2.0",
"@onflow/util-address": "1.1.0",
"@onflow/util-encode-key": "1.1.0",
"@onflow/util-invariant": "1.1.0",
"@onflow/util-logger": "1.2.2",
"@onflow/util-semver": "1.0.0",
"@onflow/util-template": "1.1.0",
"@onflow/util-uid": "1.1.0"
},
"changesets": [
"fifty-buttons-serve",
"fluffy-yaks-allow",
"giant-ducks-tickle",
"hip-radios-behave",
"tough-fishes-live",
"wise-apples-leave"
]
}
5 changes: 5 additions & 0 deletions .changeset/tough-fishes-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/config": minor
---

Add Typescript to @onflow/config
5 changes: 5 additions & 0 deletions .changeset/wise-apples-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/util-actor": minor
---

Enhance TS support for @onflow/util-actor
Loading

0 comments on commit 8881394

Please sign in to comment.