Skip to content

Commit

Permalink
Integrated yalc to the project to use with examples
Browse files Browse the repository at this point in the history
whoopsie

squatch
  • Loading branch information
matux committed Mar 2, 2024
1 parent a0b8f54 commit 37dd862
Show file tree
Hide file tree
Showing 28 changed files with 1,433 additions and 371 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.github
.next
.yalc
build
bundles
coverage
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
${{ runner.os }}-
- name: Install
run: node scripts/install-all.js ci
run: npm run install:all -- ci

- name: Lint
uses: wearerequired/lint-action@v2
Expand Down Expand Up @@ -77,4 +77,4 @@ jobs:
node-version: 20

- name: Install
run: node scripts/install-all.js
run: npm run install:all
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ yarn-error.log*
# Dependency directories
node_modules/
jspm_packages/
.yalc/
yalc.lock

# Optional npm cache directory
.npm
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.github
.next
.yalc
build
bundles
coverage
Expand Down
5 changes: 5 additions & 0 deletions examples/nextjs/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"root": true,
"extends": ["next/core-web-vitals"],
"ignorePatterns": ["node_modules", ".next"]
}
4 changes: 4 additions & 0 deletions examples/nextjs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
# production
/build

# development
/.yalc
yalc.lock

# misc
.DS_Store
*.pem
Expand Down
6 changes: 0 additions & 6 deletions examples/nextjs/eslint.config.js

This file was deleted.

4 changes: 3 additions & 1 deletion examples/nextjs/next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/** @type {import('next').NextConfig} */
/**
* @type {import('next').NextConfig}
*/
const nextConfig = {
reactStrictMode: true,
};
Expand Down
Loading

0 comments on commit 37dd862

Please sign in to comment.