!WaYPjxOMzwGsYOUWvX:matrix.org

Debian JavaScript - Mentors / Outreachy

250 Members
Mentoring Newbies in node/js packaging | Pre requisites  https://wiki.debian.org/Packaging/Pre-Requisites (Gives you instructions to setup a development environment) | Outreachy notes https://wiki.debian.org/Javascript/Nodejs/yarn-plugin-apt | Bridged to xmpp:debian-browserify@groups.poddery.com?join and #debian-browserify on irc.oftc.net36 Servers

Load older messages


SenderMessageTime
17 May 2022
@vinay-keshava:mozilla.orgvinay-keshava

Pirate Praveen:

vinay@debian:~/src$ npm2deb depends -b -r prosemirror-tables
Dependencies:
NPM                                               Debian
prosemirror-tables (1.1.1)                        None
├─ prosemirror-keymap (^1.1.2)                    None
│  ├─ prosemirror-state (^1.0.0)                  node-prosemirror-state (1.3.4-1)
│  └─ w3c-keyname (^2.2.0)                        None
├─ prosemirror-model (^1.8.1)                     node-prosemirror-model (1.16.1+~cs1.1.5-1)
├─ prosemirror-state (^1.3.1)                     node-prosemirror-state (1.3.4-1)
├─ prosemirror-transform (^1.2.1)                 node-prosemirror-transform (1.2.8-4)
└─ prosemirror-view (^1.13.3)                     None
   ├─ prosemirror-model (^1.16.0)                 node-prosemirror-model (1.16.1+~cs1.1.5-1)
   ├─ prosemirror-state (^1.0.0)                  node-prosemirror-state (1.3.4-1)
   └─ prosemirror-transform (^1.1.0)              node-prosemirror-transform (1.2.8-4)

ITP for w3c-keyname was rejected
saying
Bug #1010946 [wnpp] ITP: node-w3c-keyname
Marked Bug as done

17:58:15
@vinay-keshava:mozilla.orgvinay-keshava *

Pirate Praveen:

vinay@debian:~/src$ npm2deb depends -b -r prosemirror-tables
Dependencies:
NPM                                               Debian
prosemirror-tables (1.1.1)                        None
├─ prosemirror-keymap (^1.1.2)                    None
│  ├─ prosemirror-state (^1.0.0)                  node-prosemirror-state (1.3.4-1)
│  └─ w3c-keyname (^2.2.0)                        None
├─ prosemirror-model (^1.8.1)                     node-prosemirror-model (1.16.1+~cs1.1.5-1)
├─ prosemirror-state (^1.3.1)                     node-prosemirror-state (1.3.4-1)
├─ prosemirror-transform (^1.2.1)                 node-prosemirror-transform (1.2.8-4)
└─ prosemirror-view (^1.13.3)                     None
   ├─ prosemirror-model (^1.16.0)                 node-prosemirror-model (1.16.1+~cs1.1.5-1)
   ├─ prosemirror-state (^1.0.0)                  node-prosemirror-state (1.3.4-1)
   └─ prosemirror-transform (^1.1.0)              node-prosemirror-transform (1.2.8-4)

ITP for w3c-keyname was rejected
saying
Bug #1010946 [wnpp] ITP: node-w3c-keyname
Marked Bug as done
Warning: Unknown package 'w3c-keyname'

