Commit Graph

12 Commits

Author SHA1 Message Date
Fabien "egg" O'Carroll 73a2776fe9 Added backend launch task
This is useful for debugging serverside code paths
2024-01-17 17:52:36 +07:00
Jono M 795e4d5d39
Removed accidentally committed editor settings (#17546)
no issue
2023-07-31 22:28:09 +01:00
Jono M 55d243f470
Replace custom data loading with react-query (#17537)
refs https://github.com/TryGhost/Product/issues/3349
2023-07-31 18:27:30 +01:00
Daniel Lockyer 8c393a2b55 Added `clsx` Tailwind autocomplete support to VSCode
refs https://github.com/lukeed/clsx#tailwind-support

- this should enable Tailwind autocomplete in `clsx` for those who use
  the Tailwind Intellisense plugin
2023-07-18 14:35:39 +02:00
Daniel Lockyer c466733871 Added `Ghost core + Admin` launch config
- this runs the equivalent of `yarn dev` and will just launch Ghost core
  (+ TS) + Admin, saving all of the other supplementary apps being
  launched too
2023-07-17 17:41:57 +02:00
Fabien "egg" O'Carroll 32f602d899 Fixed VSCode launch.json config
The dev script was moved and the launch config was not updated.
2023-07-17 11:40:40 +01:00
Fabien "egg" O'Carroll 283cae9a59 Fixed "Full Offline Dev" launch config
Each flag needs to be a separate entry in the args array.
2023-06-29 01:40:05 +01:00
Daniel Lockyer 14f614d0c1 Added `apps/` to vscode working directories
- this maintains support for all the code folders in the vscode
  settings.json file, so they load the eslint files correctly
2023-06-16 13:37:58 +02:00
Daniel Lockyer 07d8924d7b
Enabled quicker autocomplete in VS Code
refs https://www.notion.so/ghost/Tailwind-setup-ccf5de35d2534c8bae1f1d7b6024f165?pvs=4#a8c31a447ad242c6b560ff2b47c913b9

- this is needed so autocomplete works faster in the editor
2023-06-02 15:41:35 +02:00
Daniel Lockyer bc23285c55
Added VS Code workspace settings file
refs https://ghost.slack.com/archives/C02G9E68C/p1685611322859309
refs 7b6eb3171a

- this introduces a `.vscode/settings.json` file which should provide
  some reasonable default settings when dealing with this repo
- changes include setting some search exclusions and fixing the working
  directory for eslint so Tailwind config is picked up correctly
2023-06-02 15:34:00 +02:00
Naz ec56572764
Added example test launchers for VS Code
refs 97584cf0c4

- We now track launch.json file in source control and it's often useful to be able to debug tests either for separate packages or e2e types of tests inside of Ghost core
- These configurations should be useful "templates" for custom launchers one might need when working on specific part of the code
2023-05-23 12:58:04 +07:00
Fabien "egg" O'Carroll 97584cf0c4 Added .vscode/launch.json to git
Rather than sending each other JSON snippets in slack, we can build shared
configurations for the vscode debugger.
2023-05-02 07:30:16 -04:00