Skip to content

Commit

Permalink
Merge pull request #137 from tommy351/changeset-release/master
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
tommy351 committed Apr 21, 2024
2 parents 4ca50c6 + 0977cdb commit 7253fb6
Show file tree
Hide file tree
Showing 48 changed files with 289 additions and 119 deletions.
12 changes: 0 additions & 12 deletions .changeset/cuddly-forks-boil.md

This file was deleted.

47 changes: 0 additions & 47 deletions .changeset/four-chairs-care.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/happy-spies-relax.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/heavy-stingrays-grow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/late-apricots-battle.md

This file was deleted.

24 changes: 0 additions & 24 deletions .changeset/wise-glasses-deliver.md

This file was deleted.

9 changes: 9 additions & 0 deletions packages/cli-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @kosko/cli-utils

## 0.1.2

### Patch Changes

- [`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718) Thanks [@tommy351](https://github.com/tommy351)! - Remove `.d.mts` files because their contents are as same as `.d.ts` files.

- Updated dependencies [[`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718)]:
- @kosko/log@2.0.2

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kosko/cli-utils",
"version": "0.1.1",
"version": "0.1.2",
"description": "CLI utilities used in Kosko.",
"homepage": "https://kosko.dev",
"repository": {
Expand Down
60 changes: 60 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,65 @@
# @kosko/cli

## 4.1.1

### Patch Changes

- [#136](https://github.com/tommy351/kosko/pull/136) [`bf44f80`](https://github.com/tommy351/kosko/commit/bf44f8088664f3da037a70a02174cdb9a21d11b5) Thanks [@tommy351](https://github.com/tommy351)! - Fix the issue that multiple generation errors are not properly formatted.

```sh
# Before
error -
AggregateError
at handleResolvePromises (/project/node_modules/@kosko/generate/src/resolve.ts:104:11)
at async Object.generate (/project/node_modules/@kosko/generate/src/generate.ts:184:21)
at async Object.handler (/project/node_modules/@kosko/cli/src/commands/generate/worker.ts:47:18)
at async Object.handler (/project/node_modules/@kosko/cli/src/commands/validate.ts:24:5)

# After
components/mysql.ts

✖ Component value resolve failed
TSError: ⨯ Unable to compile TypeScript:
components/mysql.ts:11:1 - error TS2588: Cannot assign to 'port' because it is a constant.
11 port = 81;
~~~~
at createTSError (/project/node_modules/ts-node/src/index.ts:859:12)
at reportTSError (/project/node_modules/ts-node/src/index.ts:863:19)
at getOutput (/project/node_modules/ts-node/src/index.ts:1077:36)
at Object.compile (/project/node_modules/ts-node/src/index.ts:1433:41)
at Module.m._compile (/project/node_modules/ts-node/src/index.ts:1617:30)
at Object.require.extensions.<computed> [as .ts] (/project/node_modules/ts-node/src/index.ts:1621:12)

components/nginx.ts

✖ Component value resolve failed
TSError: ⨯ Unable to compile TypeScript:
components/nginx.ts:11:1 - error TS2588: Cannot assign to 'port' because it is a constant.
11 port = 81;
~~~~
at createTSError (/project/node_modules/ts-node/src/index.ts:859:12)
at reportTSError (/project/node_modules/ts-node/src/index.ts:863:19)
at getOutput (/project/node_modules/ts-node/src/index.ts:1077:36)
at Object.compile (/project/node_modules/ts-node/src/index.ts:1433:41)
at Module.m._compile (/project/node_modules/ts-node/src/index.ts:1617:30)
at Object.require.extensions.<computed> [as .ts] (/project/node_modules/ts-node/src/index.ts:1621:12)

error - Found 2 errors in total
error - Generate failed
```

- [`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718) Thanks [@tommy351](https://github.com/tommy351)! - Remove `.d.mts` files because their contents are as same as `.d.ts` files.

- Updated dependencies [[`641b36b`](https://github.com/tommy351/kosko/commit/641b36bba528b53f8c6aa1cec3ffc276fc66cbe2), [`5f047ad`](https://github.com/tommy351/kosko/commit/5f047adfe612cf7cb26e530200af9034b2ec62b6), [`5f047ad`](https://github.com/tommy351/kosko/commit/5f047adfe612cf7cb26e530200af9034b2ec62b6), [`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718)]:
- @kosko/[email protected]
- @kosko/[email protected]
- @kosko/[email protected]
- @kosko/[email protected]
- @kosko/[email protected]
- @kosko/[email protected]
- @kosko/[email protected]
- @kosko/[email protected]

## 4.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kosko/cli",
"version": "4.1.0",
"version": "4.1.1",
"description": "Organize Kubernetes manifests in JavaScript.",
"homepage": "https://kosko.dev",
"repository": {
Expand Down
6 changes: 6 additions & 0 deletions packages/common-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @kosko/common-utils

## 1.1.1

### Patch Changes

- [`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718) Thanks [@tommy351](https://github.com/tommy351)! - Remove `.d.mts` files because their contents are as same as `.d.ts` files.

## 1.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/common-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kosko/common-utils",
"version": "1.1.0",
"version": "1.1.1",
"description": "Common utilities used in Kosko.",
"homepage": "https://kosko.dev",
"repository": {
Expand Down
10 changes: 10 additions & 0 deletions packages/config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @kosko/config

## 4.0.2

### Patch Changes

- [`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718) Thanks [@tommy351](https://github.com/tommy351)! - Remove `.d.mts` files because their contents are as same as `.d.ts` files.

- Updated dependencies [[`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718)]:
- @kosko/common-utils@1.1.1
- @kosko/log@2.0.2

## 4.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kosko/config",
"version": "4.0.1",
"version": "4.0.2",
"description": "Load kosko configuration.",
"homepage": "https://kosko.dev",
"repository": {
Expand Down
13 changes: 13 additions & 0 deletions packages/create-kosko/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# create-kosko

## 0.1.2

### Patch Changes

- [`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718) Thanks [@tommy351](https://github.com/tommy351)! - Remove `.d.mts` files because their contents are as same as `.d.ts` files.

- Updated dependencies [[`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718)]:
- @kosko/cli-utils@0.1.2
- @kosko/common-utils@1.1.1
- @kosko/exec-utils@2.0.1
- @kosko/log@2.0.2
- @kosko/require@7.0.1

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-kosko/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-kosko",
"version": "0.1.1",
"version": "0.1.2",
"description": "A CLI tool for creating new Kosko projects.",
"homepage": "https://kosko.dev",
"repository": {
Expand Down
9 changes: 9 additions & 0 deletions packages/env/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @kosko/env

## 5.0.2

### Patch Changes

- Updated dependencies [[`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718)]:
- @kosko/common-utils@1.1.1
- @kosko/log@2.0.2
- @kosko/require@7.0.1

## 5.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/env/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kosko/env",
"version": "5.0.1",
"version": "5.0.2",
"description": "Manage environemnts in kosko.",
"homepage": "https://kosko.dev",
"repository": {
Expand Down
6 changes: 6 additions & 0 deletions packages/exec-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @kosko/exec-utils

## 2.0.1

### Patch Changes

- [`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718) Thanks [@tommy351](https://github.com/tommy351)! - Remove `.d.mts` files because their contents are as same as `.d.ts` files.

## 2.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/exec-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kosko/exec-utils",
"version": "2.0.0",
"version": "2.0.1",
"description": "Utilities for executing external processes.",
"homepage": "https://kosko.dev",
"repository": {
Expand Down
26 changes: 26 additions & 0 deletions packages/generate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# @kosko/generate

## 5.1.0

### Minor Changes

- [#136](https://github.com/tommy351/kosko/pull/136) [`641b36b`](https://github.com/tommy351/kosko/commit/641b36bba528b53f8c6aa1cec3ffc276fc66cbe2) Thanks [@tommy351](https://github.com/tommy351)! - File resolution errors are now reported in issues too. This kind of errors includes:

- Unable to resolve individual component paths.
- A component file throws an error.
- TypeScript compilation errors.
- Module import errors.

This could be a breaking change if you expect the `generate` function to throw a `GenerateError` on these cases. You can set the `throwOnError` option to `true` to restore the previous behavior.

- [#136](https://github.com/tommy351/kosko/pull/136) [`5f047ad`](https://github.com/tommy351/kosko/commit/5f047adfe612cf7cb26e530200af9034b2ec62b6) Thanks [@tommy351](https://github.com/tommy351)! - `BaseManifest` and `ManifestToValidate` types are deprecated. Please use `Manifest` instead. Now you can access the `report` function in the transform function, and the result returned from the `generate` function.

### Patch Changes

- [#136](https://github.com/tommy351/kosko/pull/136) [`5f047ad`](https://github.com/tommy351/kosko/commit/5f047adfe612cf7cb26e530200af9034b2ec62b6) Thanks [@tommy351](https://github.com/tommy351)! - Performance is slightly improved by reusing manifest objects and transforming manifest objects in-place.

- [`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718) Thanks [@tommy351](https://github.com/tommy351)! - Remove `.d.mts` files because their contents are as same as `.d.ts` files.

- Updated dependencies [[`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718)]:
- @kosko/common-utils@1.1.1
- @kosko/log@2.0.2
- @kosko/require@7.0.1

## 5.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/generate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kosko/generate",
"version": "5.0.0",
"version": "5.1.0",
"description": "Find and print components in a kosko app directory.",
"homepage": "https://kosko.dev",
"repository": {
Expand Down
11 changes: 11 additions & 0 deletions packages/helm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @kosko/helm

## 4.0.2

### Patch Changes

- [`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718) Thanks [@tommy351](https://github.com/tommy351)! - Remove `.d.mts` files because their contents are as same as `.d.ts` files.

- Updated dependencies [[`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718)]:
- @kosko/common-utils@1.1.1
- @kosko/exec-utils@2.0.1
- @kosko/yaml@4.0.2

## 4.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/helm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kosko/helm",
"version": "4.0.1",
"version": "4.0.2",
"description": "Load Helm charts in kosko.",
"homepage": "https://kosko.dev",
"repository": {
Expand Down
9 changes: 9 additions & 0 deletions packages/kosko/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# kosko

## 4.1.1

### Patch Changes

- [`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718) Thanks [@tommy351](https://github.com/tommy351)! - Remove `.d.mts` files because their contents are as same as `.d.ts` files.

- Updated dependencies [[`bf44f80`](https://github.com/tommy351/kosko/commit/bf44f8088664f3da037a70a02174cdb9a21d11b5), [`c98b372`](https://github.com/tommy351/kosko/commit/c98b372430983a66c4a78e9358ac26c2cd342718)]:
- @kosko/cli@4.1.1

## 4.1.0

### Patch Changes
Expand Down
Loading

0 comments on commit 7253fb6

Please sign in to comment.