mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 01:10:43 +08:00
We've been using basic type-checking via JSDoc for some time. This commit allows us to author proper `.ts`/`.gts` files, and use the full typescript syntax. Initially, only d-button and a single chat file are migrated, as proof of functionality. In future, we may migrate more files, and consider making our tsconfig more strict.
49 lines
1.4 KiB
JSON
Vendored
49 lines
1.4 KiB
JSON
Vendored
{
|
|
"name": "asset-processor",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Uses rolldown to create a 'asset processor' bundle for loading into mini-racer",
|
|
"author": "Discourse",
|
|
"license": "GPL-2.0-only",
|
|
"keywords": [],
|
|
"scripts": {
|
|
"test": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.29.7",
|
|
"@babel/plugin-transform-typescript": "^7.29.7",
|
|
"@babel/preset-env": "^7.29.2",
|
|
"@babel/standalone": "^7.29.7",
|
|
"@csstools/postcss-light-dark-function": "^3.0.1",
|
|
"@rollup/browser": "^4.62.0",
|
|
"@rollup/plugin-babel": "^7.0.0",
|
|
"autoprefixer": "^10.5.0",
|
|
"babel-plugin-ember-template-compilation": "^4.0.0",
|
|
"content-tag": "^4.0.0",
|
|
"core-js": "^3.49.0",
|
|
"decorator-transforms": "^2.3.2",
|
|
"discourse": "workspace:0.0.0",
|
|
"ember-cli-htmlbars": "^7.0.1",
|
|
"ember-source": "~6.10.0",
|
|
"ember-this-fallback": "^0.4.0",
|
|
"fastestsmallesttextencoderdecoder": "^1.0.22",
|
|
"magic-string": "^0.30.21",
|
|
"path-browserify": "^1.0.1",
|
|
"polyfill-crypto.getrandomvalues": "^1.0.0",
|
|
"postcss": "^8.5.15",
|
|
"postcss-nesting": "^14.0.0",
|
|
"rolldown": "1.1.2",
|
|
"source-map-js": "^1.2.1",
|
|
"strip-test-selectors": "^0.1.0",
|
|
"terser": "^5.47.1"
|
|
},
|
|
"engines": {
|
|
"node": ">= 20",
|
|
"npm": "please-use-pnpm",
|
|
"yarn": "please-use-pnpm",
|
|
"pnpm": "^10"
|
|
},
|
|
"devDependencies": {
|
|
"vitest": "^4.1.9"
|
|
}
|
|
}
|