Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
275 commits
Select commit Hold shift + click to select a range
3a28214
forward Scope in returns and constructors (dart-lang/code_builder#44)
yjbanov Dec 13, 2016
75c8c69
Add async/await/sync/yield and toImport/ExportBuilder (dart-lang/code…
matanlurey Dec 20, 2016
528393f
New features for 1.0.0-beta (dart-lang/code_builder#52)
matanlurey Jan 5, 2017
ec5ba08
More test cases, useful until we have more docs (dart-lang/code_build…
matanlurey Jan 5, 2017
5b04ac9
Added support for switch and break statements (dart-lang/code_builder…
thosakwe Jan 10, 2017
57233fb
Fix type discrepancy between toTyped() and _TypedReferenceBuilder (da…
alorenzen Jan 11, 2017
dce287a
Add support for raw builders (dart-lang/code_builder#57)
matanlurey Jan 11, 2017
f95c5b7
Only run using stable Dart SDK on Travis right now (dart-lang/code_bu…
matanlurey Jan 11, 2017
2e0eb59
Close a bunch of open issues for 1.0.0-beta+1 (dart-lang/code_builder…
matanlurey Jan 11, 2017
a688a0c
Update class.dart (dart-lang/code_builder#67)
matanlurey Jan 11, 2017
ae77038
rename MethodModifier constant names (dart-lang/code_builder#68)
yjbanov Jan 18, 2017
2cd87a9
Add support for generic types in methods and `as` cast (dart-lang/cod…
matanlurey Jan 31, 2017
7150070
Add code coverage support for travis. (dart-lang/code_builder#71)
matanlurey Jan 31, 2017
215a5dd
Update invocation.dart (dart-lang/code_builder#73)
matanlurey Feb 6, 2017
48df864
Fix a bug in annotation scoping. (dart-lang/code_builder#76)
matanlurey Feb 8, 2017
b0063eb
Remove references to this being experimental (dart-lang/code_builder#77)
matanlurey Feb 15, 2017
ae4268d
Add asThrow to ExpressionBuilder (dart-lang/code_builder#85)
thosakwe Feb 24, 2017
15c9c6c
Allow quotes and newlines in string literal (dart-lang/code_builder#88)
filiph Mar 1, 2017
f559537
Resolve a number of open issues (dart-lang/code_builder#86)
matanlurey Mar 1, 2017
c354737
Update CHANGELOG.md
matanlurey Mar 1, 2017
cce5b54
Fix pub publishing.
matanlurey Mar 2, 2017
c2b7c92
More features towards completion (dart-lang/code_builder#94)
matanlurey Mar 8, 2017
54688fc
Update pubspec.
matanlurey Mar 16, 2017
c6a7a6d
Add ExpressionBuilder#ternary. (dart-lang/code_builder#97)
matanlurey Mar 29, 2017
f98d82a
Run dartfmt to fix the build. (dart-lang/code_builder#102)
matanlurey Mar 31, 2017
c582471
Expose Uri for some builders. (dart-lang/code_builder#104)
matanlurey Mar 31, 2017
f69b4fa
Add tests showing lambda use. (dart-lang/code_builder#103)
matanlurey Mar 31, 2017
4707356
Prepare to release 1.0.0. (dart-lang/code_builder#105)
matanlurey Mar 31, 2017
92884b4
Support latest pkg/dart_style (dart-lang/code_builder#106)
kevmoo Apr 5, 2017
fa16778
Update analyzer (dart-lang/code_builder#108)
May 2, 2017
f8d116b
Support latest pkg/analyzer and pkg/func (dart-lang/code_builder#110)
kevmoo May 12, 2017
cb29bfd
Add support for `is`, `is!` expressions (dart-lang/code_builder#111)
thosakwe Jun 16, 2017
bf132db
Prepare for 1.0.4. (dart-lang/code_builder#112)
matanlurey Jun 16, 2017
c1fe78f
Started on V2, not using ASTs... (dart-lang/code_builder#115)
matanlurey Jun 27, 2017
ad333a4
More work towards feature parity of 1x (dart-lang/code_builder#116)
matanlurey Jul 12, 2017
cbc9e6b
Prepare to publish 2.0.0-alpha (dart-lang/code_builder#118)
matanlurey Jul 14, 2017
1cf0bda
Use Reference instead of TypeReference. (dart-lang/code_builder#121)
matanlurey Jul 14, 2017
b9da651
Standardize license file format
kevmoo Sep 13, 2017
1d25da8
Add small set of 2.x milestone fixes. (dart-lang/code_builder#128)
matanlurey Sep 21, 2017
406554d
Clean up SDK constraint (dart-lang/code_builder#129)
kevmoo Sep 22, 2017
f4d4567
Initial support for Expression(s). (dart-lang/code_builder#130)
matanlurey Oct 10, 2017
6cd96ef
More code support across codebase (dart-lang/code_builder#131)
matanlurey Oct 11, 2017
933d3f5
Even more expression/code support (dart-lang/code_builder#132)
matanlurey Oct 12, 2017
3fbfc01
Boom expression args (dart-lang/code_builder#133)
matanlurey Oct 13, 2017
445ec57
Add Block + BlockBuilder, some utilities. (dart-lang/code_builder#134)
matanlurey Oct 13, 2017
9124fd0
Fix a number of issues. (dart-lang/code_builder#140)
matanlurey Oct 16, 2017
4399717
Next update: closer to a final release. (dart-lang/code_builder#141)
matanlurey Oct 16, 2017
b2e1a3b
Beta release fixes and feature. (dart-lang/code_builder#149)
matanlurey Oct 24, 2017
cf2adb4
Update allocator.dart
matanlurey Oct 24, 2017
96a2818
Prepare to publish. (dart-lang/code_builder#150)
matanlurey Oct 28, 2017
9c16fbf
Add support for raw String in `literalString` (dart-lang/code_builder…
kevmoo Oct 28, 2017
637b80d
Use .accept not visitFoo where possible. (dart-lang/code_builder#153)
matanlurey Oct 31, 2017
29eb0d5
Escape single quotes in String literals (dart-lang/code_builder#156)
natebosch Nov 3, 2017
7f2240b
Deprecate `File` --> `Library` (dart-lang/code_builder#157)
matanlurey Nov 3, 2017
78a79a7
Only support 2.0.0-dev. (dart-lang/code_builder#158)
matanlurey Nov 3, 2017
1f9280a
TBR: Actually publish.
matanlurey Nov 4, 2017
0e4b447
Add '_i' to import prefixes (dart-lang/code_builder#160)
natebosch Nov 14, 2017
291ce44
Accept an Iterable in `literalList` (dart-lang/code_builder#162)
natebosch Nov 20, 2017
b612590
Add index operator access to Expression. (dart-lang/code_builder#161)
matanlurey Nov 21, 2017
c64d729
Fix bug and get ready to release. (dart-lang/code_builder#164)
matanlurey Nov 22, 2017
a946072
Update README.md
matanlurey Nov 22, 2017
ac8beb5
Add isA and isNotA. (dart-lang/code_builder#166)
matanlurey Nov 22, 2017
a9a40e1
Add EqualsDart and EqualsDart.format. (dart-lang/code_builder#167)
matanlurey Nov 23, 2017
50a91e5
Deprecate the Annotation class. (dart-lang/code_builder#168)
matanlurey Nov 23, 2017
d0812a6
Infer Method.lamba when `null` is passed. (dart-lang/code_builder#169)
matanlurey Nov 23, 2017
1e91ac7
Follow the example/* syntax for the new pub site. (dart-lang/code_bui…
matanlurey Nov 24, 2017
a3cc0b6
Add `nullSafeProperty` (dart-lang/code_builder#171)
natebosch Nov 26, 2017
0adce19
Add conditional operator (dart-lang/code_builder#172)
natebosch Nov 26, 2017
169b6a4
Accept `Iterable` for positionalArguments (dart-lang/code_builder#173)
natebosch Nov 26, 2017
56a1f5a
Make `Reference.type` return `Reference` (dart-lang/code_builder#175)
natebosch Nov 27, 2017
1bfd8ac
Update CHANGELOG.md
matanlurey Nov 27, 2017
bc294f6
Update pubspec.yaml
matanlurey Nov 27, 2017
10b10bc
Add comparison operators (dart-lang/code_builder#177)
natebosch Nov 30, 2017
4ec10fd
Prepare to publish 2.4.0 (dart-lang/code_builder#178)
natebosch Dec 11, 2017
3a6ce4b
Reorder README - Fixes dart-lang/code_builder#176 (dart-lang/code_bui…
natebosch Dec 13, 2017
5a1b7b5
Support the latest built_collection and build_runner packages (dart-l…
kevmoo Dec 13, 2017
1f95648
Remove deprecated code and classes. (dart-lang/code_builder#182)
matanlurey Dec 22, 2017
dd3b4db
Support lambda inference for constructors. (dart-lang/code_builder#183)
matanlurey Dec 22, 2017
9c68412
Support latest built_collection (dart-lang/code_builder#185)
kevmoo Jan 8, 2018
a11440e
Prepare to publish. (dart-lang/code_builder#186)
matanlurey Jan 9, 2018
54c5168
Export literalNum. (dart-lang/code_builder#189)
matanlurey Jan 11, 2018
2ad93c8
Upgrade to built_value 5.1.0. (dart-lang/code_builder#192)
davidmorgan Jan 29, 2018
d5b79b4
Prepare to release 3.0.1 (dart-lang/code_builder#193)
matanlurey Jan 30, 2018
c8bd929
Update to the latest build_runner. (dart-lang/code_builder#194)
matanlurey Feb 7, 2018
3e2169a
Bump for source_gen. (dart-lang/code_builder#196)
matanlurey Feb 10, 2018
946f3c6
Fix build_runner crashes. (dart-lang/code_builder#198)
matanlurey Feb 10, 2018
1cfe720
Run latest dartfmt. (dart-lang/code_builder#201)
matanlurey Feb 23, 2018
b21553c
Remove visibleForTesting annotation for 4 functions (dart-lang/code_b…
srawlins Feb 26, 2018
926b40f
Update gitter badge (dart-lang/code_builder#204)
kevmoo Mar 7, 2018
d8241b0
Fix travis by using SDK dartfmt (dart-lang/code_builder#205)
kevmoo Apr 5, 2018
584bf57
Update dev dependencies to get latest source_gen and build_runner
kevmoo Mar 18, 2018
9a547be
.gitignore: ignore .dart_tool
kevmoo Mar 18, 2018
ae06c63
remove gratuitous export (dart-lang/code_builder#207)
kevmoo May 7, 2018
04edfdd
add Expression.asA (dart-lang/code_builder#210)
jakemac53 Jun 1, 2018
8bf0599
change version to 3.1.0 (dart-lang/code_builder#211)
jakemac53 Jun 1, 2018
a9fe70a
Enable prefer_equal_for_default_values lint (dart-lang/code_builder#212)
natebosch Jun 6, 2018
38af8aa
Wrap `as` expressions with parens (dart-lang/code_builder#214)
natebosch Jun 26, 2018
63944f8
chore: set max SDK version to <3.0.0 (dart-lang/code_builder#215)
chalin Jul 19, 2018
0d4f049
Add Expression.operators (add/substract/divide/multiply/euclidean mod…
eredo Jul 31, 2018
b556e38
Update to latest built_value (dart-lang/code_builder#222)
natebosch Aug 10, 2018
aaccaf1
Run dartfmt --fix to drop optional new (dart-lang/code_builder#224)
natebosch Aug 15, 2018
722637d
Bump the dependency range for built_collection. (dart-lang/code_build…
nshahan Aug 25, 2018
c7aa645
Prepare to release 3.1.3. (dart-lang/code_builder#229)
matanlurey Aug 30, 2018
710e096
Small tweak to readme (dart-lang/code_builder#230)
kevmoo Oct 11, 2018
29b0283
Use `=` instead of `:` for default values (dart-lang/code_builder#233)
natebosch Dec 10, 2018
5347f14
Don't emit `new` keyword in generated code (dart-lang/code_builder#227)
natebosch Dec 10, 2018
98b7b3b
Remove `new` from text references (dart-lang/code_builder#226)
natebosch Dec 10, 2018
1f39c10
Update dev deps on build and build_runner (dart-lang/code_builder#235)
kevmoo Jan 14, 2019
0c96007
Add an option in `DartEmitter` to order directives (dart-lang/code_bu…
kevmoo Jan 29, 2019
cd48ebc
Omit extra const (dart-lang/code_builder#238)
kevmoo Jan 30, 2019
32f4ae4
Add more to package description, prepare for v3.2.0 (dart-lang/code_b…
kevmoo Jan 31, 2019
9911ba7
Test oldest support SDK on travis (dart-lang/code_builder#240)
kevmoo Mar 13, 2019
2cb55c6
Escape newlines in String literals (dart-lang/code_builder#242)
natebosch Jun 18, 2019
97c8010
Add support for literal sets (dart-lang/code_builder#244)
rhalff Aug 8, 2019
03e8ad1
fix redundant `,` in Function type (dart-lang/code_builder#231)
zoechi Aug 8, 2019
abebda3
Update CHANGELOG.md
matanlurey Aug 8, 2019
e32d871
Remove visibleForTesting from constructor used in lib/src/specs/… (da…
srawlins Sep 25, 2019
d5bb749
`OR` and `NOT` expressions (dart-lang/code_builder#249)
ddashenkov Nov 7, 2019
6e1a543
Add CHANGELOG entry for 3.2.2 (dart-lang/code_builder#250)
ddashenkov Nov 11, 2019
b6a581c
Depend on latest built_value (dart-lang/code_builder#252)
grouma Nov 14, 2019
c98e315
Go back to version 3.2.1 (dart-lang/code_builder#253)
natebosch Nov 14, 2019
a237438
Fix newly enforced package:pedantic lints (dart-lang/code_builder#255)
natebosch Dec 7, 2019
783982a
Enable and fix pedantic lints (dart-lang/code_builder#267)
kevmoo Feb 18, 2020
c5bb77f
Remove author from pubspec
kevmoo Mar 13, 2020
72823c5
Update contributing instructions (dart-lang/code_builder#272)
srawlins Apr 23, 2020
3a6efa6
Add isNullable field to TypeReference, and isNullSafety to DartEmitte…
srawlins Apr 23, 2020
b1bf046
Add 'required' and 'covariant' bools to Paramter (dart-lang/code_buil…
srawlins Apr 28, 2020
82170d6
Add missing operators and part directive (dart-lang/code_builder#269)
smkhalsa May 18, 2020
7344b84
Use switch/case over if/else for enum values
kevmoo May 18, 2020
3043e42
Sort allocator imports before other directives (dart-lang/code_builde…
natebosch May 18, 2020
a3ddf97
Prepare to publish (dart-lang/code_builder#280)
natebosch May 21, 2020
7287a50
Fix outdated urls
kevmoo May 26, 2020
e6de72a
enable and fix a number of lints (dart-lang/code_builder#281)
kevmoo May 26, 2020
f5607aa
Add an isNullable field to FunctionType (dart-lang/code_builder#284)
srawlins Jun 9, 2020
b7a5453
Explicitly use SDK dartfmt (dart-lang/code_builder#285)
kevmoo Jun 9, 2020
7a43c6f
Add a thrown getter to Expression (dart-lang/code_builder#287)
srawlins Jun 18, 2020
1fd404f
Bump min Dart SDK to 2.7 (dart-lang/code_builder#290)
kevmoo Jul 6, 2020
51a1617
Bump to 3.4.0 (dart-lang/code_builder#291)
srawlins Jul 8, 2020
7f62294
Flip expected and actual in mismatch description (dart-lang/code_buil…
natebosch Aug 13, 2020
24fc5f5
Prepare to publish 3.4.1 (dart-lang/code_builder#295)
natebosch Aug 18, 2020
c8c4deb
Add Enum support (dart-lang/code_builder#292)
TarekkMA Sep 28, 2020
6b74c08
Fix const factory constructors (dart-lang/code_builder#300)
vsevolod07c2 Oct 8, 2020
b066666
Add extension support (dart-lang/code_builder#297)
smolck Nov 7, 2020
d4bb9a6
Update CHANGELOG.md
matanlurey Nov 7, 2020
d22f8c4
Migrate to GitHub Actions (dart-lang/code_builder#304)
athomas Dec 26, 2020
d73eb69
Widen deps range on built_value to allow null safety. (dart-lang/code…
davidmorgan Jan 12, 2021
2f8f2d2
Adds 'part of' directive support (dart-lang/code_builder#308)
ydiev Feb 9, 2021
cf2677c
Add genericClosure on Method (dart-lang/code_builder#312)
srawlins Mar 9, 2021
bd66bc1
Bump to 3.7.0 (dart-lang/code_builder#314)
srawlins Mar 10, 2021
6905435
Update LICENSE (dart-lang/code_builder#316)
franklinyow Apr 1, 2021
7fc0f0f
Migrate to null safety (dart-lang/code_builder#317)
jakemac53 Apr 5, 2021
b1f5492
Make Reference.symbol nullable (dart-lang/code_builder#320)
natebosch Apr 7, 2021
05978c7
change the DartEmitter constructor to use named parameters (dart-lang…
jakemac53 Apr 9, 2021
1794da4
Add a parenthesized expression (dart-lang/code_builder#322)
natebosch Apr 19, 2021
dfdcf8f
release 4.0.0 (dart-lang/code_builder#321)
jakemac53 Apr 19, 2021
ff87175
CI: use dart setup (dart-lang/code_builder#323)
kevmoo Apr 20, 2021
88b61d3
Fix newly enforced lint (dart-lang/code_builder#324)
kevmoo Apr 27, 2021
39dbdcc
unneeded imports (dart-lang/code_builder#327)
kevmoo May 24, 2021
d65fa73
Use latest Dart commands (dart-lang/code_builder#331)
kevmoo Jun 17, 2021
373a453
Add 'late' field modifier (dart-lang/code_builder#310)
ivk1800 Jun 23, 2021
e882721
Fix scoped emitter example in README (dart-lang/code_builder#328)
srawlins Jun 23, 2021
092d616
Introduce `Expression.spread` (dart-lang/code_builder#332)
donny-dont Jun 23, 2021
1804d0b
Add support for the postfix ! operator (dart-lang/code_builder#325)
simolus3 Jun 23, 2021
4ec0400
Add support for creating `mixin`s (dart-lang/code_builder#334)
donny-dont Jun 24, 2021
a682cb7
Introduce `Expression.nullSafeSpread` (dart-lang/code_builder#336)
donny-dont Jun 24, 2021
d67b1ce
Dart format with latest SDK (dart-lang/code_builder#338)
kevmoo Jul 14, 2021
75748e9
Add annotations to libraries (dart-lang/code_builder#335)
donny-dont Jul 20, 2021
f61034e
Prepare to publish (dart-lang/code_builder#339)
natebosch Jul 20, 2021
c9d7d23
Move to pkg:lints (dart-lang/code_builder#344)
kevmoo Oct 14, 2021
8f8b6b6
Remove unused ctor arg (dart-lang/code_builder#350)
kevmoo Jan 24, 2022
22c8973
Update README (dart-lang/code_builder#351)
ejcohn Jan 27, 2022
0986a89
Fix built_value code generation (dart-lang/code_builder#354)
natebosch Mar 31, 2022
94aaa29
Add a namedRequiredParameters field to FunctionType (dart-lang/code_b…
srawlins Mar 31, 2022
02c8789
Ignore lint about private import prefixes (dart-lang/code_builder#352)
natebosch Apr 5, 2022
7cba9ec
Update pubspec.yaml (dart-lang/code_builder#356)
devoncarew Apr 18, 2022
8c543d8
Fix docs for Expression.assign, assignNullAware, and ifNullThen (dart…
natebosch Apr 27, 2022
7fa9559
Add declareVar/Final/Const (dart-lang/code_builder#363)
natebosch Jun 8, 2022
b58f8e0
Fix the typo in the argument name (dart-lang/code_builder#367)
yanok Jul 26, 2022
51cc9ac
Add support for super initializer constructor arguments (dart-lang/co…
yanok Jul 27, 2022
d3cbbc5
Release 4.2.0 (dart-lang/code_builder#369)
srawlins Jul 27, 2022
9be9f0a
Only emit 'late' when using null-safety syntax. (dart-lang/code_build…
emerssso Aug 3, 2022
19f004c
Fix some missing implicit const contexts (dart-lang/code_builder#372)
natebosch Aug 4, 2022
1834be8
Deprecate assignVar, assignFinal, assignConst (dart-lang/code_builder…
natebosch Aug 10, 2022
73399e7
Fix spelling in CHANGELOG.md (dart-lang/code_builder#361)
saintgabriel0 Aug 17, 2022
c84d641
Fix spelling in README.md (dart-lang/code_builder#360)
saintgabriel0 Aug 17, 2022
533ad21
Add support for trailing commas in Emitter (dart-lang/code_builder#376)
srawlins Aug 18, 2022
37d3ff8
Add enhanced enums support (dart-lang/code_builder#358)
dnys1 Sep 1, 2022
4e9e1ad
Bump to 4.3.0 (dart-lang/code_builder#377)
srawlins Sep 14, 2022
3336fb0
Update pkg:lints, add dependabot, update CI actions (dart-lang/code_b…
kevmoo Oct 26, 2022
c351c10
Mention imports in the DartEmitter docs (dart-lang/code_builder#380)
natebosch Dec 1, 2022
f950d0e
Add an example of generating an anonymous closure (dart-lang/code_bui…
eseidel Dec 6, 2022
8aff5ab
Update README.md (dart-lang/code_builder#388)
devoncarew Dec 14, 2022
0baea79
add support for emitting typedefs (dart-lang/code_builder#387)
devoncarew Dec 16, 2022
1c74404
add support for ignore_for_file comments (dart-lang/code_builder#389)
devoncarew Dec 19, 2022
d979bad
rev the minor version and prep for publishing (dart-lang/code_builder…
devoncarew Dec 20, 2022
72b2fbc
Bump actions/checkout from 3.1.0 to 3.2.0 (dart-lang/code_builder#392)
dependabot[bot] Jan 3, 2023
98fec86
Bump actions/checkout from 3.2.0 to 3.3.0 (dart-lang/code_builder#395)
dependabot[bot] Feb 1, 2023
a32f6c5
Bump dart-lang/setup-dart from 1.3 to 1.4 (dart-lang/code_builder#394)
dependabot[bot] Feb 1, 2023
b476cb9
Fix CI, use dart_flutter_team_lints, remove redundant (dart-lang/code…
kevmoo Feb 12, 2023
2b3d1d2
Failing test for assigning to nullable typed var (dart-lang/code_buil…
natebosch Mar 7, 2023
2ad40f8
Regenerate files (dart-lang/code_builder#404)
donny-dont Mar 9, 2023
396f248
Add support for spreads in map literals (dart-lang/code_builder#400)
donny-dont Mar 9, 2023
9119940
Allow type parameters in typedefs (dart-lang/code_builder#403)
jodinathan Mar 9, 2023
7c4b20b
Show spread literals (dart-lang/code_builder#406)
donny-dont Mar 10, 2023
65c1406
Require Dart 2.19, update to and fix latest lints (dart-lang/code_bui…
kevmoo Mar 14, 2023
4ac9a5a
Prepare to publish (dart-lang/code_builder#408)
natebosch Mar 20, 2023
c941533
Bump actions/checkout from 3.3.0 to 3.5.0 (dart-lang/code_builder#411)
dependabot[bot] Apr 2, 2023
8cb497f
Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (dart-lang/code_builder…
dependabot[bot] Apr 3, 2023
b32dd20
Bump actions/checkout from 3.5.0 to 3.5.2 (dart-lang/code_builder#413)
dependabot[bot] May 8, 2023
6ec25aa
blast_repo fixes (dart-lang/code_builder#415)
devoncarew May 15, 2023
b18e32e
Class modifiers (dart-lang/code_builder#414)
dnys1 May 24, 2023
3e71ab5
Add support for emitting literal records
yanok May 24, 2023
f56cdb1
Add support for record types
yanok May 24, 2023
e8aaecb
Fix CHANGELOG.md and export record-related APIs (dart-lang/code_build…
May 26, 2023
913efaf
Prepare to publish (dart-lang/code_builder#419)
natebosch Jun 1, 2023
6134647
Drop package name tag prefix for workflow (dart-lang/code_builder#420)
natebosch Jun 1, 2023
4f928ec
Added support for named arguments in `enum` classes (dart-lang/code_b…
FaFre Jun 6, 2023
b999394
Add support for external keyword on fields (dart-lang/code_builder#422)
Snehal-Singh174 Jun 22, 2023
6cfff6f
Bump actions/checkout from 3.5.2 to 3.5.3 (dart-lang/code_builder#423)
dependabot[bot] Jul 1, 2023
3213444
Add Expression.parenthesized (dart-lang/code_builder#425)
natebosch Aug 7, 2023
07d0cee
Prepare to publish (dart-lang/code_builder#426)
natebosch Aug 30, 2023
3b1b97a
Bump actions/checkout from 3.5.3 to 3.6.0 (dart-lang/code_builder#428)
dependabot[bot] Sep 1, 2023
a868026
Update emitter.dart (dart-lang/code_builder#429)
mosuem Sep 25, 2023
8f02883
Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (dart-lang/code_builder…
dependabot[bot] Oct 1, 2023
7138fff
Bump actions/checkout from 3.6.0 to 4.1.0 (dart-lang/code_builder#432)
dependabot[bot] Oct 2, 2023
48e368f
Add missing operator and assignment expressions (dart-lang/code_build…
techouse Oct 2, 2023
b7d6b21
Allow passing an `Expression` through `literal` (dart-lang/code_build…
natebosch Oct 5, 2023
dadaaae
Bump actions/checkout from 4.1.0 to 4.1.1 (dart-lang/code_builder#434)
dependabot[bot] Nov 1, 2023
b9d06e6
Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (dart-lang/code_builder…
dependabot[bot] Nov 1, 2023
baa3ea1
Add support for extension types (dart-lang/code_builder#437)
srujzs Nov 20, 2023
ab32119
Add a new field `Library.generatedByComment` to support emitting 'gen…
devoncarew Dec 12, 2023
7ec7f52
Support annotations on unnamed libraries; 4.9.0 (dart-lang/code_build…
srawlins Dec 13, 2023
2edf94e
feat: support docs for libraries (dart-lang/code_builder#444)
Leptopoda Dec 28, 2023
6ec6eeb
Export representation declaration types, upgrade dart_style to 2.3.4,…
srujzs Jan 8, 2024
1520d62
Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (dart-lang/code_builder…
dependabot[bot] Feb 1, 2024
96444f9
fix a test expectation for extension types (dart-lang/code_builder#450)
devoncarew Mar 11, 2024
0fabe0f
Bump actions/checkout from 4.1.1 to 4.1.2 (dart-lang/code_builder#453)
dependabot[bot] Apr 1, 2024
bbdc777
Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/code_builder…
dependabot[bot] May 1, 2024
5ff5de0
Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/code_builder#455)
dependabot[bot] May 1, 2024
c00214c
blast_repo fixes (dart-lang/code_builder#456)
devoncarew May 3, 2024
b0a049a
bump lints dep and fix (dart-lang/code_builder#460)
kevmoo May 26, 2024
3a3dd35
Bump actions/checkout from 4.1.4 to 4.1.6 in the github-actions group…
dependabot[bot] Jun 1, 2024
3b9fe2a
Bump the github-actions group with 2 updates (dart-lang/code_builder#…
dependabot[bot] Jul 1, 2024
faf9ea1
Bump actions/checkout from 4.1.7 to 4.2.0 in the github-actions group…
dependabot[bot] Oct 1, 2024
e4785f7
Update dart_style to pass in a language version to DartFormatter. (da…
munificent Oct 23, 2024
60c2af0
Merge package:code_builder into the tools monorepo
mosuem Oct 25, 2024
e9ce1f2
Add issue template and other fixes
mosuem Oct 25, 2024
8237cc8
Moving fixes
mosuem Oct 25, 2024
2b775f9
Merge branch 'main' into merge-code_builder-package
mosuem Oct 29, 2024
8ae2f9f
Rename folder
mosuem Oct 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/code_builder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:code_builder"
about: "Create a bug or file a feature request against package:code_builder."
labels: "package:code_builder"
---
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
- changed-files:
- any-glob-to-any-file: 'pkgs/clock/**'

'package:code_builder':
- changed-files:
- any-glob-to-any-file: 'pkgs/code_builder/**'

'package:coverage':
- changed-files:
- any-glob-to-any-file: 'pkgs/coverage/**'
Expand Down
68 changes: 68 additions & 0 deletions .github/workflows/code_builder.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: package:code_builder

on:
# Run on PRs and pushes to the default branch.
push:
branches: [ main ]
paths:
- '.github/workflows/code_builder.yml'
- 'pkgs/code_builder/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/code_builder.yml'
- 'pkgs/code_builder/**'
schedule:
- cron: "0 0 * * 0"

env:
PUB_ENVIRONMENT: bot.github


defaults:
run:
working-directory: pkgs/code_builder/

jobs:
# Check code formatting and static analysis on a single OS (linux)
# against Dart dev and an earlier stable version.
analyze:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [dev]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
if: always() && steps.install.outcome == 'success'
- name: Analyze code
run: dart analyze --fatal-infos .
if: always() && steps.install.outcome == 'success'

test:
needs: analyze
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
sdk: [3.5.0, dev]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Run VM tests
run: dart test --platform vm
if: always() && steps.install.outcome == 'success'
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ don't naturally belong to other topic monorepos (like
| [cli_config](pkgs/cli_config/) | A library to take config values from configuration files, CLI arguments, and environment variables. | [![pub package](https://img.shields.io/pub/v/cli_config.svg)](https://pub.dev/packages/cli_config) |
| [cli_util](pkgs/cli_util/) | A library to help in building Dart command-line apps. | [![pub package](https://img.shields.io/pub/v/cli_util.svg)](https://pub.dev/packages/cli_util) |
| [clock](pkgs/clock/) | A fakeable wrapper for dart:core clock APIs. | [![pub package](https://img.shields.io/pub/v/clock.svg)](https://pub.dev/packages/clock) |
| [code_builder](pkgs/code_builder/) | A fluent, builder-based library for generating valid Dart code. | [![pub package](https://img.shields.io/pub/v/code_builder.svg)](https://pub.dev/packages/code_builder) |
| [coverage](pkgs/coverage/) | Coverage data manipulation and formatting. | [![pub package](https://img.shields.io/pub/v/coverage.svg)](https://pub.dev/packages/coverage) |
| [csslib](pkgs/csslib/) | A library for parsing and analyzing CSS (Cascading Style Sheets). | [![pub package](https://img.shields.io/pub/v/csslib.svg)](https://pub.dev/packages/csslib) |
| [extension_discovery](pkgs/extension_discovery/) | A convention and utilities for package extension discovery. | [![pub package](https://img.shields.io/pub/v/extension_discovery.svg)](https://pub.dev/packages/extension_discovery) |
Expand Down
5 changes: 5 additions & 0 deletions pkgs/code_builder/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Files and directories created by pub
.dart_tool
.packages
.pub
pubspec.lock
7 changes: 7 additions & 0 deletions pkgs/code_builder/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Below is a list of people and organizations that have contributed
# to the project. Names should be added to the list like so:
#
# Name/Organization <email address>

Nikolas Rimikis <[email protected]>
Google Inc.
Loading
Loading