Skip to content

Commit

Permalink
chore: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexogamer committed Aug 16, 2024
1 parent 0a3807b commit 388fe32
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and deploy RVMob for web

on:
push:
branches: ["main"]
branches: ['main']

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -16,7 +16,7 @@ permissions:
# Allow only one concurrent run, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
group: 'pages'
cancel-in-progress: false

jobs:
Expand All @@ -34,7 +34,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Build the site
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## v0.7.0

*This version has not been released yet.*
_This version has not been released yet._

### What's new

Expand All @@ -17,7 +17,7 @@

## v0.6.0

*This version was released on 14/07/2023.*
_This version was released on 14/07/2023._

### Important info for users of 0.5.0 or earlier

Expand Down
8 changes: 4 additions & 4 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');

const dir = path.resolve(__dirname);
const appDirectory = `${dir}/../`
const appDirectory = `${dir}/../`;
const {webPlugins} = require(`${dir}/babel-shared`);
const {presets} = require(`${dir}/../babel.config.js`);

Expand Down Expand Up @@ -72,7 +72,7 @@ const fontLoaderConfiguration = {
include: [
path.resolve(__dirname, '../assets/fonts'),
path.resolve(__dirname, '../node_modules/react-native-vector-icons'),
]
],
};

module.exports = {
Expand Down Expand Up @@ -108,7 +108,7 @@ module.exports = {
// See: https://github.com/necolas/react-native-web/issues/349
__DEV__: JSON.stringify(true),
}),
new webpack.EnvironmentPlugin({ JEST_WORKER_ID: null }),
new webpack.DefinePlugin({ process: { env: {} } }),
new webpack.EnvironmentPlugin({JEST_WORKER_ID: null}),
new webpack.DefinePlugin({process: {env: {}}}),
],
};
28 changes: 14 additions & 14 deletions metro.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');

const { makeMetroConfig } = require("@rnx-kit/metro-config");
const {makeMetroConfig} = require('@rnx-kit/metro-config');
const {
CyclicDependencies,
} = require("@rnx-kit/metro-plugin-cyclic-dependencies-detector");
} = require('@rnx-kit/metro-plugin-cyclic-dependencies-detector');
const {
DuplicateDependencies,
} = require("@rnx-kit/metro-plugin-duplicates-checker");
const { MetroSerializer } = require("@rnx-kit/metro-serializer");
DuplicateDependencies,
} = require('@rnx-kit/metro-plugin-duplicates-checker');
const {MetroSerializer} = require('@rnx-kit/metro-serializer');

const defaultConfig = getDefaultConfig(__dirname);
const {assetExts, sourceExts} = defaultConfig.resolver;
Expand All @@ -34,15 +34,15 @@ const config = {
sourceExts: [...sourceExts, 'svg'],
},
serializer: {
customSerializer: MetroSerializer([
CyclicDependencies({
includeNodeModules: false,
linesOfContext: 3,
throwOnError: true,
}),
DuplicateDependencies,
]),
},
customSerializer: MetroSerializer([
CyclicDependencies({
includeNodeModules: false,
linesOfContext: 3,
throwOnError: true,
}),
DuplicateDependencies,
]),
},
};

module.exports = makeMetroConfig(mergeConfig(defaultConfig, config));

0 comments on commit 388fe32

Please sign in to comment.