Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 13 15:14
    greenkeeper[bot] commented #5375
  • Oct 13 15:14

    greenkeeper[bot] on core-js-3.3.1

    chore(package): update core-js … (compare)

  • Oct 13 14:49
    greenkeeper[bot] labeled #5375
  • Oct 13 14:49
    greenkeeper[bot] opened #5375
  • Oct 13 14:49

    greenkeeper[bot] on core-js-3.3.0

    chore(package): update core-js … (compare)

  • Oct 12 18:35
    matthewp commented #5358
  • Oct 12 18:15
    chasenlehara commented #5358
  • Oct 12 06:41

    greenkeeper[bot] on @octokit

    (compare)

  • Oct 12 06:39

    greenkeeper[bot] on @octokit

    chore(package): update @octokit… (compare)

  • Oct 11 19:01
    m-mujica edited #5374
  • Oct 11 19:01
    m-mujica opened #5374
  • Oct 11 19:00

    m-mujica on update-deep-observable

    Update can-deep-observable to l… (compare)

  • Oct 11 18:55
    m-mujica edited #5365
  • Oct 11 18:54
    greenkeeper[bot] labeled #5373
  • Oct 11 18:54
    greenkeeper[bot] opened #5373
  • Oct 11 18:54

    greenkeeper[bot] on can-deep-observable-1.0.1

    fix(package): update can-deep-o… (compare)

  • Oct 11 16:42
    LakshanKarunathilake starred canjs/canjs
  • Oct 11 14:58
    greenkeeper[bot] labeled #5372
  • Oct 11 14:58
    greenkeeper[bot] opened #5372
  • Oct 11 14:58

    greenkeeper[bot] on can-observable-mixin-1.0.1

    fix(package): update can-observ… (compare)

Gira Minus
@gKreator
I have to manually import the component somewhere... otherwise I get an error
import "scripts/components/datatable/";
GET /traceur.js 404 (Not Found)
It seems to only do this if can-import is nested
this error only shows up in steal-tools
Thomas Sieverding
@Bajix
@phillipskevin I’ve got a fix for the done-autorender test
canjs/can-stache#127
It was breaking because of a bundle override on can-stache
Gira Minus
@gKreator
What was breaking?
Thomas Sieverding
@Bajix
can-stache had a path override that was breaking steal’s ability to load can-stache, but only during npm test
Gira Minus
@gKreator
Ohh
Nice find!
Thomas Sieverding
@Bajix
this was because done-autorender no longer has can as a dependency, and the path override in can-stache tries to map to can
Gira Minus
@gKreator
Got any clue on my can-import issue?
:D
Thomas Sieverding
@Bajix
Hmmm
Gira Minus
@gKreator
Seems to be an issue with nested <can-import>
Thomas Sieverding
@Bajix
Why’re you loading it from scripts?
I think your path setup isn’t right
Gira Minus
@gKreator
the folder? Is all my js files and stache files in there
Thomas Sieverding
@Bajix
I mean to say that you’re importing it from scripts, whereas the import statement shouldn’t need ‘scripts'
Gira Minus
@gKreator
It only breaks when you use steal-tools to build
hmm
ohh this screenshot might explain it
Thomas Sieverding
@Bajix
The paths configuration of your project wouldn’t make sense, not necessarily a comment on your file structure
Gira Minus
@gKreator
blob
Thomas Sieverding
@Bajix
Yea so then your package.json isn’t setup right
Gira Minus
@gKreator
blob
Anything stick out?
Thomas Sieverding
@Bajix
Yea, under system you should have "directories": { "lib": “public/scripts" },
Gira Minus
@gKreator
package.json is in public/
so "scripts"
Thomas Sieverding
@Bajix
Yea sure
Gira Minus
@gKreator
Ok thx
Thomas Sieverding
@Bajix
I have mine setup differently such that my package.json isn’t in my assets folder
I then do some more custom static serving
Such that my assets folder goes to /assets, node_modules to /node_modules, and package.json
W/ a redacted node_modules to protect private modules
Gira Minus
@gKreator
Very interesting
I'd like to see this somehow
Thomas Sieverding
@Bajix
app.use('/node_modules', function( req, res, next ) {
  var pathname = req.originalUrl;

  for (var i = 0; i < protectedDirs.length; i++) {
    if (~pathname.indexOf(protectedDirs[i])) {
      return next(new handler.NotAuthorizedError());
    }
  }

  next();
});

app.use('/css', express.static(path.join(__dirname, '../css')));
app.use('/dist', express.static(path.join(__dirname, '../dist')));
app.use('/assets', express.static(path.join(__dirname, '../assets')));
app.use('/package.json', express.static(path.join(__dirname, '../package.json')));
app.use('/node_modules', express.static(path.join(__dirname, '../node_modules')));
Gira Minus
@gKreator
ohh I see
Thomas Sieverding
@Bajix
I like to have the url /assets where I put everything using a modlet scheme; mixed assets within each modlet
Keeping those separate makes it easier to resolve the url patterns
The default setup has the unintended consequence of serving the app in liee of static assets whenever there’s a 404
I’ll probably follow up w/ this feedback w/ the DoneJS contrib or on github
Gira Minus
@gKreator
Is the meeting online?
Thomas Sieverding
@Bajix
They do a weekly hangouts
Gira Minus
@gKreator
ENOENT: no such file or directory, open '/usr/share/nginx/drivetrain/public/undefined#main.js'
whenver I set the lib: