diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-09-20 08:54:29 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-09-20 08:56:11 -0500 |
commit | 9c2a87616026e36542ee6cb18584cc747ef3099d (patch) | |
tree | 99c998be4726edbac50f9c6845a77438d14186ac /packages | |
parent | Bump tsup from 8.2.4 to 8.3.0 in the nodejs-dependencies group (diff) | |
download | locusts-9c2a87616026e36542ee6cb18584cc747ef3099d.tar locusts-9c2a87616026e36542ee6cb18584cc747ef3099d.tar.gz locusts-9c2a87616026e36542ee6cb18584cc747ef3099d.tar.bz2 locusts-9c2a87616026e36542ee6cb18584cc747ef3099d.tar.lz locusts-9c2a87616026e36542ee6cb18584cc747ef3099d.tar.xz locusts-9c2a87616026e36542ee6cb18584cc747ef3099d.tar.zst locusts-9c2a87616026e36542ee6cb18584cc747ef3099d.zip |
Move node packages to src/
At least pretend to make it clean
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'packages')
-rw-r--r-- | packages/eslint-config/README.md | 3 | ||||
-rw-r--r-- | packages/eslint-config/library.js | 34 | ||||
-rw-r--r-- | packages/eslint-config/package.json | 17 | ||||
-rw-r--r-- | packages/locusts/.eslintrc.js | 9 | ||||
-rw-r--r-- | packages/locusts/package.json | 32 | ||||
-rw-r--r-- | packages/locusts/src/index.ts | 15 | ||||
-rw-r--r-- | packages/locusts/tests/locusts.test.ts | 9 | ||||
-rw-r--r-- | packages/locusts/tsconfig.json | 13 | ||||
-rw-r--r-- | packages/typescript-config/base.json | 20 | ||||
-rw-r--r-- | packages/typescript-config/package.json | 9 |
10 files changed, 0 insertions, 161 deletions
diff --git a/packages/eslint-config/README.md b/packages/eslint-config/README.md deleted file mode 100644 index 8b42d90..0000000 --- a/packages/eslint-config/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `@turbo/eslint-config` - -Collection of internal eslint configurations. diff --git a/packages/eslint-config/library.js b/packages/eslint-config/library.js deleted file mode 100644 index 9b59cc0..0000000 --- a/packages/eslint-config/library.js +++ /dev/null @@ -1,34 +0,0 @@ -const { resolve } = require("node:path"); - -const project = resolve(process.cwd(), "tsconfig.json"); - -/** @type {import("eslint").Linter.Config} */ -module.exports = { - extends: ["eslint:recommended", "prettier", "turbo"], - plugins: ["only-warn"], - globals: { - React: true, - JSX: true, - }, - env: { - node: true, - }, - settings: { - "import/resolver": { - typescript: { - project, - }, - }, - }, - ignorePatterns: [ - // Ignore dotfiles - ".*.js", - "node_modules/", - "dist/", - ], - overrides: [ - { - files: ["*.js?(x)", "*.ts?(x)"], - }, - ], -}; diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json deleted file mode 100644 index 395c345..0000000 --- a/packages/eslint-config/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "@repo/eslint-config", - "version": "0.0.0", - "devDependencies": { - "@typescript-eslint/eslint-plugin": "8.6.0", - "@typescript-eslint/parser": "8.6.0", - "@vercel/style-guide": "6.0.0", - "eslint-config-prettier": "^9.1.0", - "eslint-config-turbo": "^2.1.2", - "eslint-plugin-only-warn": "^1.1.0", - "typescript": "^5.6.2" - }, - "files": [ - "library.js" - ], - "private": true -} diff --git a/packages/locusts/.eslintrc.js b/packages/locusts/.eslintrc.js deleted file mode 100644 index 1de713c..0000000 --- a/packages/locusts/.eslintrc.js +++ /dev/null @@ -1,9 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - root: true, - extends: ["@repo/eslint-config/library.js"], - parser: "@typescript-eslint/parser", - parserOptions: { - project: true, - }, -};
\ No newline at end of file diff --git a/packages/locusts/package.json b/packages/locusts/package.json deleted file mode 100644 index 5a3a75d..0000000 --- a/packages/locusts/package.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "locusts", - "description": "An npm package that introduces locusts into your codebase.", - "version": "1.0.0", - "author": "Matt Strapp <matt+locusts@mattstrapp.net> (https://mattstrapp.net)", - "bugs": "https://github.com/locusts-r-us/locusts/issues", - "devDependencies": { - "@repo/eslint-config": "workspace:*", - "@repo/typescript-config": "workspace:*", - "@types/node": "^22.5.5", - "tsup": "^8.3.0", - "tsx": "^4.19.1", - "typescript": "^5.6.2" - }, - "keywords": [], - "license": "0BSD", - "main": "./dist/index.js", - "module": "./dist/index.mjs", - "repository": { - "type": "git", - "url": "git+https://github.com/locusts-r-us/locusts.git", - "directory": "packages/locusts" - }, - "scripts": { - "build": "tsup src/index.ts --format cjs,esm --dts", - "dev": "tsup src/index.ts --format cjs,esm --dts --watch", - "lint": "eslint src --fix", - "lint:ci": "eslint src", - "test": "node --test --import tsx ./tests/locusts.test.ts" - }, - "types": "./dist/index.d.ts" -} diff --git a/packages/locusts/src/index.ts b/packages/locusts/src/index.ts deleted file mode 100644 index d78bab8..0000000 --- a/packages/locusts/src/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Introduce locusts into your codebase. - * @remarks - * Locusts are not included in this package. You must provide your own locusts. - * @public - * @example - * ```js - * import introduceLocusts from 'locusts'; - * introduceLocusts(); - * ``` - * @returns void - */ -export default function introduceLocusts() { - // This space intentionally left blank -}
\ No newline at end of file diff --git a/packages/locusts/tests/locusts.test.ts b/packages/locusts/tests/locusts.test.ts deleted file mode 100644 index 7875cbd..0000000 --- a/packages/locusts/tests/locusts.test.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { describe, it } from "node:test"; -import introduceLocusts from "../src/index.ts"; - -describe("Locusts", () => { - it("should be able to be introduced to the environment", () => { - introduceLocusts(); - // Test code here - }); -}); diff --git a/packages/locusts/tsconfig.json b/packages/locusts/tsconfig.json deleted file mode 100644 index 0a5c316..0000000 --- a/packages/locusts/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "@repo/typescript-config/base.json", - "compilerOptions": { - "outDir": "dist" - }, - "include": [ - "src" - ], - "exclude": [ - "node_modules", - "dist" - ] -}
\ No newline at end of file diff --git a/packages/typescript-config/base.json b/packages/typescript-config/base.json deleted file mode 100644 index 0f80cfd..0000000 --- a/packages/typescript-config/base.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "display": "Default", - "compilerOptions": { - "declaration": true, - "declarationMap": true, - "esModuleInterop": true, - "incremental": false, - "isolatedModules": true, - "lib": ["es2022", "DOM", "DOM.Iterable"], - "module": "NodeNext", - "moduleDetection": "force", - "moduleResolution": "NodeNext", - "noUncheckedIndexedAccess": true, - "resolveJsonModule": true, - "skipLibCheck": true, - "strict": true, - "target": "ES2022" - } -} diff --git a/packages/typescript-config/package.json b/packages/typescript-config/package.json deleted file mode 100644 index d658269..0000000 --- a/packages/typescript-config/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "@repo/typescript-config", - "version": "0.0.0", - "license": "MIT", - "private": true, - "publishConfig": { - "access": "public" - } -} |