22 Commits

Author SHA1 Message Date
Guz
b76750bbe9 Merge pull request #7 from LoredDev/changeset-release/main
🦋 Release branch
2024-01-18 04:21:07 +00:00
github-actions[bot]
d003151b0f ci: 👷🦋 version packages 2024-01-18 04:19:41 +00:00
Gustavo "Guz" L. de Mello
731ff705a2 fix: 🐛 version bump 2024-01-18 01:18:48 -03:00
Gustavo "Guz" L. de Mello
138dc210e1 chore: 🔧 populate package.json 2024-01-18 01:12:59 -03:00
github-actions[bot]
65a4f3de22 ci: 👷 update dev branch 2024-01-18 03:54:32 +00:00
Guz
5581ae7841 Merge pull request #6 from LoredDev/changeset-release/main
🦋 Release branch
2024-01-18 03:53:55 +00:00
github-actions[bot]
8266d1e67a ci: 👷🦋 version packages 2024-01-18 03:53:17 +00:00
Gustavo "Guz" L. de Mello
7f49118630 fix: 🐛 typo 2024-01-18 00:52:22 -03:00
Gustavo "Guz" L. de Mello
5626da8b78 chore: 🔧 fix github actions on lint
(I hate javascript ecosystem and workflow so much)
2024-01-18 00:50:34 -03:00
Gustavo "Guz" L. de Mello
53d7c3b408 chore: 🔧 make hooks executable 2024-01-18 00:45:38 -03:00
Gustavo "Guz" L. de Mello
49832f676a chore: 🔧 lintstaged config and add test files 2024-01-18 00:45:04 -03:00
Gustavo "Guz" L. de Mello
b97ca55a68 chore: placeholder index.js 2024-01-18 00:40:23 -03:00
Gustavo "Guz" L. de Mello
4bf4326da8 fix: github workflow 2024-01-18 00:38:10 -03:00
github-actions[bot]
472d01ec35 ci: 👷 update dev branch 2024-01-18 03:36:34 +00:00
Guz
c3e19c8ee6 Merge pull request #5 from LoredDev/changeset-release/main
🦋 Release branch
2024-01-18 03:35:58 +00:00
github-actions[bot]
5e4c8f1088 ci: 👷🦋 version packages 2024-01-18 03:34:57 +00:00
Gustavo "Guz" L. de Mello
2fe67cdd69 chore: changeset 2024-01-18 00:34:17 -03:00
Guz
3f79208d2d Merge pull request #2 from LoredDev/renovate/actions-cache-4.x
chore(deps): update actions/cache action to v4
2024-01-18 03:27:53 +00:00
Gustavo "Guz" L. de Mello
ad436abc95 fix: @eslegant/js eslint 2024-01-18 00:26:34 -03:00
renovate[bot]
e8adad9d6f chore(deps): update actions/cache action to v4 2024-01-18 03:24:11 +00:00
Guz
ab3297cac5 Merge pull request #1 from LoredDev/renovate/configure
chore: Configure Renovate
2024-01-18 03:23:57 +00:00
renovate[bot]
d9b59beff4 Add renovate.json 2024-01-18 03:21:04 +00:00
13 changed files with 119 additions and 50 deletions

View File

@@ -36,7 +36,7 @@ runs:
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}

View File

@@ -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

0
.husky/pre-commit Normal file → Executable file
View File

0
.husky/prepare-commit-msg Normal file → Executable file
View File

4
.lintstagedrc Normal file
View File

@@ -0,0 +1,4 @@
{
"gitDir": "./.git",
"*": "eslint --fix"
}

19
CHANGELOG.md Normal file
View File

@@ -0,0 +1,19 @@
# lilbetter.js
## 0.0.3
### Patch Changes
- 138dc21: Populated package.json
## 0.0.2
### Patch Changes
- 4bf4326: Fix github workflow
## 0.0.1
### Patch Changes
- 2fe67cd: Created the boilerplate and package setup

View File

@@ -1,3 +1,4 @@
// eslint-disable-next-line n/no-unpublished-import
import { configs, defineConfig, presets } from '@eslegant/js';
export default defineConfig([

View File

@@ -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/**/*",
"./test/**/*.js",
"./eslint.config.js",
"./commitlint.config.cjs"
],
"exclude": [
"./node_modules/**",
".dist"
]
}

View File

@@ -1,29 +1,54 @@
{
"name": "lilbetter.js",
"version": "0.0.0",
"description": "",
"main": "./src/index.js",
"scripts": {
"test": "vitest",
"prepare": "husky install",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"release": "changeset publish"
},
"type": "module",
"keywords": [],
"author": "",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@commitlint/config-conventional": "^18.4.4",
"@commitlint/types": "^18.4.4",
"@eslegant/js": "0.0.0-next-20230910004746",
"eslint": "^8.56.0",
"husky": "^8.0.3",
"vitest": "^1.2.1"
}
"name": "lilbetter.js",
"version": "0.0.3",
"description": "",
"main": "./src/index.js",
"browser": "./src/index.js",
"source": "./src/index.js",
"module": "./src/index.js",
"homepage": "https://github.com/LoredDev/lilbetter.js",
"repository": {
"type": "git",
"url": "https://github.com/LoredDev/lilbetter.js"
},
"exports": {
"import": "./src/index.js",
"default": "./src/index.js",
"types": "./src/index.d.ts"
},
"files": [
"./src/**/*.js",
"./src/**/*.d.ts"
],
"scripts": {
"test": "vitest",
"prepare": "husky install",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"release": "changeset publish"
},
"type": "module",
"keywords": [],
"author": {
"email": "contact.guz013@gmail.com",
"name": "Gustavo \"Guz\" L. de Mello",
"url": "https://guz.one"
},
"license": "MIT",
"engines": {
"node": ">=20",
"pnpm": ">=8"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@commitlint/config-conventional": "^18.4.4",
"@commitlint/types": "^18.4.4",
"@eslegant/js": "0.0.0-next-20230910004746",
"eslint": "^8.56.0",
"husky": "^8.0.3",
"vitest": "^1.2.1"
}
}

6
renovate.json Normal file
View File

@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}

6
src/index.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
interface Test {
name: string,
}
export default Test;

View File

@@ -0,0 +1,5 @@
/*
* Placeholder file
*/
// eslint-disable-next-line no-console
console.log('Hello, world!');

View File

@@ -1,3 +1,4 @@
// eslint-disable-next-line n/no-unpublished-import
import { expect, test } from 'vitest';
test('placeholder', () => {