Commit graph

213 commits

Author SHA1 Message Date
Zach Daniel
810c42160a fix: don't warn on Macro.Env.expand_alias/3 not being defined
Some checks are pending
CI / ash-ci (push) Waiting to run
closes #73
2024-08-04 23:33:06 -04:00
Zach Daniel
853f27532c fix: descend into single child block when modifying keyword
fix: set `format: :keyword` when adding keyword list item to empty list
2024-08-04 23:28:51 -04:00
Igor Barakaiev
e2a1682d87
test: add regression tests that fail (#71) 2024-08-04 23:16:13 -04:00
Zach Daniel
79ae2d653b
Revert "fix: escape injected code in Common.replace_code/2 (#70)" (#72)
This reverts commit bba8d5238e.
2024-08-04 22:43:27 -04:00
Igor Barakaiev
bba8d5238e
fix: escape injected code in Common.replace_code/2 (#70) 2024-08-04 22:42:14 -04:00
Zach Daniel
2733449bf8
Fix move to single child block (#69)
Some checks are pending
CI / ash-ci (push) Waiting to run
* fix: check for extendable_block? in maybe_move_to_single_child_block/1

* fix: properly compare values that live in blocks

---------

Co-authored-by: Igor Barakaiev <ibarakaiev@gmail.com>
2024-08-03 19:16:27 -04:00
Zach Daniel
49d6725c83 chore: undo some changes to remove_keyword_key
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-08-03 18:59:24 -04:00
Igor Barakaiev
e860b1f9d3
fix: :error consistency in remove_keyword_key and argument_equals? in Config.configure (#68) 2024-08-03 18:50:44 -04:00
Igor Barakaiev
fa5f849928
improvement: support "notices" (#65) 2024-08-03 17:52:09 -04:00
dependabot[bot]
f53e4e97ac
build(deps): bump the production-dependencies group with 2 updates (#62)
Some checks failed
CI / ash-ci (push) Has been cancelled
Bumps the production-dependencies group with 2 updates: [glob_ex](https://github.com/hrzndhrn/glob_ex) and [jason](https://github.com/michalmuskala/jason).


Updates `glob_ex` from 0.1.7 to 0.1.8
- [Release notes](https://github.com/hrzndhrn/glob_ex/releases)
- [Changelog](https://github.com/hrzndhrn/glob_ex/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hrzndhrn/glob_ex/compare/v0.1.7...v0.1.8)

Updates `jason` from 1.4.3 to 1.4.4
- [Release notes](https://github.com/michalmuskala/jason/releases)
- [Changelog](https://github.com/michalmuskala/jason/blob/v1.4.4/CHANGELOG.md)
- [Commits](https://github.com/michalmuskala/jason/compare/v1.4.3...v1.4.4)

---
updated-dependencies:
- dependency-name: glob_ex
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
- dependency-name: jason
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 12:25:05 -04:00
Zach Daniel
0c810bfc3e chore: bump installer
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-07-31 18:31:33 -04:00
Zach Daniel
5560a4181d chore: release version v0.3.16 2024-07-31 18:30:29 -04:00
Zach Daniel
c769fe15ae improvement: add create_module utility
fix: loadpaths after compiling deps
2024-07-31 18:29:11 -04:00
Zach Daniel
c905ead36d chore: bump installer version
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-07-31 14:50:54 -04:00
Zach Daniel
691ccfa07c chore: release version v0.3.15 2024-07-31 14:50:26 -04:00
Zach Daniel
af91431010 chore: format 2024-07-31 14:50:13 -04:00
Zach Daniel
1106f572bb fix: remove force?: true from dep installation
fix: better handling of positional args in igniter.new
2024-07-31 14:48:34 -04:00
Zach Daniel
058fb09b8c chore: release version v0.3.14
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-07-30 15:33:08 -04:00
Zach Daniel
7ef6465da5 fix: detect more function call formats
fix: properly extract arguments when parsing positional args
2024-07-30 15:30:29 -04:00
Zach Daniel
8a6eebd6bd chore: release version v0.3.13 2024-07-30 11:20:40 -04:00
Zach Daniel
643813b120 fix: force compile dependencies to avoid strange compiler issues 2024-07-30 11:20:21 -04:00
Zach Daniel
75173bddb5 chore: release version v0.3.12
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-07-30 07:42:38 -04:00
Zach Daniel
50827595a3 improvement: add Igniter.Libs.Phoenix.endpoints_for_router/2 2024-07-30 07:41:51 -04:00
Zach Daniel
2ddfcc976b chore: release version v0.3.11
Some checks failed
CI / ash-ci (push) Has been cancelled
2024-07-27 16:58:28 -04:00
Zach Daniel
c52b226a1c improvement: clean up dependency compiling logic
fix: ensure igniter is compiled first
fix: fetch deps after adding any nested installers
improvement: optimize module finding w/ async_stream
fix: various fixes & improvements to positional argument listing
improvement: add `rest: true` option for positional args
2024-07-27 16:57:10 -04:00
Zach Daniel
279261fa31 chore: release version v0.3.10
Some checks failed
CI / ash-ci (push) Has been cancelled
2024-07-26 13:36:57 -04:00
Zach Daniel
29e492002a improvement: add positional_args!/1 macro for use in tasks
fix: recompile igniter in `ingiter.install`
2024-07-26 13:31:17 -04:00
dependabot[bot]
ef79a5c3ba
build(deps): bump the production-dependencies group with 2 updates (#59)
Some checks are pending
CI / ash-ci (push) Waiting to run
Bumps the production-dependencies group with 2 updates: [owl](https://github.com/fuelen/owl) and [sourceror](https://github.com/doorgan/sourceror).


Updates `owl` from 0.9.0 to 0.11.0
- [Release notes](https://github.com/fuelen/owl/releases)
- [Commits](https://github.com/fuelen/owl/compare/v0.9.0...v0.11.0)

Updates `sourceror` from 1.4.0 to 1.5.0
- [Release notes](https://github.com/doorgan/sourceror/releases)
- [Changelog](https://github.com/doorgan/sourceror/blob/main/CHANGELOG.md)
- [Commits](https://github.com/doorgan/sourceror/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: owl
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
- dependency-name: sourceror
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-25 10:41:59 -04:00
Zach Daniel
3fe4d9c34a improvement: better output on missing installers & already present dep
closes #58
2024-07-25 09:20:38 -04:00
Zach Daniel
e166c6cff2 chore: release version v0.3.9
Some checks failed
CI / ash-ci (push) Has been cancelled
2024-07-22 16:13:37 -04:00
Zach Daniel
0adb5ad23c fix: force compile dependencies.
Having problems with ash_json_api's optional dependence on open_api_spex
and this solves it. We really need to figure out how to do this incremental
dependency compilation fluidly, just takes someone more familiar w/ invoking
the compiler/mix
2024-07-22 16:12:20 -04:00
Zach Daniel
bfe50c6cac fix: use length of path for insertion point, instead of node equality 2024-07-22 13:59:32 -04:00
Zach Daniel
11e948af6c chore: release version v0.3.8
Some checks failed
CI / ash-ci (push) Has been cancelled
2024-07-19 17:29:37 -04:00
Zach Daniel
5fd15d0311 improvement: better map key setting
improvement: detect strings as non extendable blocks
improvement: add option to ignore already present phoenix scopes
2024-07-19 17:27:09 -04:00
Zach Daniel
8e5afc0191 chore: release version v0.3.7 2024-07-19 15:08:42 -04:00
Zach Daniel
df67d92eeb fix: improve add_code by modifying the supertree 2024-07-19 15:07:19 -04:00
Zach Daniel
c4753f73a6 chore: release version v0.3.6 2024-07-19 12:33:27 -04:00
Zach Daniel
bff6275c24 fix: properly scope configuration modification code
fix: properly add blocks of code together
2024-07-19 12:33:07 -04:00
Zach Daniel
35bce0035e chore: release version v0.3.5
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-07-19 10:36:22 -04:00
Zach Daniel
e2a24475b1 improvement: add blocks together more fluidly in add_code 2024-07-19 10:36:02 -04:00
Zach Daniel
a234998886 fix: properly move to pattern matches in scope 2024-07-19 10:28:36 -04:00
Igor Barakaiev
8f9a94c449
fix: configures?/3 -> configures_key & configures_root_key (#54) 2024-07-19 08:54:41 -04:00
Zach Daniel
3a272310c2 chore: update changelog 2024-07-19 08:32:03 -04:00
Zach Daniel
53fc9b6313 chore: release version v0.3.4 2024-07-19 08:31:35 -04:00
Zach Daniel
e44598342b fix: recompile :igniter if it has to do 2024-07-19 08:31:28 -04:00
Igor Barakaiev
61e75fe2e3
improvement: include config in include_all_elixir_files (#55)
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-07-18 16:39:03 -04:00
Igor Barakaiev
ca9ece1316
improvement: add Function.argument_equals?/3 (#53)
* improvement: add Function.argument_equals?/3

* add @doc and @spec

* return false when zipper is not a function call

Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>

---------

Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2024-07-18 13:34:31 -04:00
Zach Daniel
cd4466743e chore: release version v0.3.3 2024-07-18 11:39:54 -04:00
Zach Daniel
eaa1a779e0 improvement: fix function typespecs & add inflex dependency 2024-07-18 11:39:47 -04:00
dependabot[bot]
aad785faee
build(deps-dev): bump mimic in the dev-dependencies group (#52)
Some checks are pending
CI / ash-ci (push) Waiting to run
Bumps the dev-dependencies group with 1 update: [mimic](https://github.com/edgurgel/mimic).


Updates `mimic` from 1.8.2 to 1.9.0
- [Release notes](https://github.com/edgurgel/mimic/releases)
- [Commits](https://github.com/edgurgel/mimic/compare/v1.8.2...v1.9.0)

---
updated-dependencies:
- dependency-name: mimic
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-18 10:16:56 -04:00