generated from sapphiredev/sapphire-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eafbd2c
commit 4c5c3d2
Showing
26 changed files
with
5,890 additions
and
7,220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
name: async_event_emitter | ||
packagePath: . | ||
org: vladfrangu | ||
monoRepo: false | ||
commitMessageTemplate: 'chore(release): release {{new-version}}' | ||
tagTemplate: v{{new-version}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Favna is the primary maintainer of this repository | ||
* @favna | ||
# Vlad is the primary maintainer of this repository | ||
* @vladfrangu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
name: '*next*' | ||
package: | ||
- '@sapphire/template' | ||
- 'async_event_emitter' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"recommendations": ["bierner.github-markdown-preview", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode"] | ||
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[changelog] | ||
header = """ | ||
# Changelog | ||
All notable changes to this project will be documented in this file.\n | ||
""" | ||
body = """ | ||
{% if version %}\ | ||
# [{{ version | trim_start_matches(pat="v") }}]\ | ||
{% if previous %}\ | ||
{% if previous.version %}\ | ||
(https://github.com/vladfrangu/async_event_emitter/compare/{{ previous.version }}...{{ version }})\ | ||
{% else %}\ | ||
(https://github.com/vladfrangu/async_event_emitter/tree/{{ version }})\ | ||
{% endif %}\ | ||
{% endif %} \ | ||
- ({{ timestamp | date(format="%Y-%m-%d") }}) | ||
{% else %}\ | ||
# [unreleased] | ||
{% endif %}\ | ||
{% for group, commits in commits | group_by(attribute="group") %} | ||
## {{ group | upper_first }} | ||
{% for commit in commits %} | ||
- {% if commit.scope %}\ | ||
**{{commit.scope}}:** \ | ||
{% endif %}\ | ||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/vladfrangu/async_event_emitter/commit/{{ commit.id }}))\ | ||
{% if commit.breaking %}\ | ||
\n\n {% raw %} {% endraw %} ### 💥 Breaking Changes:\n \ | ||
{% for breakingChange in commit.footers %}\ | ||
{% raw %} {% endraw %} - {{ breakingChange }}\n\ | ||
{% endfor %}\ | ||
{% endif %}\ | ||
{% endfor %} | ||
{% endfor %}\n | ||
""" | ||
trim = true | ||
footer = "" | ||
|
||
[git] | ||
conventional_commits = true | ||
filter_unconventional = true | ||
commit_parsers = [ | ||
{ message = "^feat", group = "🚀 Features" }, | ||
{ message = "^fix", group = "🐛 Bug Fixes" }, | ||
{ message = "^docs", group = "📝 Documentation" }, | ||
{ message = "^perf", group = "🏃 Performance" }, | ||
{ message = "^refactor", group = "🏠 Refactor" }, | ||
{ message = "^typings", group = "⌨️ Typings" }, | ||
{ message = "^types", group = "⌨️ Typings" }, | ||
{ message = ".*deprecated", body = ".*deprecated", group = "🚨 Deprecation" }, | ||
{ message = "^revert", skip = true }, | ||
{ message = "^style", group = "🪞 Styling" }, | ||
{ message = "^test", group = "🧪 Testing" }, | ||
{ message = "^chore", skip = true }, | ||
{ message = "^ci", skip = true }, | ||
{ message = "^build", skip = true }, | ||
{ body = ".*security", group = "🛡️ Security" }, | ||
] | ||
filter_commits = true | ||
tag_pattern = "v[0-9]*" | ||
ignore_tags = "" | ||
topo_order = false | ||
sort_commits = "newest" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,69 @@ | ||
{ | ||
"name": "@sapphire/template", | ||
"version": "0.0.1", | ||
"description": "template", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"author": "@sapphire", | ||
"name": "async_event_emitter", | ||
"version": "0.0.2", | ||
"description": "An event emitter implementation with async support in mind", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"browser": "./dist/index.global.js", | ||
"unpkg": "./dist/index.global.js", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
} | ||
}, | ||
"sideEffects": false, | ||
"author": "Vlad Frangu <[email protected]>", | ||
"license": "MIT", | ||
"scripts": { | ||
"lint": "eslint src tests --ext ts --fix", | ||
"format": "prettier --write {src,tests}/**/*.ts", | ||
"format": "prettier --write \"{src,tests}/**/*.ts\"", | ||
"docs": "typedoc", | ||
"test": "jest", | ||
"test:watch": "jest --watch", | ||
"test": "vitest run", | ||
"test:watch": "vitest", | ||
"update": "yarn upgrade-interactive", | ||
"build": "tsc -b src", | ||
"clean": "tsc -b src --clean", | ||
"watch": "tsc -b src -w", | ||
"sversion": "standard-version", | ||
"commit": "git-cz", | ||
"cz": "git-cz", | ||
"build": "tsup && tsc -b src", | ||
"clean": "node scripts/clean.mjs", | ||
"typecheck": "tsc -p tsconfig.typecheck.json", | ||
"bump": "cliff-jumper", | ||
"check-update": "cliff-jumper --dry-run", | ||
"postinstall": "husky install .github/husky", | ||
"prepack": "yarn build && pinst --disable", | ||
"prepack": "rollup-type-bundler && pinst --disable", | ||
"postpack": "pinst --enable" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.4.0" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.0.2", | ||
"@commitlint/config-conventional": "^17.0.2", | ||
"@favware/cliff-jumper": "^1.8.3", | ||
"@favware/npm-deprecate": "^1.0.4", | ||
"@favware/rollup-type-bundler": "^1.0.8", | ||
"@sapphire/eslint-config": "^4.3.7", | ||
"@sapphire/prettier-config": "^1.4.3", | ||
"@sapphire/ts-config": "^3.3.4", | ||
"@types/jest": "^28.1.2", | ||
"@types/node": "^17.0.31", | ||
"@typescript-eslint/eslint-plugin": "^5.28.0", | ||
"@typescript-eslint/parser": "^5.28.0", | ||
"@types/node": "^18.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.29.0", | ||
"@typescript-eslint/parser": "^5.29.0", | ||
"c8": "^7.11.3", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^8.18.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"husky": "^8.0.1", | ||
"jest": "^28.1.1", | ||
"lint-staged": "^13.0.2", | ||
"pinst": "^3.0.0", | ||
"prettier": "^2.7.1", | ||
"pretty-quick": "^3.1.3", | ||
"standard-version": "^9.3.2", | ||
"ts-jest": "^28.0.5", | ||
"tsup": "^6.1.2", | ||
"typedoc": "^0.22.17", | ||
"typedoc-plugin-mdn-links": "^1.0.6", | ||
"typescript": "^4.7.4" | ||
"typescript": "^4.7.4", | ||
"vitest": "^0.15.2" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/sapphiredev/sapphire-template.git" | ||
"url": "git+https://github.com/vladfrangu/async_event_emitter.git" | ||
}, | ||
"files": [ | ||
"dist", | ||
|
@@ -65,19 +74,14 @@ | |
"npm": ">=7.0.0" | ||
}, | ||
"keywords": [ | ||
"@sapphire/template", | ||
"bot", | ||
"typescript", | ||
"ts", | ||
"yarn", | ||
"discord", | ||
"sapphire", | ||
"discordjs" | ||
"event emitter", | ||
"async", | ||
"event", | ||
"emitter" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/sapphiredev/sapphire-template/issues" | ||
"url": "https://github.com/vladfrangu/async_event_emitter/issues" | ||
}, | ||
"homepage": "https://www.sapphirejs.dev", | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
|
@@ -94,10 +98,6 @@ | |
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"resolutions": { | ||
"ansi-regex": "^5.0.1", | ||
"minimist": "^1.2.6" | ||
}, | ||
"prettier": "@sapphire/prettier-config", | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { rm } from 'node:fs/promises'; | ||
|
||
const distDir = new URL('../dist/', import.meta.url); | ||
|
||
await rm(distDir, { recursive: true, force: true }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.