|
4520e65e21
|
feat: server logs
|
2024-12-31 01:55:41 +01:00 |
|
|
c288b2235f
|
fix: add workaround for Netlify function
|
2024-12-31 01:52:01 +01:00 |
|
|
a55d669214
|
fix: try to add cwd to loadConfig
|
2024-12-31 01:46:40 +01:00 |
|
|
dba6b6ef84
|
fix: use loadedConfig
|
2024-12-31 01:40:37 +01:00 |
|
|
063bc0567b
|
feat: log loaded config and add catch
|
2024-12-31 01:35:35 +01:00 |
|
|
4640b6e5cf
|
fix: c12 loadConfig not getting mcfly config
|
2024-12-31 01:27:41 +01:00 |
|
|
31d5a33cd6
|
feat: add log for detected config file
|
2024-12-31 01:20:25 +01:00 |
|
|
b486a7a5d5
|
feat: add logging for when custom element registry not inserted
|
2024-12-31 01:15:01 +01:00 |
|
|
69363bfb8a
|
chore: patch versions for release
|
2024-12-31 00:32:52 +01:00 |
|
Ayo Ayco
|
2a9b1e6c58
|
feat: config improvements (#53)
* feat: move defineMcFlyConfig to @mcflyjs/config
* feat: move defineMcFlyConfig to config package
* feat: programmatically build nitro dev server
* chore: bump versions
* feat: spread nitro config if exists
* chore: use nitro build programmatically
* feat: use nitro programmatically in prepare command
* feat: expose types for NitroConfig & McFlyConfig
* feat: use c12 to resolve mcfly config
* fix: too many symlinks
* chore: skip tests for now
* test: cheating
* test: cheating
* chore: update pnpm-lock
|
2024-12-31 00:25:25 +01:00 |
|
|
aeae9a80c3
|
chore(core): patch version for release
|
2024-12-27 22:53:22 +01:00 |
|
|
272a59d8d9
|
chore: remove console.logs
|
2024-12-27 22:51:45 +01:00 |
|
|
167e7ce1a4
|
chore(core): patch version for release
|
2024-12-27 22:44:27 +01:00 |
|
|
0598c9705b
|
feat: improve evaluation of dynamic content inside {{ }}
- evaluate js expressions
- fix regex matching skips every other match
|
2024-12-27 22:43:05 +01:00 |
|
|
bd13f2f243
|
chore(cli): update deps to latest
|
2024-12-27 22:07:34 +01:00 |
|
|
892bf45671
|
chore: rename evaluate server script function
|
2024-12-27 22:05:40 +01:00 |
|
|
dfee34b7eb
|
feat: reuse Config.components types on jsdoc
|
2024-12-27 22:02:05 +01:00 |
|
|
628243214a
|
feat(core): add jsdoc for components configuration property
|
2024-12-27 15:05:13 +01:00 |
|
|
7385117308
|
chore: add npm scripts to packages
|
2024-12-27 12:03:14 +01:00 |
|
|
bebee213f2
|
chore(cli): test patch for release
|
2024-12-27 12:01:43 +01:00 |
|
|
cfd7e7ba9a
|
chore(core): patch version for release
|
2024-12-27 11:58:19 +01:00 |
|
|
d50b67f3f4
|
feat: allow no semicolon server:setup scripts
|
2024-12-27 11:52:25 +01:00 |
|
|
4e10f7d92d
|
chore(core): add esbuild as dependency
|
2024-12-27 11:38:00 +01:00 |
|
|
08c4ee7259
|
test(cli): remove unneeded assertion
|
2024-12-20 00:01:17 +01:00 |
|
|
06b7b8e729
|
test(cli): change assertion
|
2024-12-19 23:59:00 +01:00 |
|
|
c25c5e03d4
|
chore: format code
|
2024-12-19 23:11:07 +01:00 |
|
|
5a4f8b9b30
|
chore: set up husky
|
2024-12-19 23:07:49 +01:00 |
|
|
4975bb8206
|
chore: add todo
|
2024-12-19 22:57:56 +01:00 |
|
|
a413fc14f2
|
chore(config): bump version patch for release
|
2024-12-08 21:21:23 +01:00 |
|
|
2e5a44d5e5
|
feat(config): add compatibilityDate
- prevents the nitro server prompt to auto add compatibilityDate; it is used for cloudflare workers if I understand it correctly
|
2024-12-08 21:20:33 +01:00 |
|
|
01493ae617
|
chore(cli): update nitro
|
2024-12-08 20:32:24 +01:00 |
|
|
17f631baaf
|
test(cli): main subcommands list
|
2024-12-08 19:54:23 +01:00 |
|
|
c1e2ed579c
|
chore(cli): remove TODO
|
2024-12-07 20:41:05 +01:00 |
|
|
ea06089c4a
|
test(cli): add tests for generate command
|
2024-12-07 20:40:15 +01:00 |
|
|
41d8ff83a5
|
chore(cli): update script command for coverage
|
2024-12-07 20:35:11 +01:00 |
|
|
cc6dfda559
|
test(cli): add tests to serve.printInfo()
|
2024-12-07 20:34:52 +01:00 |
|
|
47fa380ef0
|
test(cli): add tests for serve()
|
2024-12-07 19:25:29 +01:00 |
|
|
6c14bbf2b5
|
refactor(cli): remove unused import
|
2024-12-07 19:25:09 +01:00 |
|
|
4001369337
|
test(cli): add @mcflyjs/core as devDep for testing
|
2024-12-07 19:24:42 +01:00 |
|
|
0834f13633
|
test(cli): error scenarios for new, build, prepare
|
2024-12-07 18:35:34 +01:00 |
|
|
025587c0e6
|
test(cli): test output default
|
2024-12-07 18:35:14 +01:00 |
|
|
6c7877b049
|
chore(cli): clean imports
|
2024-12-07 10:56:57 +01:00 |
|
|
09cd38a481
|
refactor(cli): remove debug logs
|
2024-12-07 10:40:15 +01:00 |
|
|
86cf39daf7
|
test(cli): initial tests for 'prepare'
|
2024-12-07 10:39:58 +01:00 |
|
|
d4a5be60f1
|
chore(cli): add 'text' coverage report
|
2024-12-07 10:34:34 +01:00 |
|
|
b1778d09f9
|
chore(cli): configure vitest
|
2024-12-07 10:29:31 +01:00 |
|
|
f77f78f459
|
test(cli): extract baseCommand for new
|
2024-12-07 09:24:22 +01:00 |
|
Ayo Ayco
|
56592bdeef
|
test(cli): add tests for cli commands (#37)
* chore(cli): add vitest & add test script
* chore: add test:cli script
* test(cli): initial tests for build command
* chore(cli): add nitropack as devDepencency for tests
* chore(cli): add vitest config
* test(cli): add tests for build command
* test(cli): add tests for new command
|
2024-12-07 02:44:38 +01:00 |
|
Ayo
|
a0dda26c12
|
chore(create-mcfly): patch version for release
|
2024-03-16 13:16:28 +01:00 |
|
Ayo
|
b04b7ef805
|
feat(create-mcfly): don't clear the terminal upon start
|
2024-03-16 13:14:14 +01:00 |
|
Ayo
|
ed4045b96d
|
chore(config, core): patch version for release
|
2024-03-11 12:57:10 +01:00 |
|
Ayo Ayco
|
61e10e701a
|
fix: temporarily pin to nitropack@2.8 for evalStore not a constructor err (#36)
* fix: check if evalStore is constructor
* deps: pin nitro to 2.8
* chore: remove console.log
|
2024-03-11 12:51:32 +01:00 |
|
Ayo
|
ebb91c709d
|
chore: patch versions; fix dep
|
2024-03-09 21:41:29 +01:00 |
|
Ayo
|
e924240c8f
|
feat(config): show McFly name in build success
|
2024-03-09 21:34:29 +01:00 |
|
Ayo
|
798e25753f
|
chore: fix deps
|
2024-03-09 21:31:00 +01:00 |
|
Ayo
|
b0ea97c644
|
chore: add core as dep to cli
|
2024-03-09 21:26:39 +01:00 |
|
Ayo
|
da849d6953
|
chore: bump versions
|
2023-12-22 05:01:21 +01:00 |
|
Ayo
|
cc60a683ac
|
feat: ignore search param in resolving .html files
|
2023-12-22 05:00:42 +01:00 |
|
Ayo
|
677ac408da
|
feat(config): update WebComponent version
|
2023-12-16 12:26:47 +01:00 |
|
Ayo
|
52345451f8
|
feat(core): update WebComponent version
|
2023-12-16 12:23:56 +01:00 |
|
Ayo
|
16495143d1
|
fix(config): wrong options for auto imports
|
2023-12-11 18:17:32 +01:00 |
|
Ayo
|
1cafa7326f
|
feat(core, config): update WebComponent base class
- update to WebComponent v2.0.0
- provide new auto imports: html, attachEffect
|
2023-12-11 17:41:37 +01:00 |
|
Ayo
|
47edf0408d
|
feat(create-mcfly): handle cancel event
|
2023-12-05 17:07:49 +01:00 |
|
Ayo
|
2e79b4cc7f
|
chore(create-mcfly): bump version for release
|
2023-12-04 20:01:39 +01:00 |
|
Ayo
|
4146a5cc3d
|
fix(create-mcfly): install deps on win32
|
2023-12-04 20:00:57 +01:00 |
|
Ayo
|
278572da89
|
fix(create-mcfly): install deps fail on win32
closes #26; use spawnSync instead of npm --prefix
|
2023-12-04 19:46:01 +01:00 |
|
Ayo
|
b3695f7219
|
chore: update links to WebComponent.io
|
2023-11-27 16:49:38 +01:00 |
|
Ayo
|
e7c7ec0e9d
|
refactor(create-mcfly): remove console.logs 🫣
|
2023-11-25 12:36:09 +01:00 |
|
Ayo
|
7e63eb8c1d
|
chore(create-mcfly): bump version for release
|
2023-11-25 12:34:13 +01:00 |
|
Ayo
|
e533233c5a
|
fix(create-mcfly): npm install failing on Windows
|
2023-11-25 12:33:20 +01:00 |
|
Ayo
|
1f66e726d3
|
chore(core): bump versions for release
|
2023-11-23 22:25:27 +01:00 |
|
Ayo
|
12c7c7d651
|
chore(core): update WebComonent to v1.13.2
|
2023-11-23 22:24:33 +01:00 |
|
Ayo
|
7c69e0ba94
|
chore(core): bump version for release
|
2023-11-19 00:45:20 +01:00 |
|
Ayo
|
c329070dc1
|
feat(chore): use minified WebComponent class
|
2023-11-19 00:43:55 +01:00 |
|
Ayo
|
65b8b4a3d6
|
chore(core): bump version for release
|
2023-11-18 02:54:19 +01:00 |
|
Ayo
|
534de63500
|
feat(core): update web-component-base
|
2023-11-18 02:53:38 +01:00 |
|
Ayo
|
cb8cfd7c5e
|
fix: apply web-component-base patch
|
2023-11-18 00:48:18 +01:00 |
|
Ayo
|
0671658197
|
feat(core): easy prop access on WebComponent v1.12
- update web-component-base to v1.12
- update site and template examples
|
2023-11-18 00:03:54 +01:00 |
|
Ayo
|
9ebd6e7f3b
|
chore(cli): remove unused dep
|
2023-11-17 16:35:10 +01:00 |
|
Ayo Ayco
|
47600f5f45
|
feat(core): support for boolean attributes in web-component-base (#25)
|
2023-11-17 16:25:19 +01:00 |
|
Ayo
|
09e5418a3b
|
chore(core): bump version for release
|
2023-11-12 16:43:24 +01:00 |
|
Ayo
|
93989ac1e5
|
chore(core): update web-component-base dep
|
2023-11-12 16:13:15 +01:00 |
|
Ayo
|
6b0e0a46f0
|
feat(core): allow nested objects in setup scripts
|
2023-11-10 22:19:51 +01:00 |
|
Ayo
|
111c53d2fb
|
fix(core): allow non-element slot child
|
2023-11-09 11:56:20 +01:00 |
|
Ayo Ayco
|
17c5b810f9
|
feat(core): named slots (#21)
|
2023-11-09 11:35:14 +01:00 |
|
Ayo
|
51be11da89
|
chore(packages): update LICENSEs
|
2023-11-09 11:33:02 +01:00 |
|
Ayo Ayco
|
065209a5ad
|
feat(core): update unpkg imported version
|
2023-11-09 11:32:56 +01:00 |
|
Ayo
|
0b101d0743
|
refactor(config): separate typedef
|
2023-11-06 22:07:03 +01:00 |
|
Ayo
|
09d55e65f3
|
chore(cli): import from 'node:' prefix
|
2023-11-06 22:06:31 +01:00 |
|
Ayo
|
60c24d6036
|
style(cli): make version bold
|
2023-11-03 23:20:41 +01:00 |
|
Ayo
|
52b0c69db7
|
feat(cli): serve to show mcfly & nitro version
|
2023-11-03 22:31:29 +01:00 |
|
Ayo
|
92e468e717
|
refactor(config): single imports preset for core
|
2023-10-31 10:02:47 +01:00 |
|
Ayo
|
2e4d3f6598
|
refactor(core): explicit exports
|
2023-10-31 09:53:41 +01:00 |
|
Ayo
|
1fa777d200
|
chore(cli): remove web-component-base as dep
|
2023-10-30 16:42:52 +01:00 |
|
Ayo
|
3c56af6223
|
refactor(create-mcfly): distribute .js instead of .mjs
|
2023-10-29 19:18:36 +01:00 |
|
Ayo
|
101eb48e5d
|
chore(config): bump version
|
2023-10-29 19:11:03 +01:00 |
|
Ayo
|
4770410ef6
|
fix(config): add core as dep
|
2023-10-29 19:09:53 +01:00 |
|
Ayo
|
ef7cb4b634
|
feat(config): distribute .js instead of .mjs
|
2023-10-29 19:05:00 +01:00 |
|
Ayo
|
42b57c270b
|
chore(cli): bump version
|
2023-10-29 19:03:08 +01:00 |
|
Ayo
|
dc05105432
|
refactor(cli): remove unused globals assets
|
2023-10-29 19:02:12 +01:00 |
|