sf-rag-utils 0.0.6
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/LICENSE +20 -0
- package/Makefile +7 -0
- package/README.md +41 -0
- package/deploy/first-migration.sql +9 -0
- package/package.json +39 -0
- package/pgpm.plan +5 -0
- package/revert/first-migration.sql +3 -0
- package/sf-rag-utils.control +7 -0
- package/verify/first-migration.sql +3 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
The San Francisco License (SF License)
|
|
2
|
+
|
|
3
|
+
Copyright (c) San Francisco License Contributors 2026
|
|
4
|
+
|
|
5
|
+
Permission is granted, free of charge, to any person or organization
|
|
6
|
+
obtaining a copy of this software and associated documentation files
|
|
7
|
+
(the "Software"), to use, copy, modify, merge, publish, distribute,
|
|
8
|
+
sublicense, and/or sell copies of the Software, and to permit others
|
|
9
|
+
to whom the Software is furnished to do the same.
|
|
10
|
+
|
|
11
|
+
The only requirement is that this license notice and copyright notice
|
|
12
|
+
shall be included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
|
|
17
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
18
|
+
CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
19
|
+
TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE
|
|
20
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/Makefile
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<p align="center" width="100%">
|
|
2
|
+
<img height="250" src="https://github.com/city-of-san-francisco/.github/blob/main/assets/logo.svg" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<p align="center" width="100%">
|
|
6
|
+
<a href="https://github.com/city-of-san-francisco/sf-rag-utils/actions/workflows/ci.yml">
|
|
7
|
+
<img height="20" src="https://github.com/city-of-san-francisco/sf-rag-utils/actions/workflows/ci.yml/badge.svg" />
|
|
8
|
+
</a>
|
|
9
|
+
<a href="https://github.com/city-of-san-francisco/license">
|
|
10
|
+
<img height="20" src="https://img.shields.io/badge/license-SF-blue.svg"/>
|
|
11
|
+
</a>
|
|
12
|
+
<a href="https://www.npmjs.com/package/sf-rag-utils">
|
|
13
|
+
<img height="20" src="https://img.shields.io/github/package-json/v/city-of-san-francisco/sf-rag-utils?filename=packages%2Fsf-rag-utils%2Fpackage.json"/>
|
|
14
|
+
</a>
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
# sf-rag-utils
|
|
18
|
+
|
|
19
|
+
## Developing
|
|
20
|
+
|
|
21
|
+
This module was generated with `pgpm init`.
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
# Install dependencies
|
|
25
|
+
pnpm install
|
|
26
|
+
|
|
27
|
+
# Run tests
|
|
28
|
+
pnpm test
|
|
29
|
+
|
|
30
|
+
# Run tests in watch mode
|
|
31
|
+
pnpm test:watch
|
|
32
|
+
|
|
33
|
+
# Deploy to a database
|
|
34
|
+
pgpm deploy --database your_db --createdb --yes
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Disclaimer
|
|
38
|
+
|
|
39
|
+
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
|
|
40
|
+
|
|
41
|
+
No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
|
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sf-rag-utils",
|
|
3
|
+
"version": "0.0.6",
|
|
4
|
+
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
5
|
+
"description": "sf-rag-utils",
|
|
6
|
+
"homepage": "https://github.com/city-of-san-francisco/sf-rag-utils",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/city-of-san-francisco/sf-rag-utils"
|
|
14
|
+
},
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/city-of-san-francisco/sf-rag-utils/issues"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"deploy",
|
|
20
|
+
"verify",
|
|
21
|
+
"revert",
|
|
22
|
+
"pgpm.plan",
|
|
23
|
+
"*.control",
|
|
24
|
+
"Makefile"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "true",
|
|
28
|
+
"clean": "true",
|
|
29
|
+
"lint": "eslint . --fix",
|
|
30
|
+
"test": "jest",
|
|
31
|
+
"test:watch": "jest --watchAll"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [],
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"makage": "0.1.9",
|
|
36
|
+
"pgsql-test": "^2.18.15"
|
|
37
|
+
},
|
|
38
|
+
"gitHead": "87eb2c4e4c0b4ff6721e7516330a106c81da5121"
|
|
39
|
+
}
|
package/pgpm.plan
ADDED