Releases: astahmer/box-extractor
@box-extractor/cli@0.3.5
Patch Changes
- Updated dependencies [
e2057f2
]:- @box-extractor/core@0.7.4
@box-extractor/cli@0.3.4
@box-extractor/cli@0.3.3
Patch Changes
- Updated dependencies [
4d84389
]:- @box-extractor/core@0.7.2
@box-extractor/cli@0.3.2
Patch Changes
- Updated dependencies [
dda111d
]:- @box-extractor/core@0.7.1
@box-extractor/vanilla-wind@0.3.1
Patch Changes
-
#38
cd6acab
Thanks @astahmer! - fix(core): skip re-extracting nested spread attribute- increment count since there might be conditional so it doesn't override the whole spread prop
chore: fix eslint warnings/errors - try maybeBoxNode logic for spread attribute first
- allow returning BoxNodeConditional from maybeObjectLikeBox
refactor(core): BoxMap[prop].value no longer an Array
it was a temporary workaround but now BoxNodeList fill that needs- rm useless cast calls, early returns when possible
- rm maybeObjectLikeBox duplicated checks/jumps & fallback to maybeBox if object-like instead
- add a few logs for conditionals
feat(core): add BoxNodeMap.spreadConditions
fix(core): rm evaluate typeChecker usage (cost dozens/hundreds of ms) TODO add it back if using a flag - increment count since there might be conditional so it doesn't override the whole spread prop
-
#38
252ce35
Thanks @astahmer! - renamed types:
BoxNodesMap -> ExtractResultByName
ComponentNodesMap -> ExtractedComponentResult
FunctionNodesMap -> ExtractedFunctionResult
PropNodesMap -> ExtractResultItem
QueryComponentBox -> ExtractedComponentInstance
QueryFnBox -> ExtractedFunctionInstance -
Updated dependencies [
1901c66
,cd6acab
,252ce35
]:- @box-extractor/core@0.7.0
@box-extractor/core@0.7.0
Minor Changes
-
#38
cd6acab
Thanks @astahmer! - fix(core): skip re-extracting nested spread attribute- increment count since there might be conditional so it doesn't override the whole spread prop
chore: fix eslint warnings/errors - try maybeBoxNode logic for spread attribute first
- allow returning BoxNodeConditional from maybeObjectLikeBox
refactor(core): BoxMap[prop].value no longer an Array
it was a temporary workaround but now BoxNodeList fill that needs- rm useless cast calls, early returns when possible
- rm maybeObjectLikeBox duplicated checks/jumps & fallback to maybeBox if object-like instead
- add a few logs for conditionals
feat(core): add BoxNodeMap.spreadConditions
fix(core): rm evaluate typeChecker usage (cost dozens/hundreds of ms) TODO add it back if using a flag - increment count since there might be conditional so it doesn't override the whole spread prop
Patch Changes
-
#38
1901c66
Thanks @astahmer! - feat(core): push stack from findIdentifierValueDeclaration
debug(core): add cache logs
chore: use maybePropName instead of maybeStringLiteral (to allow for NumericLiteral as prop names) -
#38
252ce35
Thanks @astahmer! - renamed types:
BoxNodesMap -> ExtractResultByName
ComponentNodesMap -> ExtractedComponentResult
FunctionNodesMap -> ExtractedFunctionResult
PropNodesMap -> ExtractResultItem
QueryComponentBox -> ExtractedComponentInstance
QueryFnBox -> ExtractedFunctionInstance
@box-extractor/cli@0.3.1
Patch Changes
- #38
252ce35
Thanks @astahmer! - renamed types:
BoxNodesMap -> ExtractResultByName
ComponentNodesMap -> ExtractedComponentResult
FunctionNodesMap -> ExtractedFunctionResult
PropNodesMap -> ExtractResultItem
QueryComponentBox -> ExtractedComponentInstance
QueryFnBox -> ExtractedFunctionInstance - Updated dependencies [
1901c66
,cd6acab
,252ce35
]:- @box-extractor/core@0.7.0
@box-extractor/vanilla-wind@0.3.0
Minor Changes
-
#35
529b8ad
Thanks @astahmer! - fix(core): identifier value from external file
refactor(core): rm extra isNotNullish calls
feat(vwind): dedupe rules + add logs -
#35
764a176
Thanks @astahmer! - feat(core): remove internal typechecker calls (through getSymbol), most of the time was due to resolving an identifier value or an import/export declaration module specificier source filerefactor(core): always return a single BoxNode from maybeBoxNode
feat(cli): rdeps/pdeps args & tweak compilerOptions
chore(vwind): update snapshots