Skip to content

Commit 43b6510

Browse files
committed
Remove references outside of package
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
1 parent 8295f88 commit 43b6510

7 files changed

Lines changed: 2 additions & 44 deletions

File tree

.eslintignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,5 @@ snapshots.js
4141
/packages/kbn-test/src/functional_test_runner/__tests__/fixtures/
4242
/packages/kbn-test/src/functional_test_runner/lib/config/__tests__/fixtures/
4343
/packages/kbn-ui-framework/dist
44-
/packages/kbn-ui-framework/doc_site/build
45-
/packages/kbn-ui-framework/generator-kui/*/templates/
4644
/packages/kbn-ui-shared-deps/flot_charts
4745
/packages/kbn-monaco/src/painless/antlr

.eslintrc.js

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,6 @@ module.exports = {
8585
/**
8686
* Temporarily disable some react rules for specific plugins, remove in separate PRs
8787
*/
88-
{
89-
files: ['packages/kbn-ui-framework/**/*.{js,mjs,ts,tsx}'],
90-
rules: {
91-
'jsx-a11y/no-onchange': 'off',
92-
},
93-
},
9488
{
9589
files: ['src/plugins/kibana_react/**/*.{js,mjs,ts,tsx}'],
9690
rules: {
@@ -413,7 +407,6 @@ module.exports = {
413407
{
414408
files: [
415409
'**/public/**/*.js',
416-
'packages/kbn-ui-framework/doc_site/src/**/*.js',
417410
'src/fixtures/**/*.js', // TODO: this directory needs to be more obviously "public" (or go away)
418411
],
419412
settings: {
@@ -436,11 +429,7 @@ module.exports = {
436429
* Files that ARE NOT allowed to use devDependencies
437430
*/
438431
{
439-
files: [
440-
'packages/kbn-ui-framework/**/*.js',
441-
'x-pack/**/*.js',
442-
'packages/kbn-interpreter/**/*.js',
443-
],
432+
files: ['x-pack/**/*.js', 'packages/kbn-interpreter/**/*.js'],
444433
rules: {
445434
'import/no-extraneous-dependencies': [
446435
'error',
@@ -458,10 +447,6 @@ module.exports = {
458447
*/
459448
{
460449
files: [
461-
'packages/kbn-ui-framework/**/*.test.js',
462-
'packages/kbn-ui-framework/doc_site/**/*.js',
463-
'packages/kbn-ui-framework/generator-kui/**/*.js',
464-
'packages/kbn-ui-framework/Gruntfile.js',
465450
'packages/kbn-es/src/**/*.js',
466451
'packages/kbn-interpreter/tasks/**/*.js',
467452
'packages/kbn-interpreter/src/plugin/**/*.js',
@@ -1073,20 +1058,6 @@ module.exports = {
10731058
},
10741059
},
10751060

1076-
/**
1077-
* disable jsx-a11y for kbn-ui-framework
1078-
*/
1079-
{
1080-
files: ['packages/kbn-ui-framework/**/*.js'],
1081-
rules: {
1082-
'jsx-a11y/click-events-have-key-events': 'off',
1083-
'jsx-a11y/anchor-has-content': 'off',
1084-
'jsx-a11y/tabindex-no-positive': 'off',
1085-
'jsx-a11y/label-has-associated-control': 'off',
1086-
'jsx-a11y/aria-role': 'off',
1087-
},
1088-
},
1089-
10901061
/**
10911062
* Canvas overrides
10921063
*/

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ selenium
4949
*.swp
5050
*.swo
5151
*.out
52-
/packages/kbn-ui-framework/doc_site/build/*
53-
!/packages/kbn-ui-framework/doc_site/build/index.html
5452
package-lock.json
5553
.yo-rc.json
5654
.vscode

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@
6161
"lint:es": "node scripts/eslint",
6262
"lint:sass": "node scripts/sasslint",
6363
"makelogs": "node scripts/makelogs",
64-
"uiFramework:start": "cd packages/kbn-ui-framework && yarn docSiteStart",
65-
"uiFramework:build": "cd packages/kbn-ui-framework && yarn docSiteBuild",
66-
"uiFramework:createComponent": "cd packages/kbn-ui-framework && yarn createComponent",
67-
"uiFramework:documentComponent": "cd packages/kbn-ui-framework && yarn documentComponent",
6864
"kbn:watch": "node scripts/kibana --dev --logging.json=false",
6965
"build:types": "rm -rf ./target/types && tsc --p tsconfig.types.json",
7066
"docs:acceptApiChanges": "node --max-old-space-size=6144 scripts/check_published_api_changes.js --accept",

packages/kbn-test/jest-preset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ module.exports = {
8585

8686
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
8787
testPathIgnorePatterns: [
88-
'<rootDir>/packages/kbn-ui-framework/(dist|doc_site|generator-kui)/',
88+
'<rootDir>/packages/kbn-ui-framework/dist/',
8989
'<rootDir>/packages/kbn-pm/dist/',
9090
`integration_tests/`,
9191
],

src/dev/i18n/tasks/extract_untracked_translations.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ export async function extractUntrackedMessagesTask({
4848
'**/__fixtures__/**',
4949
'**/packages/kbn-i18n/**',
5050
'**/packages/kbn-plugin-generator/template/**',
51-
'**/packages/kbn-ui-framework/generator-kui/**',
5251
'**/target/**',
5352
'**/test/**',
5453
'**/scripts/**',

src/dev/precommit_hook/casing_check_config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ export const IGNORE_DIRECTORY_GLOBS = [
104104
...KEBAB_CASE_DIRECTORY_GLOBS,
105105
'src/babel-*',
106106
'packages/*',
107-
'packages/kbn-ui-framework/generator-kui',
108107
'src/legacy/ui/public/flot-charts',
109108
'test/functional/fixtures/es_archiver/visualize_source-filters',
110109
'packages/kbn-pm/src/utils/__fixtures__/*',
@@ -149,9 +148,6 @@ export const TEMPORARILY_IGNORED_PATHS = [
149148
'src/core/server/core_app/assets/favicons/mstile-310x310.png',
150149
'src/core/server/core_app/assets/favicons/safari-pinned-tab.svg',
151150
'test/functional/apps/management/exports/_import_objects-conflicts.json',
152-
'packages/kbn-ui-framework/doc_site/src/images/elastic-logo.svg',
153-
'packages/kbn-ui-framework/doc_site/src/images/hint-arrow.svg',
154-
'packages/kbn-ui-framework/doc_site/src/images/react-logo.svg',
155151
'x-pack/legacy/plugins/index_management/public/lib/editSettings.js',
156152
'x-pack/legacy/plugins/license_management/public/store/reducers/licenseManagement.js',
157153
'x-pack/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js',

0 commit comments

Comments
 (0)