Skip to content

Commit

Permalink
Merge pull request #9 from fullstacksjs/next
Browse files Browse the repository at this point in the history
  • Loading branch information
ASafaeirad authored Apr 13, 2024
2 parents 3a58e69 + 6a6a40d commit 8781a8a
Show file tree
Hide file tree
Showing 48 changed files with 13,305 additions and 22,902 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ const { init } = require('@fullstacksjs/eslint-config/init');
module.exports = init({
root: true,
modules: {
auto: true,
test: true,
prettier: true,
typescript: {
parserProject: './tsconfig.eslint.json',
},
},
rules: {
'@typescript-eslint/restrict-template-expressions': 'off',
'no-console': 'error',
'import/no-unresolved': 'off',
},
});
6 changes: 3 additions & 3 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
working-directory: docs/
run: npm ci

- name: Build Stories
- name: Build Docs
working-directory: docs/
run: npm run export

- name: Deploy
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages
FOLDER: docs/out/
branch: gh-pages
folder: docs/out/
1 change: 0 additions & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install -- cspell "$1"
npx --no-install -- commitlint --edit "$1"
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
1 change: 0 additions & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"

npm run verify
2 changes: 1 addition & 1 deletion .husky/prepare
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh

[ -d .git/ ] && npx --no-install -- husky install
[ -d .git/ ] && npx --no-install -- husky
exit 0
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
![MIT License][license-badge]
![semantic-release][semantic-badge]

Configuration management
## Config <!-- omit in toc -->

a type-safe, simple yet powerful library for defining and accessing configuration.

</div>

Expand All @@ -42,7 +44,7 @@ $ npm install --save-dev @fullstacksjs/config
### Deno

```typescript
import * as config from 'https://raw.githubusercontent.com/fullstacksjs/config/main/mod.ts'
import { Config } from 'https://raw.githubusercontent.com/fullstacksjs/config/main/mod.ts'
```

### Browser
Expand Down
1 change: 1 addition & 0 deletions docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const withNextra = require('nextra')({

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
eslint: {
ignoreDuringBuilds: true,
},
Expand Down
Loading

0 comments on commit 8781a8a

Please sign in to comment.