This pull request includes changes to the sdk/js/packages/client package that primarily revolve around modifying the build process and updating the package version. The most significant changes include updating the package version from 0.1.0-alpha.1 to 1.0.0, replacing tshy with rollup in the build script, adding new rollup plugins, and modifying the rollup.config.js and tsconfig.json files to reflect these changes.
Update to package version and build process:
sdk/js/packages/client/package.json: Updated the package version from 0.1.0-alpha.1 to 1.0.0. The build script was changed from tshy to rollup -c, and the tshy configuration was removed. New rollup plugins were added to the devDependencies, and the exports field was updated to reflect the new build process. [1][2]
Changes to rollup and TypeScript configuration:
sdk/js/packages/client/rollup.config.js: The rollup configuration was significantly modified. The input was changed from dist/browser/index.js to src/index.ts, and the output formats were updated. New plugins were added, including @rollup/plugin-commonjs, @rollup/plugin-typescript, @rollup/plugin-node-resolve, and @rollup/plugin-alias.
sdk/js/packages/client/tsconfig.json: The module and moduleResolution compiler options were changed from NodeNext to ESNext and Node, respectively. An outDir field was added with the value build. [1][2]
This pull request includes changes to the
sdk/js/packages/client
package that primarily revolve around modifying the build process and updating the package version. The most significant changes include updating the package version from0.1.0-alpha.1
to1.0.0
, replacingtshy
withrollup
in the build script, adding new rollup plugins, and modifying therollup.config.js
andtsconfig.json
files to reflect these changes.Update to package version and build process:
sdk/js/packages/client/package.json
: Updated the package version from0.1.0-alpha.1
to1.0.0
. The build script was changed fromtshy
torollup -c
, and thetshy
configuration was removed. New rollup plugins were added to the devDependencies, and theexports
field was updated to reflect the new build process. [1] [2]Changes to rollup and TypeScript configuration:
sdk/js/packages/client/rollup.config.js
: The rollup configuration was significantly modified. The input was changed fromdist/browser/index.js
tosrc/index.ts
, and the output formats were updated. New plugins were added, including@rollup/plugin-commonjs
,@rollup/plugin-typescript
,@rollup/plugin-node-resolve
, and@rollup/plugin-alias
.sdk/js/packages/client/tsconfig.json
: Themodule
andmoduleResolution
compiler options were changed fromNodeNext
toESNext
andNode
, respectively. AnoutDir
field was added with the valuebuild
. [1] [2]