Skip to content

Commit

Permalink
Merge pull request #791 from alphagov/release-0.0.32-alpha
Browse files Browse the repository at this point in the history
Release v0.0.32
  • Loading branch information
hannalaakso authored Jun 14, 2018
2 parents 1ba39db + 07852f7 commit 76d51b2
Show file tree
Hide file tree
Showing 169 changed files with 4,312 additions and 3,107 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

Note: We're not following semantic versioning yet, we are going to talk about this soon.

## Unreleased
## 0.0.32 (Breaking release)

**This release changes the name of package.** It's now published as `govuk-frontend` on `npm`.

💥 Breaking changes:

Expand Down
4 changes: 2 additions & 2 deletions app/views/layouts/readme.njk
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
your app to show these assets. Below is a sample configuration using Express js:</p>

<pre><code>
app.use('/assets', express.static(path.join(__dirname, '/node_modules/@govuk-frontend/frontend/assets')))
app.use('/assets', express.static(path.join(__dirname, '/node_modules/govuk-frontend/assets')))
</code></pre>

<h2>Component arguments</h2>
Expand All @@ -55,7 +55,7 @@ app.use('/assets', express.static(path.join(__dirname, '/node_modules/@govuk-fro
<p>Below is an example setup using express configure views:</p>

<pre><code>
nunjucks.configure('node_modules/@govuk-frontend/frontend/components', {
nunjucks.configure('node_modules/govuk-frontend/components', {
autoescape: true,
cache: false,
express: app
Expand Down
2 changes: 1 addition & 1 deletion dist/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.31-alpha
0.0.32-alpha
4 changes: 2 additions & 2 deletions dist/assets/images/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ the npm package install path to `/assets`
Example:

```
app.use('/assets', express.static(path.join(__dirname, '/node_modules/@govuk-frontend/frontend/assets')))
app.use('/assets', express.static(path.join(__dirname, '/node_modules/govuk-frontend/assets')))
```

For static use, the path is set to `/assets/images`. You need to copy assets
from `/node_modules/@govuk-frontend/frontend/assets` to the root of your folder.
from `/node_modules/govuk-frontend/assets` to the root of your folder.

See `dist` folder for an example.
3 changes: 0 additions & 3 deletions dist/govuk-frontend-0.0.31-alpha.min.css

This file was deleted.

1 change: 0 additions & 1 deletion dist/govuk-frontend-0.0.31-alpha.min.js

This file was deleted.

3 changes: 3 additions & 0 deletions dist/govuk-frontend-0.0.32-alpha.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 76d51b2

Please sign in to comment.