Skip to content

Commit

Permalink
tsup configured to include types
Browse files Browse the repository at this point in the history
  • Loading branch information
Linas Išganaitis committed Oct 7, 2024
1 parent 728b60a commit 645e758
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 126 deletions.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@meeco/cryppo": "2.0.2",
"@meeco/file-storage-node": "5.0.4",
"@meeco/keystore-api-sdk": "10.1.1-develop.20230816154849.c7c2018",
"@meeco/sdk": "^7.1.0",
"@meeco/sdk": "^7.2.0",
"@meeco/vault-api-sdk": "39.6.1-develop.20231213134427.3dde2fcb3",
"oclif": "^3.1.0",
"@oclif/core": "^1.9.9",
Expand Down
2 changes: 1 addition & 1 deletion packages/file-storage-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"stream-browserify": "^3.0.0"
},
"devDependencies": {
"@meeco/sdk": "^7.1.0",
"@meeco/sdk": "^7.2.0",
"bili": "^5.0.5",
"typedoc": "^0.23.2",
"typescript": "^4.7.4",
Expand Down
114 changes: 3 additions & 111 deletions packages/sdk-demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/sdk-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint": "tslint -p . -t stylish -c ../../tslint.json"
},
"dependencies": {
"@meeco/sdk": "^7.1.0",
"@meeco/sdk": "^7.2.0",
"@meeco/style-kit": "^2.0.1",
"crypto-browserify": "^3.12.0",
"json-formatter-js": "^2.3.4",
Expand Down
6 changes: 6 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project (loosely) adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 7.2.0

### Changed

- `tsup` configured to include types

## 7.1.0

### Changed
Expand Down
10 changes: 5 additions & 5 deletions packages/sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@meeco/sdk",
"description": "A wrapper library around Meeco's various API SDK's and encryption libraries",
"version": "7.1.0",
"version": "7.2.0",
"author": "Meeco",
"bugs": "https://github.com/Meeco/cli/issues",
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.es.js",
"types": "dist/src/index.d.ts",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"dependencies": {
"@meeco/cryppo": "2.0.2",
"@meeco/identity-network-api-sdk": "1.1.0-develop.20230808164050.d37ca3c",
Expand Down Expand Up @@ -67,7 +67,7 @@
"license": "MIT",
"repository": "Meeco/cli",
"scripts": {
"build": "tsc -p tsconfig.build.json && tsup src/index.ts --format esm,cjs",
"build": "tsc -p tsconfig.build.json && tsup src/index.ts --format esm,cjs --tsconfig tsconfig.build.json && tsup src/index.ts --dts-only --tsconfig tsconfig.build.json",
"format:check": "prettier -c \"src/**/*.ts\" \"test/**/*.ts\"",
"format:write": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" *.json README.md",
"lint": "tslint -p . -t stylish -c ../../tslint.json && tslint -p test/tsconfig.json -t stylish -c ../../tslint.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "./lib",
"rootDir": "./src",
"composite": true,
"composite": false,
"declaration": true,
"skipLibCheck": true
},
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./lib",
"composite": true,
"declaration": true,
"outDir": "./lib",
"skipLibCheck": true
},
"include": ["src"]
"include": ["src/**/*"]
}

0 comments on commit 645e758

Please sign in to comment.