From 8ac5fbef50aad720698fd33c8aa2591715d0516b Mon Sep 17 00:00:00 2001 From: Saenyakorn Siangsanoh Date: Mon, 30 Oct 2023 16:07:09 +0700 Subject: [PATCH] fix: empty output source files --- .changeset/giant-berries-carry.md | 5 ----- .changeset/spicy-rocks-shave.md | 5 +++++ .github/workflows/release.yaml | 12 ++++++++++++ .gitignore | 1 + CHANGELOG.md | 7 +++++++ package.json | 2 +- 6 files changed, 26 insertions(+), 6 deletions(-) delete mode 100644 .changeset/giant-berries-carry.md create mode 100644 .changeset/spicy-rocks-shave.md create mode 100644 .github/workflows/release.yaml create mode 100644 CHANGELOG.md diff --git a/.changeset/giant-berries-carry.md b/.changeset/giant-berries-carry.md deleted file mode 100644 index 6ed2001..0000000 --- a/.changeset/giant-berries-carry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@softnetics/rbac': major ---- - -Release [@softnetics/rbac](https://github.com/softnetics/rbac) for the first time. diff --git a/.changeset/spicy-rocks-shave.md b/.changeset/spicy-rocks-shave.md new file mode 100644 index 0000000..f8838ba --- /dev/null +++ b/.changeset/spicy-rocks-shave.md @@ -0,0 +1,5 @@ +--- +"@softnetics/rbac": patch +--- + +Fix empty output source file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..4544e91 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,12 @@ +name: Test reusable workflows + +on: + push: + branches: + - main + +jobs: + flight-test: + uses: softnetics/workflows/.github/workflows/release-packages.yaml@main + with: + before-publish: yarn build diff --git a/.gitignore b/.gitignore index d059106..e0486e6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .yarn/* release.sh +dist node_modules \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..385e250 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +# @softnetics/rbac + +## 1.0.0 + +### Major Changes + +- [`4d908fc`](https://github.com/softnetics/rbac/commit/4d908fc4363f022fd2ffb24be056c1a7c70546f8) Thanks [@saenyakorn](https://github.com/saenyakorn)! - Release [@softnetics/rbac](https://github.com/softnetics/rbac) for the first time. diff --git a/package.json b/package.json index 0a78c2b..780444c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@softnetics/rbac", - "version": "0.0.0", + "version": "1.0.0", "description": "O(1) type safe role based access control", "packageManager": "yarn@1.22.19", "main": "./dist/index.cjs",