- upgrade
@ryanatkn/belt@0.26.1
from0.26.0
andtslib@2.8.1
from2.8.0
(a0764b6)
- replace
es-module-lexer
withoxc-parser
(#518)
- extract
moss_helpers.ts
and lazy load the Moss plugin (9caa4a8)
- make
package_json
required to some APIs (8df8362)
- fix Moss change by removing
load_moss_plugin
(6af4ecb)
- fix moss plugin (852dab0)
- upgrade
@ryanatkn/belt0.26.0
from0.25.3
(#516) - upgrade
esm-env@1.1.4
from1.0.0
(#517) - change
Options
interface convention to fully qualify the identifer, soOptions
becomesFiler_Options
etc (#515)
- move moss plugin from moss (#516)
- uprade
esm-env@1.1.4
fom 1.0.0 (#516) - fix and export
resolve_exported_value
(#517)
- update to use SECRET_GITHUB_API_TOKEN (706faf1)
- fix Svelte peer dep to upgrade to 5 (23d22a1)
- add partial support for configurable js CLIs (#514)
- rename
constants.ts
frompath_constants.ts
(#514)
- fix
Filer
to resolve node modules (#512)
- add
pm_cli
config (#513)
- fix
parse_imports
for other file types (c4c2fb0)
- change
Filer
to default to matching all files (2616239)
- add
mtime
toSource_File
(becb071)
- add
root_dir
toFiler
(8374d05)
- revert filer bug to undo support for moss optimizer (768954f)
- support a local moss plugin path (5aa2bf7)
- revert fix again lol (4531de9)
- revert broken filer fix (#511)
- fix filer node_modules path resolution (#510)
- fix filer to include node_modules (#509)
- upgrade
ts-morph@24.0.0
from23.0.0
(bf448d2)
- rearrange default plugin to fix generated files with SvelteKit (825908f)
- add moss plugin to default config (#507)
- move
throttle
to@ryanatkn/belt
and upgrade to0.25.2
from0.25.0
(#505)
- upgrade belt (942b1c0)
- cleanup
gro_plugin_gen
(#504)
- add
leading
option tothrottle
(#503)
- improve config types making
plugins
more usable (#502)
- notify
Filer
changes only for files whose contents have changed (498d4a6)
- add
input_paths
option togro_plugin_gen
(2673241)
- bump minor (79f5dfa)
- clean up
search_fs
docs (a4884bf)
- upgrade
chokidar@4.0.1
from4.0.0
(58e324c)
- bump required node version to
20.17
(#498)
- use node's
styleText
directly instead of belt's re-exports (#498)
- upgrade
chokidar@4
(#496)
- fix server plugin to set the node condition for
esm-env
(#497)
- fix typechecking for non-SvelteKit projects (5470bf4)
- upgrade
@ryanatkn/belt@0.24.12
(d1ae0e2)
- feat: support
?raw
imports in the loader (#494)
- add
origin_path
to gen context (998f99a) - fix: spawn server in
gro_plugin_server.ts
correctly (c7fcf8b)
- fix: upgrade belt to exit on uncaught exceptions (e1d1e9d)
- tweak error handling (#490)
- fix
peerDependenciesMeta
type (9b3c8eb)
- remove
url
arg fromparse_package_meta
and requirepackage_json.homepage
(#489)
- fix bug with
create_src_json
and similarly named files (#489)
- rename
gro_config.ts
fromconfig.ts
(#488)
-
rename gro config helpers to include
gro_
for clarity (#487)- rename
load_gro_config
fromload_config
- rename
normalize_gro_config
fromnormalize_config
- rename
create_empty_gro_config
fromcreate_empty_config
- rename
validate_gro_config_module
fromvalidate_config_module
- rename
- build when publish is optional and there is no version change (c93fb7b)
- add
install
/no-install
args togro check
andgro dev
(#486)
- fix check to not sync (#485)
- add
sync
andno-sync
args togro check
(#485) - upgrade
@ryanatkn/belt@0.24.4
from0.24.2
(#485)
- improve task name inference (12faa47)
- upgrade
@ryanatkn/belt@0.24.4
(4d46d33)
- fix tsconfig
sourceRoot
(ba35389)
- add tsconfig
sourceRoot
to fix declaration maps (faceb82)
- ignore dist test files (4faa34e)
- add ignore pattern directly to files and delete .npmignore (e1871b0)
- try again to fix .npmignore (9b05272)
- attempt to fix .npmignore directories (a051f49)
- add .npmignore and include src/lib (85a627a)
- enable tsconfig
declaration
and disableisolatedModules
because SvelteKit does it (2a936af) - upgrade
@ryanatkn/belt@0.24.3
(0b74b12)
- enable tsconfig
declarationMap
andisolatedModules
(a24fea2)
- upgrade
@ryanatkn/belt@0.24.2
from0.24.1
(a107801)
- change
resolve_gro_module_path
to be sync (#481)
- add
esm-env
and set the export condition to development by default (#481)
- upgrade
@ryanatkn/belt@0.24
and fix task timings (9dc0a5f)
- upgrade
esbuild@0.21
(#479)
- make
find_cli
,spawn_cli_process
, andresolve_cli
synchronous (#478)
- rename and move some identifiers for consistency (6513cd4)
- support svelte-package options in
gro_plugin_sveltekit_library
(f7e2b72)
- replace
kleur
with Node'sstyleText
(#477)
-
improve CLI handling (#475)
- change
find_cli
to return an object - remove
npx
usage - add a bunch of CLI customizability
- improve CLI resolution performance
- change
-
rename
package.json
icon
toglyph
(#476) -
add
Raw_Gro_Config
that's transformed toGro_Config
vianormalized_config
, (#473) changing usage after creation to be more strict but keeping user definitions relaxed
- rearrange generated exports (#474)
- support
node@20.12
and later (fcd3b7e)
- change
to_task_name
to accept a root path (4d843e7)
- fix
resolve_input_files
corner case with multiples (#472)
- remove
resolved_input_paths_by_input_path
andresolved_input_files_by_input_path
(#471) - upgrade
@ryanatkn/belt@0.21
(46a03e8)
- fix running
gro
with no args and no local tasks (#471)
- remove options from
resolve_input_files
callingsearch_fs
(dd83f14) - more search excluder fixes (dd83f14)
- change some functions to be synchronous -
resolve_input_paths
,resolve_input_files
, (#470)find_tasks
,search_fs
- fix the default search excluder (#470)
- fix search options for tasks and genfiles (f17187a)
- rename
Path_Id
fromSource_Id
(#468) - upgrade node@22.3 (#469)
- rename
Path_Info
fromPath_Data
(#469) - rewrite task resolution (#468)
- rewrite
search_fs
to not use globs (#469)
- remove
exists
, useexistsSync
fromfs:node
instead (#469)
- fix task name inference to node_modules (#467)
- remove the
--install
/--no-install
args togro deploy
andgro publish
, usegro deploy -- gro build --no-install
instead (#464) - improve errors detecting project features (#463)
- change
gro build
defaultinstall
totrue
, disable with--no-install
(#464) - move
sveltekit_sync
to$lib/sveltekit_helpers.ts
(#462) - write gen files only when changed (#466)
- change
gro changeset
to commit and push only if all changes are staged (bb1d25a) - add
--optional
arg togro publish
and use it fromgro release
(dd02f27) - add reinstall task (#461)
- add
--only
option togro upgrade
(99b0fb5) - run
svelte-kit sync
on startup if needed (#462) - add
--no-pull
option togro publish
(f1b8fa7)
- cleanup task internals, renaming some modules and moving some helpers (#460)
- use SvelteKit config for lib and routes paths
- print task names relative to the first match in
task_root_dirs
- add the register hook
@ryanatkn/gro/register.js
and document it in the readme (#460)
- enable running tasks from outside src/lib (#452)
- add the config option
task_root_dirs
- input paths for tasks/gen now resolve explicitly relative paths
./foo
relative to the cwd - package.json is now optional
- add the config option
- fix
gro --help
forZodBranded
type (#458)
- improve options forwarding for svelte module compilation (ef49d46)
- upgrade to svelte@5 and esbuild@0.20 (#454)
- feat: add --build flag to
gro publish
(dd23fab)
- add
--no-pull
togro upgrade
(975f9d3)
- add optional
motto
property toPackage_Json
(600143f)
- rename
well_known_src_files
fromwell_known_src
to reduce ambiguity withwell_known_src_json
(fddf9ad)
- don't copy
src/
tostatic/.well-known/
by default (#456)- rename
filter_well_known_src
towell_known_src_files
- change
well_known_src_files
to accept a boolean that defaults tofalse
- rename
- include
./package.json
in thepackage.json#exports
(#457)
- add
origin
togro publish
and brand Git_Branch and Git_Origin (028a509) - add
origin
togro commit
options (3c9bfe8) - add
--force
flag togro upgrade
(6a16004) - error on
gro changeset
if no lib detected (ac55984) - add
origin
togro upgrade
and pull first (1c171e1)
- upgrade deps (#453)
- upgrade @ryanatkn/belt (3622e1d)
- upgrade deps (04f2858)
- add package meta (#451)
- upgrade deps (4bf736f)
- republish (717be93)
- move util org (a4095eb)
- move org to @ryanatkn from @grogarden (#448)
- clean up type imports from schema removal (4d3c8ee)
- cleanup schema removal (1bb28cd)
- remove json schema support for zod (#447)
- upgrade @ryanatkn/belt@0.19 (0f53451)
- fix
gro changeset
commit message quotes (88aaa95)
- support sourcemaps (#445)
- rename
gro_plugin_sveltekit_app
fromgro_plugin_sveltekit_frontend
(#444) - rename
gro_plugin_sveltekit_library
fromgro_plugin_sveltekit_library
(#444)
- fix the server plugin while building (#444)
- support schema identifiers with underscores (#443)
- upgrade @ryanatkn/belt (dfcbe4c)
- upgrade @ryanatkn/belt (4baf889)
- fix SvelteKit esbuild plugin to include
resolveDir
(32da839)
- upgrade node@20.10 (#441)
- use
--import
instead of--loader
(#441) - add message and commit automation support to
gro changeset
(#440)
- upgrade @ryanatkn/belt to use
fetch_value
(#439)
- add and integrate
gro changelog
(#427)
-
avoid building twice on
gro release
(cbc4762)- if
gro publish
is called beforegro deploy
, we don't need to build to deploy
- if
-
changelog test (f7f6ee9)
this is just a test commit for testing purposes
because
- changelog
- other things
etc
-
replace
exists.ts
withfs.ts
and addempty_dir
(#429) -
stop using
git workspace
forgro deploy
(#429) -
upgrade deps: (#437)
- @ryanatkn/belt@18
- prettier@3.1.1
- ts-morph@21
- shim SvelteKit's
resolveRoute
(5e94cd4)
- fix gro build for deps that circularly import the building project (e345eaa)
- improve
exists
(094279d)
- upgrade deps (f6133f7)
- upgrade deps (54b65ec)
- catch server build errors (80365d0)
- add
$lib/src_json.ts
(#434)- add
.well-known/src.json
and.well-known/src/
- remove
modules
from.well-known/package.json
- add
- modify exports by default only for libraries (#434)
- improve modules type info (#435)
- change
.well-known/package.json
and.nojekyll
to use the static directory (#428)
- add icon 🌰 (b8180ea)
- add
icon
extension property topackage_json
(d6c22f4)
- fix deps (6a9a24d)
- upgrade
@ryanatkn/belt@0.16
(88ac35b)
- rename to
Proper_Snakes
(#433)
- throw on failed vite build (#433)
- improve type of
replace_plugin
(9165ab8)
- fix
to_package_modules
for nested modules (a21578c)
- fix
to_package_modules
(#432)
- add
"global"
property topackage.json
to support.well-known/package.json
instead of"private"
(#431)
- add
modules
topackage.json
(#430)
- fix $env imports in deps in loader (dc6dddc)
- run
svelte-kit sync
before typecheck (2794e20)
- fix
gro release
to notgro publish
if a library is not detected (80a1dc0)
- add default package exports to svelte files (f0350f3)
- detect library by default by checking for @sveltejs/package (#426)
- support absolute filenames with gen (40a427eb)
- support json exports mapping in the loader (07f170a)
- fix loader for node_modules (#425)
- add
--no-sync
option togro dev
(#425) - add
$lib/resolve_node_specifier.ts
(#425)
- upgrade @ryanatkn/belt@0.15.1 from 0.15.0 (52fad99)
- fix library detection (c2b91bb)
- upgrade deps (b1264cc)
- rename Create_Gro_Config from Gro_ConfigCreator (#422)
- add package.gen.ts for importing package.json data (#419)
- change config to explictly publish
static/.well-known/package.json
and deletegro exports
(#419) - rename
clean_fs.ts
fromclean.ts
(#419)
- support prettier options to format_file (#421)
- support typed json exports (#420)
- fix mutation of schemas during gen (#418)
- fix pull on deploy (3bd77ee)
- change
invoke_task
to require a config param (#415)
git pull origin target
on deploy (54f49ba)
- loosen package_json bugs type to accept strings (a8cec89)
- add release task (a088563)
- run git status on workspace check failure (da4b954)
- sync on
changeset
(019d70b)
- sync on
check
unless--workspace
(11e822e)
- remove
.gro/dist
from the paths and clean task (#413)
- upgrade to @ryanatkn/belt@0.15 from 0.14 (18cbcb5)
- invoke
gro sync
at the end ofgro upgrade
(f0ba85c)
- add workspace flag to
gro check
that defaults to false (#412)
- fix
gro exports
when there is no lib directory (#411)
- fix git helpers for CI (#410)
- fix import.meta.env shim (45f4734)
- change server plugin to output to
dist_server
(#409)
- relax some Package_Json types" (284ce48)
- add enum support for cli args (3e24565)
- passthrough unknown
Package_Json
properties (f16eaab)
- add
Package_Json
schema (#408)
- add
package.json
to the static/.well-known
directory by default (#405) - fix
gro deploy
(#406) - add git utils (#406)
- add
package_json
to the config for customizing exports and.well-known
(#405)
- fix
gro deploy --reset
flag (#389)
- rename some dir constants to prefix with GRO* instead of BUILD* (#404)
- merge adapt into plugins (#404)
- fill out the package json type (#403)
- fix types in fixtures (#402)
- replace
@feltjs/util
with@ryanatkn/belt
(8fcac65)
- infer the
gro changeset
access arg frompackage.json#private
(71ea36f)
- always init config (5262967)
- add
gro changeset
task (#399)
- make
@sveltejs/package
optional and warn when adapting the library (989c39c)
- import uvu dynamically to make it optional (#398)
- upgrade es-module-lexer (#397)
- remove config caching (693e4ceb)
- fix deploy task (#395)
- replace the build system with a loader and esbuild plugins and integrate svelte-package (#382)
- rename VocabSchema to Json_Schema (#394)
- prefer project-local changeset command if available (#393)
- detect changeset version failure (edf3214)
- change gro publish to use changesets (#385)
- break: replace
cheap-watch
withchokidar
andfast-glob
(#386) - fix
gen
error on startup for projects with no gen modules (#387)
- add
gro commit
task (#379) - add
gen
plugin that defaults to watch mode (#283, #381) - add
--reset
and--origin
flags togro deploy
(#383)
- break: upgrade to
@ryanatkn/belt@0.9.0
and peer depsvelte@4
, and change peer deps to avoid breaking changes (#378)
- upgrade deps (#377)
- upgrade deps (#376)
- break: change schema bundling to use the parsed name in
$defs
instead of the$id
(commit)
- break: move
toJson_Schema
to$lib/schemaHelpers.ts
and export all of$lib/schema.ts
(commit)
- upgrade deps (commit)
- break: change
toJson_Schema
to not suffix with.json
, and add thebundle_schemas
helper (#372)
- upgrade
@ryanatkn/json-schema-to-typescript
dep, changingtsImport
type fromstring
tostring | string[]
(commit)
- export
Json_Schema
type from root (commit)
- upgrade deps (#371)
- de-dupe when generating types (commit)
- export
to_gen_context_imports
fromlib/run_gen
(commit)
- break: change schema type generation to infer
tsType
andtsImport
from$ref
andinstanceof
(#370) - break: bump peer dep
svelte@0.58.0
(#370)
- break: fix schema type generation to be shallow, excluding the types of referenced schemas (#367)
- break: upgrade dep
@ryanatkn/belt@0.8.0
andesbuild@0.17.0
(#366) npm i
beforegro build
, add--no-install
flag to override (#365)
- break: upgrade dep
@ryanatkn/belt@0.7.4
(commit)
- break: upgrade dep
@ryanatkn/belt@0.6.0
(#364)
- quieter logging
- bump package-lock version to 3after npm upgrade
- upgrade
@ryanatkn/belt
(#362)
- fix production types for builds that don't specify a value (#363)
- undo adding TypeScript as a peer dependency
- add TypeScript as a peer dependency
- break: remove
tsconfig
arg fromgro typecheck
sincesvelte-check
3 no longer needs it (#360) - break: move the SvelteKit build instead of copying it (5719273)
- break: upgrade deps including SvelteKit 1.0 (#359)
- relax the type of
Raw_Gen_Result
to let the array have any value (6faf95b)
- relax the type of
Raw_Gen_Result
to include an ignorednull
(a8cf511)
- break: move
types
from the main config to the build config (#358)
- add
svelte
property of publishedpackage.json
- upgrade deps
- remove
readonly
fromBuildConfigInput[]
usage
- fix
$app/environment
dev
import
- upgrade
@ryanatkn/belt@0.3.0
- fix imports
- break: upgrade
@ryanatkn/belt
(#356)
- break: depend on
@ryanatkn/belt
instead of@feltjs/felt-ui
(#355)
- break: upgrade peer dep
@feltjs/felt-ui@0.42.0
(#354)
- call
svelte-kit sync
only if it's installed (#353)
- pass
--skipLibCheck
totsc
ongro build
so it can be disabled in dependents' tsconfigs (#352) - always run
svelte-kit sync
instead of checking for the directory first (#352)
- break: change
gro.config.ts
to export a default value instead of aconfig
property (#348) - break: change
plugin/gro_plugin_server.ts
to a no-op outside of dev mode (#347) - fix
gro deploy
for unfetched branches (#350) - upgrade deps (#351)
- skip
gro test
ifuvu
is not installed, and log a warning (#346)
- do not run
tsc
ingro check
ifsvelte-check
is available (#345)
- fix task arg definitions
- fix type parsing for Svelte files (#340)
- change
gro typecheck
to always run bothtsc
andsvelte-check
instead of stopping whentsc
finds an error (#339)
- upgrade SvelteKit import mocks (#338)
- break: upgrade deps and remove peer deps for
@sveltejs/kit
,uvu
, andtypescript
(#337)
- fix
gro deploy
when the deployment branch isn't loaded locally (#336)
- add exclude functionality to the upgrade task:
gro upgrade foo bar
(#335)
- break: upgrade deps (#332)
- break: upgrade deps (#331)
- break: upgrade deps (#330)
- build only the included TypeScript files to
dist/src/
(#325)
- add
format
option to gen files, defaults totrue
(#324)
- break: remove the dev server, including
gro serve
and project metadata (#321) - always build before running tasks (#322)
- break: upgrade deps including peer dep for
@feltjs/felt-ui@0.26.0
(#320) - break: remove
deploymentMode
option from SvelteKit app adapter (#320)
- break: upgrade
@sveltejs/kit@1.0.0-next.298
and runsvelte-kit sync
before typechecking (#317)
- register schemas for gen and search for them before the file resolver (#316)
- improve safety of
gro deploy
and update its docs (#315)
- fix args type for
invoke_task
(#314)
- break: validate task
args
from schemas, setting defaults automatically and disallowing additional properties (#313) - break: change
invoke_task
to no longer forwardargs
automatically (#313) - break: add generic agnostic command args forwarding
using the
--
pattern (#313) - break: remove
-v
alias forgro --version
(#313)
- fix task name printing for task directories (#312)
- support task dirs (#311)
- fix value printing in args logging (#310)
- break: rename the
gro publish
branch
arg tosource
and addtarget
branch arg (#306) - break: move
mapBundleOptions
from args to the Node library adapter options (#306) - add schema information to task args (#306)
- add
--help
flag togro
andgro taskname
, along withgro help
alias (#306, #307) - combine imports in generated schema types (#304)
- add CLI opt-outs to
gro check
forno-typecheck
,no-test
,no-gen
,no-format
, &no-lint
(#305) - fix inline type parsing to include type dependencies (#308)
- run
eslint
ingro check
if it's available (#301)
- fix default config to build types only for production (#300)
- add
.schema.
files to system build (#299)
- add
gro gen
support for.schema.
files with automatically generated types (#298)
- break: upgrade
@feltjs/felt-ui@0.18.0
(#297)
- break: remove
svelte-check
as a dependency, but still call it ingro typecheck
if installed (#296)
- break: remove Rollup and its plugins as a dependency, and use esbuild for bundling instead;
this changes the Node library adapter interface to use
mapBundleOptions
and removes the Rollup mapping functions (#295)
- mock SvelteKit imports like
'$app/navigation'
for tests (#294)
- fix 404 page for GitHub pages with SvelteKit adapter (#293)
- fix bug with the
throttle
delay
option (#289)
- fix
svelte-check
to scope tosrc/
(#273) - fix writing source meta concurrently (#288)
- add
util/throttle.ts
(#288)
- break: update deps (#286)
- break: change task
dev
property toproduction
(#284) - fix
process.env.NODE_ENV
for production tasks (#284, #287)
- clean dist for production builds (#285)
- fix peer dependency versions (#282)
- break: remove frontend build support in favor of SvelteKit (#281)
- process
.js
files with the esbuild builder (#280)
- add optional
paths
toFiler
and improve its tests (#276) - make
gro test
ignore sourcemap files by default so patterns don't need.js$
(#277) - make
gro gen
build before running (#279)
- change default config to not run the api server during build (#275)
- break: upgrade
@feltjs/felt-ui@0.13.0
and make it a peer dependency (#274)
- break: upgrade
@feltjs/felt-ui@0.12.0
androllup@2.57.0
(#272)
- break: add
svelte-check
and typecheck Svelte files ingro typecheck
andgro check
(#271)
- support js imports (#270)
- break: update deps and remove most peer deps (#269)
- make
gro deploy
safer by excluding branches'main'
and'master'
unless--force
(#268)
- rename to
camelCase
fromsnake_case
(#267)
- fix dev server plugin defaults to not load for prod builds (#265)
- break: require Node >=16.6.0 (#262)
- break: remove
main_test
config option and behavior (#261)
- add some convenience peer dependencies like
@types/source-map-support
-- is this a good idea? (#260)
- break: fix test sourcemaps by adding
Gro_Config
optionmain_test
, which initializes projects with a conventionallib/main.test.ts
for installing sourcemaps and other global test concerns (update: reverted in 0.37.0) (#259) - add some peer deps (#259)
- break: remove dev task event
dev.create_server
and adddev.create_context
(#258) - make the dev server a plugin (#258)
- clean during
gro build
except when invoked bygro publish
andgro deploy
(#255)
- fix type publishing (#252)
- break: remove
cjs
andesm
options fromgro_adapter_library
; for now only ESM is supported, to be revisited when we support package exports; in the meantime users can fork the adapter for commonjs outputs (#251) - break: disallow running some tasks in development:
gro build
,gro deploy
,gro publish
(#251) - rename
src/lib/adapt.ts
module and improve docs foradapt
andplugin
(#250)
- fix
gro_adapter_gro_frontend
by prebundling externals only in development (#249) - upgrade
es-module-lexer@0.7.1
(#248)
- break: refactor
postprocess
into builders and deleteBuild
andBuild_Result
(#243) - break: rename builders and builder util (#244)
- break: merge
util/path_filter.ts
andutil/file.ts
intoutil/filter.ts
, renameId_Filter
fromFile_Filter
, and addId_Stats_Filter
(#246) - support JSON imports (#245)
- ignore unwanted assets in frontend build (#242, #246)
- change
gro deploy
to infer defaultdirname
(#241)
- break: add
gro_adapter_gro_frontend
adapter (#231)
- break: change
gro_adapter_library
optiontype
to booleanbundle
(#239) - support outputting Svelte source files in production builds (#239)
- fix dynamic import parsing to allow non-interpolated template string literals (#238)
- fix import parsing to ignore non-literal dynamic imports (#237)
- fix conversion of absolute specifiers to include
./
if bare (#236) - upgrade to esbuild@0.12.15 (#235)
- break: change default server to
src/lib/server/server.ts
fromsrc/server/server.ts
(#234)
- break: rename plugins, adapters, and builders to
snake_case
fromkebab-case
(#232) - update deps (#233)
- add Gro frontend support with
gro_adapter_gro_frontend
(#231) - fix buildless builds to handle SvelteKit-only frontend projects (#230)
- upgrade to
@feltjs/felt-ui@0.3.0
(#229)
- fix library adapter
package.json
paths (#228)
- break: remove
gro start
task (#223) - add
Plugin
s andconfig.plugin
to support SvelteKit and Node servers (#223, #224) - implement Node server config and adapter (#223)
- implement library adapter (#226, #227)
- fix default library build to include types in production (#222)
- fix deploy task (#221)
- support absolute path imports
$lib/
andsrc/
(#153) - infer
npm link
in Node library adapter (#218) - fix build config validation and normalization (#220)
- break: convert to
snake_case
fromcamelCase
(#210) - break: rename
'system'
build from'node'
(#207) - break: add
'config'
build to simplify internals (#207, #212) - break: build configs now fail to validate if any input path strings do not exist (#207)
- break: rename
load_config
fromloadGroConfig
(#207) - break: change
validate_build_configs
function signature (#207) - break: change
gro_adapter_sveltekit_app
output so it composes with others (#207) - break: rename the
Task
summary
property fromdescription
(#212) - break: rename
content
fromcontents
(#216) - add
no-watch
arg togro dev
(#211) - rename some args in
gro dev
andgro serve
(#211) - optimize writing source meta to disk (#214)
- add
typemap
option to Gro config (#215) - add
types
option to Gro config (#215)
- rename default
'library'
build from'lib'
(#208)
- break: move util to
@feltjs/felt-ui
and add it as a dependency (#206)
- properly detect unclean git state for
gro deploy
(#205)
- add
.nojekyll
support to frontend adapters for GitHub Pages compatibility (#204)
- break: upgrade to latest SvelteKit, changing the dir
.svelte
to.svelte-kit
(#202) - add SvelteKit app adapter (#193)
- fix
gro deploy
(#193)
- separate source meta for dev and prod (#201)
- break: extend config with detected defaults (#199)
- improve
gro publish
errors and suport restricted packages (#199)
- fix
gro publish
arg forwarding tonpm version
(#200) - fix
gro publish
to initialize scoped packages (#200)
- tweak publish steps to handle failure better
- tweak publishing errors
- generate types for bundled production builds (#196)
- break: rename
gro publish
fromgro version
and improve its safety (#189) - make
config.builds
optional and accept non-array values (#189) - document more about
adapt
(#189)
- break: redesign
gro publish
andgro deploy
(#187) - break: add
Adapter
system and Node library adapter (#187) - break: add a default
"node"
build named"node"
if one is not defined (#187) - break: rename
toObtainable
fromcreateObtainable
(#187) - break: rename
Filesystem.write_file
fromoutputFile
(#188) - break: upgrade to
fs-extra@10.0.0
(#188)
- hack: add temporary support for extensionless import paths to internal modules (#186)
- export config types and helpers from root (#185)
- export
Unreachable_Error
and time util from root (#184)
- force push on
gro deploy
(#183)
- ignore error on failed
git pull
duringgro deploy
(#182)
- change
gro gen
to handle failed formatting gracefully (#181)
- break: change
gro clean
args to longhand and add option--git
to prune dead branches (#180) - fix
gro build
to copy files todist/
withsrc/lib/build/dist.ts
helpercopy_dist
(#179)
- fix
gro deploy
to first pull the remote deploy branch (#178)
- fix production builds (#177)
- refactor Gro's production build (#176)
- break: rework the
Filesystem
interfaces (#173)- export a
fs
instance from eachFilesystem
implementation and do not export individual functions - rename
pathExists
toexists
- remove
readJson
- export a
- add abstract class
Fs
and implementMemory_Fs
to complement thefs-extra
implementation atsrc/lib/node.ts
(#173)
- break: extract the
Filesystem
interface and thread it everywhere fromsrc/lib/invoke.ts
and tests (#171) - break: replace
src/lib/gitignore.ts
helperis_gitignored
withsrc/lib/path_filter.ts
helperto_path_filter
(#172)
- fix
gro start
task to serve static builds to port 3000 like the others (#170)
- fix
gro start
task to work with SvelteKit and the Node server if detected (#169)
- break: change the interface of
gro dev
andgro build
to support the Node server (#168)
- fix
gro format
to whitelist files off root when formattingsrc/
(#166) - fix
gro test
to gracefully handle projects with no Gro build outputs (#167) - run
gro check
before building ingro version
(#167)
- break: rename
src/lib/equal.ts
module fromdeepEqual.ts
(#162) - break: rename
Gro_Config_Partial
fromPartialGro_Config
andBuild_Config_Partial
fromPartialBuild_Config
(#164) - make serve task work for production SvelteKit builds (#163)
- add
src/lib/gitignore.ts
withis_gitignored
andload_gitignore_filter
(#165) - add helper
to_sveltekit_base_path
tosrc/lib/build/sveltekit_helpers.ts
(#163) - default to some environment variables
for undefined Gro config properties:
GRO_HOST
,GRO_PORT
,GRO_LOG_LEVEL
(#162) - export the logger API from root and fix it (#162)
- break: rename some paths constants for consistency (#161)
- patch SvelteKit bug with duplicate build directories (#160)
- add contributing.md🌄 (#108)
- break: make
src/lib/build.task.ts
,src/deploy.task.ts
, andsrc/lib/start.task.ts
work with SvelteKit (#157, #159)- add flag
gro deploy --clean
to reset deployment state - add flag
--branch
to both tasks, default tomain
- default to the
deploy
branch instead ofgh-pages
- add flag
- break: rename
to_env_string
andto_env_number
fromstringFromEnv
andnumberFromEnv
(#158) - add helper
read_dir
tosrc/lib/node.ts
(#159)
- break: rename
src/lib/node.ts
fromsrc/lib/nodeFs.ts
(#154) - break: rename
src/lib/clean.ts
fromsrc/lib/clean.ts
(#155) - break: rename
to_array
fromensureArray
(#117) - upgrade to
svelte@3.37.0
(#102) - fix
dist/
build (#156) - export many more things from root:
import {/* !!! */} from '@ryanatkn/gro';
(#117) - improve logging readability (#152)
- break: require Node >=14.16.0 (#150)
- fix false positive Node server detection in default config (#151)
- add
get_mime_types
andget_extensions
returning iterators tosrc/lib/mime.ts
(#149) - improve default asset paths to use registered mime types (#149)
- fix swapped Node server ports (#148)
- break: output builds to
dist/
mirroring the source tree as much as possible (#147) - break: rename some things around the Node server (#147)
- add
gro start
as an alias fornpm start
(#147) - integrate the default Gro Node server with SvelteKit and Gro's build task (#145)
- add task
gro server
to support the default Node server use case in SvelteKit (#145) - remove the
gro dist
task; it's now part ofgro build
(#146)
- add
events
toTask_Context
and its generic type toTask
, so tasks can communicate with each other using a normal NodeEventEmitter
(#143)- events aren't great for everything;
this PR also documents a value mapping pattern convention for tasks in
src/lib/README.md
- events aren't great for everything;
this PR also documents a value mapping pattern convention for tasks in
gro build
now correctly builds onlyBuild_Config
s that havedist: true
, allowing users to customize thedist/
output in eachgro build
viagro.config.ts
(#144)
- add a generic parameter to
Task
to type itsTask_Args
(#142)
- track and clean up child processes in
src/lib/process.ts
helpers and expose the functionality to users asregisterGlobalSpawn
(#141) - add a confirmation prompt to
gro version
with version validations betweenchangelog.md
andpackage.json
(#140)
- break: update dependencies (#139)
- add the
Filer
optionfilter
with typePath_Filter
and ignore directories like.git
by default (#138)
- break: change
gro.config.ts
to export aconfig
identifer instead ofdefault
(#137)
- set
process.env.NODE_ENV
when running tasks with explicitdev
values (#136) - remove
import.meta.-env.DEV
support for now despite SvelteKit alignment (#136)
- forward the optional
dev
arg through the task invocation tree viainvoke_task
andrun_task
(#135)
- add the optional
dev
property toTask
definitions to fix the inherited context (#134)
- fix
src/lib/build.task.ts
(#133):- forward dev arg to esbuild options builder
- fix return values of rollup plugins to respect sourcemaps
- fix
src/lib/build.task.ts
to correctly usesourcemap
andtarget
Gro config options (#132) - turn sourcemaps off by default in production (#132)
- break: separate the default server and primary Node builds
in
src/lib/gro.config.default.ts
(#131) - break: rename
src/lib/toObtainable.ts
tosrc/lib/obtainable.ts
to fit convention (#131) - add server auto-restart to
src/lib/dev.task.ts
(#129) - improve the clean task
(#130)
- running
gro clean
with no options behaves the same, deleting/.gro/
and/dist/
gro clean
now accepts a number of options:-s
: delete/.svelte/
-n
: delete/node_modules/
-B
: preserve/.gro/
, the Gro build directory-D
: preserve/dist/
- running
- add
src/lib/version.task.ts
to automate versioning and publishing (#127) - change
src/lib/build.task.ts
to work internally for Gro (#128)
- change type deps exposed to users to regular dependencies (#126)
- change
Filer
to extendEventEmitter
and emit a'build'
event (#125)
- fix build not filtering out
null
inputs (#124)
- break: redesign prod build task
src/lib/build.task.ts
and remove support for CLI build inputs in favor of config (#123) - internal rename of
src/globalTypes.ts
tosrc/globals.d.ts
now that they only declare module types (#120)
- gracefully handle deprecated Gro frontends (#118)
- detect default server build at
src/server/server.ts
(#119)
- break: change global types to root exports (#114)
- improve the error message when a build config input is missing (#113)
- add
args
hooks tosrc/lib/dev.task.ts
(#112)
- allow deleting input files (#105)
- temporarily pin
esinstall
version to fix a breaking regression
- replace Gro's internal testing library
oki
withuvu
(#103) - add http2 and https support to the dev server (#104)
- change the
build/
directory to.gro/
and support multiple builds (#59) - add support for a config file at
gro.config.ts
for custom builds (#67, #68, #82, #83, #95) - add
Filer
to replaceCachingCompiler
with additional filesystem capabilities (#54, #55, #58, #60, #62, #63, #94, #98, #99, #100, #101) - add Svelte compilation to the unbundled compilation strategies (#52, #56, #65, #66)
- bundle external modules for the browser (#61, #71, #76, #81, #88, #89)
- replace swc with esbuild (#92)
- make
createBuilder
pluggable allowing users to provide a compiler for each file (#57) - rename
compiler
tobuilder
(#70) - replace deep equality helpers with
dequal
(#73) - add a basic client to view project data (#86, #87, #90)
- move terminal color module to src/lib/util (#93)
- add server caching (#77)
- add
swc
dependency along with a Rollup plugin and Svelte preprocessor (#45) - add the
compile
task and useswc
for non-watchmode builds (#46) - add
CachingCompiler
which usesswc
to replacetsc
watchmode (#51) - add stop function return value to
Timings#start
(#47) - rename identifiers from "ext" to "extension" to follow newer convention (#48)
- convert
AssertionOperator
from an enum to a union of string types (#49) - rename
AsyncState
toAsyncStatus
and convert it from an enum to a union of string types (#50)
- handle build errors in the deploy task and add the
--dry
deploy flag (#42) - upgrade dependencies (#43, #44)
- fix log message when listing all tasks (#41)
- change the deploy task to delete
dist/
when done to avoid git worktree issues (#40)
- add a default
gro deploy
task for GitHub pages (#39) - run the clean task at the beginning of the check task (#37)
- sort CSS builds to make output deterministic (#36)
- enable sourcemaps for build in development mode (#33)
- add
uuid
utilities (#31)
- add
randomFloat
utility (#30)
- add
Result
type helper tosrc/globalTypes.ts
(#29)
- fix external module type declarations by merging
src/lib/globalTypes.d.ts
intosrc/globalTypes.ts
(#28)
- export
kleur/colors
fromsrc/lib/terminal.js
(#27)
- add type helpers
Branded
andFlavored
for nominal-ish typing (#23)
- breaking: upgrade
kleur
dep and remove color wrappers (#26)
- change assertions
t.is
andt.equal
to use a shared generic type for extra safety (#22) - fix
.js
module resolution in the Rollup TypeScript plugin (#24)
- add the
invoke_task
helper for task composition (#20) - add CLI flags to print the Gro version with
--version
or-v
(#21)
- fix
terser
import - export
Unobtain
type fromutil/obtainable.ts
- actually fix unbuilt project detection when invoking builtin Gro tasks (#17)
- fix unbuilt project detection when invoking builtin Gro tasks (#16)
- compile TypeScript if an invoked task cannot be found in
build/
(#12) - change the check task to look for stale generated files only if the project contains gen files (#13)
- format files in the root directory, not just
src/
(#15)
- change
gro clean
to delete directories instead of emptying them (#11)
- add
gro format
andgro format --check
and format generated code (#8) - add
prettier
andprettier-plugin-svelte
as peer dependencies and upgrade to Prettier 2 (#8)
- ensure the project has been built when invoking tasks (#5)
- upgrade TypeScript minor version
- rename
util/random.ts
functions, expanding "rand" prefix to "random"
- upgrade TypeScript dep
- add
util/obtainable.ts
for decoupled lifecycle management
- add
util/watch_dir.ts
for low level filesystem watching - expose
remove
andensure_dir
inutil/node.ts
- plant in the ground