From 4bf4326da8e9958786fb867ce8dcc132ffc6765e Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L. de Mello" Date: Thu, 18 Jan 2024 00:38:10 -0300 Subject: [PATCH 1/7] fix: github workflow --- .changeset/witty-timers-join.md | 5 +++++ .github/workflows/release-preview.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/witty-timers-join.md diff --git a/.changeset/witty-timers-join.md b/.changeset/witty-timers-join.md new file mode 100644 index 0000000..cb5d731 --- /dev/null +++ b/.changeset/witty-timers-join.md @@ -0,0 +1,5 @@ +--- +"lilbetter.js": patch +--- + +Fix github workflow diff --git a/.github/workflows/release-preview.yml b/.github/workflows/release-preview.yml index bc82844..f4db966 100644 --- a/.github/workflows/release-preview.yml +++ b/.github/workflows/release-preview.yml @@ -11,7 +11,7 @@ on: jobs: release: - if: ${{ github.event.workflow_run.conclusion == 'success' && github.repository == 'loreddev/marknow' }} + if: ${{ github.event.workflow_run.conclusion == 'success' && github.repository == 'loreddev/lilbetter.js' }} name: Release preview env: HUSKY: 0 From b97ca55a680508c68eb5ebe087044c605cd6d59f Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L. de Mello" Date: Thu, 18 Jan 2024 00:40:23 -0300 Subject: [PATCH 2/7] chore: placeholder index.js --- src/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/index.js b/src/index.js index e69de29..f6a705a 100644 --- a/src/index.js +++ b/src/index.js @@ -0,0 +1,5 @@ +/* + * Placeholder file + */ +// eslint-disable-next-line no-console +console.log('Hello, world!'); From 49832f676ab00d7d3b5cc9e1903eb2fa18298788 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L. de Mello" Date: Thu, 18 Jan 2024 00:45:04 -0300 Subject: [PATCH 3/7] =?UTF-8?q?chore:=20=F0=9F=94=A7=20lintstaged=20config?= =?UTF-8?q?=20and=20add=20test=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .lintstagedrc | 4 ++++ jsconfig.json | 43 ++++++++++++++++++++++--------------------- 2 files changed, 26 insertions(+), 21 deletions(-) create mode 100644 .lintstagedrc diff --git a/.lintstagedrc b/.lintstagedrc new file mode 100644 index 0000000..c4d0a50 --- /dev/null +++ b/.lintstagedrc @@ -0,0 +1,4 @@ +{ + "gitDir": "./.git", + "*": "eslint --fix" +} diff --git a/jsconfig.json b/jsconfig.json index 575ecdc..7f2ebcc 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "checkJs": true, - "allowJs": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "moduleResolution": "node", - "skipLibCheck": true, - "sourceMap": true, - "strict": true, - "module": "ES2022", - "target": "ES2022", - "alwaysStrict": true - }, - "include": [ - "./src/**/*.js", - "./eslint.config.js" - ], - "exclude": [ - "./node_modules/**", - ".dist" - ] + "compilerOptions": { + "checkJs": true, + "allowJs": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "moduleResolution": "node", + "skipLibCheck": true, + "sourceMap": true, + "strict": true, + "module": "ES2022", + "target": "ES2022", + "alwaysStrict": true + }, + "include": [ + "./src/**/*.js", + "./test/**/*.js", + "./eslint.config.js" + ], + "exclude": [ + "./node_modules/**", + ".dist" + ] } From 53d7c3b40869f3a7ef6836723274aed760c5ddcc Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L. de Mello" Date: Thu, 18 Jan 2024 00:45:38 -0300 Subject: [PATCH 4/7] =?UTF-8?q?chore:=20=F0=9F=94=A7=20make=20hooks=20exec?= =?UTF-8?q?utable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .husky/pre-commit | 0 .husky/prepare-commit-msg | 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .husky/pre-commit mode change 100644 => 100755 .husky/prepare-commit-msg diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100644 new mode 100755 diff --git a/.husky/prepare-commit-msg b/.husky/prepare-commit-msg old mode 100644 new mode 100755 From 5626da8b7820217a6f2db4e95cfa5d83443f280e Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L. de Mello" Date: Thu, 18 Jan 2024 00:50:34 -0300 Subject: [PATCH 5/7] =?UTF-8?q?chore:=20=F0=9F=94=A7=20fix=20github=20acti?= =?UTF-8?q?ons=20on=20lint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (I hate javascript ecosystem and workflow so much) --- jsconfig.json | 3 ++- test/placeholder.test.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/jsconfig.json b/jsconfig.json index 7f2ebcc..4cf55bc 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -15,7 +15,8 @@ "include": [ "./src/**/*.js", "./test/**/*.js", - "./eslint.config.js" + "./eslint.config.js", + "./eslint.config.cjs" ], "exclude": [ "./node_modules/**", diff --git a/test/placeholder.test.js b/test/placeholder.test.js index 5a723d6..c094da5 100644 --- a/test/placeholder.test.js +++ b/test/placeholder.test.js @@ -1,3 +1,4 @@ +// eslint-disable-next-line n/no-unpublished-import import { expect, test } from 'vitest'; test('placeholder', () => { From 7f491186305bb0f7dabf1c3ce533a130bfb69899 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L. de Mello" Date: Thu, 18 Jan 2024 00:52:22 -0300 Subject: [PATCH 6/7] =?UTF-8?q?fix:=20=F0=9F=90=9B=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsconfig.json b/jsconfig.json index 4cf55bc..979c5a0 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -16,7 +16,7 @@ "./src/**/*.js", "./test/**/*.js", "./eslint.config.js", - "./eslint.config.cjs" + "./commitlint.config.cjs" ], "exclude": [ "./node_modules/**", From 8266d1e67a5705d590f1d54409f0c03af37f8abf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 18 Jan 2024 03:53:17 +0000 Subject: [PATCH 7/7] =?UTF-8?q?ci:=20=F0=9F=91=B7=F0=9F=A6=8B=20version=20?= =?UTF-8?q?packages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/witty-timers-join.md | 5 ----- CHANGELOG.md | 6 ++++++ package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/witty-timers-join.md diff --git a/.changeset/witty-timers-join.md b/.changeset/witty-timers-join.md deleted file mode 100644 index cb5d731..0000000 --- a/.changeset/witty-timers-join.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"lilbetter.js": patch ---- - -Fix github workflow diff --git a/CHANGELOG.md b/CHANGELOG.md index a01894a..a51bfab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # lilbetter.js +## 0.0.2 + +### Patch Changes + +- 4bf4326: Fix github workflow + ## 0.0.1 ### Patch Changes diff --git a/package.json b/package.json index d8869f8..586e078 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lilbetter.js", - "version": "0.0.1", + "version": "0.0.2", "description": "", "main": "./src/index.js", "scripts": {