Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.0.0 #169

Merged
merged 92 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
dbe9278
fix: CLI test file generation
sebastianwessel Mar 1, 2024
c21d2a2
chore: improve build workflow
sebastianwessel Mar 2, 2024
ff29e2e
fix: schema in hono server example
sebastianwessel Mar 2, 2024
4263514
fix: integration test in k8s package
sebastianwessel Mar 2, 2024
654925e
chore: cleanup vitest configs and include integration tests in coverage
sebastianwessel Mar 2, 2024
90a7c23
feat: add export of service definitions
sebastianwessel Mar 2, 2024
1724265
feat: allow services and subscriptions to be marked as deprecated
sebastianwessel Mar 3, 2024
0d105fd
chore: update git url to puristajs
sebastianwessel Mar 10, 2024
19e76d4
doc: fix temporal example
sebastianwessel Mar 10, 2024
8571b3d
feat: Add definition export and client builder
sebastianwessel Mar 10, 2024
42585cf
doc: improve documentation
sebastianwessel Mar 10, 2024
d489180
chore: minor fix root package name
sebastianwessel Mar 10, 2024
c1b5232
chore: fix import
sebastianwessel Mar 16, 2024
9782d5c
doc: improve example
sebastianwessel Mar 16, 2024
dd02bab
doc: fix import in example
sebastianwessel Mar 16, 2024
8e089a0
chore: bump dependency versions and replace eslint with biome
sebastianwessel Jun 22, 2024
c13b333
fix: add missing next() call in default protectHandler #178
sebastianwessel Jun 22, 2024
7765252
chore: fix dependencies and improve setup
sebastianwessel Jun 23, 2024
3fa3842
chore: improve types
sebastianwessel Jun 23, 2024
89e634b
chore: code cleanup
sebastianwessel Jun 23, 2024
d851843
chore: prepare ressource definition feature
sebastianwessel Jun 23, 2024
6ef2bbd
chore: improve code
sebastianwessel Jun 23, 2024
0171a0f
chore: cleanup and improve code and project setup
sebastianwessel Jun 24, 2024
7a091d0
fix: lint and improve code
sebastianwessel Jun 24, 2024
78fe885
chore: separate unit tests
sebastianwessel Jun 24, 2024
ab4059f
chore: bump packages
sebastianwessel Jul 21, 2024
0ea452b
chore: fix typo
sebastianwessel Jul 21, 2024
14f29d6
chore: update package.json files
sebastianwessel Jul 21, 2024
57ae901
feat: add provides ressource to service builder #168
sebastianwessel Jul 21, 2024
d3a18ee
chore: fix
sebastianwessel Jul 21, 2024
5b13804
fix: type
sebastianwessel Jul 21, 2024
5ef4e1c
feat: publish purists packages on jsr.io #179
sebastianwessel Jul 21, 2024
73d13ed
chore: update script
sebastianwessel Jul 21, 2024
e77b993
chore: use scalar as swagger ui in example
sebastianwessel Jul 21, 2024
cc87a63
chore: fix linter
sebastianwessel Jul 21, 2024
e6cf9a8
chore: bump dependencies
sebastianwessel Jul 26, 2024
d18ae7c
doc: update installation documentation
sebastianwessel Jul 26, 2024
ca71541
chore: bump dependency versions
sebastianwessel Aug 30, 2024
8bfa7fc
chore: update project settings
sebastianwessel Aug 31, 2024
088a055
chore: add dependency
sebastianwessel Aug 31, 2024
c21a58d
chore: fix lint
sebastianwessel Aug 31, 2024
2c56034
breaking change: if no schema is set use unknown instead of any type
sebastianwessel Aug 31, 2024
c854abf
chore: add ressource type to command definition
sebastianwessel Aug 31, 2024
4cd2cc8
fix: openapi generation for different validation schema types
sebastianwessel Aug 31, 2024
d6a3c1e
chore: fix lint
sebastianwessel Aug 31, 2024
4cb0bdb
chore: improve test code
sebastianwessel Aug 31, 2024
28a1ea8
doc: fix typo
sebastianwessel Aug 31, 2024
cb77da2
doc: fix custom event example and improve doc
sebastianwessel Aug 31, 2024
f086d53
breaking change: refactor Service and ServiceBuilder type handling
sebastianwessel Aug 31, 2024
ff8e96d
chore: improve type handling
sebastianwessel Aug 31, 2024
faf32d8
breaking change: deprecate setDefaultConfig in ServiceBuilder
sebastianwessel Aug 31, 2024
4d40595
breaking change: refactor Command and CommandBuilder type handling
sebastianwessel Sep 1, 2024
5a98afa
fixup Command and CommandBuilder type handling
sebastianwessel Sep 3, 2024
509fb3f
breaking change: refactor subscripton definition types
sebastianwessel Sep 5, 2024
35720af
chore: cleanup and fix type refactoring
sebastianwessel Sep 5, 2024
de5b873
chore: update lint config
sebastianwessel Sep 5, 2024
4880f37
feat: add getter for command function hooks
sebastianwessel Sep 5, 2024
8d61c40
chore: add typecheck to unit tests
sebastianwessel Sep 5, 2024
c3c228d
chore: improve examples
sebastianwessel Sep 6, 2024
5f7539c
chore: improve service instance getter
sebastianwessel Sep 6, 2024
dd59180
chore: improve tests
sebastianwessel Sep 6, 2024
16dc77d
chore: update ts config
sebastianwessel Sep 6, 2024
eb3d470
doc: add doc
sebastianwessel Sep 6, 2024
080d156
chore: minor updates and improvements
sebastianwessel Feb 3, 2025
4dab825
feat: add resources and improve code
sebastianwessel Feb 5, 2025
3f72219
chore: migrate from defaultConfig to schema defaults
sebastianwessel Feb 6, 2025
0f8ab5a
chore: bump dependencies
sebastianwessel Feb 10, 2025
a5d09ae
breaking change: deprecate disableHttpSecurity in favor of makeEndpoi…
sebastianwessel Feb 10, 2025
3329eab
chore: bump dependencies
sebastianwessel Feb 13, 2025
7baa763
doc: update documentation
sebastianwessel Feb 13, 2025
37df9ce
feat: re-write PURISTA CLI
sebastianwessel Feb 16, 2025
5b90a38
feat: add type for hono service input config
sebastianwessel Feb 16, 2025
da9c9e1
feat: add public json schema for purista.json config file
sebastianwessel Feb 16, 2025
cbad05e
chore: mark the fastify http service as deprecated
sebastianwessel Feb 17, 2025
d4d888e
doc: update doc
sebastianwessel Feb 17, 2025
a52d4a1
chore: bump dependencies
sebastianwessel Feb 17, 2025
3203814
chore: cleanup cli and fix build
sebastianwessel Feb 17, 2025
7f49a0e
chore: add example for client builder
sebastianwessel Feb 18, 2025
f3673b0
chore: minor fix for client-builder
sebastianwessel Feb 18, 2025
c27f855
doc: update doc for client-builder
sebastianwessel Feb 18, 2025
502091d
chore: update package lock
sebastianwessel Feb 18, 2025
1dd6f9f
doc: add v2 blog post
sebastianwessel Feb 18, 2025
f237f27
chore: cleanup opentelemetry semantic-conventions
sebastianwessel Feb 18, 2025
e27f034
doc: update api documentation
sebastianwessel Feb 18, 2025
a8cca61
doc: update CHANGELOG
sebastianwessel Feb 18, 2025
ef181d4
doc: fix links to api documentation
sebastianwessel Feb 18, 2025
046beab
doc: update doc
sebastianwessel Feb 18, 2025
87f6bfc
doc: fix docu
sebastianwessel Feb 18, 2025
e875e4f
fix: imports
sebastianwessel Feb 18, 2025
f30f4c9
chore: improve code and tests
sebastianwessel Feb 18, 2025
d49f3fc
chore: Bump to version 2.0
sebastianwessel Feb 18, 2025
54eeb7f
make example private package
sebastianwessel Feb 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 0 additions & 10 deletions .eslintignore

