Danish Arora
9d9a696024
chore: mandate `.js` extensions for imports ( #2128 )
...
* feat: add eslint rule
* chore: update codebase import extensions
2024-09-13 14:18:29 +05:30
Danish Arora
169a09d552
chore: enforce access modifiers ( #2068 )
...
* feat: introduce eslint flag
* chore: update logger
* chore: update enr
* chore: update core
* chore: update sdk
* chore: update relay
* chore: update discovery
* chore: update message-encryption
* chore: update tests
* chore: fix modifiers
* chore(tests): fix access modifiers
* chore: fix rebase
2024-07-19 15:58:17 +05:30
Danish Arora
3166a5135e
chore!: change all instances of `PubSubTopic` to `PubsubTopic` ( #1703 )
...
* rename all PubSub patterns
* feat: forbid identifiers with camelcase pubSub (#1709 )
---------
Co-authored-by: Arseniy Klempner <adklempner@gmail.com>
2023-11-14 18:52:52 +03:00
Sasha
a42b7be60d
feat: add ability to pre release ( #1664 )
...
* feat: add ability to pre release
* changes versions for packages that are getting published
* fix
2023-11-01 16:15:24 +01:00
Danish Arora
0f7d63ef93
feat: Logger with log levels ( #1672 )
...
* setup a custom Logger with log level support
* refactor codebase for to use new Logger with log levels
* disallow usage of `debug` directly / only allow usage in/through custom Logger
* remove `debug` from logger
2023-10-20 16:36:47 +05:30
Sasha
281d9b2c9d
feat: add playwright CI testing ( #1542 )
...
* add tests-browser package
* rename to browser
* add playwright and experiment with karma
* add lock
* remove karma
* remove readme
* replace default app, rename
* add and configure playwright
* up package-lock
* use @waku/create-app, add scripts to handle it
* remove tsconfig
* update playwright script
* move dependency to root
* set folder
* up
* try install step
* add playwright dep
* remove step
* add es module utils
* fix import issue
* run on master
* use image prop
* use dotenv-flow, set .env.local
* add log, use dotenv-flow
* add env var to ci
* add env vars to CI
* return install of deps
* return container & log build step
* upgrade @waku/create-app
* fix firefox in container problem
2023-09-22 14:34:16 +02:00
Danish Arora
78f64f60ee
chore: remove prettier, and default to eslint ( #1495 )
...
* rm: unwanted commit ff3ffdd138
* prettier: readds trailing commas
* update: .vscode settings to use eslint by default
* run eslint -- removes trailing commas
* remove: prettier
* remove linting from autogen proto
* address comments
* lint .eslintrc.json
2023-09-04 12:37:38 +05:30
Danish Arora
bb6211d675
add prettier rule to eslint ( #1488 )
2023-08-17 17:24:38 +05:30
Danish Arora
87717981eb
chore: upgrade libp2p and related deps ( #1482 )
...
* chore: update noise
* update: package.lock
* update: @chainsafe/libp2p-gossipsub
* rm unwanted libp2p interface deps & bump up libp2p
* refactor code for new deps
* update: new package.lock
* setup prettier, refactor eslint and rm trailing commas
* update package.lock
* fix build
* import type for interface
* fix imports for merge
* update typedoc exports
* add: CustomEvent import
* use new libp2p interface
* add aegir as dev dep for tests
2023-08-16 20:18:13 +05:30
Sasha
51f9261a16
chore: update dependencies ( #1460 )
...
* update to latest prettier
* fix with prettier: added trailing comma
* remove deps from test package, add sinon types, fix type hack in a test, update esling prettier config
* update typescript eslint plugins
* update package-locks
2023-08-11 15:14:02 +02:00
Danish Arora
376bcf2a0a
chore: new eslint rules ( #1416 )
...
* add new eslint rules
* remove eslint scripts for build-utils
* refactor all files to fix breaking changes with new rules
* add a basic eslintrc for build-utils
* test
* fix more linting errors
* test
* update package.lock
* update stopping container
* update px node spec
* enable tests
* fix: conn manager events
* fix: peer exchange
* increase timeout on px test
2023-07-24 16:04:24 +05:30
Sasha
7075f10780
fix diplay workspace name ( #1291 )
...
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-04-03 16:22:27 +05:30
fryorcraken.eth
0b93fdd76d
chore: extract exports path from package.json for rollup
...
Also sort eslint to lint JavaScript ESM files successfully.
Fixes #933
2023-03-01 15:46:21 +11:00
fryorcraken.eth
c5546e7eee
test: build tools are expected to use dev dependencies
2023-02-27 09:48:30 +11:00
weboko
5a56b6432f
add configuration to determine devDependencies, move them in package
2023-01-19 22:49:11 +01:00
weboko
913573a25a
remove no-extraneous-dependencies lint options, move packages to devDep section
2023-01-19 22:14:17 +01:00
weboko
bef68ee081
add lint rule to warn about missing deps in workspaces
2022-12-23 00:17:46 +01:00
fryorcraken.eth
280d4a60dc
chore: make no-console an error
...
We use `debug` across the codebase, this ensures no `console.log` slips
in by mistake.
2022-12-02 13:23:57 +11:00
fryorcraken.eth
81f3af0f66
chore: fix eslint
2022-10-30 21:19:14 +11:00
fryorcraken.eth
3c5f1d89df
style: add warning for usage of console
2022-09-08 13:18:07 +10:00
Franck Royer
4cf197e54d
Implement libp2p bootstrap interface
2022-07-20 12:43:40 +10:00
Franck
cf025dea82
Adjust eslint settings
...
See: https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21
2021-12-21 12:08:16 +11:00
Franck Royer
0974f313fd
Exclude test files from build
2021-05-11 14:05:12 +10:00
Franck Royer
656227d431
Remove null-assertion warnings for tests
2021-05-04 11:12:32 +10:00
Franck Royer
9e30627e2b
Force return types to be specified
...
Makes it easier to use the library. Best to enforce this early on.
2021-05-04 11:12:32 +10:00
Franck Royer
ee8db698b3
Allow constant condition for loops
2021-04-13 15:03:14 +10:00
Franck Royer
704f2770d1
Use ts-proto
...
This allows the generation of ts files which makes it easier
to handle with test frameworks than just d.ts files
2021-03-22 15:49:58 +11:00
Franck Royer
8e91ca6d01
Adopt more typescript-y syntax, do not lint generated files
2021-03-10 14:30:31 +11:00
Franck Royer
be47223bae
Connects to nim-waku using waku-relay protocol
2021-03-05 14:41:20 +11:00
Franck Royer
f46ce77f57
Initial commit
...
Created with bitjson/typescript-starter@586cdb3029
2021-03-05 09:34:01 +11:00