Skip to content

Commit b382ceb

Browse files
committed
updates
0 parents  commit b382ceb

18 files changed

Lines changed: 8596 additions & 0 deletions

.eslintrc.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
"node": true,
6+
"jest": true
7+
},
8+
"extends": [
9+
"eslint:recommended",
10+
"plugin:@typescript-eslint/recommended",
11+
"prettier"
12+
],
13+
"overrides": [],
14+
"parser": "@typescript-eslint/parser",
15+
"parserOptions": {
16+
"ecmaVersion": "latest",
17+
"sourceType": "module"
18+
},
19+
"plugins": [
20+
"@typescript-eslint",
21+
"simple-import-sort",
22+
"unused-imports"
23+
],
24+
"rules": {
25+
"indent": [
26+
"error",
27+
2
28+
],
29+
"quotes": [
30+
"error",
31+
"single",
32+
{
33+
"avoidEscape": true,
34+
"allowTemplateLiterals": true
35+
}
36+
],
37+
"quote-props": [
38+
"error",
39+
"as-needed"
40+
],
41+
"semi": [
42+
"error",
43+
"always"
44+
],
45+
"simple-import-sort/imports": 1,
46+
"simple-import-sort/exports": 1,
47+
"unused-imports/no-unused-imports": 1,
48+
"@typescript-eslint/no-unused-vars": [
49+
1,
50+
{
51+
"argsIgnorePattern": "React|res|next|^_"
52+
}
53+
],
54+
"@typescript-eslint/no-explicit-any": 0,
55+
"@typescript-eslint/no-var-requires": 0,
56+
"no-console": 0,
57+
"@typescript-eslint/ban-ts-comment": 0,
58+
"prefer-const": 0,
59+
"no-case-declarations": 0,
60+
"no-implicit-globals": 0,
61+
"@typescript-eslint/no-unsafe-declaration-merging": 0
62+
}
63+
}

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
**/node_modules/
2+
**/.DS_Store
3+
**/dist
4+
**/pnpm-debug.log
5+
lerna-debug.log

.prettierrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"semi": true,
5+
"useTabs": false,
6+
"singleQuote": false
7+
}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2025 Dan Lynch <pyramation@gmail.com>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# just-bash-test
2+
3+
<p align="center" width="100%">
4+
<img height="250" src="https://raw.githubusercontent.com/constructive-io/constructive/refs/heads/main/assets/outline-logo.svg" />
5+
</p>
6+
7+
<p align="center" width="100%">
8+
<a href="https://github.com/pyramation/just-bash-test/actions/workflows/ci.yml">
9+
<img height="20" src="https://github.com/pyramation/just-bash-test/actions/workflows/ci.yml/badge.svg" />
10+
</a>
11+
</p>
12+
13+
14+
## Getting Started
15+
16+
This workspace was generated with `pgpm init workspace`. For a complete guide on developing with pgpm workspaces, see [Workspaces: Organize Postgres](https://constructive.io/learn/modular-postgres/workspaces-organize-postgres).
17+
18+
### Quick Start
19+
20+
```sh
21+
# Install dependencies
22+
pnpm install
23+
24+
# Start PostgreSQL (requires Docker)
25+
pgpm docker start
26+
27+
# Load environment variables
28+
eval "$(pgpm env)"
29+
30+
# Create a module
31+
pgpm init
32+
33+
# Navigate to your module and run tests
34+
cd packages/your-module
35+
pnpm test:watch
36+
```
37+
38+
### Prerequisites
39+
40+
- Node.js 20+
41+
- pnpm
42+
- Docker
43+
- PostgreSQL client tools (`psql`)
44+
- pgpm (`npm install -g pgpm`)
45+
46+
See [Prerequisites](https://constructive.io/learn/quickstart/prerequisites) for detailed setup instructions.
47+
48+
## Credits
49+
50+
**🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**
51+
52+
## Disclaimer
53+
54+
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
55+
56+
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.

lerna.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3+
"version": "independent",
4+
"npmClient": "pnpm",
5+
"npmClientArgs": [
6+
"--frozen-lockfile"
7+
],
8+
"packages": [
9+
"packages/*"
10+
],
11+
"registry": "https://registry.npmjs.org",
12+
"command": {
13+
"create": {
14+
"homepage": "https://github.com/pyramation/just-bash-test",
15+
"license": "MIT",
16+
"access": "restricted"
17+
},
18+
"publish": {
19+
"allowBranch": "main",
20+
"message": "chore(release): publish",
21+
"conventionalCommits": true
22+
}
23+
}
24+
}

package.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"name": "just-bash-test",
3+
"version": "0.0.1",
4+
"author": "Dan Lynch <pyramation@gmail.com>",
5+
"private": true,
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/pyramation/just-bash-test"
9+
},
10+
"license": "MIT",
11+
"publishConfig": {
12+
"access": "restricted"
13+
},
14+
"scripts": {
15+
"build": "pnpm -r run build",
16+
"clean": "pnpm -r run clean",
17+
"test": "pnpm -r run test",
18+
"lint": "pnpm -r run lint",
19+
"deps": "pnpm up -r -i -L"
20+
},
21+
"devDependencies": {
22+
"@types/jest": "^30.0.0",
23+
"@types/node": "^25.0.3",
24+
"@typescript-eslint/eslint-plugin": "^8.50.1",
25+
"@typescript-eslint/parser": "^8.50.1",
26+
"eslint-config-prettier": "^10.1.8",
27+
"eslint-plugin-simple-import-sort": "^12.1.1",
28+
"eslint-plugin-unused-imports": "^4.3.0",
29+
"eslint": "^9.39.2",
30+
"jest": "^30.2.0",
31+
"lerna": "^9.0.3",
32+
"makage": "0.1.9",
33+
"prettier": "^3.7.4",
34+
"ts-jest": "^29.4.6",
35+
"ts-node": "^10.9.2",
36+
"typescript": "^5.9.3"
37+
}
38+
}

packages/just-bash/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2025 Dan Lynch <pyramation@gmail.com>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

packages/just-bash/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
EXTENSION = just-bash
2+
DATA = sql/just-bash--0.0.1.sql
3+
4+
PG_CONFIG = pg_config
5+
PGXS := $(shell $(PG_CONFIG) --pgxs)
6+
include $(PGXS)
7+

packages/just-bash/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# just-bash
2+
3+
<p align="center" width="100%">
4+
<img height="250" src="https://raw.githubusercontent.com/constructive-io/constructive/refs/heads/main/assets/outline-logo.svg" />
5+
</p>
6+
7+
<p align="center" width="100%">
8+
<a href="https://github.com/pyramation/just-bash-test/actions/workflows/ci.yml">
9+
<img height="20" src="https://github.com/pyramation/just-bash-test/actions/workflows/ci.yml/badge.svg" />
10+
</a>
11+
<a href="https://www.npmjs.com/package/just-bash"><img height="20" src="https://img.shields.io/github/package-json/v/pyramation/just-bash-test?filename=packages%2Fjust-bash%2Fpackage.json"/></a>
12+
</p>
13+
14+
## Developing
15+
16+
This module was generated with `pgpm init`. For a complete guide on creating and testing database modules, see [Creating Your First Module](https://constructive.io/learn/modular-postgres/creating-first-module).
17+
18+
```sh
19+
# Install dependencies
20+
pnpm install
21+
22+
# Run tests
23+
pnpm test
24+
25+
# Run tests in watch mode
26+
pnpm test:watch
27+
28+
# Deploy to a database
29+
pgpm deploy --database your_db --createdb --yes
30+
```
31+
32+
## Credits
33+
34+
**🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**
35+
36+
## Disclaimer
37+
38+
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
39+
40+
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.

0 commit comments

Comments
 (0)