Skip to content

Commit

Permalink
Consume treehugger as scoped package from the npm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
exsilium committed Apr 9, 2021
1 parent 375d624 commit ff0ea02
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ plugins-client/lib.ace/www/worker/worker-language.js plugins-client/lib.ace/www/
$(wildcard plugins-client/ext.htmllanguage/*/*) \
$(wildcard plugins-client/ext.jsinfer/*) \
$(wildcard plugins-client/ext.jsinfer/*/*) \
$(wildcard node_modules/treehugger/lib/*) \
$(wildcard node_modules/treehugger/lib/*/*) \
$(wildcard node_modules/@pylonide/treehugger/lib/*) \
$(wildcard node_modules/@pylonide/treehugger/lib/*/*) \
$(wildcard node_modules/ace/lib/*) \
$(wildcard node_modules/ace/*/*) \
Makefile.dryice.js
Expand Down
2 changes: 1 addition & 1 deletion Makefile.dryice.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function main(args) {
roots: [
ACE_HOME + "/lib",
"/tmp/pln_worker_build",
__dirname + "/node_modules/treehugger/lib"
__dirname + "/node_modules/@pylonide/treehugger/lib"
],
textPluginPattern: /^ace\/requirejs\/text!/
};
Expand Down
9 changes: 5 additions & 4 deletions 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@
"asyncjs": "~0.0.13",
"@pylonide/dryice": "^0.5.2",
"@pylonide/jsdav": "~0.4.0",
"@pylonide/treehugger": "~0.1.0",
"@pylonide/vfs-architect": "~0.2.0",
"@pylonide/vfs-nodefs-adapter": "~0.4.0",
"ace": "https://github.com/ajaxorg/ace/tarball/v1.4.12",
"smith": "https://github.com/pylonide/smith/tarball/4d0f096553a47160330f5dd9bac8bf77cc27e8ab",
"architect-build": "https://github.com/pylonide/architect-build/tarball/299d7cf718c9a66192faf18cf85680b98ee3ac86",
"v8debug": "https://github.com/pylonide/lib-v8debug/tarball/863c0ce1e39a4f100457d306e1d2cc2b0283fa2a",
"treehugger": "https://github.com/pylonide/treehugger/tarball/65876760a809d93f627d5f9834c8bfc56f142a7e"
"v8debug": "https://github.com/pylonide/lib-v8debug/tarball/863c0ce1e39a4f100457d306e1d2cc2b0283fa2a"
},
"devDependencies": {
"nodeunit": "~0.11.2",
Expand Down
2 changes: 1 addition & 1 deletion plugins-client/lib.treehugger/treehugger-lib.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = function setup(options, imports, register) {
var base = require.resolve("treehugger/package.json").slice(0, -13);
var base = require.resolve("@pylonide/treehugger/package.json").slice(0, -13);
imports.static.addStatics([{
path: base + "/lib",
mount: "/treehugger/lib",
Expand Down

0 comments on commit ff0ea02

Please sign in to comment.