all the changes (#30594)

This commit is contained in:
Angel Garbarino 2025-05-13 16:44:44 -06:00 committed by GitHub
parent 1face9d8cf
commit 2be17aa3ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 462 additions and 692 deletions

View File

@ -7,7 +7,7 @@
// defining config here rather than in package.json to run tsc on all .ts files, not just the staged changes
// this is accomplished by using function syntax rather than string
module.exports = {
export default {
'*.{js,ts}': ['prettier --config .prettierrc.js --write', 'eslint --quiet', () => 'tsc --noEmit'],
'*.hbs': ['prettier --config .prettierrc.js --write', 'ember-template-lint --quiet'],
'*.scss': ['prettier --write'],

View File

@ -128,7 +128,7 @@
"ember-style-modifier": "~4.4.0",
"ember-template-lint": "~6.1.0",
"ember-template-lint-plugin-prettier": "~5.0.0",
"ember-test-selectors": "6.0.0",
"ember-test-selectors": "7.1.0",
"ember-tether": "3.0.0",
"ember-truth-helpers": "4.0.3",
"escape-string-regexp": "~2.0.0",
@ -140,32 +140,29 @@
"eslint-plugin-prettier": "~5.2.6",
"eslint-plugin-qunit": "~8.1.2",
"filesize": "~4.2.1",
"flat": "~6.0.1",
"jsdoc-babel": "~0.5.0",
"jsdoc-to-markdown": "~8.0.3",
"jsondiffpatch": "~0.4.1",
"jsonlint": "~1.6.3",
"lint-staged": "~10.5.4",
"lint-staged": "~16.0.0",
"loader.js": "~4.7.0",
"miragejs": "~0.1.48",
"normalize.css": "4.1.1",
"pkijs": "~2.4.0",
"prettier": "3.0.3",
"prettier-eslint-cli": "~7.1.0",
"pvutils": "~1.1.3",
"qunit": "~2.24.1",
"qunit-dom": "~2.0.0",
"sass": "~1.86.3",
"qunit-dom": "~3.4.0",
"sass": "~1.88.0",
"shell-quote": "~1.8.2",
"sinon": "~17.0.1",
"stylelint": "~15.11.0",
"stylelint-config-standard": "~34.0.0",
"stylelint-prettier": "~4.1.0",
"sinon": "~20.0.0",
"stylelint": "~16.19.1",
"stylelint-config-standard": "~38.0.0",
"stylelint-prettier": "~5.0.3",
"swagger-ui-dist": "~5.21.0",
"text-encoder-lite": "2.0.0",
"tracked-built-ins": "~3.4.0",
"typescript": "~5.8.3",
"walk-sync": "~2.2.0",
"webpack": "5.94.0"
},
"resolutions": {
@ -222,7 +219,7 @@
"@hashicorp/vault-client-typescript": "portal:./api-client",
"@hashicorp/vault-reporting": "portal:./vault-reporting",
"ember-auto-import": "2.10.0",
"handlebars": "4.7.7",
"handlebars": "4.7.8",
"highlight.js": "10.7.3",
"node-notifier": "8.0.2",
"uuid": "9.0.1"

View File

@ -1,22 +0,0 @@
#!/usr/bin/env node
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
/* eslint-disable */
// We need an array in this format for all of the files
//https://github.com/ember-template-lint/ember-cli-template-lint/blob/1bc03444ecf367473108cb28208cb3123199f950/.template-lintrc.js#L9
var walkSync = require('walk-sync');
var templates = walkSync('app', { globs: ['**/*.hbs'] });
templates = templates.map((path) => {
// we want the relative path w/o the extension:
// 'app/templates/path/to/file/filename'
return `app/${path.replace(/\.hbs$/, '')}`;
});
// stringify because if we don't console won't output the full list lol
console.log(JSON.stringify(templates, null, 2));

View File

@ -11,7 +11,6 @@ import hbs from 'htmlbars-inline-precompile';
import { setupEngine } from 'ember-engines/test-support';
import Service from '@ember/service';
import sinon from 'sinon';
import { Promise } from 'rsvp';
import { create } from 'ember-cli-page-object';
import ss from 'vault/tests/pages/components/search-select';
import { setRunOptions } from 'ember-a11y-testing/test-support';
@ -41,7 +40,7 @@ module('Integration | Component | path filter config list', function (hooks) {
hooks.beforeEach(function () {
this.context = { owner: this.engine }; // this.engine set by setupEngine
const ajaxStub = sinon.stub().usingPromise(Promise);
const ajaxStub = sinon.stub();
ajaxStub.withArgs('/v1/sys/internal/ui/mounts', 'GET').resolves(MOUNTS_RESPONSE);
ajaxStub
.withArgs('/v1/sys/internal/ui/mounts', 'GET', { namespace: 'ns1' })

File diff suppressed because it is too large Load Diff