Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renovate Dependencies #657

Merged
merged 20 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI
permissions:
contents: write
env:
BUILD_TARGET: DEFAULT
NEXT_PUBLIC_SUPABASE_URL: http://localhost:54321
Expand Down Expand Up @@ -39,7 +41,7 @@ on:
- 'public/**/*'
- '.github/workflows/**/*'
- 'package*.json'
- 'jest.config.js'
- 'vitest.config.ts'
- 'tsconfig.json'
- '.eslintrc.json'
- 'next.config.js'
Expand Down Expand Up @@ -76,8 +78,6 @@ jobs:
node-version-file: '.nvmrc'
- run: npm ci
- id: semantic-release
uses: cycjimmy/semantic-release-action@v3
with:
semantic_version: 18
run: npx semantic-release --ci
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.10.0
v20.11.0
17 changes: 10 additions & 7 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ module.exports = {
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"storybook-addon-next-router"
],
"core": {
"builder": "webpack5"

"addons": ["@storybook/addon-links", "@storybook/addon-essentials"],

framework: {
name: "@storybook/nextjs",
options: {}
},

docs: {
autodocs: true
}
}
17 changes: 10 additions & 7 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
import * as NextImage from "next/image";
import { RouterContext } from "next/dist/shared/lib/router-context";

import * as NextImage from 'next/image';
// import { RouterContext } from 'next/dist/shared/lib/router-context';
import { RouterContext } from 'next/dist/shared/lib/router-context.shared-runtime';
const OriginalNextImage = NextImage.default;

Object.defineProperty(NextImage, "default", {
Object.defineProperty(NextImage, 'default', {
configurable: true,
value: (props) => <OriginalNextImage {...props} unoptimized />,
value: props => <OriginalNextImage {...props} unoptimized />,
});

export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
actions: { argTypesRegex: '^on[A-Z].*' },
nextRouter: {
Provider: RouterContext.Provider,
},
nextjs: {
appDirectory: false,
},
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
}
};
12 changes: 0 additions & 12 deletions jest.config.js

This file was deleted.

Loading
Loading