diff --git a/.yarnrc.yml b/.yarnrc.yml index 644a985..93450ea 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -4,8 +4,8 @@ nodeLinker: node-modules plugins: - path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs - spec: "@yarnpkg/plugin-interactive-tools" + spec: '@yarnpkg/plugin-interactive-tools' - path: .yarn/plugins/@yarnpkg/plugin-version.cjs - spec: "@yarnpkg/plugin-version" + spec: '@yarnpkg/plugin-version' -yarnPath: .yarn/releases/yarn-3.6.0.cjs +yarnPath: .yarn/releases/yarn-3.5.1.cjs diff --git a/package.json b/package.json index de77575..82e4ad4 100644 --- a/package.json +++ b/package.json @@ -1,43 +1,46 @@ { - "name": "@kbotdev/utilities", - "private": true, - "workspaces": [ - "packages/*" - ], - "scripts": { - "update": "yarn upgrade-interactive", - "build": "turbo run build", - "test": "turbo run test", - "lint": "turbo run lint", - "format": "turbo run format" - }, - "devDependencies": { - "@commitlint/cli": "^17.6.5", - "@commitlint/config-conventional": "^17.6.5", - "@kbotdev/eslint-config": "workspace:^", - "@kbotdev/prettier-config": "workspace:^", - "@kbotdev/ts-config": "workspace:^", - "eslint": "^8.42.0", - "husky": "^8.0.3", - "lint-staged": "^13.2.2", - "prettier": "^2.8.8", - "turbo": "^1.10.2", - "typescript": "^5.1.3", - "vitest": "^0.32.0" - }, - "lint-staged": { - "*.{mjs,cjs,js,ts}": [ - "eslint --fix --ext js,ts", - "prettier --write --loglevel=warn \"**/*.{mjs,cjs,js,ts}\"" - ], - "*.{json,yml,yaml,md}": [ - "prettier --write --loglevel=warn \"**/*.{json,yml,yaml,md}\"" - ] - }, - "commitlint": { - "extends": [ - "@commitlint/config-conventional" - ] - }, - "packageManager": "yarn@3.6.0" + "name": "@kbotdev/utilities", + "private": true, + "workspaces": [ + "packages/*" + ], + "scripts": { + "build": "turbo run build --no-daemon", + "test": "turbo run ci:test --no-daemon", + "lint": "turbo run ci:lint --no-daemon", + "format": "turbo run format --no-daemon", + "docs": "turbo run docs --no-daemon" + }, + "devDependencies": { + "@microsoft/tsdoc": "^0.14.2", + "@sapphire/eslint-config": "^4.4.1", + "@sapphire/framework": "^4.4.0", + "@sapphire/prettier-config": "^1.4.5", + "@sapphire/ts-config": "^3.3.4", + "@types/node": "^18.15.11", + "@typescript-eslint/eslint-plugin": "^5.58.0", + "@typescript-eslint/parser": "^5.58.0", + "@vitest/coverage-c8": "^0.31.0", + "discord-api-types": "^0.37.38", + "discord.js": "^14.9.0", + "eslint": "^8.38.0", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-prettier": "^4.2.1", + "husky": "^8.0.3", + "lint-staged": "^13.2.1", + "prettier": "^2.8.7", + "tsup": "^6.7.0", + "turbo": "^1.9.1", + "typedoc": "^0.24.4", + "typescript": "^4.9.5", + "vitest": "^0.31.0" + }, + "lint-staged": { + "*.{mjs,ts,js}": [ + "eslint --fix --ext mjs,js,ts", + "prettier --write --loglevel=warn \"{src,tests}/**/*.{js,ts,json}\"" + ] + }, + "prettier": "@sapphire/prettier-config", + "packageManager": "yarn@3.5.1" } diff --git a/packages/menus/package.json b/packages/menus/package.json index e69de29..007e4d5 100644 --- a/packages/menus/package.json +++ b/packages/menus/package.json @@ -0,0 +1,52 @@ +{ + "name": "@kbotdev/menus", + "version": "1.0.3", + "description": "Menu utilities for KBot", + "author": "@kbotdev", + "license": "MIT", + "main": "dist/index.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/KBot-discord/utilities.git", + "directory": "packages/menus" + }, + "homepage": "https://github.com/KBot-discord/utilities/tree/main/packages/menus", + "dependencies": { + "@sapphire/discord.js-utilities": "^6.0.5" + }, + "devDependencies": { + "@microsoft/tsdoc": "^0.14.2", + "@vitest/coverage-c8": "^0.31.0", + "tsup": "^6.7.0", + "typedoc": "^0.24.4", + "typescript": "^4.9.5", + "vitest": "^0.31.0" + }, + "engines": { + "node": ">=14.x" + }, + "exports": { + ".": { + "import": "./dist/index.mjs", + "require": "./dist/index.js", + "types": "./dist/index.d.ts" + } + }, + "files": [ + "dist/**/*.js*", + "dist/**/*.mjs*", + "dist/**/*.d*" + ], + "scripts": { + "lint": "eslint --fix --ext .ts src", + "format": "prettier --write --loglevel=warn \"src/**/*.{js,ts,json}\"", + "build": "tsup", + "test": "vitest", + "docs": "typedoc .", + "ci:lint": "eslint --fix=false --ext .ts src", + "ci:test": "vitest run --coverage" + }, + "packageManager": "yarn@3.5.1" +}