Skip to content

Commit

Permalink
Merge pull request #35 from loupeteam/prelux/package-lock
Browse files Browse the repository at this point in the history
Prelux/package lock
  • Loading branch information
Joshpolansky authored Dec 20, 2023
2 parents 20288b4 + 013e8c9 commit 0d1d61a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
22 changes: 22 additions & 0 deletions example/HMI/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/HMI/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@loupeteam/tmplits",
"version": "0.0.12",
"version": "0.0.13",
"description": "",
"main": "index.js",
"scripts": {
Expand All @@ -16,4 +16,4 @@
"handlebars": "*",
"jquery": "*"
}
}
}
3 changes: 2 additions & 1 deletion src/HMI/tmplits.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ export class Tmplits {
Tmplits.loadedCallback.push(() => { loadedCallback(this.native) })
}
Tmplits.loadedCallback.push(() => { this.refreshDynamicDom() })
this.loadPackageLockJson(this.base + '../package-lock.json')
this.loadPackageLockJson(this.base + './.package-lock.json')
.then(() => { return this.loadPackageLockJson(this.base + '../package.json') })
.then(() => { return this.loadPackageJson(this.base + '../package.json') })
.then(() => { return this.loadJson(this.base + '../tmplits.json') })
.then(() => { return this.getLibraries(this.libraries) })
Expand Down

0 comments on commit 0d1d61a

Please sign in to comment.