mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 09:33:37 +08:00
6107ba89b5
For people with corepack enabled, this causes problems when trying to `yarn install` in plugin directories. Perhaps that can be improved in future by adding `packageManager` config in each plugin's own `package.json`, but that won't happen overnight. Removing the config for now to stop the bleeding.
92 lines
4.0 KiB
JSON
92 lines
4.0 KiB
JSON
{
|
|
"name": "discourse",
|
|
"private": true,
|
|
"repository": "https://github.com/discourse/discourse",
|
|
"author": "Discourse",
|
|
"license": "GPL-2.0-only",
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-decorators": "^7.24.7",
|
|
"@discourse/lint-configs": "^1.3.10",
|
|
"@discourse/moment-timezone-names-translations": "^1.0.0",
|
|
"@fortawesome/fontawesome-free": "6.6.0",
|
|
"@glint/core": "^1.4.1-unstable.01b8deb",
|
|
"@glint/environment-ember-loose": "^1.4.1-unstable.01b8deb",
|
|
"@glint/environment-ember-template-imports": "^1.4.1-unstable.01b8deb",
|
|
"@glint/template": "^1.4.1-unstable.01b8deb",
|
|
"@mixer/parallel-prettier": "^2.0.3",
|
|
"@swc/core": "^1.7.26",
|
|
"chart.js": "3.5.1",
|
|
"chartjs-plugin-datalabels": "2.2.0",
|
|
"chrome-launcher": "^1.1.2",
|
|
"chrome-remote-interface": "^0.33.2",
|
|
"concurrently": "^9.0.0",
|
|
"ember-template-lint": "^6.0.0",
|
|
"esbuild": "^0.23.1",
|
|
"eslint": "^8.57.0",
|
|
"jsdoc": "^4.0.0",
|
|
"lefthook": "^1.7.15",
|
|
"licensee": "^11.1.0",
|
|
"lint-to-the-future": "^2.0.0",
|
|
"lint-to-the-future-ember-template": "^1.1.1",
|
|
"lint-to-the-future-eslint": "^2.0.1",
|
|
"magnific-popup": "1.1.0",
|
|
"moment": "2.30.1",
|
|
"moment-timezone": "0.5.45",
|
|
"pikaday": "1.8.2",
|
|
"prettier": "^2.8.8",
|
|
"puppeteer-core": "^23.3.0",
|
|
"squoosh": "https://codeload.github.com/discourse/squoosh/tar.gz/dc9649d",
|
|
"terser": "^5.32.0",
|
|
"typescript": "^5.6.2"
|
|
},
|
|
"scripts": {
|
|
"dev": "concurrently \"bin/ember-cli server --environment=development\" \"RAILS_ENV=development bin/rails server\"",
|
|
"lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
|
|
"lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
|
|
"lint:js": "eslint ./app/assets/javascripts --cache",
|
|
"lint:js-plugins": "eslint ./plugins --cache",
|
|
"lint:js:fix": "eslint --fix ./app/assets/javascripts",
|
|
"lint:js-plugins:fix": "eslint --fix ./plugins",
|
|
"lint:hbs": "ember-template-lint 'app/assets/javascripts/**/*.{gjs,hbs}' 'plugins/**/assets/javascripts/**/*.{gjs,hbs}' --no-error-on-unmatched-pattern",
|
|
"lint:hbs:fix": "ember-template-lint 'app/assets/javascripts/**/*.{gjs,hbs}' 'plugins/**/assets/javascripts/**/*.{gjs,hbs}' --no-error-on-unmatched-pattern --fix",
|
|
"lint:prettier": "pnpm pprettier --list-different 'app/assets/stylesheets/**/*.scss' 'app/assets/javascripts/**/*.{js,gjs,hbs}' 'plugins/**/assets/stylesheets/**/*.scss' 'plugins/**/assets/javascripts/**/*.{js,gjs,hbs}'",
|
|
"lint:prettier:fix": "pnpm prettier -w 'app/assets/stylesheets/**/*.scss' 'app/assets/javascripts/**/*.{js,gjs,hbs}' 'plugins/**/assets/stylesheets/**/*.scss' 'plugins/**/assets/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",
|
|
"ember": "pnpm --dir=app/assets/javascripts/discourse ember"
|
|
},
|
|
"engines": {
|
|
"node": ">= 18",
|
|
"npm": "please-use-pnpm",
|
|
"yarn": "please-use-pnpm",
|
|
"pnpm": ">= 9"
|
|
},
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"ember-this-fallback@0.4.0": "patches/ember-this-fallback@0.4.0.patch",
|
|
"babel-plugin-debug-macros@0.3.4": "patches/babel-plugin-debug-macros@0.3.4.patch",
|
|
"content-tag@2.0.1": "patches/content-tag@2.0.1.patch",
|
|
"decorator-transforms@2.0.0": "patches/decorator-transforms@2.0.0.patch",
|
|
"virtual-dom@2.1.1": "patches/virtual-dom@2.1.1.patch",
|
|
"licensee@11.1.0": "patches/licensee@11.1.0.patch"
|
|
},
|
|
"peerDependencyRules": {
|
|
"allowedVersions": {
|
|
"@discourse/lint-configs>eslint": "*",
|
|
"@discourse/lint-configs>prettier": "*",
|
|
"lint-to-the-future-eslint>eslint": "*",
|
|
"@mixer/parallel-prettier>prettier": "*",
|
|
"lint-to-the-future-ember-template>ember-template-lint": "*",
|
|
"ember-this-fallback>ember-source": "*"
|
|
},
|
|
"allowAny": [
|
|
"@uppy/*"
|
|
],
|
|
"ignoreMissing": [
|
|
"webpack"
|
|
]
|
|
}
|
|
}
|
|
}
|