diff --git a/.yarn/cache/@fortawesome-fontawesome-free-npm-6.5.1-38b9277012-ff6627084d.zip b/.yarn/cache/@fortawesome-fontawesome-free-npm-6.5.1-38b9277012-ff6627084d.zip deleted file mode 100644 index 7e7893e6..00000000 Binary files a/.yarn/cache/@fortawesome-fontawesome-free-npm-6.5.1-38b9277012-ff6627084d.zip and /dev/null differ diff --git a/.yarn/cache/@fortawesome-fontawesome-free-npm-6.5.2-81f99be10c-8eb70fa762.zip b/.yarn/cache/@fortawesome-fontawesome-free-npm-6.5.2-81f99be10c-8eb70fa762.zip new file mode 100644 index 00000000..1d791e25 Binary files /dev/null and b/.yarn/cache/@fortawesome-fontawesome-free-npm-6.5.2-81f99be10c-8eb70fa762.zip differ diff --git a/.yarn/cache/@humanwhocodes-object-schema-npm-2.0.2-77b42018f9-ef915e3e2f.zip b/.yarn/cache/@humanwhocodes-object-schema-npm-2.0.2-77b42018f9-ef915e3e2f.zip deleted file mode 100644 index 9c59407b..00000000 Binary files a/.yarn/cache/@humanwhocodes-object-schema-npm-2.0.2-77b42018f9-ef915e3e2f.zip and /dev/null differ diff --git a/.yarn/cache/@humanwhocodes-object-schema-npm-2.0.3-4f0e508cd9-05bb99ed06.zip b/.yarn/cache/@humanwhocodes-object-schema-npm-2.0.3-4f0e508cd9-05bb99ed06.zip new file mode 100644 index 00000000..52ae4fad Binary files /dev/null and b/.yarn/cache/@humanwhocodes-object-schema-npm-2.0.3-4f0e508cd9-05bb99ed06.zip differ diff --git a/.yarn/cache/@types-node-npm-20.11.30-b20dd3f11f-78515bc768.zip b/.yarn/cache/@types-node-npm-20.12.7-3bb3d3303d-b4a28a3b59.zip similarity index 75% rename from .yarn/cache/@types-node-npm-20.11.30-b20dd3f11f-78515bc768.zip rename to .yarn/cache/@types-node-npm-20.12.7-3bb3d3303d-b4a28a3b59.zip index cf4ad15d..f8aa4e23 100644 Binary files a/.yarn/cache/@types-node-npm-20.11.30-b20dd3f11f-78515bc768.zip and b/.yarn/cache/@types-node-npm-20.12.7-3bb3d3303d-b4a28a3b59.zip differ diff --git a/.yarn/cache/@types-react-dom-npm-18.2.22-5cfb6052f5-310da22244.zip b/.yarn/cache/@types-react-dom-npm-18.2.24-46cb818e4c-bbd4005f2f.zip similarity index 57% rename from .yarn/cache/@types-react-dom-npm-18.2.22-5cfb6052f5-310da22244.zip rename to .yarn/cache/@types-react-dom-npm-18.2.24-46cb818e4c-bbd4005f2f.zip index 23456147..0ceec703 100644 Binary files a/.yarn/cache/@types-react-dom-npm-18.2.22-5cfb6052f5-310da22244.zip and b/.yarn/cache/@types-react-dom-npm-18.2.24-46cb818e4c-bbd4005f2f.zip differ diff --git a/.yarn/cache/@types-react-npm-18.2.71-331d3140c4-b9473a30b5.zip b/.yarn/cache/@types-react-npm-18.2.75-6840469812-d609cdc52d.zip similarity index 91% rename from .yarn/cache/@types-react-npm-18.2.71-331d3140c4-b9473a30b5.zip rename to .yarn/cache/@types-react-npm-18.2.75-6840469812-d609cdc52d.zip index 2a09a607..f34ab3e9 100644 Binary files a/.yarn/cache/@types-react-npm-18.2.71-331d3140c4-b9473a30b5.zip and b/.yarn/cache/@types-react-npm-18.2.75-6840469812-d609cdc52d.zip differ diff --git a/.yarn/cache/@types-semver-npm-7.5.6-9d2637fc95-e77282b17f.zip b/.yarn/cache/@types-semver-npm-7.5.8-26073743d7-3496808818.zip similarity index 63% rename from .yarn/cache/@types-semver-npm-7.5.6-9d2637fc95-e77282b17f.zip rename to .yarn/cache/@types-semver-npm-7.5.8-26073743d7-3496808818.zip index a599b813..159fae7c 100644 Binary files a/.yarn/cache/@types-semver-npm-7.5.6-9d2637fc95-e77282b17f.zip and b/.yarn/cache/@types-semver-npm-7.5.8-26073743d7-3496808818.zip differ diff --git a/.yarn/cache/@typescript-eslint-eslint-plugin-npm-7.4.0-559b255afa-9bd8852c7e.zip b/.yarn/cache/@typescript-eslint-eslint-plugin-npm-7.6.0-e3a1f1768d-6977c5fb53.zip similarity index 88% rename from .yarn/cache/@typescript-eslint-eslint-plugin-npm-7.4.0-559b255afa-9bd8852c7e.zip rename to .yarn/cache/@typescript-eslint-eslint-plugin-npm-7.6.0-e3a1f1768d-6977c5fb53.zip index 89dc811a..13d6cbae 100644 Binary files a/.yarn/cache/@typescript-eslint-eslint-plugin-npm-7.4.0-559b255afa-9bd8852c7e.zip and b/.yarn/cache/@typescript-eslint-eslint-plugin-npm-7.6.0-e3a1f1768d-6977c5fb53.zip differ diff --git a/.yarn/cache/@typescript-eslint-parser-npm-7.4.0-0c13447ea1-142a9e1187.zip b/.yarn/cache/@typescript-eslint-parser-npm-7.4.0-0c13447ea1-142a9e1187.zip deleted file mode 100644 index dd94aa86..00000000 Binary files a/.yarn/cache/@typescript-eslint-parser-npm-7.4.0-0c13447ea1-142a9e1187.zip and /dev/null differ diff --git a/.yarn/cache/@typescript-eslint-parser-npm-7.6.0-56aac94370-245b975280.zip b/.yarn/cache/@typescript-eslint-parser-npm-7.6.0-56aac94370-245b975280.zip new file mode 100644 index 00000000..f108f89a Binary files /dev/null and b/.yarn/cache/@typescript-eslint-parser-npm-7.6.0-56aac94370-245b975280.zip differ diff --git a/.yarn/cache/@typescript-eslint-scope-manager-npm-7.4.0-0b20c139fb-8cf9292444.zip b/.yarn/cache/@typescript-eslint-scope-manager-npm-7.6.0-8477c6fabc-1daa0b84f7.zip similarity index 90% rename from .yarn/cache/@typescript-eslint-scope-manager-npm-7.4.0-0b20c139fb-8cf9292444.zip rename to .yarn/cache/@typescript-eslint-scope-manager-npm-7.6.0-8477c6fabc-1daa0b84f7.zip index 3ba09d57..4860f483 100644 Binary files a/.yarn/cache/@typescript-eslint-scope-manager-npm-7.4.0-0b20c139fb-8cf9292444.zip and b/.yarn/cache/@typescript-eslint-scope-manager-npm-7.6.0-8477c6fabc-1daa0b84f7.zip differ diff --git a/.yarn/cache/@typescript-eslint-type-utils-npm-7.4.0-7aaf170a20-a8bd0929d8.zip b/.yarn/cache/@typescript-eslint-type-utils-npm-7.6.0-b622454806-1011e1d3ff.zip similarity index 84% rename from .yarn/cache/@typescript-eslint-type-utils-npm-7.4.0-7aaf170a20-a8bd0929d8.zip rename to .yarn/cache/@typescript-eslint-type-utils-npm-7.6.0-b622454806-1011e1d3ff.zip index fa5fc389..80481464 100644 Binary files a/.yarn/cache/@typescript-eslint-type-utils-npm-7.4.0-7aaf170a20-a8bd0929d8.zip and b/.yarn/cache/@typescript-eslint-type-utils-npm-7.6.0-b622454806-1011e1d3ff.zip differ diff --git a/.yarn/cache/@typescript-eslint-types-npm-7.4.0-3e79d39332-2782c5bf65.zip b/.yarn/cache/@typescript-eslint-types-npm-7.6.0-f4e9bd747a-830c1b12d8.zip similarity index 84% rename from .yarn/cache/@typescript-eslint-types-npm-7.4.0-3e79d39332-2782c5bf65.zip rename to .yarn/cache/@typescript-eslint-types-npm-7.6.0-f4e9bd747a-830c1b12d8.zip index ae81e5c7..e863c0f7 100644 Binary files a/.yarn/cache/@typescript-eslint-types-npm-7.4.0-3e79d39332-2782c5bf65.zip and b/.yarn/cache/@typescript-eslint-types-npm-7.6.0-f4e9bd747a-830c1b12d8.zip differ diff --git a/.yarn/cache/@typescript-eslint-typescript-estree-npm-7.4.0-c2218411fa-162ec9d758.zip b/.yarn/cache/@typescript-eslint-typescript-estree-npm-7.6.0-a84b883343-a10ae98166.zip similarity index 91% rename from .yarn/cache/@typescript-eslint-typescript-estree-npm-7.4.0-c2218411fa-162ec9d758.zip rename to .yarn/cache/@typescript-eslint-typescript-estree-npm-7.6.0-a84b883343-a10ae98166.zip index 078d902f..dcd39187 100644 Binary files a/.yarn/cache/@typescript-eslint-typescript-estree-npm-7.4.0-c2218411fa-162ec9d758.zip and b/.yarn/cache/@typescript-eslint-typescript-estree-npm-7.6.0-a84b883343-a10ae98166.zip differ diff --git a/.yarn/cache/@typescript-eslint-utils-npm-7.4.0-cc89951e7f-ffed27e770.zip b/.yarn/cache/@typescript-eslint-utils-npm-7.6.0-b846728061-45bcc1b00e.zip similarity index 65% rename from .yarn/cache/@typescript-eslint-utils-npm-7.4.0-cc89951e7f-ffed27e770.zip rename to .yarn/cache/@typescript-eslint-utils-npm-7.6.0-b846728061-45bcc1b00e.zip index 081f69fb..879dcac0 100644 Binary files a/.yarn/cache/@typescript-eslint-utils-npm-7.4.0-cc89951e7f-ffed27e770.zip and b/.yarn/cache/@typescript-eslint-utils-npm-7.6.0-b846728061-45bcc1b00e.zip differ diff --git a/.yarn/cache/@typescript-eslint-visitor-keys-npm-7.4.0-fcd4bb6855-70dc99f2ad.zip b/.yarn/cache/@typescript-eslint-visitor-keys-npm-7.6.0-dbe1be615f-2703629f13.zip similarity index 82% rename from .yarn/cache/@typescript-eslint-visitor-keys-npm-7.4.0-fcd4bb6855-70dc99f2ad.zip rename to .yarn/cache/@typescript-eslint-visitor-keys-npm-7.6.0-dbe1be615f-2703629f13.zip index f7f13b6d..7bcd17eb 100644 Binary files a/.yarn/cache/@typescript-eslint-visitor-keys-npm-7.4.0-fcd4bb6855-70dc99f2ad.zip and b/.yarn/cache/@typescript-eslint-visitor-keys-npm-7.6.0-dbe1be615f-2703629f13.zip differ diff --git a/.yarn/cache/dettle-npm-1.0.1-a5536351fd-5b716bf872.zip b/.yarn/cache/dettle-npm-1.0.1-a5536351fd-5b716bf872.zip deleted file mode 100644 index a44998f5..00000000 Binary files a/.yarn/cache/dettle-npm-1.0.1-a5536351fd-5b716bf872.zip and /dev/null differ diff --git a/.yarn/cache/dettle-npm-1.0.2-cd4207d220-998125afac.zip b/.yarn/cache/dettle-npm-1.0.2-cd4207d220-998125afac.zip new file mode 100644 index 00000000..544edc79 Binary files /dev/null and b/.yarn/cache/dettle-npm-1.0.2-cd4207d220-998125afac.zip differ diff --git a/.yarn/cache/glob-npm-10.3.12-f2e90133a0-9e8186abc2.zip b/.yarn/cache/glob-npm-10.3.12-f2e90133a0-9e8186abc2.zip new file mode 100644 index 00000000..a5e147c3 Binary files /dev/null and b/.yarn/cache/glob-npm-10.3.12-f2e90133a0-9e8186abc2.zip differ diff --git a/.yarn/cache/minimatch-npm-9.0.4-7be5a33efc-4cdc18d112.zip b/.yarn/cache/minimatch-npm-9.0.4-7be5a33efc-4cdc18d112.zip new file mode 100644 index 00000000..61a88c7c Binary files /dev/null and b/.yarn/cache/minimatch-npm-9.0.4-7be5a33efc-4cdc18d112.zip differ diff --git a/.yarn/cache/path-scurry-npm-1.10.2-676482c764-a2bbbe8dc2.zip b/.yarn/cache/path-scurry-npm-1.10.2-676482c764-a2bbbe8dc2.zip new file mode 100644 index 00000000..b8b3c10a Binary files /dev/null and b/.yarn/cache/path-scurry-npm-1.10.2-676482c764-a2bbbe8dc2.zip differ diff --git a/.yarn/cache/path-to-regexp-npm-6.2.1-8ebfe03654-1e266be712.zip b/.yarn/cache/path-to-regexp-npm-6.2.1-8ebfe03654-1e266be712.zip deleted file mode 100644 index 3975cb32..00000000 Binary files a/.yarn/cache/path-to-regexp-npm-6.2.1-8ebfe03654-1e266be712.zip and /dev/null differ diff --git a/.yarn/cache/path-to-regexp-npm-6.2.2-0bf7f6805c-f7d11c1a9e.zip b/.yarn/cache/path-to-regexp-npm-6.2.2-0bf7f6805c-f7d11c1a9e.zip new file mode 100644 index 00000000..7d276a02 Binary files /dev/null and b/.yarn/cache/path-to-regexp-npm-6.2.2-0bf7f6805c-f7d11c1a9e.zip differ diff --git a/.yarn/cache/tiny-readdir-npm-2.4.0-e533405f07-ae797cc88e.zip b/.yarn/cache/tiny-readdir-npm-2.4.0-e533405f07-ae797cc88e.zip deleted file mode 100644 index 93c1d32f..00000000 Binary files a/.yarn/cache/tiny-readdir-npm-2.4.0-e533405f07-ae797cc88e.zip and /dev/null differ diff --git a/.yarn/cache/tiny-readdir-npm-2.7.2-387d78aaf4-1113ff7e8d.zip b/.yarn/cache/tiny-readdir-npm-2.7.2-387d78aaf4-1113ff7e8d.zip new file mode 100644 index 00000000..b9fe0197 Binary files /dev/null and b/.yarn/cache/tiny-readdir-npm-2.7.2-387d78aaf4-1113ff7e8d.zip differ diff --git a/.yarn/cache/ts-api-utils-npm-1.2.1-edd799bde4-6d7f60fd01.zip b/.yarn/cache/ts-api-utils-npm-1.2.1-edd799bde4-6d7f60fd01.zip deleted file mode 100644 index fbb67efe..00000000 Binary files a/.yarn/cache/ts-api-utils-npm-1.2.1-edd799bde4-6d7f60fd01.zip and /dev/null differ diff --git a/.yarn/cache/ts-api-utils-npm-1.3.0-33457908f8-3ee44faa24.zip b/.yarn/cache/ts-api-utils-npm-1.3.0-33457908f8-3ee44faa24.zip new file mode 100644 index 00000000..dff1be63 Binary files /dev/null and b/.yarn/cache/ts-api-utils-npm-1.3.0-33457908f8-3ee44faa24.zip differ diff --git a/.yarn/cache/typescript-npm-5.4.3-702063d215-de4c69f49a.zip b/.yarn/cache/typescript-npm-5.4.4-a827b905f6-bade322d88.zip similarity index 55% rename from .yarn/cache/typescript-npm-5.4.3-702063d215-de4c69f49a.zip rename to .yarn/cache/typescript-npm-5.4.4-a827b905f6-bade322d88.zip index 5a815ac9..e04a713f 100644 Binary files a/.yarn/cache/typescript-npm-5.4.3-702063d215-de4c69f49a.zip and b/.yarn/cache/typescript-npm-5.4.4-a827b905f6-bade322d88.zip differ diff --git a/.yarn/cache/typescript-patch-0b5476accc-5aedd97595.zip b/.yarn/cache/typescript-patch-caac36e033-88aff3244c.zip similarity index 55% rename from .yarn/cache/typescript-patch-0b5476accc-5aedd97595.zip rename to .yarn/cache/typescript-patch-caac36e033-88aff3244c.zip index 59423582..2d5cb43d 100644 Binary files a/.yarn/cache/typescript-patch-0b5476accc-5aedd97595.zip and b/.yarn/cache/typescript-patch-caac36e033-88aff3244c.zip differ diff --git a/.yarn/cache/watcher-npm-2.3.0-80db912527-6ee220a8c1.zip b/.yarn/cache/watcher-npm-2.3.1-38b66090bc-bd223109a5.zip similarity index 73% rename from .yarn/cache/watcher-npm-2.3.0-80db912527-6ee220a8c1.zip rename to .yarn/cache/watcher-npm-2.3.1-38b66090bc-bd223109a5.zip index 1d22dfe8..4092c5d5 100644 Binary files a/.yarn/cache/watcher-npm-2.3.0-80db912527-6ee220a8c1.zip and b/.yarn/cache/watcher-npm-2.3.1-38b66090bc-bd223109a5.zip differ diff --git a/package.json b/package.json index 432006e0..0a1f5553 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,8 @@ }, "devDependencies": { "@types/jest": "^29.5.12", - "@typescript-eslint/eslint-plugin": "^7.4.0", - "@typescript-eslint/parser": "^7.4.0", + "@typescript-eslint/eslint-plugin": "^7.6.0", + "@typescript-eslint/parser": "^7.6.0", "coveralls": "^3.1.1", "eslint": "^8.57.0", "eslint-plugin-import": "^2.29.1", @@ -39,7 +39,7 @@ "react": "^18.2.0", "rimraf": "^5.0.5", "ts-jest": "^29.1.2", - "typescript": "^5.4.3" + "typescript": "^5.4.4" }, "license": "MIT", "packageManager": "yarn@4.1.1" diff --git a/packages/bundle/package.json b/packages/bundle/package.json index ecb9264e..b375b7b8 100644 --- a/packages/bundle/package.json +++ b/packages/bundle/package.json @@ -28,12 +28,12 @@ "@types/glob": "^8.1.0", "dotenv": "^16.4.5", "esbuild": "^0.20.2", - "glob": "^10.3.10", - "path-to-regexp": "^6.2.1", - "watcher": "^2.3.0" + "glob": "^10.3.12", + "path-to-regexp": "^6.2.2", + "watcher": "^2.3.1" }, "devDependencies": { - "@types/node": "^20.11.30", + "@types/node": "^20.12.7", "typescript-json-schema": "^0.63.0" }, "publishConfig": { diff --git a/packages/graphql-tag-min/package.json b/packages/graphql-tag-min/package.json new file mode 100644 index 00000000..c23ace2a --- /dev/null +++ b/packages/graphql-tag-min/package.json @@ -0,0 +1,34 @@ +{ + "name": "@reform/graphql-tag-min", + "version": "0.1", + "main": "dist/index.js", + "types": "dist/index.d.ts", + "module": "dist/index.js", + "type": "module", + "files": [ + "dist" + ], + "repository": "https://github.com/izatop/reform", + "keywords": [ + "esbuild", + "bundle", + "graphql", + "react", + "typescript" + ], + "scripts": { + "build": "tsc" + }, + "dependencies": { + "@reform/bundle": "^0.14.8", + "@types/node": "^20.12.7" + }, + "publishConfig": { + "access": "public" + }, + "author": { + "name": "Artur Bier", + "email": "izatop@gmail.com" + }, + "license": "MIT" +} diff --git a/packages/graphql-tag-min/src/Plugin.ts b/packages/graphql-tag-min/src/Plugin.ts new file mode 100644 index 00000000..a0d51bc6 --- /dev/null +++ b/packages/graphql-tag-min/src/Plugin.ts @@ -0,0 +1,34 @@ +import {assignWithFilter, BuildContext, PluginAbstract} from "@reform/bundle"; +import {readFile} from "fs/promises"; + +export type Config = {filter: RegExp}; + +const extensions = ["ts", "tsx"]; +const defaultFilter = new RegExp(`\\.gql\\.(${extensions.join("|")})$`); + +export class Plugin extends PluginAbstract { + public readonly name = "@reform/graphql-tag-min"; + + constructor(context: BuildContext, config?: Config) { + super(context, assignWithFilter({filter: defaultFilter}, config)); + } + + public configure(): void { + this + .on("load", this.config, async ({path}) => { + const contents = await readFile(path, {encoding: "utf-8"}); + + return {contents: this.#patch(contents), loader: "tsx"}; + }); + } + + #patch(contents: string): string { + if (contents.includes("gql`")) { + return contents.replace(/gql`([^`]+)`;/g, (_, $1) => { + return `gql\`${$1.replace(/\s+/g, " ")}\`;`; + }); + } + + return contents; + } +} diff --git a/packages/graphql-tag-min/src/index.ts b/packages/graphql-tag-min/src/index.ts new file mode 100644 index 00000000..1c874e22 --- /dev/null +++ b/packages/graphql-tag-min/src/index.ts @@ -0,0 +1,3 @@ +import {Plugin} from "./Plugin.js"; + +export default Plugin; diff --git a/packages/graphql-tag-min/tsconfig.json b/packages/graphql-tag-min/tsconfig.json new file mode 100644 index 00000000..e1874827 --- /dev/null +++ b/packages/graphql-tag-min/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../tsconfig.node.json", + "compilerOptions": { + "outDir": "dist", + "rootDir": "src" + }, + "references": [ + { + "path": "../bundle" + } + ], + "include": [ + "src" + ] +} diff --git a/packages/graphql/package.json b/packages/graphql/package.json index d1737ed6..62d1458f 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -23,7 +23,7 @@ "@graphql-tools/graphql-file-loader": "^8.0.1", "@graphql-tools/load": "^8.0.2", "@reform/bundle": "^0.14.8", - "@types/node": "^20.11.30", + "@types/node": "^20.12.7", "graphql": "^16.8.1", "graphql-tag": "^2.12.6" }, diff --git a/packages/graphql/src/Plugin.ts b/packages/graphql/src/Plugin.ts index 0032d145..b31f0592 100644 --- a/packages/graphql/src/Plugin.ts +++ b/packages/graphql/src/Plugin.ts @@ -11,7 +11,7 @@ const extensions = ["gql", "graphql"]; const defaultFilter = new RegExp(`\\.(${extensions.join("|")})$`); export class Plugin extends PluginAbstract { - public readonly name = "@reform/bundle-graphql"; + public readonly name = "@reform/graphql"; constructor(context: BuildContext, config?: Config) { super(context, assignWithFilter({filter: defaultFilter}, config)); diff --git a/packages/html/package.json b/packages/html/package.json index b78a9bd3..785d8dfa 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -21,7 +21,7 @@ }, "dependencies": { "@reform/bundle": "^0.14.8", - "@types/node": "^20.11.30", + "@types/node": "^20.12.7", "@types/parse5": "^7.0.0", "esbuild": "^0.20.2", "parse5": "^7.1.2" diff --git a/packages/html/src/Plugin.ts b/packages/html/src/Plugin.ts index fbac2996..78eb31f2 100644 --- a/packages/html/src/Plugin.ts +++ b/packages/html/src/Plugin.ts @@ -8,7 +8,7 @@ export const artifacts = "^.+$"; export const attach: AttachFileType[] = ["stylesheet"]; export class Plugin extends PluginAbstract { - public readonly name = "@reform/bundle-html-entry"; + public readonly name = "@reform/html"; readonly #documents = new Map(); diff --git a/packages/sass/package.json b/packages/sass/package.json index 5eafe173..5d094760 100644 --- a/packages/sass/package.json +++ b/packages/sass/package.json @@ -21,7 +21,7 @@ }, "dependencies": { "@reform/bundle": "^0.14.8", - "@types/node": "^20.11.30", + "@types/node": "^20.12.7", "@types/node-sass": "^4.11.7", "node-sass": "^9.0.0" }, diff --git a/packages/sass/src/Plugin.ts b/packages/sass/src/Plugin.ts index 361e026b..0fbc93b0 100644 --- a/packages/sass/src/Plugin.ts +++ b/packages/sass/src/Plugin.ts @@ -8,7 +8,7 @@ export type Config = {filter: RegExp; resolves?: string[]; compress?: boolean}; const stripRe = /[?#].+$/; export class Plugin extends PluginAbstract { - public readonly name = "@reform/bundle-sass"; + public readonly name = "@reform/sass"; constructor(context: BuildContext, config?: Config) { super(context, assignWithFilter({filter: /\.(scss|sass)$/}, config)); diff --git a/packages/test/bundle.json b/packages/test/bundle.json index a5bc9a1d..42da48a4 100644 --- a/packages/test/bundle.json +++ b/packages/test/bundle.json @@ -4,7 +4,8 @@ "base": "src", "plugins": { "@reform/sass": {}, - "@reform/html": {} + "@reform/html": {}, + "@reform/graphql-tag-min": {} }, "bundle": true, "format": "esm", diff --git a/packages/test/package.json b/packages/test/package.json index 0297414e..d59e1de3 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -8,7 +8,7 @@ "test": "yarn build" }, "devDependencies": { - "@fortawesome/fontawesome-free": "^6.5.1", + "@fortawesome/fontawesome-free": "^6.5.2", "@reform/bundle": "^0.14.8", "esbuild": "^0.20.2", "graphql": "^16.8.1" @@ -20,8 +20,9 @@ "private": true, "license": "MIT", "dependencies": { - "@types/react": "^18.2.71", - "@types/react-dom": "^18.2.22", + "@types/react": "^18.2.75", + "@types/react-dom": "^18.2.24", + "graphql-tag": "^2.12.6", "react": "^18.2.0", "react-dom": "^18.2.0" } diff --git a/packages/test/src/page/Hello.tsx b/packages/test/src/page/Hello.tsx index cd901d85..96f31ce1 100644 --- a/packages/test/src/page/Hello.tsx +++ b/packages/test/src/page/Hello.tsx @@ -1,6 +1,6 @@ import icon from "../icons/icon.png"; import svg from "../icons/icon.svg"; -import {HelloQuery} from "../query"; +import {HelloQuery, InlineQuery1, InlineQuery2} from "../query"; import {Card} from "./Card"; export const Hello: React.FC = () => { @@ -24,6 +24,9 @@ export const Hello: React.FC = () => {
{JSON.stringify(HelloQuery, null, 2)}
+
+
{JSON.stringify({InlineQuery1, InlineQuery2}, null, 2)}
+
); }; diff --git a/packages/test/src/query/index.ts b/packages/test/src/query/index.ts index 60631cbb..65bf1555 100644 --- a/packages/test/src/query/index.ts +++ b/packages/test/src/query/index.ts @@ -1,3 +1,5 @@ + import HelloQuery from "./HelloQuery.graphql"; +export * from "./inline.gql"; export {HelloQuery}; diff --git a/packages/test/src/query/inline.gql.ts b/packages/test/src/query/inline.gql.ts new file mode 100644 index 00000000..ba730777 --- /dev/null +++ b/packages/test/src/query/inline.gql.ts @@ -0,0 +1,9 @@ +import gql from "graphql-tag"; + +export const InlineQuery1 = gql`query InlineQuery1 { + message +}`; + +export const InlineQuery2 = gql`query InlineQuery2 { + message +}`; diff --git a/packages/tsconfig.json b/packages/tsconfig.json index 4e8fbe3a..71196f50 100644 --- a/packages/tsconfig.json +++ b/packages/tsconfig.json @@ -11,6 +11,9 @@ { "path": "graphql" }, + { + "path": "graphql-tag-min" + }, { "path": "html" } diff --git a/yarn.lock b/yarn.lock index b2ce5b93..8d2564c9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -596,7 +596,7 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.5.1, @eslint-community/regexpp@npm:^4.6.1": +"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.6.1": version: 4.10.0 resolution: "@eslint-community/regexpp@npm:4.10.0" checksum: 10/8c36169c815fc5d726078e8c71a5b592957ee60d08c6470f9ce0187c8046af1a00afbda0a065cc40ff18d5d83f82aed9793c6818f7304a74a7488dc9f3ecbd42 @@ -627,10 +627,10 @@ __metadata: languageName: node linkType: hard -"@fortawesome/fontawesome-free@npm:^6.5.1": - version: 6.5.1 - resolution: "@fortawesome/fontawesome-free@npm:6.5.1" - checksum: 10/ff6627084d550672235336b75d020d4e63b4089900cec844113f9f54d13c2c7edd7c5dc051eb8f547aeae8215ed542e46320636587a2d4fa69e547020effbb35 +"@fortawesome/fontawesome-free@npm:^6.5.2": + version: 6.5.2 + resolution: "@fortawesome/fontawesome-free@npm:6.5.2" + checksum: 10/8eb70fa76263a79f43d95c7b8d2a839c04cd96ec17ca0f14d7b6ec659ce25abd89e47b436616b5fd9e1aec74f2f4e9c02c6be7549d37b5cb9ceb5f15c8834cbf languageName: node linkType: hard @@ -751,9 +751,9 @@ __metadata: linkType: hard "@humanwhocodes/object-schema@npm:^2.0.2": - version: 2.0.2 - resolution: "@humanwhocodes/object-schema@npm:2.0.2" - checksum: 10/ef915e3e2f34652f3d383b28a9a99cfea476fa991482370889ab14aac8ecd2b38d47cc21932526c6d949da0daf4a4a6bf629d30f41b0caca25e146819cbfa70e + version: 2.0.3 + resolution: "@humanwhocodes/object-schema@npm:2.0.3" + checksum: 10/05bb99ed06c16408a45a833f03a732f59bf6184795d4efadd33238ff8699190a8c871ad1121241bb6501589a9598dc83bf25b99dcbcf41e155cdf36e35e937a3 languageName: node linkType: hard @@ -1594,31 +1594,40 @@ __metadata: languageName: node linkType: hard -"@reform/bundle@npm:^0.14.7, @reform/bundle@workspace:packages/bundle": +"@reform/bundle@npm:^0.14.8, @reform/bundle@workspace:packages/bundle": version: 0.0.0-use.local resolution: "@reform/bundle@workspace:packages/bundle" dependencies: "@types/glob": "npm:^8.1.0" - "@types/node": "npm:^20.11.30" + "@types/node": "npm:^20.12.7" dotenv: "npm:^16.4.5" esbuild: "npm:^0.20.2" - glob: "npm:^10.3.10" - path-to-regexp: "npm:^6.2.1" + glob: "npm:^10.3.12" + path-to-regexp: "npm:^6.2.2" typescript-json-schema: "npm:^0.63.0" - watcher: "npm:^2.3.0" + watcher: "npm:^2.3.1" bin: be: dist/bin/be.js languageName: unknown linkType: soft +"@reform/graphql-tag-min@workspace:packages/graphql-tag-min": + version: 0.0.0-use.local + resolution: "@reform/graphql-tag-min@workspace:packages/graphql-tag-min" + dependencies: + "@reform/bundle": "npm:^0.14.8" + "@types/node": "npm:^20.12.7" + languageName: unknown + linkType: soft + "@reform/graphql@workspace:packages/graphql": version: 0.0.0-use.local resolution: "@reform/graphql@workspace:packages/graphql" dependencies: "@graphql-tools/graphql-file-loader": "npm:^8.0.1" "@graphql-tools/load": "npm:^8.0.2" - "@reform/bundle": "npm:^0.14.7" - "@types/node": "npm:^20.11.30" + "@reform/bundle": "npm:^0.14.8" + "@types/node": "npm:^20.12.7" graphql: "npm:^16.8.1" graphql-tag: "npm:^2.12.6" languageName: unknown @@ -1628,8 +1637,8 @@ __metadata: version: 0.0.0-use.local resolution: "@reform/html@workspace:packages/html" dependencies: - "@reform/bundle": "npm:^0.14.7" - "@types/node": "npm:^20.11.30" + "@reform/bundle": "npm:^0.14.8" + "@types/node": "npm:^20.12.7" "@types/parse5": "npm:^7.0.0" esbuild: "npm:^0.20.2" parse5: "npm:^7.1.2" @@ -1640,8 +1649,8 @@ __metadata: version: 0.0.0-use.local resolution: "@reform/sass@workspace:packages/sass" dependencies: - "@reform/bundle": "npm:^0.14.7" - "@types/node": "npm:^20.11.30" + "@reform/bundle": "npm:^0.14.8" + "@types/node": "npm:^20.12.7" "@types/node-sass": "npm:^4.11.7" node-sass: "npm:^9.0.0" languageName: unknown @@ -1651,12 +1660,13 @@ __metadata: version: 0.0.0-use.local resolution: "@reform/test@workspace:packages/test" dependencies: - "@fortawesome/fontawesome-free": "npm:^6.5.1" - "@reform/bundle": "npm:^0.14.7" - "@types/react": "npm:^18.2.71" - "@types/react-dom": "npm:^18.2.22" + "@fortawesome/fontawesome-free": "npm:^6.5.2" + "@reform/bundle": "npm:^0.14.8" + "@types/react": "npm:^18.2.75" + "@types/react-dom": "npm:^18.2.24" esbuild: "npm:^0.20.2" graphql: "npm:^16.8.1" + graphql-tag: "npm:^2.12.6" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" languageName: unknown @@ -1944,7 +1954,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:^7.0.12, @types/json-schema@npm:^7.0.9": +"@types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.9": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 10/1a3c3e06236e4c4aab89499c428d585527ce50c24fe8259e8b3926d3df4cfbbbcf306cfc73ddfb66cbafc973116efd15967020b0f738f63e09e64c7d260519e7 @@ -2004,12 +2014,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^20.11.30": - version: 20.11.30 - resolution: "@types/node@npm:20.11.30" +"@types/node@npm:^20.12.7": + version: 20.12.7 + resolution: "@types/node@npm:20.12.7" dependencies: undici-types: "npm:~5.26.4" - checksum: 10/78515bc768d2b878e2e06a1c20eb4f5840072b79b8d28ff3dd0a7feaaf48fd3a2ac03cfa5bc7564da82db5906b43e9ba0e5df9f43d870b7aae2942306e208815 + checksum: 10/b4a28a3b593a9bdca5650880b6a9acef46911d58cf7cfa57268f048e9a7157a7c3196421b96cea576850ddb732e3b54bc982c8eb5e1e5ef0635d4424c2fce801 languageName: node linkType: hard @@ -2036,12 +2046,12 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^18.2.22": - version: 18.2.22 - resolution: "@types/react-dom@npm:18.2.22" +"@types/react-dom@npm:^18.2.24": + version: 18.2.24 + resolution: "@types/react-dom@npm:18.2.24" dependencies: "@types/react": "npm:*" - checksum: 10/310da22244c1bb65a7f213f8727bda821dd211cfb2dd62d1f9b28dd50ef1c196d59e908494bd5f25c13a3844343f3a6135f39fb830aca6f79646fa56c1b56c08 + checksum: 10/bbd4005f2f65b7606505e9b8759b6e99e222d503602765594ea327893fb7061de8951279baef47a1932f04d94d1865daea05a32f9fcf6f9f1143dbabce5b33de languageName: node linkType: hard @@ -2056,14 +2066,13 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:^18.2.71": - version: 18.2.71 - resolution: "@types/react@npm:18.2.71" +"@types/react@npm:^18.2.75": + version: 18.2.75 + resolution: "@types/react@npm:18.2.75" dependencies: "@types/prop-types": "npm:*" - "@types/scheduler": "npm:*" csstype: "npm:^3.0.2" - checksum: 10/b9473a30b541de7ddd603fef65240c09459c04ede28959f9499d779c3dfb6bcb8fd969b377e097eb5b6bc3182ff094548bff47a2c8b8f57a7b601de22a225eb6 + checksum: 10/d609cdc52d3c89871e0b1b0a77ed2d4077c1393709d0ac51a03b04c17704eb337484405aa646b193ac0c54f4fb286e311739b243ce50023ef8ba5bed422a0e8b languageName: node linkType: hard @@ -2074,10 +2083,10 @@ __metadata: languageName: node linkType: hard -"@types/semver@npm:^7.5.0": - version: 7.5.6 - resolution: "@types/semver@npm:7.5.6" - checksum: 10/e77282b17f74354e17e771c0035cccb54b94cc53d0433fa7e9ba9d23fd5d7edcd14b6c8b7327d58bbd89e83b1c5eda71dfe408e06b929007e2b89586e9b63459 +"@types/semver@npm:^7.5.8": + version: 7.5.8 + resolution: "@types/semver@npm:7.5.8" + checksum: 10/3496808818ddb36deabfe4974fd343a78101fa242c4690044ccdc3b95dcf8785b494f5d628f2f47f38a702f8db9c53c67f47d7818f2be1b79f2efb09692e1178 languageName: node linkType: hard @@ -2104,126 +2113,126 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^7.4.0": - version: 7.4.0 - resolution: "@typescript-eslint/eslint-plugin@npm:7.4.0" +"@typescript-eslint/eslint-plugin@npm:^7.6.0": + version: 7.6.0 + resolution: "@typescript-eslint/eslint-plugin@npm:7.6.0" dependencies: - "@eslint-community/regexpp": "npm:^4.5.1" - "@typescript-eslint/scope-manager": "npm:7.4.0" - "@typescript-eslint/type-utils": "npm:7.4.0" - "@typescript-eslint/utils": "npm:7.4.0" - "@typescript-eslint/visitor-keys": "npm:7.4.0" + "@eslint-community/regexpp": "npm:^4.10.0" + "@typescript-eslint/scope-manager": "npm:7.6.0" + "@typescript-eslint/type-utils": "npm:7.6.0" + "@typescript-eslint/utils": "npm:7.6.0" + "@typescript-eslint/visitor-keys": "npm:7.6.0" debug: "npm:^4.3.4" graphemer: "npm:^1.4.0" - ignore: "npm:^5.2.4" + ignore: "npm:^5.3.1" natural-compare: "npm:^1.4.0" - semver: "npm:^7.5.4" - ts-api-utils: "npm:^1.0.1" + semver: "npm:^7.6.0" + ts-api-utils: "npm:^1.3.0" peerDependencies: "@typescript-eslint/parser": ^7.0.0 eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 10/9bd8852c7e4e9608c3fded94f7c60506cc7d2b6d8a8c1cad6d48969a7363751b20282874e55ccdf180635cf204cb10b3e1e5c3d1cff34d4fcd07762be3fc138e + checksum: 10/6977c5fb5397ac6c9fda8786b149130321ffba45a71b813ca8a800fe711ac626bcbe05d5ace2ef6245eb8f0c4b6feb2b505a0e0e398fa37ce088731e78478b20 languageName: node linkType: hard -"@typescript-eslint/parser@npm:^7.4.0": - version: 7.4.0 - resolution: "@typescript-eslint/parser@npm:7.4.0" +"@typescript-eslint/parser@npm:^7.6.0": + version: 7.6.0 + resolution: "@typescript-eslint/parser@npm:7.6.0" dependencies: - "@typescript-eslint/scope-manager": "npm:7.4.0" - "@typescript-eslint/types": "npm:7.4.0" - "@typescript-eslint/typescript-estree": "npm:7.4.0" - "@typescript-eslint/visitor-keys": "npm:7.4.0" + "@typescript-eslint/scope-manager": "npm:7.6.0" + "@typescript-eslint/types": "npm:7.6.0" + "@typescript-eslint/typescript-estree": "npm:7.6.0" + "@typescript-eslint/visitor-keys": "npm:7.6.0" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 10/142a9e1187d305ed43b4fef659c36fa4e28359467198c986f0955c70b4067c9799f4c85d9881fbf099c55dfb265e30666e28b3ef290520e242b45ca7cb8e4ca9 + checksum: 10/245b975280691c6c7bd3fe3e9d57943220e0400df62738274b98dffcbd3011b7191fd54c950cb4d0b6328699f3b1a45cea5e46cc5c86528e7f14e533277616c8 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:7.4.0": - version: 7.4.0 - resolution: "@typescript-eslint/scope-manager@npm:7.4.0" +"@typescript-eslint/scope-manager@npm:7.6.0": + version: 7.6.0 + resolution: "@typescript-eslint/scope-manager@npm:7.6.0" dependencies: - "@typescript-eslint/types": "npm:7.4.0" - "@typescript-eslint/visitor-keys": "npm:7.4.0" - checksum: 10/8cf9292444f9731017a707cac34bef5ae0eb33b5cd42ed07fcd046e981d97889d9201d48e02f470f2315123f53771435e10b1dc81642af28a11df5352a8e8be2 + "@typescript-eslint/types": "npm:7.6.0" + "@typescript-eslint/visitor-keys": "npm:7.6.0" + checksum: 10/1daa0b84f751e740df39abf7303e63dcff26883242a616712d338edb11d24a05a03156d8f5d6b2c42ef01a28c540dbfc5c83853e159f341189870320e4c4acef languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:7.4.0": - version: 7.4.0 - resolution: "@typescript-eslint/type-utils@npm:7.4.0" +"@typescript-eslint/type-utils@npm:7.6.0": + version: 7.6.0 + resolution: "@typescript-eslint/type-utils@npm:7.6.0" dependencies: - "@typescript-eslint/typescript-estree": "npm:7.4.0" - "@typescript-eslint/utils": "npm:7.4.0" + "@typescript-eslint/typescript-estree": "npm:7.6.0" + "@typescript-eslint/utils": "npm:7.6.0" debug: "npm:^4.3.4" - ts-api-utils: "npm:^1.0.1" + ts-api-utils: "npm:^1.3.0" peerDependencies: eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 10/a8bd0929d8237679b2b8a7817f070a4b9658ee976882fba8ff37e4a70dd33f87793e1b157771104111fe8054eaa8ad437a010b6aa465072fbdb932647125db2d + checksum: 10/1011e1d3ff15f0167f653652865c5b850a1acb21627abff30b0cf1e15865dd490bfb7e9334fa2f4123477fc1eea1ebf4a5c3c8c5cc1972e3b195a39bd8c03aa8 languageName: node linkType: hard -"@typescript-eslint/types@npm:7.4.0": - version: 7.4.0 - resolution: "@typescript-eslint/types@npm:7.4.0" - checksum: 10/2782c5bf65cd3dfa9cd32bc3023676bbca22144987c3f6c6b67fd96c73d4a60b85a57458c49fd11b9971ac6531824bb3ae0664491e7a6de25d80c523c9be92b7 +"@typescript-eslint/types@npm:7.6.0": + version: 7.6.0 + resolution: "@typescript-eslint/types@npm:7.6.0" + checksum: 10/830c1b12d8a9242285516e9b7e46bf434b52ad835da4fc5cdac19e79f02bf637c9458923d72cc0babe20d474ddcafcdd4dcd8991c2280d00084a014de3d32da0 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:7.4.0": - version: 7.4.0 - resolution: "@typescript-eslint/typescript-estree@npm:7.4.0" +"@typescript-eslint/typescript-estree@npm:7.6.0": + version: 7.6.0 + resolution: "@typescript-eslint/typescript-estree@npm:7.6.0" dependencies: - "@typescript-eslint/types": "npm:7.4.0" - "@typescript-eslint/visitor-keys": "npm:7.4.0" + "@typescript-eslint/types": "npm:7.6.0" + "@typescript-eslint/visitor-keys": "npm:7.6.0" debug: "npm:^4.3.4" globby: "npm:^11.1.0" is-glob: "npm:^4.0.3" - minimatch: "npm:9.0.3" - semver: "npm:^7.5.4" - ts-api-utils: "npm:^1.0.1" + minimatch: "npm:^9.0.4" + semver: "npm:^7.6.0" + ts-api-utils: "npm:^1.3.0" peerDependenciesMeta: typescript: optional: true - checksum: 10/162ec9d7582f45588342e1be36fdb60e41f50bbdfbc3035c91b517ff5d45244f776921c88d88e543e1c7d0f1e6ada5474a8316b78f1b0e6d2233b101bc45b166 + checksum: 10/a10ae981669180d7c09acdd01e1c3b3dcb544edb8fa44d0c82586c2915d3001e6e15c792ef6b0b75774d6ff705613ec213f2316a7d9477a122e68c5913545a2b languageName: node linkType: hard -"@typescript-eslint/utils@npm:7.4.0": - version: 7.4.0 - resolution: "@typescript-eslint/utils@npm:7.4.0" +"@typescript-eslint/utils@npm:7.6.0": + version: 7.6.0 + resolution: "@typescript-eslint/utils@npm:7.6.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" - "@types/json-schema": "npm:^7.0.12" - "@types/semver": "npm:^7.5.0" - "@typescript-eslint/scope-manager": "npm:7.4.0" - "@typescript-eslint/types": "npm:7.4.0" - "@typescript-eslint/typescript-estree": "npm:7.4.0" - semver: "npm:^7.5.4" + "@types/json-schema": "npm:^7.0.15" + "@types/semver": "npm:^7.5.8" + "@typescript-eslint/scope-manager": "npm:7.6.0" + "@typescript-eslint/types": "npm:7.6.0" + "@typescript-eslint/typescript-estree": "npm:7.6.0" + semver: "npm:^7.6.0" peerDependencies: eslint: ^8.56.0 - checksum: 10/ffed27e770c486cd000ff892d9049b0afe8b9d6318452a5355b78a37436cbb414bceacae413a2ac813f3e584684825d5e0baa2e6376b7ad6013a108ac91bc19d + checksum: 10/45bcc1b00ec281cfc997aeff4bca3b3e169f49c656ddfcfad909b18ecdcd8b0d27776df1c452d47d9291cd1346023e0a2d7c8aa67bf3ad917f530033f6b193aa languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:7.4.0": - version: 7.4.0 - resolution: "@typescript-eslint/visitor-keys@npm:7.4.0" +"@typescript-eslint/visitor-keys@npm:7.6.0": + version: 7.6.0 + resolution: "@typescript-eslint/visitor-keys@npm:7.6.0" dependencies: - "@typescript-eslint/types": "npm:7.4.0" - eslint-visitor-keys: "npm:^3.4.1" - checksum: 10/70dc99f2ad116c6e2d9e55af249e4453e06bba2ceea515adef2d2e86e97e557865bb1b1d467667462443eb0d624baba36f7442fd1082f3874339bbc381c26e93 + "@typescript-eslint/types": "npm:7.6.0" + eslint-visitor-keys: "npm:^3.4.3" + checksum: 10/2703629f1359f08e7a20706e225f2d83bf12292c282d2effa431eae441b12d4af1fe8c692535f6ef32d5b6d0c15ad61c4c102e4dd157c8fe30eefb94222ba239 languageName: node linkType: hard @@ -3779,10 +3788,10 @@ __metadata: languageName: node linkType: hard -"dettle@npm:^1.0.1": - version: 1.0.1 - resolution: "dettle@npm:1.0.1" - checksum: 10/5b716bf8720ede7937bd5c3195ae47a3dda9fa0a43eab28dc6931cda4f18d1af3fb5f360056113341f845ad74431ebed4c23e8093c6f0ba21963f103214bf7dd +"dettle@npm:^1.0.2": + version: 1.0.2 + resolution: "dettle@npm:1.0.2" + checksum: 10/998125afacbeca9c190da2a4643e2604263c60376109cf3df8786b3886ac854113d2c3e1a0894d7a9c47adb315a902e2010cfe864ea8a8e94fb0c1f19e542156 languageName: node linkType: hard @@ -5144,6 +5153,21 @@ __metadata: languageName: node linkType: hard +"glob@npm:^10.3.12": + version: 10.3.12 + resolution: "glob@npm:10.3.12" + dependencies: + foreground-child: "npm:^3.1.0" + jackspeak: "npm:^2.3.6" + minimatch: "npm:^9.0.1" + minipass: "npm:^7.0.4" + path-scurry: "npm:^1.10.2" + bin: + glob: dist/esm/bin.mjs + checksum: 10/9e8186abc22dc824b5dd86cefd8e6b5621a72d1be7f68bacc0fd681e8c162ec5546660a6ec0553d6a74757a585e655956c7f8f1a6d24570e8d865c307323d178 + languageName: node + linkType: hard + "glob@npm:^7.0.0, glob@npm:^7.0.3, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.7": version: 7.2.3 resolution: "glob@npm:7.2.3" @@ -5603,7 +5627,7 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.0.4, ignore@npm:^5.2.0, ignore@npm:^5.2.4": +"ignore@npm:^5.0.4, ignore@npm:^5.2.0, ignore@npm:^5.3.1": version: 5.3.1 resolution: "ignore@npm:5.3.1" checksum: 10/0a884c2fbc8c316f0b9f92beaf84464253b73230a4d4d286697be45fca081199191ca33e1c2e82d9e5f851f5e9a48a78e25a35c951e7eb41e59f150db3530065 @@ -6231,7 +6255,7 @@ __metadata: languageName: node linkType: hard -"jackspeak@npm:^2.3.5": +"jackspeak@npm:^2.3.5, jackspeak@npm:^2.3.6": version: 2.3.6 resolution: "jackspeak@npm:2.3.6" dependencies: @@ -7183,7 +7207,7 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^10.0.1, lru-cache@npm:^9.1.1 || ^10.0.0": +"lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0, lru-cache@npm:^9.1.1 || ^10.0.0": version: 10.2.0 resolution: "lru-cache@npm:10.2.0" checksum: 10/502ec42c3309c0eae1ce41afca471f831c278566d45a5273a0c51102dee31e0e250a62fa9029c3370988df33a14188a38e682c16143b794de78668de3643e302 @@ -7492,6 +7516,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^9.0.4": + version: 9.0.4 + resolution: "minimatch@npm:9.0.4" + dependencies: + brace-expansion: "npm:^2.0.1" + checksum: 10/4cdc18d112b164084513e890d6323370db14c22249d536ad1854539577a895e690a27513dc346392f61a4a50afbbd8abc88f3f25558bfbbbb862cd56508b20f5 + languageName: node + linkType: hard + "minimatch@npm:~3.0.2": version: 3.0.8 resolution: "minimatch@npm:3.0.8" @@ -7642,7 +7675,7 @@ __metadata: languageName: node linkType: hard -"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.2, minipass@npm:^7.0.3": +"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.2, minipass@npm:^7.0.3, minipass@npm:^7.0.4": version: 7.0.4 resolution: "minipass@npm:7.0.4" checksum: 10/e864bd02ceb5e0707696d58f7ce3a0b89233f0d686ef0d447a66db705c0846a8dc6f34865cd85256c1472ff623665f616b90b8ff58058b2ad996c5de747d2d18 @@ -8641,10 +8674,20 @@ __metadata: languageName: node linkType: hard -"path-to-regexp@npm:^6.2.1": - version: 6.2.1 - resolution: "path-to-regexp@npm:6.2.1" - checksum: 10/1e266be712d1a08086ee77beab12a1804842ec635dfed44f9ee1ba960a0e01cec8063fb8c92561115cdc0ce73158cdc7766e353ffa039340b4a85b370084c4d4 +"path-scurry@npm:^1.10.2": + version: 1.10.2 + resolution: "path-scurry@npm:1.10.2" + dependencies: + lru-cache: "npm:^10.2.0" + minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0" + checksum: 10/a2bbbe8dc284c49dd9be78ca25f3a8b89300e0acc24a77e6c74824d353ef50efbf163e64a69f4330b301afca42d0e2229be0560d6d616ac4e99d48b4062016b1 + languageName: node + linkType: hard + +"path-to-regexp@npm:^6.2.2": + version: 6.2.2 + resolution: "path-to-regexp@npm:6.2.2" + checksum: 10/f7d11c1a9e02576ce0294f4efdc523c11b73894947afdf7b23a0d0f7c6465d7a7772166e770ddf1495a8017cc0ee99e3e8a15ed7302b6b948b89a6dd4eea895e languageName: node linkType: hard @@ -9063,8 +9106,8 @@ __metadata: resolution: "reform@workspace:." dependencies: "@types/jest": "npm:^29.5.12" - "@typescript-eslint/eslint-plugin": "npm:^7.4.0" - "@typescript-eslint/parser": "npm:^7.4.0" + "@typescript-eslint/eslint-plugin": "npm:^7.6.0" + "@typescript-eslint/parser": "npm:^7.6.0" coveralls: "npm:^3.1.1" eslint: "npm:^8.57.0" eslint-plugin-import: "npm:^2.29.1" @@ -9078,7 +9121,7 @@ __metadata: react: "npm:^18.2.0" rimraf: "npm:^5.0.5" ts-jest: "npm:^29.1.2" - typescript: "npm:^5.4.3" + typescript: "npm:^5.4.4" languageName: unknown linkType: soft @@ -9425,7 +9468,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4": +"semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0": version: 7.6.0 resolution: "semver@npm:7.6.0" dependencies: @@ -10090,12 +10133,12 @@ __metadata: languageName: node linkType: hard -"tiny-readdir@npm:^2.2.0": - version: 2.4.0 - resolution: "tiny-readdir@npm:2.4.0" +"tiny-readdir@npm:^2.7.2": + version: 2.7.2 + resolution: "tiny-readdir@npm:2.7.2" dependencies: promise-make-naked: "npm:^2.1.1" - checksum: 10/ae797cc88e34a8dca813d65bea8677498044adfc911530998e7a82a94627b98a905962426fc92d7f8e9759bd000b2946909c906c18009f8e193067ae22422b75 + checksum: 10/1113ff7e8d11b649f90e94db54e74eda697098b31abf5781106522e14e805289c9c9dd58c82c2ab612b05cc768e8ecd79dcc7708620493ccd1772d59dd6e928c languageName: node linkType: hard @@ -10171,12 +10214,12 @@ __metadata: languageName: node linkType: hard -"ts-api-utils@npm:^1.0.1": - version: 1.2.1 - resolution: "ts-api-utils@npm:1.2.1" +"ts-api-utils@npm:^1.3.0": + version: 1.3.0 + resolution: "ts-api-utils@npm:1.3.0" peerDependencies: typescript: ">=4.2.0" - checksum: 10/6d7f60fd01e3885bb334607f22b9cb1002e72da81dad2e672fef1b0d1a2f640b0f0ff5310369401488fac90c7a7f5d39c89fd18789af59c672c9b5aef4cade3e + checksum: 10/3ee44faa24410cd649b5c864e068d438aa437ef64e9e4a66a41646a6d3024d3097a695eeb3fb26ee364705d3cb9653a65756d009e6a53badb6066a5f447bf7ed languageName: node linkType: hard @@ -10511,13 +10554,13 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.4.3": - version: 5.4.3 - resolution: "typescript@npm:5.4.3" +"typescript@npm:^5.4.4": + version: 5.4.4 + resolution: "typescript@npm:5.4.4" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/de4c69f49a7ad4b1ea66a6dcc8b055ac34eb56af059a069d8988dd811c5e649be07e042e5bf573e8d0ac3ec2f30e6c999aa651cd09f6e9cbc6113749e8b6be20 + checksum: 10/bade322d88fd93c8179e262aca9ba7f7b4417c09117879819c87946578c782ab123e3acb4733046a6e38714c47ef927360045a1f9292a1bff3a05a6577d27ca2 languageName: node linkType: hard @@ -10541,13 +10584,13 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.4.3#optional!builtin": - version: 5.4.3 - resolution: "typescript@patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=5adc0c" +"typescript@patch:typescript@npm%3A^5.4.4#optional!builtin": + version: 5.4.4 + resolution: "typescript@patch:typescript@npm%3A5.4.4#optional!builtin::version=5.4.4&hash=5adc0c" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/5aedd97595582b08aadb8a70e8e3ddebaf5a9c1e5ad4d6503c2fcfc15329b5cf8d01145b09913e9555683ac16c5123a96be32b6d72614098ebd42df520eed9b1 + checksum: 10/88aff3244c31d4c6ede05b4fd28732fc8935a7fc638f2a3dcbbb767d1ac98e4b077f21ec74bc97f43c9307bc3f27e2359def1d793f9918c3429a744408fd75b4 languageName: node linkType: hard @@ -10794,14 +10837,14 @@ __metadata: languageName: node linkType: hard -"watcher@npm:^2.3.0": - version: 2.3.0 - resolution: "watcher@npm:2.3.0" +"watcher@npm:^2.3.1": + version: 2.3.1 + resolution: "watcher@npm:2.3.1" dependencies: - dettle: "npm:^1.0.1" + dettle: "npm:^1.0.2" stubborn-fs: "npm:^1.2.5" - tiny-readdir: "npm:^2.2.0" - checksum: 10/6ee220a8c18dd9a0b854695bbcdb4577294fc75e1f6d5a9bd7821c93d64bdefbe1ab32bffd0cb33d8288285cd3475c170495077ee60b8bc64ca43f79006e0004 + tiny-readdir: "npm:^2.7.2" + checksum: 10/bd223109a5e8f8900b76b65265728839d45698df8a2fa0b736e6bb95ebcabc6ae6d7ddfc532b9e928fee8656baa6d64845b9f995a397f86f75cbd97a405a5955 languageName: node linkType: hard