include moderation pkg in frontend locales (#4169)

* include moderation pkg in frontend locales

* Fix moderation lib path

* remove prints

* feat: move moderation package into src folder

* fix: lint

---------

Co-authored-by: IMB11 <calum@modrinth.com>
Co-authored-by: Cal H. <hendersoncal117@gmail.com>
This commit is contained in:
Prospector
2025-08-14 08:56:51 -07:00
committed by GitHub
parent 0bc6502443
commit 82697278dc
113 changed files with 29 additions and 24 deletions

View File

@@ -2,12 +2,11 @@
"name": "@modrinth/moderation",
"version": "0.0.0",
"private": true,
"main": "./index.ts",
"types": "./index.d.ts",
"main": "./src/index.ts",
"scripts": {
"lint": "eslint . && prettier --check .",
"fix": "eslint . --fix && prettier --write . && pnpm run intl:extract",
"intl:extract": "formatjs extract \"**/*.{vue,ts,tsx,js,jsx,mts,cts,mjs,cjs}\" --ignore \"**/*.d.ts\" --ignore \"node_modules/**/*\" --out-file locales/en-US/index.json --preserve-whitespace"
"intl:extract": "formatjs extract \"**/*.{vue,ts,tsx,js,jsx,mts,cts,mjs,cjs}\" --ignore \"**/*.d.ts\" --ignore \"node_modules/**/*\" --out-file src/locales/en-US/index.json --preserve-whitespace"
},
"dependencies": {
"@modrinth/assets": "workspace:*",

Some files were not shown because too many files have changed in this diff Show More