briedis Posted April 10, 2016 Report Share Posted April 10, 2016 Izdomāju, ka varētu uztaisīt spama topiku, kurā varētu mest visādas interesantas lietas, kas atrastas interwebos, nav obligāti arī tikai par PHP. Piemēram, uzzināju tikko, ka tikai pirmdien Composer`im iznāca pirmā stabilā versija. Ir arī izlaisa zelta diskete - collectors edition ar pirmās versijas kodu :) Vēl var paspēt nopirkt! http://www.ebay.co.uk/itm/Composer-V1-0-0-Anniversary-Gold-Edition-/162029115091?utm_campaign=Laravel%20News&utm_medium=email&utm_source=ln98 55 bidi, 1000 mārciņas :) Quote Link to comment Share on other sites More sharing options...
Mārtiņš Eglītis Posted April 10, 2016 Report Share Posted April 10, 2016 Viņi noteikti gaidīja apaļo gadu un mēnesi, lai palaistu :) Quote Link to comment Share on other sites More sharing options...
e-remit Posted April 11, 2016 Report Share Posted April 11, 2016 Ja jau ir šāds topiks, tad šim forumam pagāja garām šis jaukais notikums NodeJS pasaulē: http://www.theregister.co.uk/2016/03/23/npm_left_pad_chaos/. Quote Link to comment Share on other sites More sharing options...
jurchiks Posted April 11, 2016 Report Share Posted April 11, 2016 Ha, labs prikols! Smieklīgi gan, ka kaut ko tik elementāru liek kā dependency tik daudziem projektiem. Reāli, tai funkcionalitātei būtu jābūt kaut kādā standard library (http://php.net/manual/en/function.str-pad.php). Quote Link to comment Share on other sites More sharing options...
F3llony Posted April 12, 2016 Report Share Posted April 12, 2016 JavaScript standard library? :D What is that exactly? Ja node projektam nav 200 dependencies, tas nav node projekts :D Quote Link to comment Share on other sites More sharing options...
jurchiks Posted April 12, 2016 Report Share Posted April 12, 2016 Un katrs dependency sastāv no viena ~20 līniju failiņa. Quote Link to comment Share on other sites More sharing options...
jurgenzz Posted April 12, 2016 Report Share Posted April 12, 2016 Sen nav sanācis ņemties ar nodi, bet nebija plānots ka node mācīsies "šērot" dependecies? Jebkurā gadījumā, mani tas personīgi netraucē, man tie pāris mb neko nemaina un lai jau tie node_modules folderi iet cik dziļi viņiem vajag) "app/node_modules/plugin/node_modules/plugin/node_modules/plugin/node_modules/plugin/node_modules/plugin/node_modules/plugin/node_modules/plugin/node_modules/plugin/node_modules/plugin/somePlugin.js" )) Bet labāk būtu protams: app/node_modules/plugin/somePlugin.js, kur visas dependecies instelējas zem ../node_modules, un ja sis neeksistē, tad maucam node_modules/ Līdzīgi bija boweram, ne? Quote Link to comment Share on other sites More sharing options...
Kasspars Posted April 12, 2016 Report Share Posted April 12, 2016 (edited) node dependecy tur vari norādīt arī šādā veidā "lodash": "git+https://github.com/tavs_lodash_repo" Un tad lodash vairs nav tas visiem zināmais lodash. Modulī A lodash var nebūt tas pats, kas modulī B Edited April 12, 2016 by Kasspars Quote Link to comment Share on other sites More sharing options...
jurchiks Posted April 12, 2016 Report Share Posted April 12, 2016 https://github.com/stevemao/capitalize-first-letter/blob/master/index.js Oh come on! @Kasspars - https://docs.npmjs.com/files/package.json#github-urls Quote Link to comment Share on other sites More sharing options...
briedis Posted April 12, 2016 Author Report Share Posted April 12, 2016 Foršāk ir tad, ka tu nevari vairs izdzēst node dependency mapi, jo failiem ceļš ir pārāk garš... Quote Link to comment Share on other sites More sharing options...
daGrevis Posted April 12, 2016 Report Share Posted April 12, 2016 Tādas problēmas jau ir tikai uz Windows. Quote Link to comment Share on other sites More sharing options...
jurchiks Posted April 12, 2016 Report Share Posted April 12, 2016 (edited) Smieklīgi, ka vispār atļauj izveidot tādu path, kuru nevar izdzēst. Par Windows runājot, man patīk arī tas prikols, ka neļauj izveidot dotfiles, e.g. ".env". Parāda "You must type a filename". Caur konsoli, protams, ka var. Edited April 12, 2016 by jurchiks Quote Link to comment Share on other sites More sharing options...
jurgenzz Posted April 12, 2016 Report Share Posted April 12, 2016 (edited) Hm, caur phpstormu es man liekas .gitignore arī esmu vienkārši taisījis. Kurš tad vispār taisa failus caur otru klikšķi vairs? (new file > text document > save as > .env piemēram) @Kasspars - https://docs.npmjs.com/files/package.json#github-urls Un šito jau nu tiešām vieglāk pašam funkciju uzrakstīt... Edited April 12, 2016 by jurgenz Quote Link to comment Share on other sites More sharing options...
briedis Posted April 12, 2016 Author Report Share Posted April 12, 2016 Smieklīgi, ka vispār atļauj izveidot tādu path, kuru nevar izdzēst. Par Windows runājot, man patīk arī tas prikols, ka neļauj izveidot dotfiles, e.g. ".env". Parāda "You must type a filename". Caur konsoli, protams, ka var. Win neatļauj, bet principā jebkurš jēdzīgs editors ļauj (sākot ar notepad++) Quote Link to comment Share on other sites More sharing options...
jurchiks Posted April 12, 2016 Report Share Posted April 12, 2016 Zinu, bet fakts kā tāds. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.