This commit is contained in:
amrbashir 2024-10-18 03:19:52 +03:00
parent eb61d44f9f
commit b01893d07d
No known key found for this signature in database
GPG Key ID: BBD7A47A2003FF33
6 changed files with 46 additions and 11 deletions

View File

@ -1,2 +1,2 @@
# debug builds of NAPI
*.node
/*.node

View File

@ -1,10 +0,0 @@
target
Cargo.lock
.cargo
.github
npm
test
.eslintrc
.prettierignore
rustfmt.toml
*.node

24
packages/cli/jsr.json Normal file
View File

@ -0,0 +1,24 @@
{
"$schema": "https://jsr.io/schema/config-file.v1.json",
"name": "@tauri-apps/cli",
"version": "2.0.3-alpha.4",
"license": "Apache-2.0 OR MIT",
"exports": {
".": "./index.js",
"./tauri": "./tauri.js",
"./main": "./main.js"
},
"publish": {
"include": [
"CHANGELOG.md",
"README.md",
"index.js",
"index.d.ts",
"main.js",
"main.d.ts",
"tauri.js",
"LICENSE*",
"package.json"
]
}
}

View File

@ -0,0 +1 @@
module.exports = require('./cli.win32-x64-msvc.node')

View File

@ -0,0 +1,10 @@
{
"$schema": "https://jsr.io/schema/config-file.v1.json",
"name": "@tauri-apps/cli-win32-x64-msvc",
"version": "2.0.3-alpha.4",
"license": "Apache-2.0 OR MIT",
"exports": "./index.js",
"publish": {
"include": ["cli.win32-x64-msvc.node", "package.json", "README.md"]
}
}

View File

@ -46,6 +46,16 @@
"engines": {
"node": ">= 10"
},
"files": [
"CHANGELOG.md",
"README.md",
"index.js",
"index.d.ts",
"main.js",
"main.d.ts",
"tauri.js",
"LICENSE*"
],
"bin": {
"tauri": "./tauri.js"
},