Skip to content

Commit

Permalink
Merge pull request #317 from Baroshem/chore/1.0.0
Browse files Browse the repository at this point in the history
Chore/1.0.0
  • Loading branch information
Baroshem authored Dec 13, 2023
2 parents b945040 + 0776f28 commit a6b9c02
Show file tree
Hide file tree
Showing 46 changed files with 809 additions and 236 deletions.
2 changes: 1 addition & 1 deletion .stackblitz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"nuxt": "3.7.3"
},
"dependencies": {
"nuxt-security": "^1.0.0-rc.5"
"nuxt-security": "^1.0.0"
}
}
8 changes: 4 additions & 4 deletions .stackblitz/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3113,10 +3113,10 @@ nuxt-csurf@^1.3.1:
defu "^6.1.1"
uncsrf "^1.1.1"

nuxt-security@^1.0.0-rc.5:
version "1.0.0-rc.5"
resolved "https://registry.yarnpkg.com/nuxt-security/-/nuxt-security-1.0.0-rc.5.tgz#cad530e21ae38aa0c1397a2edd3e8c58c94021f5"
integrity sha512-2FgpQZVD4zky9biyRC8WaaK16QxLj2obeCPm1xFJyiCZ9eP2I5XduL+8unwjw+vx72YbaDCelqz7Bnnhjs2mxw==
nuxt-security@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/nuxt-security/-/nuxt-security-1.0.0.tgz#34f98f926343f9f0524efdf8c8563dd359105a56"
integrity sha512-3e5oL3uPZvTBbEyN40YNbXNz1RiaFrBqSuGAI80YHBo5SdWjoLXXvAO5TOKiYUYwnRyf7hDuODOeyoe8+qiR/w==
dependencies:
"@nuxt/kit" "^3.8.0"
basic-auth "^2.0.1"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ Automatically configure your app to follow OWASP security patterns and principle
Install the module:

```sh
npm i -D nuxt-security@rc
yarn add -D nuxt-security@rc
pnpm add -D nuxt-security@rc
npm i -D nuxt-security
yarn add -D nuxt-security
pnpm add -D nuxt-security
```

Add the module in the `modules` array in `nuxt.config.ts`:
Expand Down
17 changes: 17 additions & 0 deletions docs/components/content/Releases.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<template>
<GithubReleases v-slot="{ releases }">
<div v-for="release in releases" :key="release.name">
<ProseH2 :id="release.name">
<Badge :type="release.prerelease ? 'warning' : 'info'">
{{ release.prerelease ? "Pre-release" : "Release" }} </Badge
>{{ release.name }}
</ProseH2>
<details>
<summary>
Published on {{ new Date(release.date).toDateString() }}
</summary>
<ContentRenderer :value="release" />
</details>
</div>
</GithubReleases>
</template>
8 changes: 4 additions & 4 deletions docs/content/1.documentation/1.getting-started/1.setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ Install `nuxt-security` module:
::code-group

```bash [Yarn]
yarn add --dev nuxt-security@rc
yarn add --dev nuxt-security
```

```bash [NPM]
npm install nuxt-security@rc --save-dev
npm install nuxt-security --save-dev
```

```bash [PNPM]
pnpm add -D nuxt-security@rc
pnpm add -D nuxt-security
```

::
Expand All @@ -32,7 +32,7 @@ export default defineNuxtConfig({
})
```

That's it! The Nuxt Security module will now register routeRoules and middleware to make your application more secure ✨
That's it! The Nuxt Security module will now register routeRules and middleware to make your application more secure ✨

## Configuration

Expand Down
Loading

1 comment on commit a6b9c02

@vercel
Copy link

@vercel vercel bot commented on a6b9c02 Dec 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nuxt-security – ./

nuxt-security-git-main-baroshem.vercel.app
nuxt-security.vercel.app
nuxt-security-baroshem.vercel.app

Please sign in to comment.