From 376d89de43e3262f97485e8c0948ecff770440c1 Mon Sep 17 00:00:00 2001 From: Daniel Del Core Date: Mon, 11 Sep 2023 10:37:29 +1000 Subject: [PATCH] bump to ts 5.2.2 --- .changeset/cuddly-owls-reflect.md | 34 ++++ community/@atlaskit__avatar/package.json | 2 +- community/@atlaskit__breadcrumbs/package.json | 2 +- community/@atlaskit__button/package.json | 2 +- community/@atlaskit__calendar/package.json | 2 +- community/@atlaskit__checkbox/package.json | 2 +- community/@atlaskit__icon/package.json | 2 +- community/@atlaskit__menu/package.json | 2 +- community/@atlaskit__popper/package.json | 2 +- community/@atlaskit__popup/package.json | 2 +- .../package.json | 2 +- community/@atlaskit__range/package.json | 2 +- .../@atlaskit__section-message/package.json | 2 +- .../@atlaskit__side-navigation/package.json | 2 +- community/@atlaskit__spinner/package.json | 2 +- community/@atlaskit__tag/package.json | 2 +- community/@atlaskit__textarea/package.json | 2 +- community/@atlaskit__textfield/package.json | 2 +- community/@atlaskit__toggle/package.json | 2 +- community/@emotion__monorepo/package.json | 2 +- community/javascript/package.json | 2 +- community/memoize-one/package.json | 2 +- community/react/package.json | 2 +- package.json | 4 +- packages/initializer/src/index.js | 175 ------------------ packages/initializer/src/index.ts | 2 +- tsconfig.community.json | 4 + tsconfig.eslint.json | 7 +- yarn.lock | 8 +- 29 files changed, 73 insertions(+), 205 deletions(-) create mode 100644 .changeset/cuddly-owls-reflect.md delete mode 100644 packages/initializer/src/index.js create mode 100644 tsconfig.community.json diff --git a/.changeset/cuddly-owls-reflect.md b/.changeset/cuddly-owls-reflect.md new file mode 100644 index 000000000..fb64d457b --- /dev/null +++ b/.changeset/cuddly-owls-reflect.md @@ -0,0 +1,34 @@ +--- +'@hypermod/mod-atlaskit__progress-indicator': patch +'@hypermod/mod-atlaskit__section-message': patch +'@hypermod/mod-atlaskit__side-navigation': patch +'@hypermod/mod-atlaskit__breadcrumbs': patch +'@hypermod/mod-atlaskit__textfield': patch +'@hypermod/mod-atlaskit__calendar': patch +'@hypermod/mod-atlaskit__checkbox': patch +'@hypermod/mod-atlaskit__textarea': patch +'@hypermod/mod-atlaskit__spinner': patch +'@hypermod/mod-emotion__monorepo': patch +'@hypermod/mod-atlaskit__avatar': patch +'@hypermod/mod-atlaskit__button': patch +'@hypermod/mod-atlaskit__popper': patch +'@hypermod/mod-atlaskit__toggle': patch +'@hypermod/mod-atlaskit__popup': patch +'@hypermod/mod-atlaskit__range': patch +'@hypermod/mod-atlaskit__icon': patch +'@hypermod/mod-atlaskit__menu': patch +'@hypermod/mod-atlaskit__tag': patch +'@hypermod/mod-memoize-one': patch +'@hypermod/mod-javascript': patch +'@hypermod/initializer': patch +'@codeshift/cli': patch +'@hypermod/validator': patch +'@hypermod/fetcher': patch +'@hypermod/mod-react': patch +'@hypermod/types': patch +'@hypermod/utils': patch +'@hypermod/core': patch +'@hypermod/cli': patch +--- + +Bumps typescript to 5.2.2 diff --git a/community/@atlaskit__avatar/package.json b/community/@atlaskit__avatar/package.json index 25bb6f501..13fc1f370 100644 --- a/community/@atlaskit__avatar/package.json +++ b/community/@atlaskit__avatar/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__avatar" } diff --git a/community/@atlaskit__breadcrumbs/package.json b/community/@atlaskit__breadcrumbs/package.json index 28f8cda28..d4a130f01 100644 --- a/community/@atlaskit__breadcrumbs/package.json +++ b/community/@atlaskit__breadcrumbs/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__breadcrumbs" } diff --git a/community/@atlaskit__button/package.json b/community/@atlaskit__button/package.json index 7143db9a8..639b96cbc 100644 --- a/community/@atlaskit__button/package.json +++ b/community/@atlaskit__button/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__button" } diff --git a/community/@atlaskit__calendar/package.json b/community/@atlaskit__calendar/package.json index 7becf275b..4f2ba7e5d 100644 --- a/community/@atlaskit__calendar/package.json +++ b/community/@atlaskit__calendar/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__calendar" } diff --git a/community/@atlaskit__checkbox/package.json b/community/@atlaskit__checkbox/package.json index 2e5fce704..b98dcf75d 100644 --- a/community/@atlaskit__checkbox/package.json +++ b/community/@atlaskit__checkbox/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__checkbox" } diff --git a/community/@atlaskit__icon/package.json b/community/@atlaskit__icon/package.json index 470c2f949..26b3e6713 100644 --- a/community/@atlaskit__icon/package.json +++ b/community/@atlaskit__icon/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__icon" } diff --git a/community/@atlaskit__menu/package.json b/community/@atlaskit__menu/package.json index da34af075..97ad59d8a 100644 --- a/community/@atlaskit__menu/package.json +++ b/community/@atlaskit__menu/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__menu" } diff --git a/community/@atlaskit__popper/package.json b/community/@atlaskit__popper/package.json index e61ec8242..754117727 100644 --- a/community/@atlaskit__popper/package.json +++ b/community/@atlaskit__popper/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__popper" } diff --git a/community/@atlaskit__popup/package.json b/community/@atlaskit__popup/package.json index 72281ca9d..c32e846e6 100644 --- a/community/@atlaskit__popup/package.json +++ b/community/@atlaskit__popup/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__popup" } diff --git a/community/@atlaskit__progress-indicator/package.json b/community/@atlaskit__progress-indicator/package.json index 5818e15f3..263262860 100644 --- a/community/@atlaskit__progress-indicator/package.json +++ b/community/@atlaskit__progress-indicator/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__progress-indicator" } diff --git a/community/@atlaskit__range/package.json b/community/@atlaskit__range/package.json index c3f284f56..23da53e05 100644 --- a/community/@atlaskit__range/package.json +++ b/community/@atlaskit__range/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__range" } diff --git a/community/@atlaskit__section-message/package.json b/community/@atlaskit__section-message/package.json index eb8268b59..dc8096ff6 100644 --- a/community/@atlaskit__section-message/package.json +++ b/community/@atlaskit__section-message/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__section-message" } diff --git a/community/@atlaskit__side-navigation/package.json b/community/@atlaskit__side-navigation/package.json index da0db5714..32281c972 100644 --- a/community/@atlaskit__side-navigation/package.json +++ b/community/@atlaskit__side-navigation/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__side-navigation" } diff --git a/community/@atlaskit__spinner/package.json b/community/@atlaskit__spinner/package.json index 15f05e6ac..a547ed051 100644 --- a/community/@atlaskit__spinner/package.json +++ b/community/@atlaskit__spinner/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__spinner" } diff --git a/community/@atlaskit__tag/package.json b/community/@atlaskit__tag/package.json index 6f1202aeb..0394e8c70 100644 --- a/community/@atlaskit__tag/package.json +++ b/community/@atlaskit__tag/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__tag" } diff --git a/community/@atlaskit__textarea/package.json b/community/@atlaskit__textarea/package.json index 6172bf3a9..8a7e92026 100644 --- a/community/@atlaskit__textarea/package.json +++ b/community/@atlaskit__textarea/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__textarea" } diff --git a/community/@atlaskit__textfield/package.json b/community/@atlaskit__textfield/package.json index 4852f911e..63c62e503 100644 --- a/community/@atlaskit__textfield/package.json +++ b/community/@atlaskit__textfield/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__textfield" } diff --git a/community/@atlaskit__toggle/package.json b/community/@atlaskit__toggle/package.json index 00c1e1dfd..4671e66db 100644 --- a/community/@atlaskit__toggle/package.json +++ b/community/@atlaskit__toggle/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__toggle" } diff --git a/community/@emotion__monorepo/package.json b/community/@emotion__monorepo/package.json index 1f4b59d1b..513dae5ed 100644 --- a/community/@emotion__monorepo/package.json +++ b/community/@emotion__monorepo/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@emotion__monorepo" } diff --git a/community/javascript/package.json b/community/javascript/package.json index 43b52bc0b..49b6e38b2 100644 --- a/community/javascript/package.json +++ b/community/javascript/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/javascript" } diff --git a/community/memoize-one/package.json b/community/memoize-one/package.json index 5f65739a5..eb69f43ac 100644 --- a/community/memoize-one/package.json +++ b/community/memoize-one/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/memoize-one" } diff --git a/community/react/package.json b/community/react/package.json index 30fbaa01d..31071bd89 100644 --- a/community/react/package.json +++ b/community/react/package.json @@ -21,7 +21,7 @@ "jest": "^29.0.0", "prettier": "^2.0.0", "ts-jest": "^29.0.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/react" } diff --git a/package.json b/package.json index 6a6aaf661..54f2d2dea 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "build:pkgs:watch": "tsc --build --watch tsconfig.packages.json", "build:community": "parcel build community/*", "build:community:watch": "parcel watch community/*", - "clean": "rm -rf node_modules/.cache && rimraf packages/**/{tsconfig.tsbuildinfo,dist} community/**/{tsconfig.tsbuildinfo,dist}", + "clean": "rimraf packages/**/{tsconfig.tsbuildinfo,dist} community/**/{tsconfig.tsbuildinfo,dist}", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", @@ -71,7 +71,7 @@ "ts-loader": "^6.2.1", "ts-node": "^10.9.1", "tslib": "^2.2.0", - "typescript": "^4.5.5" + "typescript": "^5.2.2" }, "resolutions": { "colors": "1.4.0" diff --git a/packages/initializer/src/index.js b/packages/initializer/src/index.js deleted file mode 100644 index dfb58a2a6..000000000 --- a/packages/initializer/src/index.js +++ /dev/null @@ -1,175 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.initTransform = exports.initDirectory = exports.initConfig = exports.getPackageJson = void 0; -const fs_extra_1 = __importDefault(require("fs-extra")); -const path_1 = __importDefault(require("path")); -const semver_1 = __importDefault(require("semver")); -const recast = __importStar(require("recast")); -const package_json_1 = require("@hypermod/cli/package.json"); -const package_json_2 = require("@hypermod/utils/package.json"); -const TEMPLATE_PATH = path_1.default.join(__dirname, '..', 'template'); -function getPackageJson(packageName, version = '0.0.0') { - return JSON.stringify({ - name: packageName, - version: version, - license: 'MIT', - source: 'src/hypermod.config.js', - main: 'dist/hypermod.config.js', - scripts: { - dev: 'hypermod', - build: 'parcel build', - test: 'jest --watch', - validate: 'hypermod validate .', - }, - dependencies: { - '@hypermod/utils': `^${package_json_2.version}`, - jscodeshift: '^0.13.1', - }, - devDependencies: { - '@hypermod/cli': `^${package_json_1.version}`, - '@types/jest': '^26.0.15', - '@types/node': '^16.11.0', - jest: '^26.6.0', - parcel: '^2.8.3', - prettier: '^2.0.0', - 'ts-jest': '^26.4.4', - typescript: '^4.5.5', - }, - }, null, 2); -} -exports.getPackageJson = getPackageJson; -function getNpmIgnore() { - return `src/ -codemods/ -**/__test__ -**/*.spec.(ts|js) -.vscode -jest.config.js -`; -} -function getConfig(packageName, transform, preset) { - return `module.exports = { - maintainers: [], - targets: [], - description: 'Codemods for ${packageName}', - transforms: {${transform ? `'${transform}': require('./${transform}/transform'),` : ''}}, - presets: {${preset ? `'${preset}': require('./${preset}/transform'),` : ''}}, -}; -`; -} -function updateConfig(targetPath, packageName, transformName, type) { - const configPath = path_1.default.join(targetPath, 'hypermod.config.js'); - const source = fs_extra_1.default.readFileSync(configPath, 'utf8'); - const ast = recast.parse(source); - const b = recast.types.builders; - const key = type === 'version' ? 'transforms' : 'presets'; - recast.visit(ast, { - visitProperty(propertyPath) { - // @ts-ignore - if (propertyPath.node.key.name !== key) - return false; - // @ts-ignore - const properties = propertyPath.node.value.properties; - // @ts-ignore - properties.forEach(property => { - if (property.key.value === transformName) { - throw new Error(`Transform for ${packageName} ${transformName} already exists`); - } - }); - const transformPath = `./${transformName}/transform`; - properties.push(b.property('init', b.stringLiteral(transformName), b.callExpression(b.identifier('require'), [ - b.stringLiteral(transformPath), - ]))); - return false; - }, - }); - fs_extra_1.default.writeFileSync(configPath, recast.prettyPrint(ast, { - quote: 'single', - trailingComma: true, - tabWidth: 2, - }).code); -} -function initConfig(packageName, targetPath = './') { - const configPath = path_1.default.join(targetPath, 'hypermod.config.js'); - if (!fs_extra_1.default.existsSync(configPath)) { - fs_extra_1.default.mkdirSync(targetPath, { recursive: true }); - fs_extra_1.default.writeFileSync(configPath, getConfig(packageName)); - } -} -exports.initConfig = initConfig; -function initDirectory(packageName, targetPath = './', isReduced = false) { - if (!fs_extra_1.default.existsSync(targetPath)) { - fs_extra_1.default.mkdirSync(targetPath); - } - fs_extra_1.default.writeFileSync(path_1.default.join(targetPath, 'package.json'), getPackageJson(isReduced - ? `@hypermod/mod-${packageName.replace('/', '__').replace('@', '')}` - : packageName)); - if (!isReduced) { - fs_extra_1.default.copySync(path_1.default.join(TEMPLATE_PATH), targetPath, { - filter: src => !src.includes('/codemods'), - }); - fs_extra_1.default.writeFileSync(path_1.default.join(targetPath, '.npmignore'), getNpmIgnore()); - const readmeFilePath = path_1.default.join(targetPath, 'README.md'); - const readmeFile = fs_extra_1.default - .readFileSync(readmeFilePath, 'utf8') - .replace('<% packageName %>', packageName); - fs_extra_1.default.writeFileSync(readmeFilePath, readmeFile); - } - initConfig(packageName, path_1.default.join(targetPath, 'src')); -} -exports.initDirectory = initDirectory; -function initTransform(packageName, id, type, targetPath = './') { - if (type === 'version' && !semver_1.default.valid(id)) { - throw new Error(`Provided version ${id} is not a valid semver version`); - } - const sourcePath = path_1.default.join(targetPath, 'src'); - const transformPath = path_1.default.join(sourcePath, id); - if (fs_extra_1.default.existsSync(transformPath)) { - throw new Error(`Codemod for ${type} "${id}" already exists`); - } - const destinationPath = path_1.default.join(sourcePath, 'codemod'); - fs_extra_1.default.copySync(path_1.default.join(TEMPLATE_PATH, 'codemods', 'codemod'), destinationPath); - fs_extra_1.default.renameSync(destinationPath, transformPath); - const testFilePath = path_1.default.join(transformPath, 'transform.spec.ts'); - const testFile = fs_extra_1.default - .readFileSync(testFilePath, 'utf8') - .replace(new RegExp('<% packageName %>', 'g'), packageName) - .replace(new RegExp('<% seperator %>', 'g'), type === 'version' ? '@' : '#') - .replace(new RegExp('<% transform %>', 'g'), id || ''); - fs_extra_1.default.writeFileSync(testFilePath, testFile); - const readmeFilePath = path_1.default.join(transformPath, 'README.md'); - const readmeFile = fs_extra_1.default - .readFileSync(readmeFilePath, 'utf8') - .replace(new RegExp('<% packageName %>', 'g'), packageName) - .replace(new RegExp('<% seperator %>', 'g'), type === 'version' ? '@' : '#') - .replace(new RegExp('<% transform %>', 'g'), id || ''); - fs_extra_1.default.writeFileSync(readmeFilePath, readmeFile); - updateConfig(sourcePath, packageName, id || '', type); -} -exports.initTransform = initTransform; diff --git a/packages/initializer/src/index.ts b/packages/initializer/src/index.ts index 682d6c020..015f3bbf1 100644 --- a/packages/initializer/src/index.ts +++ b/packages/initializer/src/index.ts @@ -33,7 +33,7 @@ export function getPackageJson(packageName: string, version = '0.0.0') { parcel: '^2.8.3', prettier: '^2.0.0', 'ts-jest': '^26.4.4', - typescript: '^4.5.5', + typescript: '^5.2.2', }, }, null, diff --git a/tsconfig.community.json b/tsconfig.community.json new file mode 100644 index 000000000..02617e5c0 --- /dev/null +++ b/tsconfig.community.json @@ -0,0 +1,4 @@ +{ + "extends": "./tsconfig.json", + "include": ["community/**/*"] +} diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index 0e004e366..4324b737c 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -1,4 +1,9 @@ { "extends": "./tsconfig.json", - "include": ["packages/**/*.ts", "community/**/*.ts", "scripts"] + "include": [ + "packages/**/*.ts", + "community/**/*.ts", + "community/**/hypermod.config.js", + "scripts" + ] } diff --git a/yarn.lock b/yarn.lock index 9fa45d479..5599717ec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7928,10 +7928,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript@^4.5.5: - version "4.9.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" - integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== +typescript@^5.2.2: + version "5.2.2" + resolved "https://packages.atlassian.com/api/npm/npm-remote/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" + integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== unbox-primitive@^1.0.2: version "1.0.2"