Files
forum/package.json
zeekayandHanzo Dev d1a4ed1411 Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, so
@glint/core cannot read it. It comes in aliased as tsgo and does the
typechecking; typescript stays on the 6 line for glint.

jsconfig.json is the only program here — it has no .ts files, and jsconfig
implies checkJs, so the check runs over the .js and .gjs the paths map. 172
diagnostics, the same set on 6.0.3 and on 7.0.2.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-17 10:25:14 -07:00

72 lines
3.7 KiB
JSON

{
"name": "discourse",
"private": true,
"repository": "https://github.com/discourse/discourse",
"author": "Discourse",
"license": "GPL-2.0-only",
"devDependencies": {
"@babel/plugin-proposal-decorators": "catalog:",
"@discourse/lint-configs": "catalog:",
"@discourse/moment-timezone-names-translations": "catalog:",
"@fortawesome/fontawesome-free": "catalog:",
"@glint/core": "catalog:",
"@glint/environment-ember-loose": "catalog:",
"@glint/environment-ember-template-imports": "catalog:",
"@glint/template": "catalog:",
"@mixer/parallel-prettier": "catalog:",
"@swc/core": "catalog:",
"chart.js": "catalog:",
"chartjs-plugin-datalabels": "catalog:",
"chrome-launcher": "catalog:",
"chrome-remote-interface": "catalog:",
"concurrently": "catalog:",
"ember-template-lint": "catalog:",
"esbuild": "catalog:",
"eslint": "catalog:",
"jsdoc": "catalog:",
"lefthook": "catalog:",
"licensee": "catalog:",
"lint-to-the-future": "catalog:",
"lint-to-the-future-ember-template": "catalog:",
"lint-to-the-future-eslint": "catalog:",
"magnific-popup": "catalog:",
"moment": "catalog:",
"moment-timezone": "catalog:",
"pikaday": "catalog:",
"prettier": "catalog:",
"puppeteer-core": "catalog:",
"squoosh": "catalog:",
"stylelint": "catalog:",
"stylelint-config-standard": "catalog:",
"stylelint-config-standard-scss": "catalog:",
"terser": "catalog:",
"tsgo": "npm:[email protected]",
"typescript": "catalog:"
},
"scripts": {
"dev": "concurrently \"bin/ember-cli server --environment=development\" \"RAILS_ENV=development bin/rails server\"",
"lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
"lint:css": "pnpm stylelint 'app/assets/stylesheets/**/*.scss' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss')",
"lint:css:fix": "pnpm stylelint --fix 'app/assets/stylesheets/**/*.scss' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss')",
"lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
"lint:js": "eslint ./app/assets/javascripts $(script/list_bundled_plugins) --cache --no-error-on-unmatched-pattern",
"lint:js:fix": "eslint --fix ./app/assets/javascripts $(script/list_bundled_plugins) --no-error-on-unmatched-pattern",
"lint:hbs": "ember-template-lint 'app/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/admin/assets/javascripts/**/*.{gjs,hbs}'",
"lint:hbs:fix": "ember-template-lint 'app/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/admin/assets/javascripts/**/*.{gjs,hbs}' --fix",
"lint:prettier": "pnpm pprettier --list-different 'app/assets/stylesheets/**/*.scss' 'app/assets/javascripts/**/*.{js,gjs,hbs,css}' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss') $(script/list_bundled_plugins '/{assets,admin/assets,test}/javascripts/**/*.{js,gjs,hbs}')",
"lint:prettier:fix": "pnpm prettier -w 'app/assets/stylesheets/**/*.scss' 'app/assets/javascripts/**/*.{js,gjs,hbs,css}' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss') $(script/list_bundled_plugins '/{assets,admin/assets,test}/javascripts/**/*.{js,gjs,hbs}')",
"lttf:ignore": "lint-to-the-future ignore",
"lttf:output": "lint-to-the-future output -o ./lint-progress/",
"lint-progress": "pnpm lttf:output && npx html-pages ./lint-progress --no-cache",
"typecheck": "node_modules/tsgo/bin/tsc --noEmit --incremental false -p jsconfig.json",
"ember": "pnpm --dir=app/assets/javascripts/discourse ember"
},
"engines": {
"node": ">= 18",
"npm": "please-use-pnpm",
"yarn": "please-use-pnpm",
"pnpm": "^9"
},
"packageManager": "[email protected]"
}