* chore: 🤖 remove packageManager field from package.json
* chore: 🤖 migrate yarn resolutions to pnpm overrides
* chore: 🤖 generate pnpm-lock.yml by using: pnpm import yarn.lock
* chore: 🤖 remove yarn.lock file
* chore: 🤖 migrate workspace configuration
* chore: 🤖 remove .yarn and .yarnrc.yml config
* chore: 🤖 update .copyright.hcl to ignore root pnpm files
* chore: 🤖 migrate husky pre-commit hook from yarn to pnpm
* chore: 🤖 migrate package.json scripts from yarn to pnpm
* chore: 🤖 update rose package.json & build to use explicit deps
* chore: 🤖 remove unused cp metadata.json command in pjson script
The cp metadata.json to dist was added in:
d19a251
The addons/rose/metadata.json no longer exists so it can't be copied
* chore: 🤖 migrate electron-app package.json scripts to pnpm
* chore: 🤖 create pnpm workspace for electron-app w/ hoisted deps
* chore: 🤖 migrate electron-app yarn lockfile to pnpm lockfile
Used "pnpm import yarn.lock"
* chore: 🤖 migrate electron-app overrides
node-gyp isn't needed since the fork is used via @electron/node-gyp
see: https://github.com/electron/node-gyp?tab=readme-ov-file#node-gyp---nodejs-native-addon-build-tool
* chore: 🤖 add trusted deps to be built to onlyBuiltDependencies
This is a pnpm feature that increases security. By defining these
dependencies they are being trusted to allow install hooks,
including postinstall. See:
https://pnpm.io/settings#onlybuiltdependencies
* chore: 🤖 add electron-app pnpm files to copyright header ignore
* chore: 🤖 remove yarn references from .*ignore files
* chore: 🤖 migrate --yarn to --pnpm for ember-cli-update.json
This isn't clearly documented but something that is supported
and can be found in other ember apps:
https://github.com/search?q=--pnpm+ember-cli-update.json&type=code
* chore: 🤖 migrate ci and related scripts to use pnpm
The cache is migrated to use the cache supported by
actions/setup-node@v4, an action we are already using. This is the
recommended way by pnpm:
https://pnpm.io/continuous-integration#github-actions
This commit also ensures that all github actions are using
consistent versions of actions/setup-node and pnpm/action-setup
* docs: ✏️ update documentation to use pnpm instead of yarn
* chore: 🤖 use explicit asciinema-player dependency
Because we override styles on asciinema-player we depend on their
styles. What might be a minor non-breaking change in their version could
(and did) break our style expectations in our overrides.
* chore: 🤖 run pnpm install and commit lockfile changes
* chore: 🤖 Remove ember-inflector from being overidden
https://github.com/hashicorp/boundary-ui/pull/2828#discussion_r2110380711
* chore: 🤖 remove highlight.js from pnpm overrides
https://github.com/hashicorp/boundary-ui/pull/2828#discussion_r2109847938
* chore: 🤖 remove additional unnecessary files from ignore files
* docs: ✏️ fix pnpm doc links
* chore: 🤖 use corepack to specify packageManager in package.json
* chore: 🤖 let pnpm action in ci use packageManager for version
https://github.com/pnpm/action-setup?tab=readme-ov-file#version
* docs: ✏️ fix broken pnpm website links
129 lines
4.5 KiB
JSON
129 lines
4.5 KiB
JSON
{
|
|
"name": "desktop",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "Client UI for Boundary.",
|
|
"license": "BUSL-1.1",
|
|
"author": "HashiCorp",
|
|
"directories": {
|
|
"doc": "doc",
|
|
"test": "tests"
|
|
},
|
|
"scripts": {
|
|
"doc:toc": "doctoc README.md",
|
|
"build": "pnpm build:production && pnpm build:desktop",
|
|
"build:production": "cross-env EMBER_CLI_ELECTRON=true ember build --environment=production",
|
|
"build:development": "ember build",
|
|
"clean": "shx rm -rf electron-app/ember-dist electron-app/out && shx cp -r dist/ electron-app/ember-dist/",
|
|
"build:desktop": "pnpm clean && pnpm --dir electron-app install && pnpm --dir electron-app make",
|
|
"lint": "concurrently \"pnpm:lint:*(!fix)\" --names \"lint:\"",
|
|
"lint:fix": "concurrently \"pnpm:lint:*:fix\" --names \"fix:\"",
|
|
"lint:hbs": "ember-template-lint .",
|
|
"lint:hbs:fix": "ember-template-lint . --fix",
|
|
"lint:js": "eslint .",
|
|
"lint:js:fix": "eslint . --fix",
|
|
"lint:sass": "stylelint '**/*.scss'",
|
|
"lint:sass:fix": "stylelint '**/*.scss' --fix",
|
|
"format": "concurrently \"npm:format:*\" --names \"format:\"",
|
|
"format:hbs": "prettier --write 'app/**/*.hbs'",
|
|
"format:js": "prettier --write '{app,config,stories,tests,electron-app/src}/**/*.js' *.js",
|
|
"format:sass": "prettier --write app/**/*.scss",
|
|
"start": "ember serve --port 4201",
|
|
"init:desktop": "pnpm --dir electron-app build:all",
|
|
"start:desktop": "pnpm init:desktop && ember electron",
|
|
"clean:coverage": "rm -rf coverage_* || true",
|
|
"test": "pnpm clean:coverage && concurrently \"npm:test:*\" --names \"test:\" && pnpm test:finalize",
|
|
"test:ember": "cross-env COVERAGE=true ember exam --test-port 0 --split=4 --parallel=1 --random",
|
|
"postinstall": "pnpm --dir electron-app install",
|
|
"test:finalize": "ember coverage-merge && pnpm clean:coverage"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "7.12.18",
|
|
"@xterm/addon-canvas": "^0.7.0",
|
|
"@xterm/addon-fit": "^0.10.0",
|
|
"@xterm/xterm": "^5.5.0",
|
|
"ember-named-blocks-polyfill": "^0.2.5",
|
|
"lodash": "^4.17.21",
|
|
"uuid": "^11.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.26.10",
|
|
"@babel/eslint-parser": "^7.25.1",
|
|
"@babel/plugin-proposal-decorators": "^7.24.7",
|
|
"@ember/optional-features": "^2.1.0",
|
|
"@ember/render-modifiers": "^2.0.4",
|
|
"@ember/string": "^4.0.0",
|
|
"@ember/test-helpers": "^5.2.1",
|
|
"@faker-js/faker": "^8.0.2",
|
|
"@glimmer/component": "^1.1.2",
|
|
"@glimmer/tracking": "^1.1.2",
|
|
"@warp-drive/build-config": "^0.0.2",
|
|
"broccoli-asset-rev": "^3.0.0",
|
|
"concurrently": "^9.1.0",
|
|
"core": "workspace:*",
|
|
"cross-env": "^7.0.3",
|
|
"doctoc": "^2.2.0",
|
|
"ember-a11y-testing": "^7.1.2",
|
|
"ember-auto-import": "^2.10.0",
|
|
"ember-cli": "~5.12.0",
|
|
"ember-cli-babel": "^8.2.0",
|
|
"ember-cli-clean-css": "^3.0.0",
|
|
"ember-cli-code-coverage": "^1.0.3",
|
|
"ember-cli-dependency-checker": "^3.3.2",
|
|
"ember-cli-flash": "^4.0.0",
|
|
"ember-cli-htmlbars": "^6.3.0",
|
|
"ember-cli-inject-live-reload": "^2.1.0",
|
|
"ember-cli-sass": "^11.0.1",
|
|
"ember-cli-sri": "^2.1.1",
|
|
"ember-cli-terser": "^4.0.2",
|
|
"ember-concurrency": "^4.0.3",
|
|
"ember-electron": "^6.0.0",
|
|
"ember-exam": "^8.0.0",
|
|
"ember-inline-svg": "^1.0.1",
|
|
"ember-load-initializers": "^2.1.2",
|
|
"ember-modifier": "^4.2.0",
|
|
"ember-page-title": "^8.2.3",
|
|
"ember-qunit": "^8.1.0",
|
|
"ember-resolver": "^12.0.1",
|
|
"ember-source": "~5.12.0",
|
|
"ember-template-lint": "^6.0.0",
|
|
"ember-template-lint-plugin-prettier": "^5.0.0",
|
|
"ember-wormhole": "^0.6.0",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-ember": "^12.2.1",
|
|
"eslint-plugin-n": "^16.6.2",
|
|
"eslint-plugin-qunit": "^8.1.2",
|
|
"js-bexpr": "hashicorp/js-bexpr#9b4a4b54d85eba67fdfc0990133d1518d890b1e1",
|
|
"loader.js": "^4.7.0",
|
|
"postcss": "^8.4.31",
|
|
"prettier": "^3.3.3",
|
|
"qunit": "^2.22.0",
|
|
"qunit-dom": "^3.2.1",
|
|
"rose": "workspace:*",
|
|
"sass": "^1.69.5",
|
|
"shx": "^0.3.4",
|
|
"sinon": "^19.0.2",
|
|
"stylelint": "^15.11.0",
|
|
"stylelint-config-prettier-scss": "^0.0.1",
|
|
"stylelint-config-standard": "^34.0.0",
|
|
"stylelint-config-standard-scss": "^11.0.0",
|
|
"tracked-built-ins": "^3.3.0",
|
|
"webpack": "^5.95.0"
|
|
},
|
|
"engines": {
|
|
"node": "20.* || 22.*"
|
|
},
|
|
"ember": {
|
|
"edition": "octane"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.hbs": "ember-template-lint --fix",
|
|
"*.{scss,yaml}": "prettier --write"
|
|
}
|
|
}
|