diff --git a/packages/__docs__/package.json b/packages/__docs__/package.json
index 8ca614f8fb..0eb63e8595 100644
--- a/packages/__docs__/package.json
+++ b/packages/__docs__/package.json
@@ -126,7 +126,6 @@
"webpack-merge": "^5.9.0"
},
"devDependencies": {
- "@instructure/config-loader": "8.39.0",
"@instructure/ui-babel-preset": "8.39.0",
"@instructure/ui-eslint-config": "8.39.0",
"@instructure/ui-scripts": "8.39.0",
diff --git a/packages/__docs__/tsconfig.build.json b/packages/__docs__/tsconfig.build.json
index d45c7f4270..94b929e72a 100644
--- a/packages/__docs__/tsconfig.build.json
+++ b/packages/__docs__/tsconfig.build.json
@@ -94,7 +94,6 @@
{ "path": "../ui-truncate-text/tsconfig.build.json" },
{ "path": "../ui-utils/tsconfig.build.json" },
{ "path": "../ui-view/tsconfig.build.json" },
- { "path": "../config-loader/tsconfig.build.json" },
{ "path": "../ui-babel-preset/tsconfig.build.json" },
{ "path": "../ui-eslint-config/tsconfig.build.json" },
{ "path": "../ui-scripts/tsconfig.build.json" },
diff --git a/packages/config-loader/.eslintignore b/packages/config-loader/.eslintignore
deleted file mode 100644
index 674e267cec..0000000000
--- a/packages/config-loader/.eslintignore
+++ /dev/null
@@ -1,3 +0,0 @@
-/node_modules/**
-
-/types/**
diff --git a/packages/config-loader/.gitignore b/packages/config-loader/.gitignore
deleted file mode 100644
index a7c47537dc..0000000000
--- a/packages/config-loader/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-types/
diff --git a/packages/config-loader/CHANGELOG.md b/packages/config-loader/CHANGELOG.md
deleted file mode 100644
index d41cdd4bf4..0000000000
--- a/packages/config-loader/CHANGELOG.md
+++ /dev/null
@@ -1,740 +0,0 @@
-# Change Log
-
-All notable changes to this project will be documented in this file.
-See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
-
-# [8.39.0](https://github.com/instructure/instructure-ui/compare/v8.38.1...v8.39.0) (2023-07-21)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-
-
-## [8.38.1](https://github.com/instructure/instructure-ui/compare/v8.38.0...v8.38.1) (2023-06-13)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.38.0](https://github.com/instructure/instructure-ui/compare/v8.37.0...v8.38.0) (2023-05-15)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.37.0](https://github.com/instructure/instructure-ui/compare/v8.36.0...v8.37.0) (2023-04-25)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.36.0](https://github.com/instructure/instructure-ui/compare/v8.35.1...v8.36.0) (2023-03-23)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.35.1](https://github.com/instructure/instructure-ui/compare/v8.35.0...v8.35.1) (2023-03-10)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.35.0](https://github.com/instructure/instructure-ui/compare/v8.34.0...v8.35.0) (2023-02-17)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.34.0](https://github.com/instructure/instructure-ui/compare/v8.33.2...v8.34.0) (2023-02-10)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.33.2](https://github.com/instructure/instructure-ui/compare/v8.33.1...v8.33.2) (2023-01-25)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.33.1](https://github.com/instructure/instructure-ui/compare/v8.33.0...v8.33.1) (2023-01-06)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.33.0](https://github.com/instructure/instructure-ui/compare/v8.32.1...v8.33.0) (2023-01-04)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.32.1](https://github.com/instructure/instructure-ui/compare/v8.30.0...v8.32.1) (2022-12-01)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.32.0](https://github.com/instructure/instructure-ui/compare/v8.31.0...v8.32.0) (2022-11-23)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.31.0](https://github.com/instructure/instructure-ui/compare/v8.30.0...v8.31.0) (2022-11-21)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.30.0](https://github.com/instructure/instructure-ui/compare/v8.29.0...v8.30.0) (2022-10-26)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.29.0](https://github.com/instructure/instructure-ui/compare/v8.28.0...v8.29.0) (2022-09-29)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.28.2](https://github.com/instructure/instructure-ui/compare/v8.28.0...v8.28.2) (2022-09-16)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.28.1](https://github.com/instructure/instructure-ui/compare/v8.28.0...v8.28.1) (2022-09-12)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.28.0](https://github.com/instructure/instructure-ui/compare/v8.27.0...v8.28.0) (2022-09-02)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.27.0](https://github.com/instructure/instructure-ui/compare/v8.26.3...v8.27.0) (2022-07-25)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.26.3](https://github.com/instructure/instructure-ui/compare/v8.26.2...v8.26.3) (2022-07-14)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.26.2](https://github.com/instructure/instructure-ui/compare/v8.26.1...v8.26.2) (2022-07-11)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.26.1](https://github.com/instructure/instructure-ui/compare/v8.26.0...v8.26.1) (2022-07-06)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.26.0](https://github.com/instructure/instructure-ui/compare/v8.25.0...v8.26.0) (2022-06-30)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.25.0](https://github.com/instructure/instructure-ui/compare/v8.24.5...v8.25.0) (2022-06-03)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.24.5](https://github.com/instructure/instructure-ui/compare/v8.24.3...v8.24.5) (2022-05-31)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.24.4](https://github.com/instructure/instructure-ui/compare/v8.24.3...v8.24.4) (2022-05-27)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.24.3](https://github.com/instructure/instructure-ui/compare/v8.24.2...v8.24.3) (2022-05-25)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.24.2](https://github.com/instructure/instructure-ui/compare/v8.24.1...v8.24.2) (2022-05-02)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.24.1](https://github.com/instructure/instructure-ui/compare/v8.24.0...v8.24.1) (2022-04-29)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.24.0](https://github.com/instructure/instructure-ui/compare/v8.23.0...v8.24.0) (2022-04-26)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.23.0](https://github.com/instructure/instructure-ui/compare/v8.22.0...v8.23.0) (2022-04-07)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.22.0](https://github.com/instructure/instructure-ui/compare/v8.21.0...v8.22.0) (2022-03-31)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.21.0](https://github.com/instructure/instructure-ui/compare/v8.20.0...v8.21.0) (2022-03-30)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.20.0](https://github.com/instructure/instructure-ui/compare/v8.19.0...v8.20.0) (2022-03-22)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.19.0](https://github.com/instructure/instructure-ui/compare/v8.18.0...v8.19.0) (2022-03-16)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.18.0](https://github.com/instructure/instructure-ui/compare/v8.17.0...v8.18.0) (2022-02-23)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.17.0](https://github.com/instructure/instructure-ui/compare/v8.16.0...v8.17.0) (2022-02-07)
-
-### Bug Fixes
-
-- remove type:"commonjs" from package.json files ([0b243be](https://github.com/instructure/instructure-ui/commit/0b243bee389ee14493e6b3dbb30a8b660c295d3d))
-
-# [8.16.0](https://github.com/instructure/instructure-ui/compare/v8.15.0...v8.16.0) (2022-02-03)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.15.0](https://github.com/instructure/instructure-ui/compare/v8.14.0...v8.15.0) (2022-01-26)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.14.0](https://github.com/instructure/instructure-ui/compare/v8.13.0...v8.14.0) (2021-12-16)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.13.0](https://github.com/instructure/instructure-ui/compare/v8.12.0...v8.13.0) (2021-12-01)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.12.0](https://github.com/instructure/instructure-ui/compare/v8.11.1...v8.12.0) (2021-11-17)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.11.1](https://github.com/instructure/instructure-ui/compare/v8.11.0...v8.11.1) (2021-10-19)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.11.0](https://github.com/instructure/instructure-ui/compare/v8.10.2...v8.11.0) (2021-10-15)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.10.2](https://github.com/instructure/instructure-ui/compare/v8.10.1...v8.10.2) (2021-10-01)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.10.1](https://github.com/instructure/instructure-ui/compare/v8.10.0...v8.10.1) (2021-10-01)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.10.0](https://github.com/instructure/instructure-ui/compare/v8.9.1...v8.10.0) (2021-09-28)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.9.1](https://github.com/instructure/instructure-ui/compare/v8.9.0...v8.9.1) (2021-09-16)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.9.0](https://github.com/instructure/instructure-ui/compare/v8.8.0...v8.9.0) (2021-09-15)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.8.0](https://github.com/instructure/instructure-ui/compare/v8.7.0...v8.8.0) (2021-08-27)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.7.0](https://github.com/instructure/instructure-ui/compare/v8.6.0...v8.7.0) (2021-07-16)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.6.0](https://github.com/instructure/instructure-ui/compare/v8.5.0...v8.6.0) (2021-06-18)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.5.0](https://github.com/instructure/instructure-ui/compare/v8.4.0...v8.5.0) (2021-06-09)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.4.0](https://github.com/instructure/instructure-ui/compare/v8.3.0...v8.4.0) (2021-05-11)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.3.0](https://github.com/instructure/instructure-ui/compare/v8.2.1...v8.3.0) (2021-05-04)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [8.2.1](https://github.com/instructure/instructure-ui/compare/v8.2.0...v8.2.1) (2021-04-22)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.2.0](https://github.com/instructure/instructure-ui/compare/v8.1.0...v8.2.0) (2021-04-22)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.1.0](https://github.com/instructure/instructure-ui/compare/v8.0.0...v8.1.0) (2021-04-15)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [8.0.0](https://github.com/instructure/instructure-ui/compare/v7.5.0...v8.0.0) (2021-03-29)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [7.5.0](https://github.com/instructure/instructure-ui/compare/v7.4.4...v7.5.0) (2021-03-22)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.4.4](https://github.com/instructure/instructure-ui/compare/v7.4.3...v7.4.4) (2021-03-12)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.4.3](https://github.com/instructure/instructure-ui/compare/v7.4.1...v7.4.3) (2021-03-11)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.4.2](https://github.com/instructure/instructure-ui/compare/v7.4.1...v7.4.2) (2021-03-11)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.4.1](https://github.com/instructure/instructure-ui/compare/v7.4.0...v7.4.1) (2021-03-04)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [7.4.0](https://github.com/instructure/instructure-ui/compare/v7.3.5...v7.4.0) (2021-02-01)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.3.5](https://github.com/instructure/instructure-ui/compare/v7.3.2...v7.3.5) (2021-01-21)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.3.4](https://github.com/instructure/instructure-ui/compare/v7.3.2...v7.3.4) (2021-01-14)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.3.3](https://github.com/instructure/instructure-ui/compare/v7.3.2...v7.3.3) (2021-01-13)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.3.2](https://github.com/instructure/instructure-ui/compare/v7.3.1...v7.3.2) (2020-12-10)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.3.1](https://github.com/instructure/instructure-ui/compare/v7.3.0...v7.3.1) (2020-11-30)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [7.3.0](https://github.com/instructure/instructure-ui/compare/v7.2.4...v7.3.0) (2020-10-26)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.2.4](https://github.com/instructure/instructure-ui/compare/v7.2.0...v7.2.4) (2020-10-09)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.2.3](https://github.com/instructure/instructure-ui/compare/v7.2.0...v7.2.3) (2020-10-08)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.2.2](https://github.com/instructure/instructure-ui/compare/v7.2.0...v7.2.2) (2020-10-08)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.2.1](https://github.com/instructure/instructure-ui/compare/v7.2.0...v7.2.1) (2020-10-07)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [7.2.0](https://github.com/instructure/instructure-ui/compare/v7.1.4...v7.2.0) (2020-09-23)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.1.4](https://github.com/instructure/instructure-ui/compare/v7.1.3...v7.1.4) (2020-09-09)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.1.3](https://github.com/instructure/instructure-ui/compare/v7.1.2...v7.1.3) (2020-08-10)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.1.2](https://github.com/instructure/instructure-ui/compare/v7.1.1...v7.1.2) (2020-07-17)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [7.1.1](https://github.com/instructure/instructure-ui/compare/v7.1.0...v7.1.1) (2020-07-01)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [7.1.0](https://github.com/instructure/instructure-ui/compare/v7.0.0...v7.1.0) (2020-06-25)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [7.0.0](https://github.com/instructure/instructure-ui/compare/v6.26.0...v7.0.0) (2020-05-27)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.26.0](https://github.com/instructure/instructure-ui/compare/v6.25.0...v6.26.0) (2020-04-30)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.25.0](https://github.com/instructure/instructure-ui/compare/v6.24.0...v6.25.0) (2020-04-27)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.24.0](https://github.com/instructure/instructure-ui/compare/v6.23.0...v6.24.0) (2020-04-14)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.23.0](https://github.com/instructure/instructure-ui/compare/v6.22.0...v6.23.0) (2020-04-02)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.22.0](https://github.com/instructure/instructure-ui/compare/v6.21.0...v6.22.0) (2020-03-16)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.21.0](https://github.com/instructure/instructure-ui/compare/v6.20.0...v6.21.0) (2020-02-26)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.20.0](https://github.com/instructure/instructure-ui/compare/v6.19.0...v6.20.0) (2020-02-13)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.19.0](https://github.com/instructure/instructure-ui/compare/v6.18.0...v6.19.0) (2020-02-11)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.18.0](https://github.com/instructure/instructure-ui/compare/v6.17.0...v6.18.0) (2020-02-04)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.17.0](https://github.com/instructure/instructure-ui/compare/v6.16.0...v6.17.0) (2020-01-22)
-
-### Bug Fixes
-
-- Update Package READMEs and align deprecation statements ([8f892e4](https://github.com/instructure/instructure-ui/commit/8f892e4))
-
-# [6.16.0](https://github.com/instructure/instructure-ui/compare/v6.15.0...v6.16.0) (2019-12-13)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.15.0](https://github.com/instructure/instructure-ui/compare/v6.14.0...v6.15.0) (2019-11-18)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.14.0](https://github.com/instructure/instructure-ui/compare/v6.13.0...v6.14.0) (2019-10-14)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.13.0](https://github.com/instructure/instructure-ui/compare/v6.12.0...v6.13.0) (2019-09-24)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.12.0](https://github.com/instructure/instructure-ui/compare/v6.11.0...v6.12.0) (2019-09-17)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.11.0](https://github.com/instructure/instructure-ui/compare/v6.10.0...v6.11.0) (2019-09-16)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.10.0](https://github.com/instructure/instructure-ui/compare/v6.9.0...v6.10.0) (2019-08-27)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.9.0](https://github.com/instructure/instructure-ui/compare/v6.8.1...v6.9.0) (2019-08-07)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [6.8.1](https://github.com/instructure/instructure-ui/compare/v6.8.0...v6.8.1) (2019-08-02)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.8.0](https://github.com/instructure/instructure-ui/compare/v6.7.0...v6.8.0) (2019-07-31)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.7.0](https://github.com/instructure/instructure-ui/compare/v6.6.0...v6.7.0) (2019-07-15)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.6.0](https://github.com/instructure/instructure-ui/compare/v6.5.0...v6.6.0) (2019-07-03)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.5.0](https://github.com/instructure/instructure-ui/compare/v6.4.0...v6.5.0) (2019-07-01)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.4.0](https://github.com/instructure/instructure-ui/compare/v6.3.0...v6.4.0) (2019-06-13)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.3.0](https://github.com/instructure/instructure-ui/compare/v6.2.0...v6.3.0) (2019-05-28)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.2.0](https://github.com/instructure/instructure-ui/compare/v6.1.0...v6.2.0) (2019-05-13)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.1.0](https://github.com/instructure/instructure-ui/compare/v6.0.0...v6.1.0) (2019-05-09)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [6.0.0](https://github.com/instructure/instructure-ui/compare/v5.52.3...v6.0.0) (2019-05-03)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [5.52.3](https://github.com/instructure/instructure-ui/compare/v5.52.2...v5.52.3) (2019-04-25)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [5.52.2](https://github.com/instructure/instructure-ui/compare/v5.52.1...v5.52.2) (2019-04-17)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [5.52.1](https://github.com/instructure/instructure-ui/compare/v5.52.0...v5.52.1) (2019-04-08)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [5.52.0](https://github.com/instructure/instructure-ui/compare/v5.51.1...v5.52.0) (2019-04-03)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [5.51.1](https://github.com/instructure/instructure-ui/compare/v5.51.0...v5.51.1) (2019-03-30)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [5.51.0](https://github.com/instructure/instructure-ui/compare/v5.50.0...v5.51.0) (2019-03-29)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [5.50.0](https://github.com/instructure/instructure-ui/compare/v5.49.0...v5.50.0) (2019-03-28)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [5.49.0](https://github.com/instructure/instructure-ui/compare/v5.48.0...v5.49.0) (2019-03-22)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [5.48.0](https://github.com/instructure/instructure-ui/compare/v5.47.0...v5.48.0) (2019-03-18)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [5.47.0](https://github.com/instructure/instructure-ui/compare/v5.46.1...v5.47.0) (2019-03-15)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [5.46.1](https://github.com/instructure/instructure-ui/compare/v5.46.0...v5.46.1) (2019-03-13)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [5.46.0](https://github.com/instructure/instructure-ui/compare/v5.45.1...v5.46.0) (2019-03-12)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-## [5.45.1](https://github.com/instructure/instructure-ui/compare/v5.45.0...v5.45.1) (2019-03-12)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [5.45.0](https://github.com/instructure/instructure-ui/compare/v5.44.0...v5.45.0) (2019-03-11)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [5.44.0](https://github.com/instructure/instructure-ui/compare/v5.43.0...v5.44.0) (2019-03-01)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-# [5.43.0](https://github.com/instructure/instructure-ui/compare/v5.42.0...v5.43.0) (2019-02-27)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.42.0](https://github.com/instructure/instructure-ui/compare/v5.41.1...v5.42.0) (2019-02-15)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-## [5.41.1](https://github.com/instructure/instructure-ui/compare/v5.41.0...v5.41.1) (2019-01-30)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.41.0](https://github.com/instructure/instructure-ui/compare/v5.40.0...v5.41.0) (2019-01-29)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.40.0](https://github.com/instructure/instructure-ui/compare/v5.39.0...v5.40.0) (2019-01-15)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.39.0](https://github.com/instructure/instructure-ui/compare/v5.38.0...v5.39.0) (2019-01-11)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.38.0](https://github.com/instructure/instructure-ui/compare/v5.37.0...v5.38.0) (2019-01-04)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.37.0](https://github.com/instructure/instructure-ui/compare/v5.36.0...v5.37.0) (2018-12-18)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.36.0](https://github.com/instructure/instructure-ui/compare/v5.35.0...v5.36.0) (2018-12-12)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.35.0](https://github.com/instructure/instructure-ui/compare/v5.34.0...v5.35.0) (2018-12-06)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.34.0](https://github.com/instructure/instructure-ui/compare/v5.33.0...v5.34.0) (2018-11-20)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.33.0](https://github.com/instructure/instructure-ui/compare/v5.32.0...v5.33.0) (2018-11-14)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.32.0](https://github.com/instructure/instructure-ui/compare/v5.31.0...v5.32.0) (2018-10-31)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.31.0](https://github.com/instructure/instructure-ui/compare/v5.30.0...v5.31.0) (2018-10-26)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.30.0](https://github.com/instructure/instructure-ui/compare/v5.29.0...v5.30.0) (2018-09-27)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.29.0](https://github.com/instructure/instructure-ui/compare/v5.28.1...v5.29.0) (2018-09-26)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-## [5.28.1](https://github.com/instructure/instructure-ui/compare/v5.28.0...v5.28.1) (2018-09-18)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.28.0](https://github.com/instructure/instructure-ui/compare/v5.27.0...v5.28.0) (2018-09-13)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.27.0](https://github.com/instructure/instructure-ui/compare/v5.26.0...v5.27.0) (2018-09-10)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.26.0](https://github.com/instructure/instructure-ui/compare/v5.25.0...v5.26.0) (2018-09-06)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.25.0](https://github.com/instructure/instructure-ui/compare/v5.24.0...v5.25.0) (2018-08-24)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.24.0](https://github.com/instructure/instructure-ui/compare/v5.23.0...v5.24.0) (2018-08-08)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.23.0](https://github.com/instructure/instructure-ui/compare/v5.22.0...v5.23.0) (2018-08-03)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.22.0](https://github.com/instructure/instructure-ui/compare/v5.21.0...v5.22.0) (2018-07-27)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.21.0](https://github.com/instructure/instructure-ui/compare/v5.20.1...v5.21.0) (2018-07-25)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-## [5.20.1](https://github.com/instructure/instructure-ui/compare/v5.20.0...v5.20.1) (2018-07-18)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.20.0](https://github.com/instructure/instructure-ui/compare/v5.19.0...v5.20.0) (2018-07-17)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.19.0](https://github.com/instructure/instructure-ui/compare/v5.18.0...v5.19.0) (2018-07-12)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.18.0](https://github.com/instructure/instructure-ui/compare/v5.17.0...v5.18.0) (2018-07-09)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.17.0](https://github.com/instructure/instructure-ui/compare/v5.16.0...v5.17.0) (2018-07-06)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.16.0](https://github.com/instructure/instructure-ui/compare/v5.15.0...v5.16.0) (2018-07-06)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.15.0](https://github.com/instructure/instructure-ui/compare/v5.14.0...v5.15.0) (2018-06-28)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.14.0](https://github.com/instructure/instructure-ui/compare/v5.13.1...v5.14.0) (2018-06-28)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-## [5.13.1](https://github.com/instructure/instructure-ui/compare/v5.13.0...v5.13.1) (2018-06-22)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.13.0](https://github.com/instructure/instructure-ui/compare/v5.12.0...v5.13.0) (2018-06-16)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.12.0](https://github.com/instructure/instructure-ui/compare/v5.11.0...v5.12.0) (2018-06-11)
-
-**Note:** Version bump only for package @instructure/config-loader
-
-
-
-# [5.11.0](https://github.com/instructure/instructure-ui/compare/v5.10.0...v5.11.0) (2018-06-06)
-
-### Features
-
-- **config-loader:** Add a config-loader package ([832ff12](https://github.com/instructure/instructure-ui/commit/832ff12))
-
-See the instructure-ui mono-repo [change log](#CHANGELOG) for past changes.
diff --git a/packages/config-loader/README.md b/packages/config-loader/README.md
deleted file mode 100644
index 1915b26c7e..0000000000
--- a/packages/config-loader/README.md
+++ /dev/null
@@ -1,24 +0,0 @@
----
-category: packages
----
-
-## config-loader
-
-[![npm][npm]][npm-url]
-[![MIT License][license-badge]][license]
-[![Code of Conduct][coc-badge]][coc]
-
-A library to find and load config resource files in JSON (something.json or .somethingrc) or JS (somethingrc.js or something.config.js) or config data from package.json files.
-
-### Installation
-
-```sh
-yarn add --dev @instructure/config-loader
-```
-
-[npm]: https://img.shields.io/npm/v/@instructure/config-loader.svg
-[npm-url]: https://npmjs.com/package/@instructure/config-loader
-[license-badge]: https://img.shields.io/npm/l/instructure-ui.svg?style=flat-square
-[license]: https://github.com/instructure/instructure-ui/blob/master/LICENSE
-[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
-[coc]: https://github.com/instructure/instructure-ui/blob/master/CODE_OF_CONDUCT.md
diff --git a/packages/config-loader/lib/index.js b/packages/config-loader/lib/index.js
deleted file mode 100644
index e6d5e1bc9f..0000000000
--- a/packages/config-loader/lib/index.js
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- * The MIT License (MIT)
- *
- * Copyright (c) 2015 - present Instructure, Inc.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-const path = require('path')
-const fs = require('fs')
-
-module.exports = function loadConfig(name, defaults, ctx) {
- // eslint-disable-next-line no-param-reassign
- ctx = ctx || {
- env: process.env.NODE_ENV || 'development',
- cwd: process.cwd()
- }
-
- const config = findConfig(
- name,
- path.resolve(ctx.cwd).split(path.sep),
- defaults
- )
-
- if (typeof config === 'function') {
- return config(ctx)
- } else {
- return config
- }
-}
-
-function findConfig(name, parts, defaults) {
- if (!parts) return {}
-
- const filenames = [
- `${name}.json`,
- `${name}rc.js`,
- `${name}.config.js`,
- `.${name}rc`
- ]
-
- while (filenames.length) {
- const rcFilePath = resolvePath(parts, filenames.shift())
-
- if (fs.existsSync(rcFilePath)) {
- return loadConfigFile(rcFilePath)
- }
- }
-
- const pkgJSONPath = resolvePath(parts, 'package.json')
-
- if (fs.existsSync(pkgJSONPath)) {
- const pkgJSON = requireNoCache(pkgJSONPath)
-
- if (pkgJSON[name]) {
- return pkgJSON[name]
- }
- }
-
- if (parts.pop()) {
- return findConfig(name, parts, defaults)
- } else {
- return defaults || {}
- }
-}
-
-function resolvePath(parts, filename) {
- return path.resolve(parts.join(path.sep) + path.sep, filename)
-}
-
-function loadConfigFile(filePath) {
- try {
- return requireNoCache(filePath)
- } catch (e) {
- e.message = `Cannot read config file: ${filePath}\nError: ${e.message}`
- throw e
- }
-}
-
-function invalidateRequireCacheForFile(filepath) {
- delete require.cache[require.resolve(filepath)]
-}
-
-function requireNoCache(filepath) {
- invalidateRequireCacheForFile(filepath)
- return require(filepath)
-}
diff --git a/packages/config-loader/package.json b/packages/config-loader/package.json
deleted file mode 100644
index 90e2a53501..0000000000
--- a/packages/config-loader/package.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "name": "@instructure/config-loader",
- "version": "8.39.0",
- "description": "A library to load config files",
- "main": "./lib/index.js",
- "scripts": {
- "lint": "run -T ui-scripts lint",
- "lint:fix": "run -T ui-scripts lint --fix"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/instructure/instructure-ui.git"
- },
- "homepage": "https://instructure.github.io/instructure-ui/",
- "bugs": "https://github.com/instructure/instructure-ui/issues",
- "license": "MIT",
- "publishConfig": {
- "access": "public"
- }
-}
diff --git a/packages/config-loader/tsconfig.build.json b/packages/config-loader/tsconfig.build.json
deleted file mode 100644
index cff611f41e..0000000000
--- a/packages/config-loader/tsconfig.build.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "extends": "../../tsconfig.build.json",
- "compilerOptions": {
- "outDir": "./types",
- "module": "CommonJS",
- "composite": true,
- "rootDir": "./lib"
- },
- "include": ["lib"]
-}
diff --git a/packages/config-loader/tsconfig.json b/packages/config-loader/tsconfig.json
deleted file mode 100644
index b29a7b46c4..0000000000
--- a/packages/config-loader/tsconfig.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "extends": "../../tsconfig.json",
- "compilerOptions": {}
-}
diff --git a/packages/instui-config/package-lists/v9/package-list.json b/packages/instui-config/package-lists/v9/package-list.json
index 4e6aa0a6ac..d342b477a6 100644
--- a/packages/instui-config/package-lists/v9/package-list.json
+++ b/packages/instui-config/package-lists/v9/package-list.json
@@ -4,7 +4,6 @@
"@instructure/canvas-high-contrast-theme",
"@instructure/canvas-theme",
"@instructure/command-utils",
- "@instructure/config-loader",
"@instructure/console",
"@instructure/cz-lerna-changelog",
"@instructure/debounce",
diff --git a/packages/ui-icons-build/lib/config.js b/packages/ui-icons-build/lib/config.js
index c1a9c19418..d601691cd2 100644
--- a/packages/ui-icons-build/lib/config.js
+++ b/packages/ui-icons-build/lib/config.js
@@ -22,6 +22,151 @@
* SOFTWARE.
*/
-const loadConfig = require('@instructure/config-loader')
+const libraryName = 'InstructureIcons'
+const packageName = '@instructure/ui-icons'
+const source = 'svg/'
+const destination = './__build__/'
-module.exports = loadConfig('icons')
+const svg = {
+ source: `${source}**/*.svg`,
+ destination: source
+}
+
+const fonts = {
+ source: svg.destination, // variant is added to path
+ destination: `${destination}font/`,
+ fontName: libraryName,
+ className: 'icon',
+ formats: ['woff2', 'woff', 'eot', 'ttf', 'svg']
+}
+
+const react = {
+ source: svg.destination,
+ destination,
+ componentBaseName: 'Icon'
+}
+
+const deprecated = {
+ /* [icon name]: [icon name to use instead]
+ /* e.g. 'arrow-up': 'arrow' */
+ 'discussion-x': 'x',
+ 'copy-course': 'copy',
+ 'discussion-reply-dark': 'more',
+ 'discussion-reply': 'more',
+ 'discussion-search': 'search',
+ 'search-address-book': 'search',
+ 'rss-add': 'add',
+ 'user-add': 'add',
+ 'materials-required-light': 'materials-required',
+ 'mature-light': 'mature',
+ 'note-dark': 'note',
+ 'note-light': 'note',
+ 'icon-reply-2': 'icon-reply',
+ 'icon-replied': 'icon-reply',
+ instructure: 'instructure-logo',
+ 'settings-2': 'settings',
+ 'twitter-boxed': 'twitter',
+ 'arrow-left': 'arrow-start',
+ 'arrow-open-left': 'arrow-open-start',
+ 'arrow-open-right': 'arrow-open-end',
+ 'arrow-right': 'arrow-end',
+ 'expand-left': 'expand-start',
+ 'mini-arrow-left': 'mini-arrow-start',
+ 'mini-arrow-right': 'mini-arrow-end',
+ 'move-left': 'move-start',
+ 'move-right': 'move-end',
+ 'text-left': 'text-start',
+ 'text-right': 'text-end',
+ 'toggle-left': 'toggle-start',
+ 'toggle-right': 'toggle-end',
+ unpublish: 'unpublished'
+}
+
+const bidirectional = [
+ 'address-book',
+ 'annotate',
+ 'announcement',
+ 'arrow-left',
+ 'arrow-start',
+ 'arrow-double-end',
+ 'arrow-double-start',
+ 'arrow-open-left',
+ 'arrow-open-start',
+ 'arrow-open-right',
+ 'arrow-open-end',
+ 'arrow-right',
+ 'arrow-end',
+ 'audio',
+ 'assignment',
+ 'bullet-list',
+ 'chat',
+ 'compose',
+ 'courses',
+ 'discussion',
+ 'discussion-reply-2',
+ 'document',
+ 'edit',
+ 'essay',
+ 'expand-left',
+ 'expand-start',
+ 'export-content',
+ 'export',
+ 'external-link',
+ 'feedback',
+ 'folder-locked',
+ 'folder',
+ 'forward',
+ 'gradebook-export',
+ 'gradebook-import',
+ 'highlighter',
+ 'import-content',
+ 'import',
+ 'indent-2',
+ 'indent',
+ 'mini-arrow-left',
+ 'mini-arrow-start',
+ 'mini-arrow-right',
+ 'mini-arrow-end',
+ 'move-left',
+ 'move-start',
+ 'move-right',
+ 'move-end',
+ 'next-unread',
+ 'not-graded',
+ 'note',
+ 'open-folder',
+ 'outdent',
+ 'outdent2',
+ 'quiz-stats-high',
+ 'quiz-stats-low',
+ 'quiz',
+ 'replied',
+ 'reply-2',
+ 'reply-all-2',
+ 'reply',
+ 'rubric-dark',
+ 'rubric',
+ 'sis-imported',
+ 'syllabus',
+ 'text-left',
+ 'text-start',
+ 'text-right',
+ 'text-end',
+ 'textarea',
+ 'toggle-left',
+ 'toggle-start',
+ 'toggle-right',
+ 'toggle-end'
+]
+
+module.exports = {
+ source,
+ destination,
+ libraryName,
+ packageName,
+ svg,
+ fonts,
+ react,
+ deprecated,
+ bidirectional
+}
diff --git a/packages/ui-icons-build/lib/index.js b/packages/ui-icons-build/lib/index.js
index 8e2fa4d4de..fe52b82f7c 100644
--- a/packages/ui-icons-build/lib/index.js
+++ b/packages/ui-icons-build/lib/index.js
@@ -27,17 +27,7 @@ const { series, parallel } = require('gulp')
requireDir('./tasks', { recurse: true })
-const config = require('./config')
-
-const tasks = ['generate-svgs-index']
-
-if (config.react) {
- tasks.push('generate-react')
-}
-
-if (config.fonts) {
- tasks.push('generate-fonts')
-}
+const tasks = ['generate-svgs-index', 'generate-react', 'generate-fonts']
exports.optimizeSVGs = series('optimize-svgs')
exports.buildSVGs = series('optimize-svgs', 'generate-svgs-index')
diff --git a/packages/ui-icons-build/package.json b/packages/ui-icons-build/package.json
index f73f0cd368..bf64189fe7 100644
--- a/packages/ui-icons-build/package.json
+++ b/packages/ui-icons-build/package.json
@@ -18,7 +18,6 @@
},
"license": "MIT",
"dependencies": {
- "@instructure/config-loader": "8.39.0",
"del": "^6.1.1",
"glob": "^7.2.3",
"gulp": "^4.0.2",
diff --git a/packages/ui-icons-build/tsconfig.build.json b/packages/ui-icons-build/tsconfig.build.json
index 06a0e74440..cff611f41e 100644
--- a/packages/ui-icons-build/tsconfig.build.json
+++ b/packages/ui-icons-build/tsconfig.build.json
@@ -6,6 +6,5 @@
"composite": true,
"rootDir": "./lib"
},
- "include": ["lib"],
- "references": [{ "path": "../config-loader/tsconfig.build.json" }]
+ "include": ["lib"]
}
diff --git a/packages/ui-karma-config/package.json b/packages/ui-karma-config/package.json
index d8ca3a7519..75bcf8281c 100644
--- a/packages/ui-karma-config/package.json
+++ b/packages/ui-karma-config/package.json
@@ -16,7 +16,6 @@
},
"license": "MIT",
"dependencies": {
- "@instructure/config-loader": "8.39.0",
"@instructure/ui-webpack-config": "8.39.0",
"@jsdevtools/coverage-istanbul-loader": "3.0.5",
"buffer": "^6.0.3",
diff --git a/packages/ui-karma-config/tsconfig.build.json b/packages/ui-karma-config/tsconfig.build.json
index 50bef72ed6..d6ad686b89 100644
--- a/packages/ui-karma-config/tsconfig.build.json
+++ b/packages/ui-karma-config/tsconfig.build.json
@@ -7,8 +7,5 @@
"composite": true
},
"include": ["lib"],
- "references": [
- { "path": "../config-loader/tsconfig.build.json" },
- { "path": "../ui-webpack-config/tsconfig.build.json" }
- ]
+ "references": [{ "path": "../ui-webpack-config/tsconfig.build.json" }]
}
diff --git a/packages/ui-token-scripts/lib/commands/generate-all-tokens.js b/packages/ui-token-scripts/lib/commands/generate-all-tokens.js
index 54a79c8c2e..52bb428124 100644
--- a/packages/ui-token-scripts/lib/commands/generate-all-tokens.js
+++ b/packages/ui-token-scripts/lib/commands/generate-all-tokens.js
@@ -22,16 +22,50 @@
* SOFTWARE.
*/
-import loadConfig from '@instructure/config-loader'
import { getCommand, runCommandsConcurrently } from '@instructure/command-utils'
+const tokenScriptsConfig = [
+ {
+ themeKey: 'canvas',
+ sourceTokens: '@instructure/ui-theme-tokens/lib/canvas',
+ outputPackage: '@instructure/ui-theme-tokens',
+ groupOutput: true
+ },
+ {
+ themeKey: 'canvas',
+ sourceTokens: '@instructure/ui-theme-tokens/lib/canvas',
+ outputPackage: '@instructure/canvas-theme'
+ },
+ {
+ themeKey: 'canvas-high-contrast',
+ sourceTokens: '@instructure/ui-theme-tokens/lib/canvasHighContrast',
+ outputPackage: '@instructure/ui-theme-tokens',
+ groupOutput: true
+ },
+ {
+ themeKey: 'canvas-high-contrast',
+ sourceTokens: '@instructure/ui-theme-tokens/lib/canvasHighContrast',
+ outputPackage: '@instructure/canvas-high-contrast-theme'
+ },
+ {
+ themeKey: 'instructure',
+ sourceTokens: '@instructure/ui-theme-tokens/lib/instructure',
+ outputPackage: '@instructure/ui-theme-tokens',
+ groupOutput: true
+ },
+ {
+ themeKey: 'instructure',
+ sourceTokens: '@instructure/ui-theme-tokens/lib/instructure',
+ outputPackage: '@instructure/instructure-theme'
+ }
+]
+
export default {
command: 'generate-all-tokens',
describe:
'Generate cross-platform design tokens for all themes in configuration.',
handler: (argv) => {
- const config = loadConfig('ui-token-scripts')
- const commandsToRun = config.reduce(
+ const commandsToRun = tokenScriptsConfig.reduce(
(commands, { themeKey, sourceTokens, outputPackage, groupOutput }) => {
return {
...commands,
diff --git a/packages/ui-token-scripts/package.json b/packages/ui-token-scripts/package.json
index 40a6cbf447..27b0d11161 100644
--- a/packages/ui-token-scripts/package.json
+++ b/packages/ui-token-scripts/package.json
@@ -20,7 +20,6 @@
"dependencies": {
"@babel/runtime": "^7.22.6",
"@instructure/command-utils": "8.39.0",
- "@instructure/config-loader": "8.39.0",
"fs-extra": "^10.1.0",
"lodash.isplainobject": "^4.0.6",
"style-dictionary": "2.10.3",
diff --git a/packages/ui-token-scripts/tsconfig.build.json b/packages/ui-token-scripts/tsconfig.build.json
index 3433787939..f4008a705f 100644
--- a/packages/ui-token-scripts/tsconfig.build.json
+++ b/packages/ui-token-scripts/tsconfig.build.json
@@ -9,7 +9,6 @@
"include": ["lib"],
"references": [
{ "path": "../command-utils/tsconfig.build.json" },
- { "path": "../config-loader/tsconfig.build.json" },
{ "path": "../ui-test-utils/tsconfig.build.json" }
]
}
diff --git a/scripts/clean.js b/scripts/clean.js
index 692fdfb2a9..766dc03104 100755
--- a/scripts/clean.js
+++ b/scripts/clean.js
@@ -37,7 +37,6 @@ const NODE_PACKAGES = [
'ui-stylelint-config',
'ui-scripts',
'command-utils',
- 'config-loader',
'cz-lerna-changelog',
'eslint-plugin-instructure-ui',
'instui-cli',
diff --git a/tsconfig.references.json b/tsconfig.references.json
index 085d3c3276..23e44e3ebd 100644
--- a/tsconfig.references.json
+++ b/tsconfig.references.json
@@ -4,7 +4,6 @@
{ "path": "./packages/canvas-high-contrast-theme/tsconfig.build.json" },
{ "path": "./packages/canvas-theme/tsconfig.build.json" },
{ "path": "./packages/command-utils/tsconfig.build.json" },
- { "path": "./packages/config-loader/tsconfig.build.json" },
{ "path": "./packages/console/tsconfig.build.json" },
{ "path": "./packages/cz-lerna-changelog/tsconfig.build.json" },
{ "path": "./packages/debounce/tsconfig.build.json" },
diff --git a/ui-token-scripts.config.js b/ui-token-scripts.config.js
deleted file mode 100644
index ceff0c9289..0000000000
--- a/ui-token-scripts.config.js
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * The MIT License (MIT)
- *
- * Copyright (c) 2015 - present Instructure, Inc.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-module.exports = [
- {
- themeKey: 'canvas',
- sourceTokens: '@instructure/ui-theme-tokens/lib/canvas',
- outputPackage: '@instructure/ui-theme-tokens',
- groupOutput: true
- },
- {
- themeKey: 'canvas',
- sourceTokens: '@instructure/ui-theme-tokens/lib/canvas',
- outputPackage: '@instructure/canvas-theme'
- },
- {
- themeKey: 'canvas-high-contrast',
- sourceTokens: '@instructure/ui-theme-tokens/lib/canvasHighContrast',
- outputPackage: '@instructure/ui-theme-tokens',
- groupOutput: true
- },
- {
- themeKey: 'canvas-high-contrast',
- sourceTokens: '@instructure/ui-theme-tokens/lib/canvasHighContrast',
- outputPackage: '@instructure/canvas-high-contrast-theme'
- },
- {
- themeKey: 'instructure',
- sourceTokens: '@instructure/ui-theme-tokens/lib/instructure',
- outputPackage: '@instructure/ui-theme-tokens',
- groupOutput: true
- },
- {
- themeKey: 'instructure',
- sourceTokens: '@instructure/ui-theme-tokens/lib/instructure',
- outputPackage: '@instructure/instructure-theme'
- }
-]
diff --git a/yarn.lock b/yarn.lock
index 9ff2c957f8..28d07680f8 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4075,12 +4075,6 @@ __metadata:
languageName: unknown
linkType: soft
-"@instructure/config-loader@8.39.0, @instructure/config-loader@workspace:packages/config-loader":
- version: 0.0.0-use.local
- resolution: "@instructure/config-loader@workspace:packages/config-loader"
- languageName: unknown
- linkType: soft
-
"@instructure/console@8.39.0, @instructure/console@workspace:packages/console":
version: 0.0.0-use.local
resolution: "@instructure/console@workspace:packages/console"
@@ -5058,7 +5052,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@instructure/ui-icons-build@workspace:packages/ui-icons-build"
dependencies:
- "@instructure/config-loader": 8.39.0
del: ^6.1.1
glob: ^7.2.3
gulp: ^4.0.2
@@ -5120,7 +5113,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@instructure/ui-karma-config@workspace:packages/ui-karma-config"
dependencies:
- "@instructure/config-loader": 8.39.0
"@instructure/ui-webpack-config": 8.39.0
"@jsdevtools/coverage-istanbul-loader": 3.0.5
buffer: ^6.0.3
@@ -6306,7 +6298,6 @@ __metadata:
dependencies:
"@babel/runtime": ^7.22.6
"@instructure/command-utils": 8.39.0
- "@instructure/config-loader": 8.39.0
"@instructure/ui-test-utils": 8.39.0
fs-extra: ^10.1.0
lodash.isplainobject: ^4.0.6
@@ -17294,7 +17285,6 @@ __metadata:
"@babel/standalone": ^7.22.9
"@instructure/canvas-high-contrast-theme": 8.39.0
"@instructure/canvas-theme": 8.39.0
- "@instructure/config-loader": 8.39.0
"@instructure/console": 8.39.0
"@instructure/debounce": 8.39.0
"@instructure/emotion": 8.39.0