{"version":3,"file":"index.cjs","names":[],"sources":["../package.json","../src/index.ts"],"sourcesContent":["{\n\t\"name\": \"@alexaegis/autotool-plugin-editorconfig\",\n\t\"description\": \"My editorconfig\",\n\t\"version\": \"0.15.6\",\n\t\"license\": \"MIT\",\n\t\"private\": false,\n\t\"archetype\": {\n\t\t\"platform\": \"node\",\n\t\t\"framework\": \"autotool\",\n\t\t\"language\": \"ts\",\n\t\t\"kind\": \"lib\"\n\t},\n\t\"keywords\": [\n\t\t\"autotool-plugin\",\n\t\t\"editorconfig\",\n\t\t\"managed-by-autotool\"\n\t],\n\t\"repository\": {\n\t\t\"url\": \"git+https://github.com/AlexAegis/js-tooling.git\",\n\t\t\"type\": \"git\"\n\t},\n\t\"type\": \"module\",\n\t\"publishConfig\": {\n\t\t\"access\": \"public\",\n\t\t\"exports\": {\n\t\t\t\".\": {\n\t\t\t\t\"types\": \"./dist/index.d.ts\",\n\t\t\t\t\"import\": \"./dist/index.js\",\n\t\t\t\t\"require\": \"./dist/index.cjs\",\n\t\t\t\t\"default\": \"./dist/index.js\"\n\t\t\t},\n\t\t\t\"./editorconfig\": \"./static/editorconfig\",\n\t\t\t\"./package.json\": \"./package.json\",\n\t\t\t\"./readme\": \"./readme.md\"\n\t\t}\n\t},\n\t\"files\": [\n\t\t\"dist\",\n\t\t\"static\"\n\t],\n\t\"engines\": {\n\t\t\"node\": \">=22.6.0\"\n\t},\n\t\"scripts\": {\n\t\t\"lint:depcheck\": \"turbo run lint:depcheck_ --concurrency 16 --filter @alexaegis/autotool-plugin-editorconfig\",\n\t\t\"lint:depcheck_\": \"depcheck\",\n\t\t\"lint:es\": \"turbo run lint:es_ --concurrency 16 --filter @alexaegis/autotool-plugin-editorconfig\",\n\t\t\"lint:es_\": \"eslint --max-warnings=0 --fix --no-error-on-unmatched-pattern .\",\n\t\t\"lint:format\": \"turbo run lint:format_ --concurrency 16 --filter @alexaegis/autotool-plugin-editorconfig\",\n\t\t\"lint:format_\": \"prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --check .\",\n\t\t\"lint:md\": \"turbo run lint:md_ --concurrency 16 --filter @alexaegis/autotool-plugin-editorconfig\",\n\t\t\"lint:md_\": \"remark --frail --no-stdout --silently-ignore .\",\n\t\t\"lint:tsc\": \"turbo run lint:tsc_ --concurrency 16 --filter @alexaegis/autotool-plugin-editorconfig\",\n\t\t\"lint:tsc_\": \"tsc --noEmit\",\n\t\t\"publint\": \"BUILD_REASON='publish' turbo run publint_ --concurrency 16 --filter @alexaegis/autotool-plugin-editorconfig\",\n\t\t\"publint_\": \"publint\",\n\t\t\"test\": \"turbo run test_ --concurrency 16 --filter @alexaegis/autotool-plugin-editorconfig\",\n\t\t\"test_\": \"vitest --passWithNoTests --coverage --run\",\n\t\t\"test:watch\": \"vitest --passWithNoTests --coverage\",\n\t\t\"all\": \"BUILD_REASON='publish' turbo run all_ --concurrency 16 --filter @alexaegis/autotool-plugin-editorconfig\",\n\t\t\"build\": \"turbo run build-lib_ --concurrency 16 --filter @alexaegis/autotool-plugin-editorconfig\",\n\t\t\"build-lib_\": \"vite build\",\n\t\t\"format\": \"turbo run format_ --concurrency 16 --filter @alexaegis/autotool-plugin-editorconfig\",\n\t\t\"format_\": \"prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .\"\n\t},\n\t\"exports\": {\n\t\t\".\": {\n\t\t\t\"types\": \"./src/index.ts\",\n\t\t\t\"import\": \"./dist/index.js\",\n\t\t\t\"require\": \"./dist/index.cjs\",\n\t\t\t\"default\": \"./dist/index.js\"\n\t\t},\n\t\t\"./editorconfig\": \"./static/editorconfig\",\n\t\t\"./package.json\": \"./package.json\",\n\t\t\"./readme\": \"./readme.md\"\n\t},\n\t\"dependencies\": {\n\t\t\"@alexaegis/logging\": \"workspace:^\",\n\t\t\"autotool-plugin\": \"^0.8.0\"\n\t},\n\t\"devDependencies\": {\n\t\t\"@alexaegis/eslint-config-vitest\": \"workspace:^\",\n\t\t\"@alexaegis/ts\": \"workspace:^\",\n\t\t\"@alexaegis/vite\": \"workspace:^\",\n\t\t\"@alexaegis/vitest\": \"workspace:^\",\n\t\t\"@types/node\": \"^26.1.1\",\n\t\t\"publint\": \"^0.3.21\",\n\t\t\"typescript\": \"^6.0.3\",\n\t\t\"vite\": \"^8.1.4\",\n\t\t\"vite-plugin-dts\": \"^5.0.3\",\n\t\t\"vitest\": \"^4.1.10\"\n\t}\n}\n","import {\n\ttype AutotoolPlugin,\n\ttype AutotoolPluginObject,\n\ttype NormalizedAutotoolPluginOptions,\n} from 'autotool-plugin';\nimport { join } from 'node:path';\nimport packageJson from '../package.json' with { type: 'json' };\n\nexport const plugin: AutotoolPlugin = (\n\t_options: NormalizedAutotoolPluginOptions,\n): AutotoolPluginObject => {\n\treturn {\n\t\tname: packageJson.name,\n\t\telements: [\n\t\t\t{\n\t\t\t\tdescription: 'copy workspace editorconfig config',\n\t\t\t\texecutor: 'fileCopy',\n\t\t\t\tpackageKind: 'root',\n\t\t\t\ttargetFile: '.editorconfig',\n\t\t\t\tsourcePluginPackageName: packageJson.name,\n\t\t\t\tsourceFile: join('static', 'editorconfig'),\n\t\t\t},\n\t\t],\n\t};\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACQA,IAAa,UACZ,aAC0B;CAC1B,OAAO;EACN,MAAM,gBAAY;EAClB,UAAU,CACT;GACC,aAAa;GACb,UAAU;GACV,aAAa;GACb,YAAY;GACZ,yBAAyB,gBAAY;GACrC,aAAA,GAAA,UAAA,KAAA,CAAiB,UAAU,cAAc;EAC1C,CACD;CACD;AACD"}