From 6fac7720e09646d8c916c3ce9d68b13ca0f3f95b Mon Sep 17 00:00:00 2001 From: David Meir-Levy Date: Wed, 20 Apr 2022 12:48:00 +0300 Subject: [PATCH 1/2] Initializing Swimm --- .swm/swimm.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .swm/swimm.json diff --git a/.swm/swimm.json b/.swm/swimm.json new file mode 100644 index 0000000..bf9928d --- /dev/null +++ b/.swm/swimm.json @@ -0,0 +1,6 @@ +{ + "repo_id": "Z2l0aHViJTNBJTNBa2x1bSUzQSUzQWQtc3R1ZmY=", + "configuration": { + "swmd": true + } +} From 5cdbb8a54ea28a5bcbaa99bc29ecb77a503ff5bd Mon Sep 17 00:00:00 2001 From: David Meir-Levy Date: Wed, 20 Apr 2022 12:48:03 +0300 Subject: [PATCH 2/2] =?UTF-8?q?docs(swimm):=20create=20document=20?= =?UTF-8?q?=E2=9A=99=EF=B8=8F=20How=20to=20Add=20a=20New=20User=20Configur?= =?UTF-8?q?ation=20Value?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...a-new-user-configuration-value.mnbf3.sw.md | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .swm/how-to-add-a-new-user-configuration-value.mnbf3.sw.md diff --git a/.swm/how-to-add-a-new-user-configuration-value.mnbf3.sw.md b/.swm/how-to-add-a-new-user-configuration-value.mnbf3.sw.md new file mode 100644 index 0000000..c203291 --- /dev/null +++ b/.swm/how-to-add-a-new-user-configuration-value.mnbf3.sw.md @@ -0,0 +1,60 @@ +--- +id: mnbf3 +name: ⚙️ How to Add a New User Configuration Value +file_version: 1.0.2 +app_version: 0.8.2-0 +file_blobs: + package.json: 3f8f60fe132239f750302fb2222f56fe42321aba +--- + +## Why is This Important? + +david is the king + +## What is "{add an example configuration value}"? + +{Describe an example configuration value, and some details on what it does} + +In this document we will see how to make this value configurable (instead of constant in the code). + +## Definition Example + +We define our configuration values in {add a file or directory, use the "/path" command} + +
+ + +### 📄 package.json +```json +⬜ 4 "description": "", +⬜ 5 "main": "index.js", +⬜ 6 "scripts": { +🟩 7 "test": "echo \"Error: no test specified\" && exit 1" +⬜ 8 }, +⬜ 9 "author": "", +⬜ 10 "license": "ISC" +``` + +
+ +## Usage Example + +{Add an example of where the configurable value is used in the code} + +
+ + + +
+ +## Updating an Existing Configuration Value + +{Add any required migrations, or other actions, when updating an existing configuration value} + +
+ + + +
+ +This file was generated by Swimm. [Click here to view it in the app](https://swimm-web-app.web.app/repos/Z2l0aHViJTNBJTNBa2x1bSUzQSUzQWQtc3R1ZmY=/docs/mnbf3). \ No newline at end of file