mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 17:14:50 +00:00
* begin project disclosures * new project settings header * begin disclosure settings, edit content rules * togglecards * update phrasing of the rules, prepr * more disclosure settings structuring * add functionality toggle * implement functionality with staging api * improve project settings head titles * feat(labrinth): project disclosures model * feat(labrinth): project disclosures database model * feat(labrinth): project disclosures get endpoint * feat(labrinth): censor user ids if set by moderator * feat(labrinth): wrap disclosures in struct * feat(labrinth): edit project disclosures endpoint * style(labrinth): cargo fmt * style(labrinth): fix typo * feat(labrinth): add fields for ai content disclosure * fix(labrinth): field typo * chore(labrinth): update query cache * feat(labrinth): index disclosures in search * refactor(labrinth): use enum instead of bools * feat(labrinth): trigger incremental index on disclosure change * feat(labrinth): change archived status to disclosure * feat(labrinth): use disclosure for archival status * fix(labrinth): error type for deserialization * fix(labrinth): migration timestamp * fix(labrinth): add disclosures to elasticsearch schema * disclosures in search * update photosensitivity warning copy * update archiving, move general project settings to v3 (start redesign there), use project id lookups for stable cache keys, advanced in server search * blue archive banner * display AI use types * improve labels * add modrinth to link * add placeholder missing disclosure report type * add AI metadata checking to block image uploads with notice * update copy * update section 4 of rules * Update rule 6 layout * fix(labrinth): don't remove archival disclosure when changing status via v3 api * feat(labrinth): derive str for ai usages and telemtry consent * feat(labrinth): include ai usages and telemetry consent in disclosure types * Update moderation checklist (#7056) * fix: missing delphi severity (#7054) * Utils nav, new disclosures stage, ai button in rules * add prefix to collect * Finish up new disclosures stage * update r4 messages * new r4 msg, update showcase clarity message * fix: version upload failing to detect mrpack loader (#7063) * fix: mrpack exporting with zip64 (#7064) * fix: action bar max width (#7048) * fix: action bar max width * fix: width * changelog * Rule placeholders with subsections & anchors, update messages. * update new messages to account for new rule and placeholder layout * Add nag for content disclosures --------- Co-authored-by: ThatGravyBoat <gravy@thatgravyboat.tech> Co-authored-by: chyzman <chyzalt@gmail.com> Co-authored-by: Truman Gao <106889354+tdgao@users.noreply.github.com> Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com> * prepr * refactor(labrinth): move disclosure parsing to document creation * fix(labrinth): prevent removing moderator added archival disclosures * fix(labrinth): dedupe ai usages * fix(labrinth): auth logic on archived disclosure removal * feat(labrinth): add interactions field * style(labrinth): cargo fmt * feat(labrinth): granular disclosure locking * add 5.8, move 5.9, update messages and placeholders accordingly. * move disclosures stage earlier * include consent model info in telemetry disclosure msgs * prepr + update date * typo * qa pass * search suboptions * add empty state * checkboxes in column * persistent advanced filters * blog draft * prepr * support soft deletion * reload instead of optimistically updating * update blog * TOS update + minor verbiage adjustment * 45 day grace --------- Co-authored-by: sychic <47618543+Sychic@users.noreply.github.com> Co-authored-by: coolbot <76798835+coolbot100s@users.noreply.github.com> Co-authored-by: ThatGravyBoat <gravy@thatgravyboat.tech> Co-authored-by: chyzman <chyzalt@gmail.com> Co-authored-by: Truman Gao <106889354+tdgao@users.noreply.github.com>
88 lines
2.8 KiB
JSON
88 lines
2.8 KiB
JSON
{
|
|
"name": "@modrinth/frontend",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "NODE_OPTIONS=\"--max-old-space-size=8192\" nuxi build",
|
|
"dev": "nuxi dev",
|
|
"generate": "nuxi generate",
|
|
"preview": "nuxi preview",
|
|
"postinstall": "nuxi prepare",
|
|
"lint": "eslint . && prettier --check .",
|
|
"fix": "eslint . --fix && prettier --write .",
|
|
"intl:extract": "formatjs extract \"src/{components,composables,layouts,middleware,modules,pages,plugins,utils}/**/*.{vue,ts,tsx,js,jsx,mts,cts,mjs,cjs}\" \"src/error.vue\" --ignore \"**/*.d.ts\" --ignore node_modules --out-file src/locales/en-US/index.json --format crowdin --preserve-whitespace",
|
|
"intl:prune-local": "pnpm -w scripts i18n-icu-contract prune-local --scope apps/frontend",
|
|
"cf-deploy": "pnpm run build && wrangler deploy --env staging",
|
|
"cf-dev": "pnpm run build && wrangler dev --env staging",
|
|
"cf-typegen": "wrangler types"
|
|
},
|
|
"devDependencies": {
|
|
"@formatjs/cli": "^6.2.12",
|
|
"@modrinth/tooling-config": "workspace:*",
|
|
"@types/dompurify": "^3.0.5",
|
|
"@types/iso-3166-2": "^1.0.4",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^24",
|
|
"@types/semver": "^7.7.1",
|
|
"autoprefixer": "^10.4.19",
|
|
"glob": "^10.2.7",
|
|
"nuxt": "=3.20.2",
|
|
"postcss": "^8.4.39",
|
|
"prettier-plugin-tailwindcss": "^0.6.5",
|
|
"sass": "^1.58.0",
|
|
"tailwindcss": "^3.4.4",
|
|
"typescript": "^5.4.5",
|
|
"vite-svg-loader": "^5.1.0",
|
|
"vue-component-type-helpers": "^3.1.8",
|
|
"vue-tsc": "^2.0.24",
|
|
"wrangler": "^4.115.0"
|
|
},
|
|
"dependencies": {
|
|
"@contentauth/c2pa-web": "^0.13.1",
|
|
"@formatjs/intl-localematcher": "^0.5.4",
|
|
"@ltd/j-toml": "^1.38.0",
|
|
"@modrinth/api-client": "workspace:*",
|
|
"@modrinth/assets": "workspace:*",
|
|
"@modrinth/blog": "workspace:*",
|
|
"@modrinth/moderation": "workspace:*",
|
|
"@modrinth/ui": "workspace:*",
|
|
"@modrinth/utils": "workspace:*",
|
|
"@sentry/nuxt": "^10.33.0",
|
|
"@tanstack/vue-query": "5.90.7",
|
|
"@types/three": "^0.172.0",
|
|
"@vitejs/plugin-vue": "^6.0.3",
|
|
"@vue-email/components": "^0.0.21",
|
|
"@vue-email/render": "^0.0.9",
|
|
"@vueuse/core": "^11.1.0",
|
|
"@zip.js/zip.js": "^2.8.34",
|
|
"ace-builds": "^1.36.2",
|
|
"ansi-to-html": "^0.7.2",
|
|
"chart.js": "^4.5.1",
|
|
"dayjs": "^1.11.7",
|
|
"dompurify": "^3.1.7",
|
|
"floating-vue": "^5.2.2",
|
|
"fuse.js": "^6.6.2",
|
|
"highlight.js": "^11.7.0",
|
|
"intl-messageformat": "^10.7.7",
|
|
"iso-3166-2": "1.0.0",
|
|
"jose": "^6.2.2",
|
|
"js-yaml": "^4.1.0",
|
|
"jszip": "^3.10.1",
|
|
"lru-cache": "^11.2.4",
|
|
"markdown-it": "14.1.0",
|
|
"pathe": "^1.1.2",
|
|
"prettier": "^3.6.2",
|
|
"qrcode.vue": "^3.4.0",
|
|
"semver": "^7.5.4",
|
|
"three": "^0.172.0",
|
|
"vue-confetti-explosion": "^1.0.2",
|
|
"vue-router": "*",
|
|
"vue-typed-virtual-list": "^1.0.10",
|
|
"vue3-ace-editor": "^2.2.4",
|
|
"vue3-apexcharts": "^1.5.2",
|
|
"xss": "^1.0.14"
|
|
},
|
|
"web-types": "../../web-types.json",
|
|
"prettier": "@modrinth/tooling-config/frontend.prettier.config.cjs"
|
|
}
|