Commit Graph

165 Commits

Author SHA1 Message Date
Mihovil Ilakovac
8f136fb5cd
Make sure entity declaration is not used in the Wasp file (#2152) 2024-07-09 23:44:56 +02:00
Mihovil Ilakovac
8ead2e0910
Using Prisma file alongside Wasp (#2035) 2024-07-03 13:51:29 +02:00
Filip Sodić
31161d131e
Small cleanup after #1992 (#2021) 2024-05-08 17:36:09 +02:00
Filip Sodić
685ab64c9f
Enable the reset command (#1962) 2024-04-16 10:02:43 +02:00
Filip Sodić
8a1478053c
Fix type inference bug in Wasp 0.13.1 (#1949) 2024-04-11 18:02:37 +02:00
Filip Sodić
55d0b1b04c
Update Mage, waspc.cabal, and Changelog for 0.13.1 (#1937) 2024-04-04 16:15:09 +02:00
Mihovil Ilakovac
4c38ef8a45
Bump version in Cabal file (#1898) 2024-03-18 14:21:40 +01:00
Filip Sodić
8cfcd080a9 Bump version to 0.12.4
Change version, update e2e tests, update Changelog
2024-03-12 16:51:38 +01:00
Martin Sosic
f2721e7679 Updated Wasp version to 0.12.3 + Mage to use it. 2024-03-01 16:18:11 +01:00
Martin Sosic
17479c76a9 Updated waspc.cabal, ChangeLog and e2e test to 0.12.2. 2024-02-29 19:00:11 +01:00
Martin Sosic
86938b232b Updated cabal, Changelog, and e2e tests to 0.12.1 . 2024-02-27 15:52:49 +01:00
Martin Šošić
413f6aebcb
Removed patching of oauth npm package for server. (#1747) 2024-02-12 14:24:46 +01:00
Filip Sodić
d9136bb489
Update examples and guide for 0.12.x (#1727) 2024-02-09 17:26:28 +01:00
Martin Šošić
03d234fd7d
Updated Wasp AI to work with wasp 0.12. (#1726) 2024-02-09 11:38:16 +01:00
Filip Sodić
26141f989e Update imports and API for server/operations (#1711) 2024-01-31 17:46:23 +01:00
Filip Sodić
dd16fb993c Update imports for wasp/client/operations 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
cad358d6ef Implement the wasp/client/router API (#1703) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
58d22d9952 Implement new wasp/server/jobs API (#1702) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
1bd87eab3c Implement new wasp/server/email API (#1701) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
8efabdf395 Implement wasp/client/crud API (#1700) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
cf961f52e2 Implement the new wasp/server/crud API (#1695) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
e2ac659526 Adds wasp/server/auth API (#1694) 2024-01-31 17:46:23 +01:00
Mihovil Ilakovac
615b373fd6 Migrate wasp/client/auth API 2024-01-31 17:46:23 +01:00
Martin Šošić
df293e53d7 [New SDK]: 'wasp/server/api'. (#1679) 2024-01-31 17:46:23 +01:00
Filip Sodić
cbd7310b16
Implement Wasp SDK generation (#1626) 2024-01-29 16:08:15 +01:00
Filip Sodić
1456a89222
Adapt wasp clean and fix NPM dep installation (#1603)
---------

Co-authored-by: Martin Sosic <sosic.martin@gmail.com>
2024-01-29 15:21:36 +01:00
Filip Sodić
d3e9fdc4c6
Implement project install step for restructuring (#1690) 2024-01-29 14:57:22 +01:00
Filip Sodić
6f0714ad23
Create restructuring prototype (#1584) 2024-01-29 14:00:20 +01:00
Martin Šošić
6771dacb0e
Added open-saas starter template to CLI & fixed all starter templates (instructions, versioning) (#1619)
* Added open saas to starter templates and refactored template picking a bit.

* All now use new mechanism.

* Removed notion of GhStartersRepoTemplate.

* Templates are now versioned.

* Starting instructions are not adjustable per template.

* Instructions are now correct for each template.

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2024-01-11 16:25:35 +01:00
Martin Šošić
758110e686
Relax node version (#1533)
* Relaxed Wasp's node version requirements.

* Updated e2e tests.

* fix

* fix

* Fixed version of wasp app in headless tests.

* Update web/docs/introduction/getting-started.md

Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>

* fix

* fix

* Small grammar fixes.

* fixes

* Updated e2e tests.

* fix

* fix

---------

Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2024-01-04 11:30:42 +01:00
Mihovil Ilakovac
633e25c125
Injected auth models (#1583) 2024-01-03 14:40:08 +01:00
Martin Šošić
994a58f0dc
Wasp ai cli mage (#1601)
* Improved Wasp AI CLI experience.

* fix

* Added CLI Usage, polished CLI commands.

* Added choice of temperature.

* Added styling.

* Added more sophisticated, terminal-only styling.

* fix

* Updated Mage to use new Wasp CLI + added some messaging to CLI.

* fix

* Created wasp-ai/README, updated waspc/README.

* Moved wasp-ai/ to mage/.

* Final polishing (docs, readmes, messaging).

* fix

* Added tests for LogMsg.

* Updated versions of test apps to 0.12.

* fix

* fix

* Update mage/README.md

* fix

* fix
2023-12-22 15:14:38 +01:00
Martin Sosic
47c4b8cb16 Merge branch 'main' into wasp-ai 2023-12-11 20:19:46 +01:00
Mihovil Ilakovac
3a5bba9b39
Bumps version (#1573) 2023-11-14 14:21:20 +01:00
Mihovil Ilakovac
2752f889c8
Sets the minimum number of Fly machines to 1 (#1535) 2023-11-06 15:47:45 +01:00
Mihovil Ilakovac
9f31b3229e
Bumps version to 0.11.7 (#1545) 2023-10-27 14:19:53 +02:00
Filip Sodić
7df1b10ffd
Bump Wasp version to 0.11.6 and update e2e tests (#1493) 2023-10-10 15:02:31 +02:00
Mihovil Ilakovac
03cfcdfaaf
Wasp Studio [experimental] (#1483) 2023-10-10 12:17:05 +02:00
Mihovil Ilakovac
88d9534fd3
Allow customising the Vite config (#1465) 2023-10-09 15:40:33 +02:00
Mihovil Ilakovac
20eb9e007a
Bumps Wasp version (#1448) 2023-09-16 00:43:46 +02:00
Mihovil Ilakovac
16fa3bd487 Merge branch 'main' into wasp-ai 2023-09-14 12:23:29 +02:00
Mihovil Ilakovac
99c9021f82
Signup Customisation [RFC] (#1395) 2023-09-12 13:19:47 +02:00
Mihovil Ilakovac
cb88dfc618
Adding support for Postgres Extensions (#1443) 2023-09-12 13:03:57 +02:00
Martin Šošić
179ec45aa9
Updated default .gitignore for new Wasp project to be more robust regarding .env files (#1425) 2023-08-31 15:50:17 +02:00
Mihovil Ilakovac
792c014551
Implement type safe links (#1235) 2023-08-30 14:40:17 +02:00
Craig McIlwrath
0f9726b7a1
[waspls] use the wasp project root instead of the workspace root (#1393)
* calculate project root via location of .wasp file

previously, waspls used workspace root, which was incorrect if you opened a
workspace larger than the wasp project.

this does not add support for multi-project workspaces.

* update changelog with waspls scaffolding info
2023-08-11 08:18:37 -04:00
Craig McIlwrath
d12b403e7d
[waspls] improves LSP scaffolding (#1381)
* create directories when scaffolding, if needed

* refresh export cache after scaffolding

* better process for ensuring a blank line between old code and new scaffolded code
2023-08-10 10:01:20 -04:00
Mihovil Ilakovac
b34ab5dc8b
Fixes .env.client copying (#1391) 2023-08-10 11:20:33 +02:00
Mihovil Ilakovac
7c09e3964b
Updates LSP templates (#1375) 2023-07-28 10:33:04 +02:00
Craig McIlwrath
76d9fc4213
[waspls] Add code actions for scaffolding external code (#1316)
When an external import tries to import a symbol from a TypeScript/JavaScript file, waspls now offers quickfix code actions to scaffold a function in that file.

It uses the surrounding context of the external import to determine what code to write for the code action. See [`ScaffoldTsSymbol.hs`](457911d5e9/waspc/waspls/src/Wasp/LSP/Commands/ScaffoldTsSymbol.hs) for a detailed description of how it works. At a high level, there is a `templateForFile` function in `Wasp.LSP.Commands.ScaffoldTsSymbol` that selects the correct template from `data/lsp/templates/ts`. For example, `action.fn.ts` contains a template for scaffolding an `action` function in a TypeScript file and would be used when a code action is requested with the cursor at the location marked by `|`:

```wasp
action createTask {
  fn: import { createTask } from "@server/actions.js"|
}
```

The scaffold action runs as a [LSP command](https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#workspace_executeCommand). To prepare for wanting to define more commands in waspls in the future, this PR also introduces the concept of `Commands` (`Wasp.LSP.Commands.Command`) that define some properties about each command waspls wants to handle.
2023-07-26 08:00:16 -04:00