diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d2433cb73..edf304e1e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -3,7 +3,6 @@ "core/create": "4.0.6", "lib/error": "4.0.0", "lib/logger": "4.0.0", - "lib/options": "4.0.2", "plugins/package-json-hook": "5.0.2", "lib/state": "4.0.0", "lib/types": "3.6.1", diff --git a/core/cli/package.json b/core/cli/package.json index edeaf880d..2195b9d16 100644 --- a/core/cli/package.json +++ b/core/cli/package.json @@ -36,7 +36,6 @@ "@dotcom-tool-kit/conflict": "^1.0.0", "@dotcom-tool-kit/error": "^4.0.0", "@dotcom-tool-kit/logger": "^4.0.0", - "@dotcom-tool-kit/options": "^4.0.2", "@dotcom-tool-kit/plugin": "^1.0.0", "@dotcom-tool-kit/state": "^4.0.0", "@dotcom-tool-kit/validated": "^1.0.0", diff --git a/core/cli/src/help.ts b/core/cli/src/help.ts index 52914c8f7..9a4e4711f 100644 --- a/core/cli/src/help.ts +++ b/core/cli/src/help.ts @@ -1,5 +1,4 @@ import { loadConfig } from './config' -import { OptionKey, setOptions } from '@dotcom-tool-kit/options' import { styles as s } from '@dotcom-tool-kit/logger' import type { Logger } from 'winston' import YAML from 'yaml' @@ -85,12 +84,6 @@ export default async function showHelp(logger: Logger, commands: string[]): Prom commands = Object.keys(config.commandTasks).sort() } - for (const pluginOptions of Object.values(config.pluginOptions)) { - if (pluginOptions.forPlugin) { - setOptions(pluginOptions.forPlugin.id as OptionKey, pluginOptions.options) - } - } - logger.info(toolKitIntro) const definedCommands = commands.filter((command) => config.commandTasks[command]) diff --git a/core/cli/src/install.ts b/core/cli/src/install.ts index 554052509..a04f1243b 100644 --- a/core/cli/src/install.ts +++ b/core/cli/src/install.ts @@ -2,7 +2,6 @@ import * as path from 'path' import type { z } from 'zod' import { ToolKitError } from '@dotcom-tool-kit/error' import { styles } from '@dotcom-tool-kit/logger' -import { OptionKey, setOptions } from '@dotcom-tool-kit/options' import groupBy from 'lodash/groupBy' import type { Logger } from 'winston' import { loadConfig } from './config' @@ -117,12 +116,6 @@ export async function checkInstall(logger: Logger, config: ValidConfig): Promise export default async function installHooks(logger: Logger): Promise { const config = await loadConfig(logger, { root: process.cwd() }) - for (const pluginOptions of Object.values(config.pluginOptions)) { - if (pluginOptions.forPlugin) { - setOptions(pluginOptions.forPlugin.id as OptionKey, pluginOptions.options) - } - } - await runInit(logger, config) const errors: Error[] = [] diff --git a/core/cli/src/tasks.ts b/core/cli/src/tasks.ts index 536b4fdbe..7210c1eff 100644 --- a/core/cli/src/tasks.ts +++ b/core/cli/src/tasks.ts @@ -3,7 +3,6 @@ import { Task, TaskConstructor } from '@dotcom-tool-kit/base' import { Validated, invalid, reduceValidated, valid } from '@dotcom-tool-kit/validated' import type { Logger } from 'winston' import { importEntryPoint } from './plugin/entry-point' -import { OptionKey, getOptions, setOptions } from '@dotcom-tool-kit/options' import { loadConfig } from './config' import { ToolKitError } from '@dotcom-tool-kit/error' import { checkInstall } from './install' @@ -11,7 +10,7 @@ import { styles } from '@dotcom-tool-kit/logger' import { shouldDisableNativeFetch } from './fetch' import { runInit } from './init' import { formatInvalidOption } from './messages' -import { type TaskOptions, TaskSchemas } from '@dotcom-tool-kit/schemas' +import { PluginOptions, type TaskOptions, TaskSchemas } from '@dotcom-tool-kit/schemas' import { OptionsForTask } from '@dotcom-tool-kit/plugin' import pluralize from 'pluralize' @@ -63,12 +62,6 @@ export async function runTasksFromConfig( commands: string[], files?: string[] ): Promise { - for (const pluginOptions of Object.values(config.pluginOptions)) { - if (pluginOptions.forPlugin) { - setOptions(pluginOptions.forPlugin.id as OptionKey, pluginOptions.options) - } - } - await runInit(logger, config) await checkInstall(logger, config) diff --git a/docs/developing-tool-kit.md b/docs/developing-tool-kit.md index 69f9383ac..76cee4b78 100644 --- a/docs/developing-tool-kit.md +++ b/docs/developing-tool-kit.md @@ -1,5 +1,8 @@ # Developing Tool Kit +> [!WARNING] +> This guide hasn't been updated since Tool Kit v4 was released. Some of this information is outdated. + Tool Kit is a monorepo. The [`plugins`](/plugins) folder contains several different parts published separately to `npm`. [`core/cli`](/core/cli) is the main entry point. It loads plugins listed by an app's [Tool Kit configuration](../readme.md#configuration). These plugins export tasks that are available when running Tool Kit from your app's folder, allowing apps to include different plugins for different use cases. Tool Kit requires Node v16. To install dependencies for every package in the workspace, run: diff --git a/lib/doppler/package.json b/lib/doppler/package.json index 3a3ebaf70..95a0e71f9 100644 --- a/lib/doppler/package.json +++ b/lib/doppler/package.json @@ -9,7 +9,6 @@ "dependencies": { "@dotcom-tool-kit/error": "^4.0.0", "@dotcom-tool-kit/logger": "^4.0.0", - "@dotcom-tool-kit/options": "^4.0.2", "tslib": "^2.3.1" }, "keywords": [], diff --git a/lib/doppler/tsconfig.json b/lib/doppler/tsconfig.json index e0c3331fe..e791a1527 100644 --- a/lib/doppler/tsconfig.json +++ b/lib/doppler/tsconfig.json @@ -7,9 +7,6 @@ { "path": "../logger" }, - { - "path": "../options" - }, { "path": "../schemas" } diff --git a/lib/options/.toolkitrc.yml b/lib/options/.toolkitrc.yml deleted file mode 100644 index d48cfb24d..000000000 --- a/lib/options/.toolkitrc.yml +++ /dev/null @@ -1,2 +0,0 @@ - -version: 2 diff --git a/lib/options/CHANGELOG.md b/lib/options/CHANGELOG.md deleted file mode 100644 index fbed27626..000000000 --- a/lib/options/CHANGELOG.md +++ /dev/null @@ -1,241 +0,0 @@ -# Changelog - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.0.0 to ^2.1.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.1.0 to ^2.2.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.2.0 to ^2.3.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.3.0 to ^2.4.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.4.0 to ^2.5.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.5.0 to ^2.5.1 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.5.1 to ^2.6.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.6.0 to ^2.6.1 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.6.2 to ^2.7.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.7.0 to ^2.7.1 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.7.1 to ^2.8.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.8.0 to ^2.9.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.9.0 to ^2.9.1 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.9.1 to ^2.9.2 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.9.2 to ^2.10.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^3.1.0 to ^3.2.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^3.2.0 to ^3.3.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^3.3.0 to ^3.3.1 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^3.3.1 to ^3.4.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^3.4.0 to ^3.4.1 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^3.4.1 to ^3.5.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^3.6.0 to ^3.6.1 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/schemas bumped from ^1.0.0 to ^1.1.0 - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/schemas bumped from ^1.1.0 to ^1.1.1 - -## [4.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/options-v3.2.1...options-v4.0.0) (2024-09-10) - - -### ⚠ BREAKING CHANGES - -* drop support for Node 16 -* rename SchemaOptions to PluginOptions - -### Features - -* split schemas out into separate package ([5d538cd](https://github.com/Financial-Times/dotcom-tool-kit/commit/5d538cd692eec6b799587f499c444b3e4f6e78b8)) - - -### Miscellaneous Chores - -* drop support for Node 16 ([ab95982](https://github.com/Financial-Times/dotcom-tool-kit/commit/ab95982635e255fec49d08af9894c2833a36500e)) - - -### Code Refactoring - -* rename SchemaOptions to PluginOptions ([0ce24db](https://github.com/Financial-Times/dotcom-tool-kit/commit/0ce24db808d077a0e4647d3bef9eaf55223a1cdf)) - -## [3.2.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/options-v3.1.6...options-v3.2.0) (2024-01-11) - - -### Features - -* add support for Node v20 ([759ac10](https://github.com/Financial-Times/dotcom-tool-kit/commit/759ac10e309885e99f54ae431c301c32ee04f972)) - - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^3.5.0 to ^3.6.0 - -## [3.1.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/options-v3.0.0...options-v3.1.0) (2023-04-28) - - -### Features - -* specify Node 18 support in all packages' engines fields ([3b55c79](https://github.com/Financial-Times/dotcom-tool-kit/commit/3b55c79f3f55b448f1a92fcf842dab6a8906ea70)) - - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^3.0.0 to ^3.1.0 - -## [3.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/options-v2.0.16...options-v3.0.0) (2023-04-18) - - -### ⚠ BREAKING CHANGES - -* drop support for Node 14 across all packages - -### Miscellaneous Chores - -* drop support for Node 14 across all packages ([aaee178](https://github.com/Financial-Times/dotcom-tool-kit/commit/aaee178b535a51f9c75a882d78ffd8e8aa3eac60)) - - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.10.0 to ^3.0.0 - -### [2.0.9](https://github.com/Financial-Times/dotcom-tool-kit/compare/options-v2.0.8...options-v2.0.9) (2022-11-09) - - -### Bug Fixes - -* add tslib to individual plugins ([142363e](https://github.com/Financial-Times/dotcom-tool-kit/commit/142363edb2a82ebf4dc3c8e1b392888ebfd7dc89)) - - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^2.6.1 to ^2.6.2 - -## [2.0.0](https://github.com/Financial-Times/dotcom-tool-kit/compare/options-v1.9.0...options-v2.0.0) (2022-04-19) - - -### Miscellaneous Chores - -* release 2.0 version for all packages ([42dc5d3](https://github.com/Financial-Times/dotcom-tool-kit/commit/42dc5d39bf330b9bca4121d062470904f9c6918d)) - - -### Dependencies - -* The following workspace dependencies were updated - * dependencies - * @dotcom-tool-kit/types bumped from ^1.9.0 to ^2.0.0 diff --git a/lib/options/package.json b/lib/options/package.json deleted file mode 100644 index 4fe2cd922..000000000 --- a/lib/options/package.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "@dotcom-tool-kit/options", - "version": "4.0.2", - "description": "", - "main": "lib", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "keywords": [], - "author": "FT.com Platforms Team ", - "license": "ISC", - "dependencies": { - "@dotcom-tool-kit/schemas": "^1.1.1", - "tslib": "^2.3.1" - }, - "repository": { - "type": "git", - "url": "https://github.com/financial-times/dotcom-tool-kit.git", - "directory": "lib/options" - }, - "bugs": "https://github.com/financial-times/dotcom-tool-kit/issues", - "homepage": "https://github.com/financial-times/dotcom-tool-kit/tree/main/lib/options", - "files": [ - "/lib", - ".toolkitrc.yml" - ], - "engines": { - "node": "18.x || 20.x", - "npm": "7.x || 8.x || 9.x || 10.x" - } -} diff --git a/lib/options/src/index.ts b/lib/options/src/index.ts deleted file mode 100644 index 6ad4d64e1..000000000 --- a/lib/options/src/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -import type { PluginOptions } from '@dotcom-tool-kit/schemas' - -const options: Partial = {} - -export type OptionKey = keyof PluginOptions - -export const getOptions = (plugin: T): PluginOptions[T] | undefined => options[plugin] - -export const setOptions = (plugin: T, opts: PluginOptions[T]): void => { - options[plugin] = opts -} diff --git a/lib/options/tsconfig.json b/lib/options/tsconfig.json deleted file mode 100644 index 3da3621a6..000000000 --- a/lib/options/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "../../tsconfig.settings.json", - "compilerOptions": { - "outDir": "lib", - "rootDir": "src" - }, - "references": [ - { - "path": "../schemas" - } - ], - "include": ["src/**/*"] -} diff --git a/plugins/circleci-deploy/tsconfig.json b/plugins/circleci-deploy/tsconfig.json index 73e9ba07d..5bad93a77 100644 --- a/plugins/circleci-deploy/tsconfig.json +++ b/plugins/circleci-deploy/tsconfig.json @@ -8,12 +8,11 @@ { "path": "../../lib/base" }, - { - "path": "../../lib/options" - }, { "path": "../circleci" } ], - "include": ["src/**/*"] + "include": [ + "src/**/*" + ] } diff --git a/plugins/circleci/package.json b/plugins/circleci/package.json index 768e6669a..1bd01e86d 100644 --- a/plugins/circleci/package.json +++ b/plugins/circleci/package.json @@ -11,7 +11,6 @@ "@dotcom-tool-kit/conflict": "^1.0.0", "@dotcom-tool-kit/error": "^4.0.0", "@dotcom-tool-kit/logger": "^4.0.0", - "@dotcom-tool-kit/options": "^4.0.2", "@dotcom-tool-kit/state": "^4.0.0", "jest-diff": "^29.5.0", "lodash": "^4.17.21", diff --git a/plugins/circleci/test/circleci-config.test.ts b/plugins/circleci/test/circleci-config.test.ts index 18acccae0..1cb9a6158 100644 --- a/plugins/circleci/test/circleci-config.test.ts +++ b/plugins/circleci/test/circleci-config.test.ts @@ -1,5 +1,4 @@ import { type HookInstallation } from '@dotcom-tool-kit/base' -import { setOptions } from '@dotcom-tool-kit/options' import type { CircleCiWorkflowJob, CircleCiJob, @@ -53,11 +52,6 @@ const simpleOptions: CircleCiOptions = { describe('CircleCI config hook', () => { const originalDir = process.cwd() - beforeAll(() => { - // mirror the default options created by zod - setOptions('@dotcom-tool-kit/circleci', { cimgNodeVersions: ['16.14-browsers'] }) - }) - afterEach(() => { process.chdir(originalDir) }) @@ -65,13 +59,13 @@ describe('CircleCI config hook', () => { describe('isInstalled', () => { it('should return true if the hook job is in the circleci workflow', async () => { process.chdir(path.join(__dirname, 'files', 'with-hook')) - const hook = new CircleCi(logger, 'CircleCi', simpleOptions, { cimgNodeVersions: [] }) + const hook = new CircleCi(logger, 'CircleCi', simpleOptions, { cimgNodeVersions: ['16.14-browsers'] }) expect(await hook.isInstalled()).toBeTruthy() }) it('should return false if the hook job is not in the circleci workflow', async () => { process.chdir(path.join(__dirname, 'files', 'without-hook')) - const hook = new CircleCi(logger, 'CircleCi', simpleOptions, { cimgNodeVersions: [] }) + const hook = new CircleCi(logger, 'CircleCi', simpleOptions, { cimgNodeVersions: ['16.14-browsers'] }) expect(await hook.isInstalled()).toBeFalsy() }) @@ -81,7 +75,7 @@ describe('CircleCI config hook', () => { logger, 'CircleCi', { ...simpleOptions, disableBaseConfig: false }, - { cimgNodeVersions: [] } + { cimgNodeVersions: ['16.14-browsers'] } ) expect(await hook.isInstalled()).toBeFalsy() }) @@ -90,7 +84,7 @@ describe('CircleCI config hook', () => { describe('install', () => { it("should throw an error explaining how to autogenerate config if existing config file doesn't contain any tool-kit jobs", async () => { process.chdir(path.join(__dirname, 'files', 'without-tool-kit')) - const hook = new CircleCi(logger, 'CircleCi', simpleOptions, { cimgNodeVersions: [] }) + const hook = new CircleCi(logger, 'CircleCi', simpleOptions, { cimgNodeVersions: ['16.14-browsers'] }) const state = await hook.install() await expect(hook.commitInstall(state)).rejects.toThrow( "Your project has an existing CircleCI config file which doesn't contain" @@ -99,7 +93,7 @@ describe('CircleCI config hook', () => { it('should throw an error explaining what to do if no autogenerated comment', async () => { process.chdir(path.join(__dirname, 'files', 'without-hook')) - const hook = new CircleCi(logger, 'CircleCi', simpleOptions, { cimgNodeVersions: [] }) + const hook = new CircleCi(logger, 'CircleCi', simpleOptions, { cimgNodeVersions: ['16.14-browsers'] }) const state = await hook.install() await expect(hook.commitInstall(state)).rejects.toThrow( 'Your CircleCI configuration is missing the expected fields from Tool Kit:' @@ -109,7 +103,7 @@ describe('CircleCI config hook', () => { it("should add a job with its jobConfig to a file with a comment if it's not there", async () => { process.chdir(path.join(__dirname, 'files', 'comment-without-hook')) - const hook = new CircleCi(logger, 'CircleCi', simpleOptions, { cimgNodeVersions: [] }) + const hook = new CircleCi(logger, 'CircleCi', simpleOptions, { cimgNodeVersions: ['16.14-browsers'] }) const state = await hook.install() await hook.commitInstall(state) diff --git a/plugins/circleci/tsconfig.json b/plugins/circleci/tsconfig.json index c92951d9d..0e5cacb6a 100644 --- a/plugins/circleci/tsconfig.json +++ b/plugins/circleci/tsconfig.json @@ -13,9 +13,6 @@ { "path": "../../lib/logger" }, - { - "path": "../../lib/options" - }, { "path": "../../lib/plugin" }, @@ -30,5 +27,7 @@ "outDir": "lib", "rootDir": "src" }, - "include": ["src/**/*"] + "include": [ + "src/**/*" + ] } diff --git a/plugins/heroku/package.json b/plugins/heroku/package.json index 68490ee62..f0b9c4050 100644 --- a/plugins/heroku/package.json +++ b/plugins/heroku/package.json @@ -15,7 +15,6 @@ "@dotcom-tool-kit/error": "^4.0.0", "@dotcom-tool-kit/logger": "^4.0.0", "@dotcom-tool-kit/npm": "^4.0.2", - "@dotcom-tool-kit/options": "^4.0.2", "@dotcom-tool-kit/package-json-hook": "^5.0.2", "@dotcom-tool-kit/state": "^4.0.0", "@dotcom-tool-kit/wait-for-ok": "^4.0.0", diff --git a/plugins/heroku/tsconfig.json b/plugins/heroku/tsconfig.json index 9101fdd49..54d37d939 100644 --- a/plugins/heroku/tsconfig.json +++ b/plugins/heroku/tsconfig.json @@ -25,9 +25,6 @@ { "path": "../../lib/logger" }, - { - "path": "../../lib/options" - }, { "path": "../../lib/schemas" } @@ -36,5 +33,7 @@ "outDir": "lib", "rootDir": "src" }, - "include": ["src/**/*"] + "include": [ + "src/**/*" + ] } diff --git a/plugins/lint-staged-npm/package.json b/plugins/lint-staged-npm/package.json index 30d2f60bc..f74427896 100644 --- a/plugins/lint-staged-npm/package.json +++ b/plugins/lint-staged-npm/package.json @@ -12,7 +12,6 @@ "dependencies": { "@dotcom-tool-kit/husky-npm": "^5.0.2", "@dotcom-tool-kit/lint-staged": "^5.0.2", - "@dotcom-tool-kit/options": "^4.0.2", "@dotcom-tool-kit/package-json-hook": "^5.0.2", "tslib": "^2.3.1" }, diff --git a/plugins/lint-staged-npm/tsconfig.json b/plugins/lint-staged-npm/tsconfig.json index 8fefb192f..aa3dbd367 100644 --- a/plugins/lint-staged-npm/tsconfig.json +++ b/plugins/lint-staged-npm/tsconfig.json @@ -7,10 +7,9 @@ "references": [ { "path": "../lint-staged" - }, - { - "path": "../../lib/options" } ], - "include": ["src/**/*"] + "include": [ + "src/**/*" + ] } diff --git a/plugins/nodemon/tsconfig.json b/plugins/nodemon/tsconfig.json index 86abc26c2..04932917c 100644 --- a/plugins/nodemon/tsconfig.json +++ b/plugins/nodemon/tsconfig.json @@ -17,9 +17,6 @@ { "path": "../../lib/logger" }, - { - "path": "../../lib/options" - }, { "path": "../../lib/state" }, @@ -27,5 +24,7 @@ "path": "../../lib/schemas" } ], - "include": ["src/**/*"] + "include": [ + "src/**/*" + ] } diff --git a/plugins/serverless/package.json b/plugins/serverless/package.json index b74826b33..2c0992f8b 100644 --- a/plugins/serverless/package.json +++ b/plugins/serverless/package.json @@ -28,7 +28,6 @@ "@dotcom-tool-kit/base": "^1.0.0", "@dotcom-tool-kit/doppler": "^2.0.2", "@dotcom-tool-kit/error": "^4.0.0", - "@dotcom-tool-kit/options": "^4.0.2", "@dotcom-tool-kit/state": "^4.0.0", "get-port": "^5.1.1", "tslib": "^2.3.1", diff --git a/plugins/serverless/tsconfig.json b/plugins/serverless/tsconfig.json index 7d6922dcf..6dd8492ec 100644 --- a/plugins/serverless/tsconfig.json +++ b/plugins/serverless/tsconfig.json @@ -14,12 +14,11 @@ { "path": "../../lib/logger" }, - { - "path": "../../lib/options" - }, { "path": "../../lib/schemas" } ], - "include": ["src/**/*"] + "include": [ + "src/**/*" + ] } diff --git a/release-please-config.json b/release-please-config.json index 8212ec7d3..aca7077d0 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,6 +1,8 @@ { "bootstrap-sha": "47035e3bd4e3ac399319b3421ce86a82f1c1ab21", - "plugins": ["node-workspace"], + "plugins": [ + "node-workspace" + ], "prerelease": true, "bump-minor-pre-major": true, "bump-patch-for-minor-pre-major": true, @@ -13,7 +15,6 @@ "lib/doppler": {}, "lib/error": {}, "lib/logger": {}, - "lib/options": {}, "lib/plugin": {}, "lib/schemas": {}, "lib/state": {}, diff --git a/tsconfig.json b/tsconfig.json index 9c507516b..f214674fd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -76,9 +76,6 @@ { "path": "plugins/prettier" }, - { - "path": "lib/options" - }, { "path": "plugins/node" },