Skip to content

Commit be56b5c

Browse files
committed
update to v0.6.1
1 parent 76b798f commit be56b5c

File tree

7 files changed

+19
-31
lines changed

7 files changed

+19
-31
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
build
22

3+
.rollup.cache
4+
tsconfig.tsbuildinfo
5+
36
.DS_Store
47
.idea/*
58
.nyc_output

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [0.6.1](https://github.com/Creit-Tech/Stellar-Wallets-Kit/compare/v0.6.0...v0.6.1) (2024-02-16)
6+
7+
### Change
8+
- Get rid of the "build/main" folder for better compatibility with projects using this kit
9+
510
### [0.6.0](https://github.com/Creit-Tech/Stellar-Wallets-Kit/compare/v0.5.0...v0.6.0) (2024-02-15)
611
### Add
712
- A new bundled version of the kit is available at /build/web-bundle.js

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@creit.tech/stellar-wallets-kit",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "A kit to handle all Stellar Wallets at once",
55
"author": {
66
"name": "Creit Technologies LLP",
77
"url": "https://creit.tech"
88
},
99
"main": "build/index.js",
10-
"typings": "build/main/index.d.ts",
10+
"typings": "build/index.d.ts",
1111
"type": "module",
1212
"repository": {
1313
"type": "git",
@@ -24,8 +24,10 @@
2424
"Freighter"
2525
],
2626
"scripts": {
27-
"build": "rollup -c ./rollup.config.js",
28-
"build:watch": "rollup -c ./rollup.config.js --watch",
27+
"build": "rimraf ./build && npm run build:tsc && npm run build:web-bundle",
28+
"build:tsc": "tsc",
29+
"build:web-bundle": "rollup -c ./rollup.config.js",
30+
"build:web-bundle:watch": "rollup -c ./rollup.config.js --watch",
2931
"serve": "wds --open ./demo.html"
3032
},
3133
"engines": {

rollup.config.js

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,14 @@ import { nodeResolve } from '@rollup/plugin-node-resolve';
44

55
export default [
66
{
7-
input: 'src/index.ts',
7+
input: 'build/index.js',
88
output: [
9-
{
10-
file: 'build/index.js',
11-
format: 'es',
12-
},
139
{
1410
file: 'build/web-bundle.js',
1511
format: 'umd',
1612
name: 'SWK',
1713
},
1814
],
19-
plugins: [
20-
commonjs({ extensions: ['.js', '.ts'] }),
21-
typescript({
22-
tsconfig: './tsconfig.json',
23-
}),
24-
nodeResolve(),
25-
],
15+
plugins: [commonjs({ extensions: ['.js', '.ts'] }), nodeResolve()],
2616
},
2717
];

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"compilerOptions": {
3-
"incremental": true,
43
"target": "es2019",
5-
"outDir": "build/main",
4+
"outDir": "build",
65
"rootDir": "src",
76
"moduleResolution": "node",
87
"module": "es2020",

tsconfig.module.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)