discourse/app/assets/javascripts/truth-helpers/package.json
David Taylor 80b9c280ba
DEV: Switch to pnpm for JS dependencies (#28671)
This will bring significant improvements to install speed & storage requirements. For information on how it may affect you, see https://meta.discourse.org/t/324521

This commit:
- removes the `yarn.lock` and replaces with `pnpm-lock.yaml`
- updates workspaces to pnpm format
- adjusts package dependencies to work with pnpm's stricter resolution strategy
- updates Rails app to load modules from more specific node_modules directories
- adds a `.pnpmfile` which automatically cleans up old yarn-managed `node_modules` directories
- updates various scripts to call `pnpm` instead of `yarn`
- updates patches to use pnpm's native patch system instead of patch-package
- adds a patch for licensee to support pnpm
2024-09-03 10:51:07 +01:00

51 lines
1.2 KiB
JSON

{
"name": "truth-helpers",
"version": "1.0.0",
"private": true,
"description": "Partial copy of ember truth helpers",
"author": "Discourse",
"license": "GPL-2.0-only",
"keywords": [
"ember-addon"
],
"exports": {
".": "./src/index.js",
"./*": "./src/*.js",
"./addon-main.js": "./addon-main.cjs"
},
"files": [
"addon-main.cjs",
"src"
],
"dependencies": {
"@embroider/addon-shim": "^1.8.9",
"ember-auto-import": "^2.7.4"
},
"engines": {
"node": ">= 18",
"npm": "please-use-pnpm",
"yarn": "please-use-pnpm",
"pnpm": ">= 9"
},
"ember": {
"edition": "octane"
},
"ember-addon": {
"version": 2,
"type": "addon",
"main": "addon-main.cjs",
"app-js": {
"./helpers/and.js": "./app/helpers/and.js",
"./helpers/eq.js": "./app/helpers/eq.js",
"./helpers/gt.js": "./app/helpers/gt.js",
"./helpers/gte.js": "./app/helpers/gte.js",
"./helpers/includes.js": "./app/helpers/includes.js",
"./helpers/lt.js": "./app/helpers/lt.js",
"./helpers/lte.js": "./app/helpers/lte.js",
"./helpers/not-eq.js": "./app/helpers/not-eq.js",
"./helpers/not.js": "./app/helpers/not.js",
"./helpers/or.js": "./app/helpers/or.js"
}
}
}