浏览代码

feat(updateWebview): and a couple npm ignores (#63)

nothingismagick 5 年之前
父节点
当前提交
a809cb759f
共有 6 个文件被更改,包括 7 次插入5 次删除
  1. 2 1
      .gitignore
  2. 2 1
      .npmignore
  3. 1 1
      lib/rust/Cargo.toml
  4. 0 1
      mode/helpers/app-paths.js
  5. 1 1
      package.json
  6. 1 0
      test/jest/__tests__/tauricon.spec.js

+ 2 - 1
.gitignore

@@ -62,4 +62,5 @@ package-lock.json
 
 
 src-tauri
-test/jest/tmp
+test/jest/tmp
+/tauri.conf.js

+ 2 - 1
.npmignore

@@ -7,4 +7,5 @@ node_modules
 .idea
 SECURITY.md
 
-src-tauri
+src-tauri
+/tauri.conf.js

+ 1 - 1
lib/rust/Cargo.toml

@@ -7,7 +7,7 @@ edition = "2018"
 
 [dependencies]
 # tauri-ui = { path = "../../bindings/rust" }
-web-view = "0.5.3"
+web-view = "0.5.4"
 serde_json = "1.0.41"
 serde = "1.0"
 serde_derive = "1.0"

+ 0 - 1
mode/helpers/app-paths.js

@@ -19,7 +19,6 @@ function getAppDir () {
   }
 
   // just return the current directory
-  console.log(dir)
   return process.cwd()
 }
 

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@tauri-apps/tauri",
-  "version": "0.0.1-utility.15",
+  "version": "0.0.1-utility.16",
   "description": "Multi-binding collection of libraries and templates for building Tauri apps",
   "bin": {
     "tauri": "./mode/bin/tauri.js"

+ 1 - 0
test/jest/__tests__/tauricon.spec.js

@@ -50,6 +50,7 @@ describe('[CLI] tauri-icon builder', () => {
   })
 
   it('makes a set of icons with zopfli', async () => {
+    jest.setTimeout(120000)
     const valid = await tauricon.make('test/jest/fixtures/tauri-logo.png', 'test/jest/tmp/zopfli', 'zopfli')
     expect(valid).toBe(true)
   })