ci: attempt to fix a load of broken stuff. Again
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ const unicornPlugin = require('eslint-plugin-unicorn');
|
||||
const grafanaConfig = require('@grafana/eslint-config/flat');
|
||||
const grafanaPlugin = require('@grafana/eslint-plugin');
|
||||
|
||||
const bettererConfig = require('./.betterer.eslint.config.cjs');
|
||||
const bettererConfig = require('./scripts/betterer/.betterer.eslint.config.js');
|
||||
const getEnvConfig = require('./scripts/webpack/env-util.cjs');
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -65,7 +65,7 @@
|
||||
"plugin:build:dev": "nx run-many -t dev --projects='tag:scope:plugin' --maxParallel=100",
|
||||
"generate-icons": "nx run grafana-icons:generate",
|
||||
"process-specs": "node --experimental-strip-types scripts/process-specs.ts",
|
||||
"generate-apis": "yarn process-specs && rtk-query-codegen-openapi ./scripts/generate-rtk-apis.ts"
|
||||
"generate-apis": "yarn process-specs && rtk-query-codegen-openapi ./scripts/generate-rtk-apis.cts"
|
||||
},
|
||||
"grafana": {
|
||||
"whatsNewUrl": "https://grafana.com/docs/grafana/next/whatsnew/whats-new-in-v%[1]s-%[2]s/",
|
||||
|
||||
@@ -209,6 +209,19 @@ func CreateGrafDir(t *testing.T, opts GrafanaOpts) (string, string) {
|
||||
err = os.MkdirAll(manifestDir, 0750)
|
||||
require.NoError(t, err)
|
||||
err = os.WriteFile(filepath.Join(manifestDir, "manifest.json"), []byte(`{
|
||||
"app/core/trustedTypePolicies.ts": {
|
||||
"file": "public/build/trustedTypePolicies-pOmZ7Wr2.js",
|
||||
"name": "trustedTypePolicies",
|
||||
"src": "app/core/trustedTypePolicies.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_braintree-CW7sY1ng.js"
|
||||
]
|
||||
},
|
||||
"_braintree-CW7sY1ng.js": {
|
||||
"file": "public/build/braintree-CW7sY1ng.js",
|
||||
"name": "braintree"
|
||||
},
|
||||
"app/index.ts": {
|
||||
"file": "public/build/index-3exGqndc.js",
|
||||
"src": "app/index.ts",
|
||||
|
||||
@@ -79,7 +79,7 @@ function countEslintErrors() {
|
||||
}
|
||||
|
||||
const runner = new ESLint({
|
||||
overrideConfigFile: './.betterer.eslint.config.js',
|
||||
overrideConfigFile: './.betterer.eslint.config.cjs',
|
||||
warnIgnored: false,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user