diff --git a/.prettierignore b/.prettierignore index 1ef1d53..39e2e9f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,2 @@ **/*.rs **/*.yaml -packages/swc-plugin-solid-cli \ No newline at end of file diff --git a/package.json b/package.json index f9b21a4..0e87800 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "./packages/*" ], "devDependencies": { - "@changesets/cli": "2.27.2", + "@changesets/cli": "2.27.3", "nodemon": "^3.1.0", "prettier": "^3.2.5", "turbo": "^1.13.3", diff --git a/packages/utils/package.json b/packages/utils/package.json index 132a545..bfd04f8 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -59,7 +59,7 @@ }, "scripts": { "test": "vitest run", - "build": "tsc && tsup && jiti ./scripts/postBuild.ts" + "build": "tsc && tsup" }, "devDependencies": { "@chialab/esbuild-plugin-meta-url": "^0.18.2", diff --git a/packages/utils/scripts/postBuild.ts b/packages/utils/scripts/postBuild.ts deleted file mode 100644 index c67b979..0000000 --- a/packages/utils/scripts/postBuild.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { readdir, copyFile, unlink } from "fs/promises"; -const main = async () => { - const files = await readdir("./dist"); - const name = files.find((f) => f.startsWith("swc_plugin_solid_cli")); - if (!name) throw new Error("No file found"); - await copyFile(`./dist/${name}`, `./dist/transform/${name}`); - await unlink(`./dist/${name}`); -}; -main().catch(console.error); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a4aa00a..9c39a37 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: devDependencies: '@changesets/cli': - specifier: 2.27.2 - version: 2.27.2 + specifier: 2.27.3 + version: 2.27.3 nodemon: specifier: ^3.1.0 version: 3.1.0 @@ -272,8 +272,8 @@ packages: '@changesets/changelog-git@0.2.0': resolution: {integrity: sha512-bHOx97iFI4OClIT35Lok3sJAwM31VbUM++gnMBV16fdbtBhgYu4dxsphBF/0AZZsyAHMrnM0yFcj5gZM1py6uQ==} - '@changesets/cli@2.27.2': - resolution: {integrity: sha512-6/kADjKMOrlLwNr/Y5HAq7T9oGOA2Lq5A59AGtwQCCiXuSGp4EgszzdJFeBiF8pdz7Wn1HaLzSUBhAaNToEJqg==} + '@changesets/cli@2.27.3': + resolution: {integrity: sha512-ve/VpWApILlSs8cr0okNx5C2LKRawI9XZgvfmf58S8sar2nhx5DPJREFXYZBahs0FeTfvH0rdVl+nGe8QF45Ig==} hasBin: true '@changesets/config@3.0.0': @@ -2637,7 +2637,7 @@ snapshots: dependencies: '@changesets/types': 6.0.0 - '@changesets/cli@2.27.2': + '@changesets/cli@2.27.3': dependencies: '@babel/runtime': 7.24.4 '@changesets/apply-release-plan': 7.0.1