From 676a8bc393fb80aa686d14d3c5ce7e99a6144648 Mon Sep 17 00:00:00 2001 From: tokerson Date: Tue, 7 May 2024 20:32:54 +0200 Subject: [PATCH 1/2] docs: enhance README with instructions on setting up the .env.local file --- .changeset/twelve-emus-hear.md | 5 +++++ .gitignore | 2 +- README.md | 6 ++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .changeset/twelve-emus-hear.md diff --git a/.changeset/twelve-emus-hear.md b/.changeset/twelve-emus-hear.md new file mode 100644 index 00000000..ee1c029a --- /dev/null +++ b/.changeset/twelve-emus-hear.md @@ -0,0 +1,5 @@ +--- +"react-starter-boilerplate": patch +--- + +Enhance README with instructions on setting up the .env.local file diff --git a/.gitignore b/.gitignore index 7f607ad6..6b4554f8 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,7 @@ # misc .DS_Store .env.babelsheet -.env +.env.local # editor files .idea/ diff --git a/README.md b/README.md index 7186a69c..021e8801 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,12 @@ git commit -m 'Initial commit' git push origin master ``` +6. Copy the `.env.dist` file to `.env.local` and populate the environment variables with the values used in the local environment + +```shell +cp .env.dist .env.local +``` + Now, your project is bootstrapped successfully! 🎉 You can install dependencies and start developing your React application 🚀 From 825b850efe138c74c364ada906e3e8b11798a5a0 Mon Sep 17 00:00:00 2001 From: tokerson Date: Tue, 7 May 2024 20:34:37 +0200 Subject: [PATCH 2/2] fix: update package-lock --- package-lock.json | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8bde2ff0..03e78800 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13284,13 +13284,10 @@ } }, "node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "version": "7.6.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.1.tgz", + "integrity": "sha512-f/vbBsu+fOiYt+lmwZV0rVwJScl46HppnOA1ZvIuBWKOTlllpyJ3bfVax76/OrhCH38dyxoDIA8K7uB963IYgA==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" },