Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-node/releases">actions/setup-node's releases</a>.</em></p> <blockquote> <h2>Add support for asdf format and update actions/cache version to 3.0.0</h2> <p>In scope of this release we updated <code>actions/cache</code> package as the new version contains fixes for <a href="https://redirect.github.com/actions/setup-node/pull/526">caching error handling</a>. Moreover, we added support for asdf format as Node.js version file <a href="https://redirect.github.com/actions/setup-node/pull/373">actions/setup-node#373</a>. Besides, we introduced new output <a href="https://redirect.github.com/actions/setup-node/pull/534">node-version</a> and added <code>npm-shrinkwrap.json</code> to dependency file patterns: <a href="https://redirect.github.com/actions/setup-node/pull/439">actions/setup-node#439</a></p> <h2>Update actions/cache version to 2.0.2</h2> <p>In scope of this release we updated <code>actions/cache</code> package as the new version contains fixes related to GHES 3.5 (<a href="https://redirect.github.com/actions/setup-node/pull/460">actions/setup-node#460</a>)</p> <h2>v3.0.0</h2> <p>In scope of this release we changed version of the runtime Node.js for the setup-node action and updated package-lock.json file to v2.</p> <h3>Breaking Changes</h3> <ul> <li>With the update to Node 16 in <a href="https://redirect.github.com/actions/setup-node/pull/414">actions/setup-node#414</a>, all scripts will now be run with Node 16 rather than Node 12.</li> <li>We removed deprecated <code>version</code> input (<a href="https://redirect.github.com/actions/setup-node/pull/424">actions/setup-node#424</a>). Please use <code>node-version</code> input instead.</li> </ul> <h2>Update <code>@actions/core</code> for v2</h2> <p>In scope of this release we updated actions/core to 1.10.0 and actions/tool-cache to 1.7.2 for v2: <a href="https://redirect.github.com/actions/setup-node/pull/713">actions/setup-node#713</a></p> <h2>Fix logic of error handling for npm warning and uncaught exception</h2> <p>In scope of this release we fix logic of error handling related to caching (<a href="https://redirect.github.com/actions/setup-node/pull/358">actions/setup-node#358</a>) and (<a href="https://redirect.github.com/actions/setup-node/pull/359">actions/setup-node#359</a>).</p> <p>In the previous behaviour we relied on <code>stderr</code> output to throw error. The warning messages from package managers can be written to the stderr's output. For now the action will throw an error only if exit code differs from zero. Besides, we add logic to сatch and log unhandled exceptions.</p> <h2>Adding Node.js version file support</h2> <p>In scope of this release we add the <code>node-version-file</code> input and update <code>actions/cache</code> dependency to the latest version.</p> <h2>Adding Node.js version file support</h2> <p>The new input (<code>node-version-file</code>) provides functionality to specify the path to the file containing Node.js's version with such behaviour:</p> <ul> <li>If the file does not exist the action will throw an error.</li> <li>If you specify both <code>node-version</code> and <code>node-version-file</code> inputs, the action will use value from the <code>node-version</code> input and throw the following warning: <code>Both node-version and node-version-file inputs are specified, only node-version will be used</code>.</li> <li>For now the action does not support all of the variety of values for Node.js version files. The action can handle values according to the <a href="https://github.com/actions/setup-node#supported-version-syntax">documentation</a> and values with <code>v</code> prefix (<code>v14</code>)</li> </ul> <pre lang="yaml"><code>steps: - uses: actions/checkout@v2 - name: Setup node from node version file uses: actions/setup-node@v2 with: node-version-file: '.nvmrc' - run: npm install - run: npm test </code></pre> <h2>Update actions/cache dependency to 1.0.8 version.</h2> <p>We updated actions/cache dependency to the latest version (1.0.8). For more information please refer to the <a href="https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md">toolkit/cache</a>.</p> <h2>Add "cache-hit" output</h2> <p>This release introduces a new output: <code>cache-hit</code> (<a href="https://redirect.github.com/actions/setup-node/issues/327">#327</a>).</p> <p>The <code>cache-hit</code> output contains boolean value indicating that an exact match was found for the key. It shows that the action uses already existing cache or not. The output is available only if cache is enabled.</p> <h2>Support caching for mono repos and repositories with complex structure</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/setup-node/commit/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c"><code>64ed1c7</code></a> Add support for v8-canary, nightly and rc (<a href="https://redirect.github.com/actions/setup-node/issues/655">#655</a>)</li> <li><a href="https://github.com/actions/setup-node/commit/92a57f4a935efe978b0a4d8e5b19fb42658c7ef7"><code>92a57f4</code></a> Merge pull request <a href="https://redirect.github.com/actions/setup-node/issues/650">#650</a> from actions/update-code-owners</li> <li><a href="https://github.com/actions/setup-node/commit/99e61d697ac985dd26c630fb5e8f9476131abbdb"><code>99e61d6</code></a> Update CODEOWNERS</li> <li><a href="https://github.com/actions/setup-node/commit/3e8819f8f297df8b29fc3e383683a29be2bf129a"><code>3e8819f</code></a> Merge pull request <a href="https://redirect.github.com/actions/setup-node/issues/649">#649</a> from actions/update-codeowners</li> <li><a href="https://github.com/actions/setup-node/commit/8cd2fb28b8f13cfe537ae737100b155acc87e562"><code>8cd2fb2</code></a> Update CODEOWNERS</li> <li><a href="https://github.com/actions/setup-node/commit/c406543918243bdbe7b25799f6a378e753fed484"><code>c406543</code></a> Merge pull request <a href="https://redirect.github.com/actions/setup-node/issues/647">#647</a> from akv-platform/apply-reusable-workflows</li> <li><a href="https://github.com/actions/setup-node/commit/92a07fe46640c3ab57d394b7b01308a008a3231d"><code>92a07fe</code></a> Fix review points</li> <li><a href="https://github.com/actions/setup-node/commit/217387cf3e2597f3eed81c19f662eeddbdd397de"><code>217387c</code></a> Update action to use reusable-workflows repo</li> <li><a href="https://github.com/actions/setup-node/commit/2db36638708d0ad3215bcdff9f8a61d64021ae68"><code>2db3663</code></a> Merge branch 'main' of <a href="https://github.com/akv-platform/setup-node">https://github.com/akv-platform/setup-node</a> into apply-...</li> <li><a href="https://github.com/actions/setup-node/commit/bbe2ac79a1347190c27c8a7ca53301a26c066415"><code>bbe2ac7</code></a> Fix typo in README (<a href="https://redirect.github.com/actions/setup-node/issues/646">#646</a>)</li> <li>Additional commits viewable in <a href="https://github.com/actions/setup-node/compare/v1...v3">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Documentation | Getting started
fresh
Fresh is a next generation web framework, built for speed, reliability, and simplicity.
Some stand-out features:
- Just-in-time rendering on the edge.
- Island based client hydration for maximum interactivity.
- Zero runtime overhead: no JS is shipped to the client by default.
- No build step.
- No configuration necessary.
- TypeScript support out of the box.
- File-system routing à la Next.js.
📖 Documentation
The documentation is available on fresh.deno.dev.
🚀 Getting started
Install Deno CLI version 1.25.0 or higher.
You can scaffold a new project by running the Fresh init script. To scaffold a
project in the deno-fresh-demo folder, run the following:
deno run -A -r https://fresh.deno.dev deno-fresh-demo
Then navigate to the newly created project folder:
cd deno-fresh-demo
From within your project folder, start the development server using the
deno task command:
deno task start
Now open http://localhost:8000 in your browser to view the page. You make changes to the project source code and see them reflected in your browser.
To deploy the project to the live internet, you can use Deno Deploy:
- Push your project to GitHub.
- Create a Deno Deploy project.
- Link the Deno Deploy
project to the
main.tsfile in the root of the created repository. - The project will be deployed to a public $project.deno.dev subdomain.
For a more in-depth getting started guide, visit the Getting Started page in the Fresh docs.
Adding your project to the showcase
If you feel that your project would be helpful to other fresh users, please consider putting your project on the showcase. However, websites that are just for promotional purposes may not be listed.
To take a screenshot, run the following command.
deno task screenshot [url] [your-app-name]
Then add your site to showcase.json, preferably with source code on GitHub, but not required.
Badges
[](https://fresh.deno.dev)
<a href="https://fresh.deno.dev">
<img width="197" height="37" src="https://fresh.deno.dev/fresh-badge.svg" alt="Made with Fresh" />
</a>
[](https://fresh.deno.dev)
<a href="https://fresh.deno.dev">
<img width="197" height="37" src="https://fresh.deno.dev/fresh-badge-dark.svg" alt="Made with Fresh" />
</a>