This file was deleted.

71 changes: 0 additions & 71 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
git config --global user.email '[email protected]'
git config --global push.followTags true
./scripts/commitVersion.sh
echo New version:
npm run build
new_version=$(node -p -e "require('./package.json').version")
new_branch=purista_v$new_version
git checkout -b $new_branch
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ lab
__snapshots__

.tshy-build
.tshy
.tshy

gcloud-credentials.json
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.11
v20.17
6 changes: 0 additions & 6 deletions .prettierrc

This file was deleted.

59 changes: 29 additions & 30 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
{
"version": "0.2.0",
"configurations": [
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest: current file",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["${fileBasenameNoExtension}", "--config", "${workspaceFolder}/jest.config.js"],
"console": "integratedTerminal"
},

{
"type": "node",
"request": "launch",
"name": "Jest: current file",
//"env": { "NODE_ENV": "test" },
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["${fileBasenameNoExtension}", "--config", "${workspaceFolder}/jest.config.js"],
"console": "integratedTerminal"
},

{
"type": "node",
"request": "launch",
"name": "Jest debug current file",
"program": "${workspaceFolder}/node_modules/jest-cli/bin/jest",
"args": [
"${fileBasename}",
"--verbose",
"-i",
"--no-cache",
"--watchAll",
"--config", "${workspaceFolder}/jest.config.js"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
{
"type": "node",
"request": "launch",
"name": "Jest debug current file",
"program": "${workspaceFolder}/node_modules/jest-cli/bin/jest",
"args": [
"${fileBasename}",
"--verbose",
"-i",
"--no-cache",
"--watchAll",
"--config",
"${workspaceFolder}/jest.config.js"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
21 changes: 18 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"javascript.preferences.importModuleSpecifierEnding":"js"
}
"typescript.tsdk": "node_modules/typescript/lib",
"javascript.preferences.importModuleSpecifierEnding": "js",
"editor.formatOnSave": true,
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
Loading
Loading