Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 18:40

    greenkeeper[bot] on tree-kill-1.2.2

    (compare)

  • 18:35

    greenkeeper[bot] on tree-kill-1.2.2

    chore(package): update tree-kil… (compare)

  • Dec 02 15:45
    greenkeeper[bot] commented #1137
  • Dec 02 15:45

    greenkeeper[bot] on terser-4.4.2

    fix(package): update terser to … (compare)

  • Dec 01 13:57
    greenkeeper[bot] commented #1137
  • Dec 01 13:57

    greenkeeper[bot] on terser-4.4.1

    fix(package): update terser to … (compare)

  • Nov 27 12:55

    m-mujica on master

    2.2.5 (compare)

  • Nov 27 12:55

    m-mujica on v2.2.5

    2.2.5 (compare)

  • Nov 27 12:50

    m-mujica on ignore-git

    (compare)

  • Nov 27 12:50

    m-mujica on master

    Add .git folder to npmignore fi… Merge pull request #1150 from s… (compare)

  • Nov 27 12:50
    m-mujica closed #1150
  • Nov 27 12:48
    coveralls commented #1150
  • Nov 27 12:43
    m-mujica opened #1150
  • Nov 27 12:43

    m-mujica on ignore-git

    Add .git folder to npmignore fi… (compare)

  • Nov 26 05:28
    greenkeeper[bot] commented #1132
  • Nov 26 05:28

    greenkeeper[bot] on mock-fs-4.10.4

    chore(package): update mock-fs … (compare)

  • Nov 25 13:02

    m-mujica on v2.2.4

    (compare)

  • Nov 25 13:02

    m-mujica on master

    2.2.4 (compare)

  • Nov 25 12:59

    m-mujica on fix-exports

    (compare)

  • Nov 25 12:59

    m-mujica on master

    Run mocha programatically Impo… Fix race condition where last f… Rollback main test file changes… and 1 more (compare)

Kevin Phillips
@phillipskevin
no problem
Paul Tichonczuk
@tracer99
@phillipskevin it made no difference for me
Kevin Phillips
@phillipskevin
the only other change I needed was a map for ”chai”: “chai/chai”
Paul Tichonczuk
@tracer99
right
Kevin Phillips
@phillipskevin
is it not working for you?
Paul Tichonczuk
@tracer99
weird. it is in the example project I gave you
but not in our actual project
I'll debug further
found it. I had some directories specified to try to fix the original problem. Removing them fixed everything. Thanks again
Kevin Phillips
@phillipskevin
ok, good
Julia Allyce
@julia-allyce
hey is there anyway to force steal to transpile a specific file/module? I have a node file that is getting skipped because its uses require instead of import :(
Julia Allyce
@julia-allyce
I know I saw an issue in gh about this somewhere but I can't find it now
Julia Allyce
@julia-allyce
Ok I figured it out. You can add a translate function for the modules
Adam L Barrett
@BigAB
@julia-allyce What do you mean "translate function"? Could you provide a code sample so I may learn from what you have done?
Julia Allyce
@julia-allyce
Adam L Barrett
@BigAB
Thanks!
Julia Allyce
@julia-allyce
i still dont have it working...but its getting there 😂
stealTools.build({
  config: __dirname + "/package.json!npm",
  meta: {
    "moduleName": {
      "translate": function(load) { ...transpile here? }
    },
},{})
Matthew Phillips
@matthewp
that might work
Julia Allyce
@julia-allyce
yea...i have not been able to get it to work, yet.

my translate function looks like this:

function(load){
    var opts = {
        modules: 'amd',
        sourceMap: false
    };
    var src = Babel.transform(load.source, opts);
    return src.code;
  }

and the final file looks right, but I am getting this error:
Uncaught TypeError: Object.defineProperty called on non-object(…)

:/
Chasen Le Hara
@chasenlehara
Hey Julia!
Is the error when the translate function runs or when you run your code?
Julia Allyce
@julia-allyce
when I run my code. Its also coming from an unrelated module, but if I remove the module that I am translating everything runs/builds fine
Julia Allyce
@julia-allyce
ok I figured it out. The module I am translating depends on D3 which needed to be mapped to the minified d3 file I am using.
the npm d3 package doesn't seem to play nice with steal
or I am (most likely) doing things wrong
Can anyone help me out with this?
Thanks!
Julian
@pYr0x
@matthewp before releasing the new steal website
pls have a look into stealjs/stealjs#28
Matthew Phillips
@matthewp
will do, thanks
Julian
@pYr0x
thx :)
Matthew Phillips
@matthewp
Hey everyone, we're looking for feedback on what DoneJS (CanJS, StealJS, whatever) training topics are wanted: http://forums.donejs.com/t/donejs-trainings/506
Mohamed Cherif Bouchelaghem
@cherifGsoul
@matthewp I posted a suggestion bitovi/training#14
Matthew Phillips
@matthewp
@cherifGsoul awesome!
Matthew Phillips
@matthewp
steal-bundler 0.3.1 released (the package that backs bundleAssets)
Gregg Roemhildt
@roemhildtg
anyone know what could cause steal-tools to think that jquery is in "my-project/jquery.js"? I have a project that doesn't require jquery, but one or more dependency does require jquery.
Gira Minus
@gKreator
Do you have an error log?
Gregg Roemhildt
@roemhildtg
Not really an error log, but right after I type "steal-tools" it tries to bundle some files, and the message given is: ERROR: Error loading "jquery" at file:/home/gre/public_html/geocola/jquery.js
Gira Minus
@gKreator
My first go to is delete node_modules folder, then do npm install
then try to rebuild
Gregg Roemhildt
@roemhildtg
Okay.
I'll give that a shot
still happening. Does steal-tools generate an error log somewhere?
Gira Minus
@gKreator
I dont think so
Try putting jquery in your package.json. As far as I remember, from what I heard. Steal-tools does include the dependencies of your dependencies