-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #301 from hypermedia-app/shaperone-env
refactor: introduce `ShaperoneEnvironment`
- Loading branch information
Showing
324 changed files
with
21,137 additions
and
16,142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@hydrofoil/shaperone-rdf-validate-shacl": minor | ||
--- | ||
|
||
Deprecated `validate.with` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
"@hydrofoil/shaperone-playground-examples": patch | ||
"@hydrofoil/shaperone-playground": patch | ||
"@hydrofoil/shaperone-core": patch | ||
"@hydrofoil/shaperone-core-tests": patch | ||
"@hydrofoil/shaperone-hydra": patch | ||
"@hydrofoil/shaperone-rdf-validate-shacl": patch | ||
"@shaperone/testing": patch | ||
"@hydrofoil/shaperone-wc": patch | ||
"@hydrofoil/shaperone-wc-material": patch | ||
"@hydrofoil/shaperone-wc-shoelace": patch | ||
"@hydrofoil/shaperone-wc-vaadin": patch | ||
--- | ||
|
||
Update RDF/JS-related dependencies (closes #300) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@hydrofoil/shaperone-core": patch | ||
--- | ||
|
||
Use a centralised RDF/JS Environment. Component implementors are encouraged to use the `env` parameter passed to the render function. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@hydrofoil/shaperone-wc-shoelace": minor | ||
--- | ||
|
||
Updated shoelace to v2.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@hydrofoil/shaperone-wc": minor | ||
--- | ||
|
||
Configuration objects must be retrieved by calling `configure` first |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
"@hydrofoil/shaperone-playground-examples": minor | ||
"@hydrofoil/shaperone-playground": minor | ||
"@hydrofoil/shaperone-core-tests": minor | ||
"@hydrofoil/shaperone-hydra": minor | ||
"@hydrofoil/shaperone-rdf-validate-shacl": minor | ||
"@shaperone/testing": minor | ||
"@hydrofoil/shaperone-wc": minor | ||
"@hydrofoil/shaperone-wc-material": minor | ||
"@hydrofoil/shaperone-wc-shoelace": minor | ||
"@hydrofoil/shaperone-wc-vaadin": minor | ||
--- | ||
|
||
Use a centralised RDF/JS Environment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@hydrofoil/shaperone-wc-vaadin": minor | ||
--- | ||
|
||
Update vaadin components to v22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@hydrofoil/shaperone-core": minor | ||
--- | ||
|
||
Changes to `@hydrofoil/shaperone-wc/configure`: | ||
- It is now required to call `env.use($rdf)` | ||
- `editors.addMetadata` now takes a function `(env: ShaperoneEnvironment) => DatasetCore | Iterable<Quad>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
comment: | ||
on-update: nothing | ||
snippets: | ||
- id: preview-url | ||
files: | ||
- 'packages/**/*' | ||
- 'demos/**/*' | ||
body: "Netlify preview deployed to [{{ url }}]({{ url }})" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,23 @@ | ||
name: Netlify | ||
|
||
on: push | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
Deploy: | ||
runs-on: ubuntu-latest | ||
env: | ||
NETLIFY_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 14 | ||
node-version: 18 | ||
|
||
- run: yarn install --ci | ||
- run: npm ci | ||
|
||
- uses: nelonoel/[email protected] | ||
|
||
|
@@ -24,7 +28,7 @@ jobs: | |
run: npx json -I -f dist/variables.json -e "this.playground='https://$DOMAIN/playground'" | ||
|
||
- name: Publish preview | ||
uses: tpluscode/action-netlify-deploy@nvm | ||
uses: jsmrcaga/action-netlify-deploy@v2.1.0 | ||
if: env.NETLIFY_TOKEN | ||
with: | ||
NETLIFY_AUTH_TOKEN: ${{ env.NETLIFY_TOKEN }} | ||
|
@@ -33,12 +37,12 @@ jobs: | |
build_directory: dist | ||
deploy_alias: ${{ env.BRANCH_NAME }} | ||
NETLIFY_DEPLOY_TO_PROD: ${{ env.BRANCH_NAME == 'master' }} | ||
monorepo_package: "@hydrofoil/shaperone-playground" | ||
|
||
- name: Status check | ||
uses: Sibz/[email protected] | ||
if: env.NETLIFY_TOKEN | ||
- uses: exercism/[email protected] | ||
with: | ||
authToken: ${{ secrets.GITHUB_TOKEN }} | ||
context: Netlify Site | ||
state: success | ||
target_url: https://${{ env.BRANCH_NAME }}--shaperone.netlify.app | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
template-variables: | | ||
{ | ||
"url": "${{ env.NETLIFY_PREVIEW_URL }}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
14 | ||
18 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.