Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b76750bbe9 | ||
|
|
d003151b0f | ||
|
|
731ff705a2
|
||
|
|
138dc210e1
|
||
|
|
65a4f3de22 | ||
|
|
5581ae7841 | ||
|
|
8266d1e67a | ||
|
|
7f49118630
|
||
|
|
5626da8b78
|
||
|
|
53d7c3b408
|
||
|
|
49832f676a
|
||
|
|
b97ca55a68
|
||
|
|
4bf4326da8
|
||
|
|
472d01ec35 |
2
.github/workflows/release-preview.yml
vendored
2
.github/workflows/release-preview.yml
vendored
@@ -11,7 +11,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
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
|
name: Release preview
|
||||||
env:
|
env:
|
||||||
HUSKY: 0
|
HUSKY: 0
|
||||||
|
|||||||
0
.husky/pre-commit
Normal file → Executable file
0
.husky/pre-commit
Normal file → Executable file
0
.husky/prepare-commit-msg
Normal file → Executable file
0
.husky/prepare-commit-msg
Normal file → Executable file
4
.lintstagedrc
Normal file
4
.lintstagedrc
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"gitDir": "./.git",
|
||||||
|
"*": "eslint --fix"
|
||||||
|
}
|
||||||
12
CHANGELOG.md
12
CHANGELOG.md
@@ -1,5 +1,17 @@
|
|||||||
# lilbetter.js
|
# lilbetter.js
|
||||||
|
|
||||||
|
## 0.0.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 138dc21: Populated package.json
|
||||||
|
|
||||||
|
## 0.0.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 4bf4326: Fix github workflow
|
||||||
|
|
||||||
## 0.0.1
|
## 0.0.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,23 +1,25 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"checkJs": true,
|
"checkJs": true,
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"module": "ES2022",
|
"module": "ES2022",
|
||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
"alwaysStrict": true
|
"alwaysStrict": true
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./src/**/*.js",
|
"./src/**/*",
|
||||||
"./eslint.config.js"
|
"./test/**/*.js",
|
||||||
],
|
"./eslint.config.js",
|
||||||
"exclude": [
|
"./commitlint.config.cjs"
|
||||||
"./node_modules/**",
|
],
|
||||||
".dist"
|
"exclude": [
|
||||||
]
|
"./node_modules/**",
|
||||||
|
".dist"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
79
package.json
79
package.json
@@ -1,29 +1,54 @@
|
|||||||
{
|
{
|
||||||
"name": "lilbetter.js",
|
"name": "lilbetter.js",
|
||||||
"version": "0.0.1",
|
"version": "0.0.3",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "./src/index.js",
|
"main": "./src/index.js",
|
||||||
"scripts": {
|
"browser": "./src/index.js",
|
||||||
"test": "vitest",
|
"source": "./src/index.js",
|
||||||
"prepare": "husky install",
|
"module": "./src/index.js",
|
||||||
"lint": "eslint .",
|
"homepage": "https://github.com/LoredDev/lilbetter.js",
|
||||||
"lint:fix": "eslint . --fix",
|
"repository": {
|
||||||
"release": "changeset publish"
|
"type": "git",
|
||||||
},
|
"url": "https://github.com/LoredDev/lilbetter.js"
|
||||||
"type": "module",
|
},
|
||||||
"keywords": [],
|
"exports": {
|
||||||
"author": "",
|
"import": "./src/index.js",
|
||||||
"license": "MIT",
|
"default": "./src/index.js",
|
||||||
"publishConfig": {
|
"types": "./src/index.d.ts"
|
||||||
"access": "public"
|
},
|
||||||
},
|
"files": [
|
||||||
"devDependencies": {
|
"./src/**/*.js",
|
||||||
"@changesets/cli": "^2.27.1",
|
"./src/**/*.d.ts"
|
||||||
"@commitlint/config-conventional": "^18.4.4",
|
],
|
||||||
"@commitlint/types": "^18.4.4",
|
"scripts": {
|
||||||
"@eslegant/js": "0.0.0-next-20230910004746",
|
"test": "vitest",
|
||||||
"eslint": "^8.56.0",
|
"prepare": "husky install",
|
||||||
"husky": "^8.0.3",
|
"lint": "eslint .",
|
||||||
"vitest": "^1.2.1"
|
"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
src/index.d.ts
vendored
Normal file
6
src/index.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
interface Test {
|
||||||
|
name: string,
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Test;
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
/*
|
||||||
|
* Placeholder file
|
||||||
|
*/
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
|
console.log('Hello, world!');
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// eslint-disable-next-line n/no-unpublished-import
|
||||||
import { expect, test } from 'vitest';
|
import { expect, test } from 'vitest';
|
||||||
|
|
||||||
test('placeholder', () => {
|
test('placeholder', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user