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 1.12.0 #169

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
69e8eb1
fix: CLI test file generation
sebastianwessel Mar 1, 2024
67622ee
chore: improve build workflow
sebastianwessel Mar 2, 2024
01fb454
fix: schema in hono server example
sebastianwessel Mar 2, 2024
61ccf65
fix: integration test in k8s package
sebastianwessel Mar 2, 2024
bbfd593
chore: cleanup vitest configs and include integration tests in coverage
sebastianwessel Mar 2, 2024
096f090
feat: add export of service definitions
sebastianwessel Mar 2, 2024
ab6a311
feat: allow services and subscriptions to be marked as deprecated
sebastianwessel Mar 3, 2024
0c3a45c
chore: update git url to puristajs
sebastianwessel Mar 10, 2024
0291b26
doc: fix temporal example
sebastianwessel Mar 10, 2024
f79c629
feat: Add definition export and client builder
sebastianwessel Mar 10, 2024
a8aac29
doc: improve documentation
sebastianwessel Mar 10, 2024
1065262
chore: minor fix root package name
sebastianwessel Mar 10, 2024
10f2410
chore: fix import
sebastianwessel Mar 16, 2024
ec99abb
doc: improve example
sebastianwessel Mar 16, 2024
3b3a93e
doc: fix import in example
sebastianwessel Mar 16, 2024
0cb25f1
chore: bump dependency versions and replace eslint with biome
sebastianwessel Jun 22, 2024
b593916
fix: add missing next() call in default protectHandler #178
sebastianwessel Jun 22, 2024
4b0d71b
chore: fix dependencies and improve setup
sebastianwessel Jun 23, 2024
af06f05
chore: improve types
sebastianwessel Jun 23, 2024
463e0c7
chore: code cleanup
sebastianwessel Jun 23, 2024
37232ac
chore: prepare ressource definition feature
sebastianwessel Jun 23, 2024
0938d18
chore: improve code
sebastianwessel Jun 23, 2024
f2d53b1
chore: cleanup and improve code and project setup
sebastianwessel Jun 24, 2024
dc0037b
fix: lint and improve code
sebastianwessel Jun 24, 2024
e15346c
chore: separate unit tests
sebastianwessel Jun 24, 2024
62d42c9
chore: bump packages
sebastianwessel Jul 21, 2024
d5b7a64
chore: fix typo
sebastianwessel Jul 21, 2024
9bcaf66
chore: update package.json files
sebastianwessel Jul 21, 2024
275afa5
feat: add provides ressource to service builder #168
sebastianwessel Jul 21, 2024
e899b7b
chore: fix
sebastianwessel Jul 21, 2024
9271aa9
fix: type
sebastianwessel Jul 21, 2024
b72540c
feat: publish purists packages on jsr.io #179
sebastianwessel Jul 21, 2024
b40063d
chore: update script
sebastianwessel Jul 21, 2024
891be82
chore: use scalar as swagger ui in example
sebastianwessel Jul 21, 2024
3893760
chore: fix linter
sebastianwessel Jul 21, 2024
8917634
chore: bump dependencies
sebastianwessel Jul 26, 2024
c0bb450
doc: update installation documentation
sebastianwessel Jul 26, 2024
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
  •  
  •  
  •  
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.15
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"
}
}
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ If you have a question that needs an answer, create an issue, and label it as a
You can also join our Discord channel for questions and help: [Discord Channel](https://discord.gg/9feaUm3H2v)

Issues for bugs or feature requests
If you encounter any bugs in the code, or want to request a new feature or enhancement, please [create an issue to report it](https://github.com/sebastianwessel/purista/issues).
If you encounter any bugs in the code, or want to request a new feature or enhancement, please [create an issue to report it](https://github.com/puristajs/purista/issues).
Kindly add a label to indicate what type of issue it is.

# Contribute Code
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ See: [Security](./SECURITY.md)

Contributors are welcome!

[![Sebastian Wessel](https://contrib.rocks/image?repo=sebastianwessel/purista)](https://github.com/sebastianwessel/purista)
[![Sebastian Wessel](https://contrib.rocks/image?repo=sebastianwessel/purista)](https://github.com/puristajs/purista)

[PURISTA handbook](website/doc/handbook/)
99 changes: 99 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.2/schema.json",
"organizeImports": {
"enabled": true
},
"files": {
"ignore": [
"**/lib/**/*",
"cookieconsent.js",
"cookieconsent-config2.js",
"package-lock.json",
"**/dist/**/*",
"*.d.ts",
"**/coverage/**/*",
"docs/**/*",
"**/.tshy/**/*",
"**/.tshy-build/**/*",
"**/.vitepress/cache/**",
"**/doc/public/**/*",
"examples/fullexample/signoz/**",
"examples/fullexample/grafana/**",
"examples/fullexample/jaeger/**",
"examples/fullexample/teletrace/**",
"examples/fullexample/uptrace/**",
"examples/fullexample/zipkin/**"
]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"useArrowFunction": {
"level": "off",
"fix": "none"
},
"useLiteralKeys": {
"level": "warn",
"fix": "safe"
},
"noForEach": {
"level": "warn"
},
"noBannedTypes": {
"level": "warn",
"fix": "safe"
}
},
"suspicious": {
"noExplicitAny": {
"level": "off"
}
},
"performance": {
"noAccumulatingSpread": {
"level": "warn"
}
},
"style": {
"noUnusedTemplateLiteral": {
"level": "warn",
"fix": "safe"
}
},
"nursery": {
"noConsole": "error"
}
}
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"attributePosition": "auto",
"indentStyle": "tab",
"indentWidth": 2,
"lineWidth": 120,
"lineEnding": "lf"
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"arrowParentheses": "asNeeded",
"bracketSameLine": false,
"bracketSpacing": true,
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"semicolons": "asNeeded",
"trailingCommas": "all",
"lineWidth": 120,
"indentWidth": 2,
"indentStyle": "tab"
}
},
"json": {
"formatter": {
"trailingCommas": "none"
}
}
}
Binary file added bun.lockb
Binary file not shown.
6 changes: 3 additions & 3 deletions examples/dapr-example/deployment/customsecrets.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"secret_key":"secret_value",
"emailProviderAuthToken":"auth_token_from_secret_store"
}
"secret_key": "secret_value",
"emailProviderAuthToken": "auth_token_from_secret_store"
}
Loading
Loading