mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-26 01:44:53 +10:00
- fixing conflicting order warning and firebase warning
- added more web manifest rules
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
.cache
|
||||||
|
package.json
|
||||||
|
package-lock.json
|
||||||
|
public
|
||||||
Vendored
-5
@@ -2,11 +2,6 @@
|
|||||||
"files.associations": {
|
"files.associations": {
|
||||||
"*.js": "javascriptreact"
|
"*.js": "javascriptreact"
|
||||||
},
|
},
|
||||||
"[javascriptreact]": {
|
|
||||||
"editor.codeActionsOnSave": {
|
|
||||||
"source.organizeImports": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
"source.fixAll": true
|
"source.fixAll": true
|
||||||
}
|
}
|
||||||
|
|||||||
+18
-8
@@ -30,24 +30,34 @@ module.exports = {
|
|||||||
resolve: 'gatsby-plugin-create-client-paths',
|
resolve: 'gatsby-plugin-create-client-paths',
|
||||||
options: { prefixes: ['/app/*'] },
|
options: { prefixes: ['/app/*'] },
|
||||||
},
|
},
|
||||||
{
|
|
||||||
resolve: 'gatsby-plugin-offline',
|
|
||||||
options: {
|
|
||||||
precachePages: ['/', '/app/*'],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'gatsby-plugin-lodash',
|
|
||||||
{
|
{
|
||||||
resolve: 'gatsby-plugin-manifest',
|
resolve: 'gatsby-plugin-manifest',
|
||||||
options: {
|
options: {
|
||||||
name: 'Reactive Resume',
|
name: 'Reactive Resume',
|
||||||
short_name: 'RxResume',
|
short_name: 'RxResume',
|
||||||
start_url: '/',
|
description: 'A free and open-source resume builder.',
|
||||||
|
start_url: '/?source=pwa',
|
||||||
|
icon: `assets/images/logo.png`,
|
||||||
background_color: '#FFFFFF',
|
background_color: '#FFFFFF',
|
||||||
theme_color: '#444444',
|
theme_color: '#444444',
|
||||||
display: 'standalone',
|
display: 'standalone',
|
||||||
|
shortcuts: [
|
||||||
|
{
|
||||||
|
name: 'Dashboard',
|
||||||
|
short_name: 'Dashboard',
|
||||||
|
description: 'View/manage all your resumes at a glance',
|
||||||
|
url: '/app/dashboard?source=pwa',
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
resolve: 'gatsby-plugin-offline',
|
||||||
|
options: {
|
||||||
|
precachePages: ['', '/app/*'],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'gatsby-plugin-lodash',
|
||||||
'gatsby-plugin-postcss',
|
'gatsby-plugin-postcss',
|
||||||
{
|
{
|
||||||
resolve: 'gatsby-source-filesystem',
|
resolve: 'gatsby-source-filesystem',
|
||||||
|
|||||||
+13
-9
@@ -1,14 +1,18 @@
|
|||||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
exports.onCreateWebpackConfig = ({ stage, actions, getConfig }) => {
|
||||||
|
|
||||||
exports.onCreateWebpackConfig = ({ actions, stage, getConfig }) => {
|
|
||||||
if (stage === 'build-javascript') {
|
if (stage === 'build-javascript') {
|
||||||
const config = getConfig();
|
const config = getConfig();
|
||||||
const index = config.plugins.findIndex((plugin) => {
|
const miniCssExtractPlugin = config.plugins.find(
|
||||||
return plugin.constructor.name === 'MiniCssExtractPlugin';
|
(plugin) => plugin.constructor.name === 'MiniCssExtractPlugin',
|
||||||
});
|
);
|
||||||
config.plugins[index] = new MiniCssExtractPlugin({
|
if (miniCssExtractPlugin) {
|
||||||
ignoreOrder: true,
|
miniCssExtractPlugin.options.ignoreOrder = true;
|
||||||
});
|
}
|
||||||
actions.replaceWebpackConfig(config);
|
actions.replaceWebpackConfig(config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (stage === 'build-html') {
|
||||||
|
actions.setWebpackConfig({
|
||||||
|
externals: [/^firebase/],
|
||||||
|
});
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Generated
+580
-1259
File diff suppressed because it is too large
Load Diff
+11
-13
@@ -23,20 +23,20 @@
|
|||||||
"dotenv": "^8.2.0",
|
"dotenv": "^8.2.0",
|
||||||
"firebase": "^7.15.5",
|
"firebase": "^7.15.5",
|
||||||
"formik": "^2.1.4",
|
"formik": "^2.1.4",
|
||||||
"gatsby": "^2.23.22",
|
"gatsby": "^2.24.0",
|
||||||
"gatsby-image": "^2.4.12",
|
"gatsby-image": "^2.4.13",
|
||||||
"gatsby-plugin-create-client-paths": "^2.3.9",
|
"gatsby-plugin-create-client-paths": "^2.3.10",
|
||||||
"gatsby-plugin-firebase": "^0.2.0-beta.4",
|
"gatsby-plugin-firebase": "^0.2.0-beta.4",
|
||||||
"gatsby-plugin-lodash": "^3.3.9",
|
"gatsby-plugin-lodash": "^3.3.10",
|
||||||
"gatsby-plugin-manifest": "^2.4.17",
|
"gatsby-plugin-manifest": "^2.4.18",
|
||||||
"gatsby-plugin-offline": "^3.2.16",
|
"gatsby-plugin-offline": "^3.2.17",
|
||||||
"gatsby-plugin-postcss": "^2.3.9",
|
"gatsby-plugin-postcss": "^2.3.11",
|
||||||
"gatsby-plugin-prefetch-google-fonts": "^1.4.3",
|
"gatsby-plugin-prefetch-google-fonts": "^1.4.3",
|
||||||
"gatsby-plugin-react-helmet": "^3.3.9",
|
"gatsby-plugin-react-helmet": "^3.3.10",
|
||||||
"gatsby-plugin-sharp": "^2.6.18",
|
"gatsby-plugin-sharp": "^2.6.19",
|
||||||
"gatsby-source-filesystem": "^2.3.18",
|
"gatsby-source-filesystem": "^2.3.19",
|
||||||
"gatsby-source-gravatar": "^1.0.0",
|
"gatsby-source-gravatar": "^1.0.0",
|
||||||
"gatsby-transformer-sharp": "^2.5.10",
|
"gatsby-transformer-sharp": "^2.5.11",
|
||||||
"lodash": "^4.17.19",
|
"lodash": "^4.17.19",
|
||||||
"moment": "^2.27.0",
|
"moment": "^2.27.0",
|
||||||
"nanoevents": "^5.1.8",
|
"nanoevents": "^5.1.8",
|
||||||
@@ -56,12 +56,10 @@
|
|||||||
"eslint-config-airbnb": "^18.2.0",
|
"eslint-config-airbnb": "^18.2.0",
|
||||||
"eslint-config-prettier": "^6.11.0",
|
"eslint-config-prettier": "^6.11.0",
|
||||||
"eslint-loader": "^4.0.2",
|
"eslint-loader": "^4.0.2",
|
||||||
"eslint-plugin-import": "^2.22.0",
|
|
||||||
"eslint-plugin-jsx-a11y": "^6.3.1",
|
"eslint-plugin-jsx-a11y": "^6.3.1",
|
||||||
"eslint-plugin-prettier": "^3.1.4",
|
"eslint-plugin-prettier": "^3.1.4",
|
||||||
"eslint-plugin-react": "^7.20.3",
|
"eslint-plugin-react": "^7.20.3",
|
||||||
"gatsby-plugin-eslint": "^2.0.8",
|
"gatsby-plugin-eslint": "^2.0.8",
|
||||||
"mini-css-extract-plugin": "^0.9.0",
|
|
||||||
"prettier": "2.0.5",
|
"prettier": "2.0.5",
|
||||||
"tailwindcss": "^1.4.6"
|
"tailwindcss": "^1.4.6"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user