From 317f7be4e06d4b01c7394f88946d0f606282cd13 Mon Sep 17 00:00:00 2001 From: Aitthi Arsa Date: Sat, 2 Dec 2023 02:22:56 +0700 Subject: [PATCH] fix: ci --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7fcf4bf..9882a7e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nylon-rs", - "version": "2.0.2", + "version": "2.0.3", "description": "Nylon is a web framework for Node.js built with Tokio, Tower, Hyper, and Napi-rs", "main": "index.js", "repository": "https://github.com/Aitthi/nylon", @@ -42,7 +42,7 @@ "format:toml": "taplo format", "format:rs": "cargo fmt", "lint": "eslint . -c ./.eslintrc.yml", - "publish:all": "napi prepublish -t npm && cp index.js dist && cp index.d.ts dist && cp package.json dist && cp README.md dist && cp LICENSE dist && cd dist && npm publish --access public", + "publish:all": "mkdir -p dist && napi prepublish -t npm && cp index.js dist && cp index.d.ts dist && cp package.json dist && cp README.md dist && cp LICENSE dist && cd dist && npm publish --access public", "version": "napi version", "dev:watch": "RUST_BACKTRACE=1 cargo watch -c -q -w src -w examples -s 'npm run build:debug && ts-node examples/main.ts --project examples/tsconfig.json'" },