Commit graph

32 commits

Author SHA1 Message Date
Krzysztof Wolski
7e0755ec9e
Webhook helpers (#949)
* WIP

* Added script and making implementation more roboust

* Added rollback on issues with the migration

* Cleanup the code

* Use allSettled instead of all

* Do not check spelling in schema files.
Schema is pulled from the API and is not controlled by our team

* Update the pkg json

* Fix typo on log message

* Add dedupe to the ignored words.
Its used by codegen

* Add changesets
2023-09-07 13:04:23 +02:00
Lukasz Ostrowski
a0a607ce99
Update app-sdk to 0.43.1 (#956) 2023-09-06 12:26:04 +00:00
Lukasz Ostrowski
4aee4e11f8
Invoices, Klaviyo: Refactor to shared components (#989) 2023-09-06 12:22:54 +00:00
Lukasz Ostrowski
1033b93747
Update pnpm version expected by the monorepo (#985) 2023-09-06 10:50:07 +02:00
Lukasz Ostrowski
2e296996cb
Update sentry and add Sentry CLI to the workspace (#986) 2023-09-06 10:24:45 +02:00
dependabot[bot]
3bfcfa5b01
[skip ci]: Bump prettier from 3.0.1 to 3.0.3 (#983)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 09:47:49 +02:00
Adrian Pilarczyk
ceddcf96eb
refactor: ♻️ omit more in cspell config (#957) 2023-09-04 11:21:28 +02:00
Adrian Pilarczyk
0aa1d12cc4
feat: ⚗️ add check-spelling.yml gh action (#947)
* feat: ⚗️ add check-spelling.yml gh action

* chore: ⚗️ make typos to test gh action

* feat:  add cspell config

* fix: 🐛 typos

* feat: ⚗️ test verbose

* Revert "feat: ⚗️ test verbose"

This reverts commit 3bf36f5a29b6af2ca969a92f0bc61e12e89d8a44.

* feat:  add cspell locally

scripts for all files & lint-staged

* feat:  add new words to dictionary in cspell.json

* refactor: 🚚 cspell.json -> cspell.config.json

* Revert "refactor: 🚚 cspell.json -> cspell.config.json"

This reverts commit b5c96f6909cf5f0ab1173255ef7ded7e360ca83f.

* Revert "feat:  add new words to dictionary in cspell.json"

This reverts commit 69d8bdd3f9ed19ab07044e3e986c8d0b06114e43.

* feat:  add ignorePaths

* feat: add more ignore

* feat:  add words to cspell.json

* refactor: ♻️ change dictionary in cspell.json

* refactor: make words capitalized

* fix: 🐛 add md/mdx to check-spelling
2023-09-01 11:44:20 +02:00
Lukasz Ostrowski
261957fda4
Update dev dependencies (#845)
* update prettier and syncpack

* update turbo

* Update various dev deps

* improve syncpack config

* remove c8 reporter from invoices

* fix test packages

* Fix invocies test
2023-08-04 08:39:44 +02:00
Lukasz Ostrowski
e7c2d3a877
Update TS and ESLint (#734) 2023-07-11 17:02:38 +02:00
Lukasz Ostrowski
2d77bca353
Update nextjs to 13.4.8 (#720)
* Update nextjs to 13.4.8

* Update .changeset/neat-queens-draw.md

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>

---------

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2023-07-04 12:43:57 +02:00
Lukasz Ostrowski
ec68ed53a3
Sentry improvements (#652)
* Update Sentry in CMS

update turbo

Add test logs for cms

test sentry

Update sentry config and next config

* resolve conflict

* Add changesets

* Remove test code
2023-06-20 10:06:18 +02:00
Lukasz Ostrowski
cb6ee2920b
Update dependencies (#568)
* Update deps

* update deps

* update deps

* Changeset

* update lock
2023-06-15 08:18:54 +02:00
Lukasz Ostrowski
a8834a11fe
Update dev dependencies (#540)
* Update Typescript to 5.1.3

* Update Turborepo

* Update turborepo eslint config

* Update ESLint and unify version

* Changeset

* unify eslint rules and node types and moved them to root

* unify app-sdk version

* unify codegen packages across monorepo

* unify graphql package

* update lock

* enabled eslint during invoices build with next build

* Format package jsons

* push scripts to the top of package json
2023-06-07 09:25:39 +02:00
Adrian Pilarczyk
6a9da7ac38
Remove filter from "check-deps" command (#523)
* Remove filter from "check-deps" command

* ci: 👷 only run check-deps on label
2023-06-01 15:12:04 +02:00
Adrian Pilarczyk
8af0f022e3
feat: align monorepo deps automatically (#518)
* build:  add syncpack

* feat:  add syncpack github action

* feat:  update syncpack

* ci: 🔧 update syncpackrc

* ci: 👷 update check-deps to ignore all

* Update check-deps.yml

* Update check-deps.yml

* Update check-deps.yml

* Update check-deps.yml

* Update package.json

* ci: 👷 add continue-on-error

* ci: 💚 move continue-on-error
2023-06-01 09:09:19 +02:00
Przemysław Łada
1995f507a0
Extend release workflow with tagging and releasing on GitHub (#477)
* Add github:release script

* Change release worflow
2023-05-17 15:00:51 +01:00
Lukasz Ostrowski
842b7b9cdb
Change test script to be "test" instead "test:ci" so all tests are executed properly (#437) 2023-05-15 11:03:04 +02:00
Lukasz Ostrowski
830cfe92ce
Extract logger (#439)
* Extract logger

* Replace logger with shared one

* Replace CRM logger with shared one

* Replace E&M logger with shared one

* Replace invoices logger with shared one

* Replace Products Feed logger with shared one

* Replace Search logger with shared one

* Replace Taxes logger with shared one

* Uninstall pino from apps direct dependency

* Update docs

* Update changeset

* Bumped Klaviyo typescript version to hopefully unblock the build

* Change packageManager field to pnpm 8.2.0

* removed package manager field from klaviyo package.json
2023-05-05 08:15:47 +02:00
Lukasz Ostrowski
e167e72408
Update next to 13.3.0 (#388)
* Update next to 13.3.0

* Fix cms next version
2023-04-14 11:27:25 +02:00
Lukasz Ostrowski
7ff2d7cfa7
Change turborepo config to use local turbo.json (#353)
* Change turborepo config to use local turbo.json

* update lock to 6.0

Update turbo to 1.9.0

Move global envs to build script envs
2023-04-13 12:44:27 +02:00
Lukasz Ostrowski
3acc1553a8
Introduce CRM App (#292)
* Add template

Cleanup

Update queries

Basic mailchimp client

Add Oauth flow

remove next auth

* Auth flow, mailchimp button

* Basic layouts

* session saver for appbridge

* ideas drop

* basic iframe flow

* iframe flow - with post message

* saving token in backend

* saving token in backend

* Extracted settings manager

* Refactor audience router

* Remove old macaw ui

* Nav and layout

* display lists and wip add customer

* Metadata updater

* Allow iframe to NOT have app layout

* Add segment coming soon

* App layout

* Add removing config button

* Add iframe

* Fix postmessages

* Display lists

* webhook settings

* Connect webhook

* remove comment

* batch customer adding client

* Update macaw

* Fetching customers component

* Add bulk sync

* add temp ts-ignore until macaw is fixed

* Improve ui

* redesign

* Extract sections

* Redesign mailchimp login

* Refactor sections

* Extract mailchimp list picker

* Add name mapping

* WIP tags, extracted colocated queries to folders

* Wip - not working CustomerUpdated subs

* Add instructions

* Fix webhook config state

* Add external links

* envs

* Protected Oauth handler

* Fix instructions

* Squash some todos

* Instructions update with gql

* empty trygger

* Add env validation

* Fix error message

* Update macaw and remove todos

* Add metadata manager test

* Replace Mailchimp enum to lowercase

* Update oauth routes

* Fix typo

* Add loader to removing config box

* Update labeler to include CRM app

* Apply suggestions from CR

* Fix linter
2023-04-06 09:26:56 +02:00
Lukasz Ostrowski
749941a58a
Update dependencies and fix eslint config (#255) 2023-03-09 14:01:18 +01:00
Lukasz Ostrowski
1da5be3be1
Prepare app for production (#145)
Prepare data importer for production

---------

Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>

Fix prod resolving

Add icon

Improve styles
2023-02-23 07:22:37 +00:00
Lukasz Ostrowski
081d15e168
Add prettier on pre-commit & reformat codebase (#137)
* Run prettier on project

* Install lint-staged

* Add Husky
2023-02-10 11:13:59 +01:00
Lukasz Ostrowski
9f843b2d31
Extract TitleBar and AppIcon to shared package and implement it in apps (#134)
* Update imports from apps-shared package

* Extract main bar and app icon

* Remove graphql generated

* Implement AppIcon and MainBar in data importer and invoices

* Change name to TitleBar

* Use TitleBar and AppIcon from shared package

* Use title bar from shared in search

* Refactor slack to use TitleBar from shared package

* Make TitleBar sticky

* Run codegen before cicd tests

* Add generate script
2023-02-09 18:41:23 +01:00
Lukasz Ostrowski
77538e49f7
Add slack app (#120)
* add slack app

* Update eslint

* Remove gitignore
2023-02-09 11:58:20 +01:00
Lukasz Ostrowski
3092be00ff Update configs 2023-02-07 20:37:30 +01:00
Lukasz Ostrowski
7aabcdc9e3
Update deps (#101) 2023-02-07 20:09:51 +01:00
Lukasz Ostrowski
a70c4231b7 Setup changesets 2023-02-07 19:40:59 +01:00
Lukasz Ostrowski
d38ab0bd89 Add shared eslint 2023-02-07 19:11:48 +01:00
Lukasz Ostrowski
7b11e8a3d4 Setup Turborepo boilerplate 2023-02-07 18:57:26 +01:00