diff --git a/.gitignore b/.gitignore index 7a2868a..7e1b083 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ /target /Cargo.lock /node_modules -/test/parser/**/_actual.json *.log -/test/**/_actual.* -/test.js \ No newline at end of file +/test.js +/packages/woodpile/pkg +*.tgz \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 029920f..3015051 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "woodpile", - "version": "0.0.4", + "version": "0.0.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "woodpile", - "version": "0.0.4", + "version": "0.0.5", "license": "MIT", "devDependencies": { "@swc/core": "^1.3.71" diff --git a/package.json b/package.json index 463fe98..d9913d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "woodpile", - "version": "0.0.4", + "version": "0.0.5", "description": "SWC AST walker for Javascript", "main": "packages/woodpile/pkg/woodpile.js", "files": [ @@ -11,7 +11,7 @@ "LICENSE" ], "scripts": { - "prepublishOnly": "npm run build:release", + "prepublishOnly": "npm run build:release && rm -rf ./packages/woodpile/pkg/.gitignore", "build:release": "wasm-pack build --target nodejs packages/woodpile", "build": "npm run build:release -- --dev", "test": "npm run build && node ./spec/index.js"