v0.2.39
Changelog
7b509f0 Actually commit the manual snapcraft install + login.
a1aa142 Add --bare flag (#18).
558c13e Add --benchmark flag to serve cmd (Fix #53).
17f1711 Add --verbose flag to serve cmd (Fix #52).
24e3ce8 Add --version flag to rootCmd (#59).
bd2a459 Add .gitignore to project root.
f1ad31e Add 404 handling and trailing slash to client routes.
0d79fd7 Add GCC multilib.
b48e192 Add IDs for builds.
69a6f70 Add Layout info to README
e6a9da8 Add OSXCross for cgo support.
015f306 Add TODOs.
bd6128a Add all svelte libs for SSR rendering.
4b101df Add assets dir (Fix #6).
52bb624 Add basic timers for build.
4e5d383 Add build cmd to serve cmd.
258b7db Add comments.
8ced07b Add comments.
a7a2530 Add comments.
7cf702a Add comments.
d6d3bca Add component helper + dynamic import to gopack (Fix #9).
32a9e28 Add confirmation step and write ejected file to fs.
eadda21 Add copy to clipboard.
cc2201f Add date sorting script for recent blog posts.
8b9a6c3 Add dir flag to build command.
cbacc97 Add dir flag to serve command.
d9b55a8 Add eject cmd.
f12cc32 Add eject file writing for --all flag and individual file list.
722336f Add endpoint flag to type cmd.
c7a7672 Add externals for bundling node packages.
b39119b Add fav and logo.
b27204f Add file removal event to watcher and clean up (Fix #1).
1524507 Add flag to allow disabling build on serve cmd.
635f7f0 Add fsnotify create event (Fix #33).
3969913 Add gcc-multilib back.
482e9c5 Add git diff for pipeline debugging.
2cd2376 Add installation instructions for package managers.
409dd7d Add missing 'run' key.
e5afd9d Add more page templates.
2bfd1e7 Add name arg for site command.
757e2ec Add new context to each goroutine (slow).
2cb757e Add node_modules to defaults and update generator.
81aa6f6 Add nodejs to snap.
11e4d7a Add optional logging with verbose flag.
68de6d9 Add optional param to run benchmark without presence of flag.
5e99ae4 Add osxcross dependencies.
fda005e Add otto.
71b26e1 Add package manager support (#21).
bb43195 Add port flag to serve command.
8db48bd Add promptui mod.
d27ae64 Add reader for content type field key/values.
c56efd5 Add rogchap.com/v8go.
71bd150 Add serve command.
e42dfae Add site command.
c12a044 Add sponsor button to repo.
1e07b7e Add ticker for batching events.
947ae30 Add type info to README
f522b7c Add vendor defaults.
32d2603 Add warning about Windows to README.
cace1fd Add webpack and babel.
b1796fa Add windows support (closes #16).
485b5b5 Add writable stores example to defaults.
da0ab90 Allow legacy NodeJS builds.
fa1697f Allow markdown files that contain backticks in generator.
990a995 Allow multiple :field() replacements in single url.
3c7c3f1 Allow passing json data to 404 page.
02b5137 Allow snap to read/write to user's filesystem.
e9cd0e0 Attempt otto.
d841ed4 Attempt to batch double firing events.
a0db2c4 Attempt to use v8go in client build step.
4879e70 Better build comments.
7ba44d7 Better error handling for server.
bb296f3 Break defaults into separate files.
d48d790 Broken: attempt to send JS object as string to nodejs.
4366542 Build basic client spa app.
93294ce Build client in walk through files to elimate extra loop.
ac395f8 Bundle css with client.
476d0c5 Call esbuild api.
553d5fc Call svelte node_modules directly.
0d90004 Change gitignore replacement pattern.
abb191e Check bundle.css exists before deleting so client build runs.
84df893 Check for node_modules on build.
66ba5f6 Check unknown field types directly.
ff81bf0 Clean out build dir and remove from file watcher.
a07a3a3 Clean up brew repo access (Close #21).
8b18248 Clean up html rendering.
55b5169 Clean up js.code and css.code calls.
20ca514 Clean up static code calls.
1eb3aed Clean up temp ejected files.
4e2fde4 Clean up.
9441d2b Clean up.
b8899a0 Clean up.
cdc4daa Cobra add type --parent=newCmd.
8e88fe5 Collect time & messages to check for benchmark flag.
ae5f997 Comment imports/exports instead of removing from SSR.
7f99209 Comments.
e904431 Compile actual component not just filename (Fix #41).
8867ca0 Consolidate node_modules defaults (#18).
7f50294 Consolidate timers into benchmark function.
c76ec06 Convert react to svelte.
a28e36e Copy binary to root dir in Dockerfile.
b9658a1 Create README.md
7097318 Create component signature and remove SSRComponents map.
8a6e8af Create default config.
fbd15de Create readers package.
66c422f Create release.yml
749b643 Create signature for each import statement.
4d2b7f9 Create type in content dir.
2cd1bff Create type layout.
5ca36a6 Created ejectable file select list.
ef43ccc Cross repo access.
7f49ae1 Decode html entities in nodejs.
536aebb Display all event detection messages.
2ecbf70 Do not create component signatures for npm packages.
d405cd4 Don't require personal-files for snap.
41ceb29 Eject command scaffolding.
94886b1 Enable 32-bit linux build.
4386bbc Enable CGO build and disable Windows binaries (#50).
f1ff1f1 Error handle ssrJs.code compiling (#63).
b63d2a3 Extend gopack to use export statements needed for stores.js.
06d619e Extra snap permissions (#31).
747738b Fix 'cannot unmarshal array' errors for unsupported primitives (Close #14).
ad31180 Fix 'flag provided but not defined' error.
967b49e Fix .gitignore filename when generating defaults.
73f0b0c Fix 404 handling in navaid.
4f47026 Fix 404.
db197c3 Fix NodeJS build hydration (#65).
e567562 Fix SyntaxError: Unexpected number.
17095f9 Fix Version ldflags.
94908ee Fix async component syntax.
136b18e Fix blank .gitignore file (#72).
5f77529 Fix build with ejected files in project root.
668e85e Fix config scaffolding.
0f55b12 Fix container target and add Head component.
a2d0691 Fix creating folders and files.
0e234f6 Fix destPath and add placeholder blog posts.
4b7827f Fix dir copying errors for assets.
da8484f Fix docker login.
09ee81b Fix error: cannot find -lv8.
b76998b Fix infinite redirect for trailing forward slash (Close #34).
73ee9f8 Fix logic so file watcher actually skips the build directory.
b58413a Fix macaroon-permission-required build error.
6a45b7e Fix missing node_modules errors (#70).
6b1c9ba Fix nested html elements (#65).
3406597 Fix path and create folders for writing static html to fs.
2a78e5c Fix path for osxcross.
4c0e419 Fix route prop so static render works.
2b11aae Fix router so it points to build file extentions.
ec7bff8 Fix router so var checking is not needed between type transitions.
aa2d21a Fix snowpack by excluding build files.
8d6ad4d Fix svelte/internal create_ssr_component() errors in v8go.
7614115 Fix typos in README
af9369f Fix urls so each node uses an index.html file.
2f25402 Fix writing static html to work with allNodes object.
963e5be Format error output.
3f13b61 Format nodes.js output.
1505cdd Gather nodeList info.
ed86f81 Generate 'ejected' string literals.
17dabc0 Get basic generator working.
0b625ec Get file watcher working on first change.
9c4e08e Get html building to correct path.
c9e366a Get js.code value.
b5f10b1 Get the import variable name.
e2db4ef Get value back from JS using v8go.
68102d8 Get values between individual :field() brackets.
4786a11 Give snap network access for npm and serve commands.
7a383fe Go get -u github.com/evanw/esbuild/pkg/api.
07a1234 Go mod tidy.
66ab982 Go mod tidy.
f4ab4ca Gopack: add comments.
e5f3dba Gopack: add file ext replacements and remove in node script.
485fd7f Gopack: add named imports and surround path with quotes.
40a6f2c Gopack: check if import path exists.
8a43aec Gopack: clean up.
d591e89 Gopack: copy .mjs files to web_modules/.
04c6417 Gopack: overwrite correct import statement only.
941c83c Gopack: replace only import path, not all strings.
1906b6b Gopack: update import statement.
a9d45c1 Gopack: update regex to find multiline import statements.
9ac9e39 Gopack: write import to file in DRY manner.
1d1994c Gopack: write updated import to filesystem.
ac2ee8b Goreleaser for dockerhub.
e703c38 Goreleaser init.
d8f3b83 Handle 404 if content type does not have a corresponding template (#13).
90ba0a2 Handle panic when trying to build outside of valid site (#73).
7528f6f Hardcode each template to produce html.
5c1feff Implement Unmarshaler interface to filter out non string vals from JSON.
95ee95b Implement basic react-router-dom.
78fa011 Import svelte compiler in JS.
f6e5f77 Initial commit.
d9e1a80 Inject hydration script into static html.
a915a50 Inject style and hydrate ID into HTML.
9099ff6 Login for snapcraft.
b18871b Login to dockerhub in github action.
6057b14 Make hydratable (#65).
8d7a25c Make loading 404.svelte optional.
7d5bef3 Make port configurable.
147829e Make string replacements more specific.
6d8feb5 Make sure file in list exists before ejecting.
d0374ac Manual snapcraft install + login.
5bb87d1 Merge branch 'master' of github.com:plentico/plenti
1e6860a Merge branch 'master' of github.com:plentico/plenti
e003037 Merge pull request #1 from plentico/master
2afd290 Merge pull request #10 from stephanieluz/issue-8
c3b286a Merge pull request #11 from plentico/move-ejected
d7af71a Merge pull request #17 from stephanieluz/master
26dc48c Merge pull request #23 from plentico/issue-12
796563c Merge pull request #39 from plentico/issue-25
9af14c4 Merge pull request #40 from plentico/issue-3
92af8ec Merge pull request #51 from plentico/issue-46
980921c Merge pull request #61 from plentico/issue-43
e43c31f Minor default content updates.
bf6a765 Modify svelte to allow hydrating HTML wrapper (#65).
39166e5 More defaults.
68a36e3 Move all defaults to generator.
dcb4d70 Move bundler into subcommand and separate client build script.
63107ff Move compile into separate func and add spa router back in.
0071cd1 Move defaults to separate file.
cb3d29f Move eject file writing into separate func.
928047e Move plenti-osxcross to home dir.
0e90d95 Move plenti-osxcross up a dir to avoid dirty state.
cc51fbf Move plenti-osxcross up one dir.
1eccf04 Move routing logic into entrypoint (#65).
9ba78e5 Move trailing slash redirect below router.
e4067fb New defaults + go generate.
51f6a24 Only create directories needed by default files.
faca8e2 Only log fsnotify events when --verbose output (Fix #54).
0e0b710 Only run snowpack once.
b082d42 Output some metrics for build.
320c3a5 Pass -y flag to install dependencies.
572b040 Pass debug flag for goreleaser.
87b65ee Pass layout filenames and have node read file contents.
281a1b7 Placeholder build command.
e88e146 Process js after compiling to find svelte internals.
9642e68 Producing some HTML, wrong dir structure.
c2b7b2a Put client compiler into goroutines.
8c98790 Put svelte compile into goroutine.
668b548 Re-enable publish.
7dedeb8 Read build dir from config.
f3ba072 Read config for build command.
9e91f8a Redirect to paths without trailing slash client-side.
c287c57 Regex remove comments but breaks urls (e.g. https://).
b6d7067 Remove 32-bit build not supported by v8.
8e95830 Remove 404 flash when hydrating.
0597019 Remove clientBuildStr previously passed to nodejs.
ab696b8 Remove console errors for bare starter.
1f2c01c Remove data_source helper and get nodes directly.
90be1cd Remove deprecated input key from scoop.
ed3b185 Remove dynamic import duplicate updates in gopack (Fix #29).
2f56793 Remove file ext string replacements in node.
08b308c Remove gcc-multilib.
c40c1d5 Remove goroutine for compiling svelte.
8a5693b Remove goroutines that break v8go ctx.
e247d57 Remove hydrate-plenti ID and target html element (#65).
7853e96 Remove loading message from build.
1556b50 Remove node endpoint if corresponding svelte template is missing (Fix #13).
af27cb1 Remove old build scripts.
de8859e Remove old style before building new css.
8074dcc Remove osxcross dependencies.
02bb4b6 Remove otto.
0596706 Remove parsing node return values on split and file system writing.
1f3215c Remove parts from goreleaser.
0a200db Remove per file license notices.
685a8b0 Remove print statements.
0c138f0 Remove quotes from ldflags Version.
e8407f1 Remove redundant checks for build dir.
6aee160 Remove require-relative npm dependency.
649212f Remove root .gitignore.
371e6c5 Remove sirv npm dependency.
966745c Remove snapcraft action.
8a47c0f Remove snowpack.
f86a634 Remove template literal from defaults.
6b10ce8 Remove unused require-relative npm package.
46f7444 Rename 'nodes' to 'content' for v8go build and defaults.
0d52248 Rename defaults/.gitignore so git stops reading it.
290ded3 Restructure to load all SSR components in client build.
66148db Revert nodejs build script to original.
b793adc Run benchmark with function call instead of bundling messages.
9e0b8a0 Run build only on batched interval regardless of event type.
c452c18 Run npm install and static build script from go.
83d8ebb Run script with v8.
41f136f Run snowpack and fix errors in defaults.
2d11d57 Send string JS obj to nodejs.
15f3c7e Separate client and static builds.
9eb7664 Separate router and entrypoint but preload initial route.
51aec69 Separate routes.js.
de8facb Set buildDir in separate func.
789f2a0 Set content type and filename in data source.
15b4203 Set default port in reader.
30a8f25 Set port in separate func.
05490fc Setup separate entry point.
3ddc7a5 Shorten blog post filenames.
3d965d1 Simplified fix for double firing events in watcher.
5c219f2 Simplify benchmark and add comments.
342b411 Simplify data_source methods.
8a19a8e Simplify html replacement (#65).
b9ee7f1 Simplify hydration target (#65).
ae5042c Slugify path with regex.
eee82f8 Start creating dir structure.
61a5a43 Start creating static build string.
b5ff657 Start generating data sources.
53192c2 Start updating default content.
ee496da Stop hard coding routes in navaid.
8c6e65c Stop requiring custom title field in footer default (close #4).
0d91e7e Stop watching build dir.
3449d96 String replace reference to 'self' in svelte compiler.
6580723 Temp disable publishing to snapcraft.
ef483ad Temp disable scoop.
5fb8fa9 Temp file write for ejectable core.
7623322 Temp ignore linux 386.
ecb0bec Temp remove goroutines and WaitGroup.
15f52cc Test go vs node script performance.
2a9e4c6 Time exec.Command for svelte compiler.
7e62597 Update README.md
9b3c35e Update README.md
9f00bf3 Update README.md
a127413 Update README.md
d464082 Update README.md
3e96983 Update README.md
afe61dd Update cobra and viper dependencies.
b853caa Update command desc.
858b1d8 Update comment.
ed813a9 Update default starter content.
fe5cd3f Update defaults for creating static html.
f38f97f Update error messages.
36b51f6 Update flags.
4f96532 Update go mods.
897bf7e Update license notices.
c50700d Update reader to get slug overrides for types.
4c16a1b Update references to issues in README.
3c9ba0f Update router naming conventions.
947a811 Update router to allow spa path without trailing slash.
0a016b8 Update site cmd to use generated defaults.
8022050 Update snap plugs.
36cdbba Update starter theme style.
b6bbfd1 Update template reference style.
59b895d Update variable names to be general for imports/exports.
92d935f Use 'content' for NodeJS build as well.
d08a5c2 Use alpine instead of scratch.
d2d80dd Use backtics for Version replacement.
1bb7929 Use classic confinement for snapcraft.
c891c08 Use component signature for vars in script only files.
9cd53dd Use dockers to exec script.
52be7b6 Use edge channel for snapcraft.
bbedca5 Use generic osxcross-target project.
367ac8d Use go get instead of go mod download.
683a59a Use https instead of ssh for cloning plenti-osxcross.
22db5dc Use hydrate instead of render.
6312546 Use name template to replace git tag (#59).
034449f Use org name instead of repo name for sponsorship.
9221053 Use personal ACCESS_TOKEN instead of GITHUB_TOKEN.
76af7a3 Use pretty urls for spa routes.
8539e2d Use stable channel for snapcraft.
4faa4ad Use ubuntu instead of alpine.
e9c6eb6 Used devel for edge channel.
3b0e17c WIP: Get static html without node.
0ab59c0 WIP: move ejected to project root.
4692f20 WIP: move v8go rendering to data_source.
b5130c2 Warn when overwriting previously ejected files (close #5).
43940b9 Watch newly added files for changes (Fix #55).
68bce55 Working model for field replacements in path.
d7d21b2 Write bundled output files to fs.
a0aaa74 Write client js and css to filesystem.
ef6b8c2 Write to nodes.js before creating build strings (Fix #13).
Docker images
docker pull plentico/plenti:latest
docker pull plentico/plenti:v0.2.39