refactor: rename package scope from @sexy.pivoine.art to @sexy
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@sexy.pivoine.art/backend",
|
||||
"name": "@sexy/backend",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
@@ -20,8 +20,8 @@
|
||||
"@fastify/static": "^8.1.1",
|
||||
"@pothos/core": "^4.4.0",
|
||||
"@pothos/plugin-errors": "^4.2.0",
|
||||
"@sexy.pivoine.art/email": "workspace:*",
|
||||
"@sexy.pivoine.art/types": "workspace:*",
|
||||
"@sexy/email": "workspace:*",
|
||||
"@sexy/types": "workspace:*",
|
||||
"argon2": "^0.43.0",
|
||||
"bullmq": "^5.70.4",
|
||||
"drizzle-orm": "^0.44.1",
|
||||
|
||||
@@ -22,7 +22,7 @@ import type {
|
||||
RecentPoint,
|
||||
UserGamification,
|
||||
Achievement,
|
||||
} from "@sexy.pivoine.art/types";
|
||||
} from "@sexy/types";
|
||||
|
||||
type AdminUserDetail = User & { photos: ModelPhoto[] };
|
||||
import { builder } from "../builder";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import nodemailer from "nodemailer";
|
||||
import { renderVerification, renderPasswordReset } from "@sexy.pivoine.art/email";
|
||||
import { renderVerification, renderPasswordReset } from "@sexy/email";
|
||||
import { mailQueue } from "../queues/index.js";
|
||||
|
||||
const transporter = nodemailer.createTransport({
|
||||
@@ -14,7 +14,7 @@ const transporter = nodemailer.createTransport({
|
||||
: undefined,
|
||||
});
|
||||
|
||||
const FROM = process.env.EMAIL_FROM || "noreply@sexy.pivoine.art";
|
||||
const FROM = process.env.EMAIL_FROM || "noreply@sexy";
|
||||
|
||||
export async function sendVerification(email: string, token: string): Promise<void> {
|
||||
const { subject, html } = await renderVerification({ token });
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@sexy.pivoine.art/buttplug",
|
||||
"name": "@sexy/buttplug",
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@sexy.pivoine.art/email",
|
||||
"name": "@sexy/email",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"main": "./dist/index.js",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@sexy.pivoine.art/frontend",
|
||||
"name": "@sexy/frontend",
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
@@ -11,7 +11,7 @@
|
||||
"check": "svelte-check --tsconfig ./tsconfig.json --threshold warning"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sexy.pivoine.art/buttplug": "workspace:*",
|
||||
"@sexy/buttplug": "workspace:*",
|
||||
"@iconify-json/ri": "^1.2.10",
|
||||
"@iconify/tailwind4": "^1.2.1",
|
||||
"@internationalized/date": "^3.12.0",
|
||||
@@ -40,7 +40,7 @@
|
||||
"vite": "^7.3.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@sexy.pivoine.art/types": "workspace:*",
|
||||
"@sexy/types": "workspace:*",
|
||||
"graphql": "^16.11.0",
|
||||
"graphql-request": "^7.1.2",
|
||||
"javascript-time-ago": "^2.6.4",
|
||||
|
||||
@@ -27,10 +27,10 @@ export type {
|
||||
RecentPoint,
|
||||
UserGamification,
|
||||
Achievement,
|
||||
} from "@sexy.pivoine.art/types";
|
||||
} from "@sexy/types";
|
||||
|
||||
import type { CurrentUser } from "@sexy.pivoine.art/types";
|
||||
import type { ButtplugClientDevice } from "@sexy.pivoine.art/buttplug";
|
||||
import type { CurrentUser } from "@sexy/types";
|
||||
import type { ButtplugClientDevice } from "@sexy/buttplug";
|
||||
|
||||
// ─── Frontend-only types ─────────────────────────────────────────────────────
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { _ } from "svelte-i18n";
|
||||
import Meta from "$lib/components/meta/meta.svelte";
|
||||
import type * as ButtplugTypes from "@sexy.pivoine.art/buttplug";
|
||||
import type * as ButtplugTypes from "@sexy/buttplug";
|
||||
import Button from "$lib/components/ui/button/button.svelte";
|
||||
import { onMount } from "svelte";
|
||||
import DeviceCard from "$lib/components/device-card/device-card.svelte";
|
||||
|
||||
@@ -10,7 +10,7 @@ export default defineConfig({
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
external: ["@sexy.pivoine.art/buttplug"],
|
||||
external: ["@sexy/buttplug"],
|
||||
},
|
||||
},
|
||||
server: {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@sexy.pivoine.art/types",
|
||||
"name": "@sexy/types",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"types": "./src/index.ts",
|
||||
|
||||
Reference in New Issue
Block a user