rf-touchstone 0.0.0 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/development.md DELETED
@@ -1,181 +0,0 @@
1
- # Development for RF Touchstone
2
-
3
- ## Setup Node.js environment
4
-
5
- ### Download and install [Node.js](https://nodejs.org/en/download/package-manager) from the official website
6
-
7
- ### Check the current version of Node.js
8
-
9
- ```sh
10
- node -v
11
- ```
12
-
13
- ### Install yarn
14
-
15
- ```sh
16
- npm install --global yarn
17
- ```
18
-
19
- ### Install packages
20
-
21
- ```sh
22
- yarn install
23
- ```
24
-
25
- ### Check for outdated packages
26
-
27
- ```sh
28
- yarn outdated
29
- ```
30
-
31
- ### Upgrades packages
32
-
33
- ```sh
34
- yarn upgrade --latest
35
- ```
36
-
37
- ## Setup Python environment
38
-
39
- ### Create and Use Virtual Environments
40
-
41
- #### Create a new virtual environment
42
-
43
- ```sh
44
- python -m venv .venv
45
- ```
46
-
47
- #### Activate the virtual environment
48
-
49
- On Windows:
50
-
51
- ```sh
52
- .venv\Scripts\activate
53
- ```
54
-
55
- On MacOS/Linux
56
-
57
- ```sh
58
- source .venv/bin/activate
59
- ```
60
-
61
- #### To confirm the virtual environment is activated, check the location of your Python interpreter:
62
-
63
- ```sh
64
- where python
65
- ```
66
-
67
- #### Check python version
68
-
69
- ```sh
70
- python --version
71
- ```
72
-
73
- #### Deactivate a virtual environment
74
-
75
- On Windows:
76
-
77
- ```sh
78
- .venv\Scripts\deactivate
79
- ```
80
-
81
- ### Install packages using pip
82
-
83
- #### Update pip
84
-
85
- ```sh
86
- python -m pip install --upgrade pip
87
- ```
88
-
89
- #### Install packages using a requirements file
90
-
91
- ```sh
92
- python -m pip install -r requirements.txt
93
- ```
94
-
95
- #### Check packages available for update
96
-
97
- ```sh
98
- pip list --outdated
99
- ```
100
-
101
- ## Development
102
-
103
- ### Lint with [ESLint](https://eslint.org/)
104
-
105
- ```sh
106
- yarn lint
107
- ```
108
-
109
- ### Format with [Prettier](https://prettier.io/)
110
-
111
- ```sh
112
- yarn format
113
- ```
114
-
115
- ### Unit test with [Vitest](https://vitest.dev/)
116
-
117
- #### Interactive development
118
-
119
- ```sh
120
- yarn vitest
121
- ```
122
-
123
- #### Command line
124
-
125
- ```sh
126
- yarn test:unit
127
- ```
128
-
129
- #### Check test coverage
130
-
131
- ```sh
132
- yarn test:coverage
133
- ```
134
-
135
- ### All tests
136
-
137
- Convenient command includes: lint, format, unit:test, test:coverage, build, and generate API docs
138
-
139
- ```sh
140
- yarn test
141
- ```
142
-
143
- ### Compile, build and minify for production
144
-
145
- ```sh
146
- yarn build
147
- ```
148
-
149
- ### Documentation (using [VitePress](https://vitepress.dev/) and [TypeDoc](https://typedoc.org/))
150
-
151
- #### Generate API documentation from TSDoc comments
152
-
153
- This command uses TypeDoc to parse TSDoc comments in the TypeScript source files and generates markdown files in the `docs/api` directory.
154
-
155
- ```sh
156
- yarn docs:md
157
- ```
158
-
159
- #### Start local development server for documentation
160
-
161
- This command starts the VitePress development server. You can view your documentation site locally, usually at `http://localhost:5173`.
162
-
163
- ```sh
164
- yarn docs:dev
165
- ```
166
-
167
- #### Build documentation for deployment
168
-
169
- This command builds the static HTML, CSS, and JavaScript files for the documentation site. The output will be in the `docs/.vitepress/dist` directory.
170
-
171
- ```sh
172
- yarn docs:build
173
- ```
174
-
175
- #### Preview the built documentation locally
176
-
177
- After building the documentation, this command allows you to preview the production build locally before deploying it.
178
-
179
- ```sh
180
- yarn docs:preview
181
- ```
File without changes