diff --git a/.bunfig.toml b/.bunfig.toml new file mode 100644 index 0000000..f69518a --- /dev/null +++ b/.bunfig.toml @@ -0,0 +1,14 @@ +[install] +optional = true +dev = true +peer = true +production = false +frozenLockfile = true +registry = { url = "https://registry.npmjs.org", token = "$NPM_TOKEN"} + + +[test] +smol = true +coverage = true +coverageThreshold = { line = 0.0, function = 0.0, statement = 0.0 } +coverageSkipTestFiles = false diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 696750c..0000000 --- a/.npmrc +++ /dev/null @@ -1,3 +0,0 @@ -shamefully-hoist=true -registry=https://registry.npmmirror.com -auto-install-peers=true diff --git a/README.md b/README.md index cc611ae..88d9aff 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# mesh +# dorami To install dependencies: diff --git a/bun.lockb b/bun.lockb index c3fea73..659025d 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 46c5dd2..4f7868c 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@mesh/monorepo", + "name": "@dorami/monorepo", "module": "index.ts", "type": "module", "version": "0.0.0", @@ -13,17 +13,15 @@ "link": "bun --filter './packages/*' dev:link", "release": "bun run build && bunx @morlay/bunpublish", "build": "NODE_ENV=production && pnpm run build:packages", - "build:check": "pnpm run format:check && pnpm run security:check", + "build:check": "bun run format:check", "build:packages": "bun run build:lang", "build:lang": "bun --filter './packages/lang' build", - "dev": "pnpm --filter showcase dev", - "module:dev": "pnpm --filter @primevue/nuxt-module dev", - "security:check": "pnpm audit --prod --audit-level high", + "dev": "bun --filter showcase dev", "format": "prettier --write \"**/*.{vue,js,mjs,ts,d.ts}\" --cache", "format:check": "prettier --check \"**/*.{vue,js,mjs,ts,d.ts}\"", "lint": "eslint . --cache", "lint:fix": "eslint --fix .", - "test:unit": "pnpm --filter primevue test:unit", + "test:unit": "bun --filter primevue test:unit", "taze": "taze" }, "devDependencies": { @@ -39,13 +37,20 @@ "eslint": "^9.10.0", "eslint-plugin-unused-imports": "^4.1.4", "eslint-plugin-vue": "^9.28.0", - "pnpm": "^9.10.0", + "fs-extra": "^11.2.0", "prettier": "^3.3.3", "taze": "^0.16.9", "typescript": "^5.6.2" }, - "publishConfig": { - "access": "public" + "author": "Qwlabs", + "homepage": "https://github.com/qwlabs/dorami", + "repository": { + "type": "git", + "url": "git+https://github.com/qwlabs/dorami.git" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/qwlabs/dorami/issues" }, "engines": { "node": ">=20.17.0", diff --git a/packages/lang/README.md b/packages/lang/README.md index e69de29..f7942a7 100644 --- a/packages/lang/README.md +++ b/packages/lang/README.md @@ -0,0 +1 @@ +- TODO diff --git a/packages/lang/package.json b/packages/lang/package.json index 75e6758..698e531 100644 --- a/packages/lang/package.json +++ b/packages/lang/package.json @@ -1,5 +1,5 @@ { - "name": "@mesh/lang", + "name": "@dorami/lang", "version": "0.0.0", "main": "./src/index.ts", "module": "./src/index.ts", @@ -28,10 +28,18 @@ "devDependencies": { "tsup": "^8.2.4" }, - "repository": {}, - "bugs": {}, + "author": "Qwlabs", + "homepage": "https://github.com/qwlabs/dorami", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/qwlabs/dorami.git" + }, + "bugs": { + "url": "https://github.com/qwlabs/dorami/issues" + }, "engines": { "node": ">=20.17.0", "bun": ">=1" } -} \ No newline at end of file +} diff --git a/packages/lang/scripts/postbuild.ts b/packages/lang/scripts/postbuild.ts index b935b82..3ce9d3f 100644 --- a/packages/lang/scripts/postbuild.ts +++ b/packages/lang/scripts/postbuild.ts @@ -1,5 +1,5 @@ -import path from 'node:path'; -import fs from 'fs-extra'; +import * as path from 'node:path'; +import * as fs from 'fs-extra'; import { clearPackageJson, resolvePath } from '../../../scripts/build-helper'; const { __dirname, __workspace, OUTPUT_DIR } = resolvePath(import.meta.url); diff --git a/packages/lang/scripts/prebuild.ts b/packages/lang/scripts/prebuild.ts index 06c3d2e..c74f4b3 100644 --- a/packages/lang/scripts/prebuild.ts +++ b/packages/lang/scripts/prebuild.ts @@ -1,4 +1,4 @@ -import path from 'node:path'; +import * as path from 'node:path'; import { removeBuild, resolvePath, updatePackageJson } from '../../../scripts/build-helper'; removeBuild(import.meta.url);