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

This commit is contained in:
nothingismagick 2019-11-24 16:20:04 +01:00 committed by GitHub
parent dc06913def
commit a809cb759f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 5 deletions

1
.gitignore vendored
View File

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

View File

@ -8,3 +8,4 @@ node_modules
SECURITY.md SECURITY.md
src-tauri src-tauri
/tauri.conf.js

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "@tauri-apps/tauri", "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", "description": "Multi-binding collection of libraries and templates for building Tauri apps",
"bin": { "bin": {
"tauri": "./mode/bin/tauri.js" "tauri": "./mode/bin/tauri.js"

View File

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