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 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 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/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/jsconfig.json b/jsconfig.json index 575ecdc..979c5a0 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -1,23 +1,25 @@ { - "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", + "./commitlint.config.cjs" + ], + "exclude": [ + "./node_modules/**", + ".dist" + ] } 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": { 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!'); 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', () => {