17:58:52
@_bifrost_Pirate=20Praveen=2fdebian-browserify=40groups.poddery.com:aria-net.orgPirate Praveenvinay-keshava, are you sure you used the correct syntax?18:06:05
@_bifrost_Pirate=20Praveen=2fdebian-browserify=40groups.poddery.com:aria-net.orgPirate Praveencompare with your previous ITP mail18:06:14
@vinay-keshava:mozilla.orgvinay-keshava
In reply to @_bifrost_Pirate=20Praveen=2fdebian-browserify=40groups.poddery.com:aria-net.org
vinay-keshava, are you sure you used the correct syntax?
Oh the bug was already reported
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008892
18:18:01
@sheilabillytoken12:matrix.org@sheilabillytoken12:matrix.org left the room.18:55:49
@_oftc_villanelle:matrix.org@_oftc_villanelle:matrix.org joined the room.20:26:36
@_oftc_villanelle:matrix.org@_oftc_villanelle:matrix.org left the room.20:27:06
18 May 2022
@_bifrost_Pirate=20Praveen=2fdebian-browserify=40groups.poddery.com:aria-net.orgPirate Praveenvinay-keshava: OK let's wait for their reply06:44:41
@_bifrost_Vinay=20Keshava=2fdebian-browserify=40groups.poddery.com:aria-net.orgVinay Keshava> Pirate Praveen wrote: > vinay-keshava: OK let's wait for their reply Pirate Praveen: Could you suggest another package to work on !!07:40:52
@_bifrost_Pirate=20Praveen=2fdebian-browserify=40groups.poddery.com:aria-net.orgPirate PraveenVinay Keshava: https://wiki.debian.org/Javascript/Nodejs/yarn-plugin-apt#New_modules_to_be_packaged may be take meros and add your name there08:15:27
@_bifrost_Pirate=20Praveen=2fdebian-browserify=40groups.poddery.com:aria-net.orgPirate Praveencan anyone help with this https://github.com/itgalaxy/webfont/issues/572 ?17:23:19
@izzygala:matrix.orgIsrael Galadima
In reply to @_bifrost_Pirate=20Praveen=2fdebian-browserify=40groups.poddery.com:aria-net.org
can anyone help with this https://github.com/itgalaxy/webfont/issues/572 ?
will check this out
17:24:42
@izzygala:matrix.orgIsrael Galadima

from cosmiconfig v5.2.0 index.js

module.exports = cosmiconfig;

from cosmiconfig v7.0.1 index.ts (with tsconfig module esnext)

export { cosmiconfig, cosmiconfigSync, defaultLoaders };

17:47:46
@izzygala:matrix.orgIsrael Galadima

so maybe change

import cosmiconfig from "cosmiconfig";

to

import { cosmiconfig } from "cosmiconfig";

17:48:22
@izzygala:matrix.orgIsrael Galadimainside src/standalone/index.ts of webfont17:48:49
@_bifrost_Pirate=20Praveen=2fdebian-browserify=40groups.poddery.com:aria-net.orgPirate PraveenIsrael Galadima, I tried that but it fails later17:52:36
@_bifrost_Pirate=20Praveen=2fdebian-browserify=40groups.poddery.com:aria-net.orgPirate Praveenhttps://paste.debian.net/1241311/17:53:59
@izzygala:matrix.orgIsrael Galadima hello Pirate Praveen 18:43:00
@izzygala:matrix.orgIsrael Galadimaremove the two awaits18:43:08
@izzygala:matrix.orgIsrael Galadima
const buildConfig = async (options) => {
  let searchPath = process.cwd();
  let configPath = null;

  if (options.configFile) {
    searchPath = null;
    configPath = path.resolve(process.cwd(), options.configFile);
  }

  const configExplorer = cosmiconfig("webfont");

  let config = await configExplorer.search(searchPath);

  if (configPath) {
    config = await configExplorer.load(configPath);
  }

  if (!config) {
    return {};
  }

  return config;
};
18:43:40
@izzygala:matrix.orgIsrael Galadimabuildconfig shouldnt be async18:44:46
@izzygala:matrix.orgIsrael Galadimathen remove the two awaits18:44:57
@izzygala:matrix.orgIsrael Galadimaline 12 and 1318:45:07
@izzygala:matrix.orgIsrael Galadimai think i got that wrong, they should be18:59:49
@izzygala:matrix.orgIsrael Galadimathe issue comes from that function19:00:03
@izzygala:matrix.orgIsrael Galadimait returns {} instead of config and im trying to find out why19:00:25
@izzygala:matrix.orgIsrael Galadimahelp anyone :)19:00:33
@akshay:matrix.orgasd
In reply to @izzygala:matrix.org
it returns {} instead of config and im trying to find out why

If config is missing it'll return that, right?

Also, if it is just typescript making a fuss, there is a chance that making line 37 be return {} as Any; will help.

20:10:09
@izzygala:matrix.orgIsrael Galadima
In reply to @akshay:matrix.org

If config is missing it'll return that, right?

Also, if it is just typescript making a fuss, there is a chance that making line 37 be return {} as Any; will help.

yes when config is missing it returns {}
21:39:45

There are no newer messages yet.


Back to Room List