Skip to content

Commit

Permalink
Merge pull request #90 from artiphishle/89-chord-piano-progression
Browse files Browse the repository at this point in the history
89 chord piano progression
  • Loading branch information
artiphishle authored Nov 2, 2023
2 parents a792e85 + 57a207d commit 823eda8
Show file tree
Hide file tree
Showing 138 changed files with 2,979 additions and 2,433 deletions.
4 changes: 4 additions & 0 deletions .env.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

#*** @Stripe *#
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_51LBfSOLjx992qWAYRekYCPRpgZ3xa6POoteqC7Tp9555GXDGEcm67xHgOQt20N9vTrXaerlfKQdTcxZreijcvwI300GL0SnTOR
STRIPE_SECRET=sk_test_51LBfSOLjx992qWAYx8s062kh2dqbNsjbH6Po0xL93bZjeOKZyFCtxNzQ0gyFNCSOWYLSi45miRAZS6olA3epsayv00C9LKNqPB
File renamed without changes.
4 changes: 1 addition & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"overrides": [
{
"files": ["**/*.test.ts", "**/*.test.tsx"],
"env": {
"jest": true
}
"env": {}
}
],
"rules": {
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_modules/

# Next.js
.*.env
.*.env.local
.next/
.swc/
.vercel
Expand Down
6 changes: 3 additions & 3 deletions cypress/unit/app/ui/button/Button.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Button } from 'packages/pfui';
import { EButtonType } from 'packages/pfui/button/Button';
import { EVariant } from 'packages/pfui/constants';
import { EVariant, EButtonType, ESize } from 'packages/pfui/constants';

describe('Button', () => {
const VariantButton = ({ variant }: { variant: EVariant }) => (
<Button
data-cy="button"
size={ESize.Lg}
type={EButtonType.Button}
value="Button"
variant={variant}
Expand All @@ -18,7 +18,7 @@ describe('Button', () => {
{(Object.keys(EVariant) as Array<EVariant>).map((variant) => (
<VariantButton key={`btn-variant-${variant}`} variant={variant} />
))}
</>
</>,
);
cy.get('button');
});
Expand Down
29 changes: 14 additions & 15 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,46 +1,45 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: { serverActions: true },
async headers() {
return [
{
source: "/(.*)", // Apply these headers to all routes
source: '/(.*)', // Apply these headers to all routes
headers: [
/* {
key: "Content-Security-Policy",
value: "default-src 'self'; script-src 'self'; style-src 'self'",
}, */
{
key: "X-Content-Type-Options",
value: "nosniff",
key: 'X-Content-Type-Options',
value: 'nosniff',
},
{
key: "X-Frame-Options",
value: "DENY",
key: 'X-Frame-Options',
value: 'DENY',
},
{
key: "X-XSS-Protection",
value: "1; mode=block",
key: 'X-XSS-Protection',
value: '1; mode=block',
},
{
key: "Strict-Transport-Security",
value: "max-age=31536000; includeSubDomains; preload",
key: 'Strict-Transport-Security',
value: 'max-age=31536000; includeSubDomains; preload',
},
{
key: "Referrer-Policy",
value: "no-referrer",
key: 'Referrer-Policy',
value: 'no-referrer',
},
{
key: "Feature-Policy",
key: 'Feature-Policy',
value: "geolocation 'none'; camera 'none'; microphone 'none'",
},
/* {
key: "Access-Control-Allow-Origin",
value: "https://trusted-domain.com",
}, */
{
key: "X-Content-Type-Options",
value: "nosniff",
key: 'X-Content-Type-Options',
value: 'nosniff',
},
/* {
key: "Expect-CT",
Expand Down
Loading

0 comments on commit 823eda8

Please sign in to comment.