Skip to content

Commit 3b4b518

Browse files
authored
v3.0.0 Merge pull request #597 from SolidOS/newFace
Improvements
2 parents 8670e5a + 7028ad4 commit 3b4b518

File tree

153 files changed

+10037
-12928
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+10037
-12928
lines changed

.babelrc

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ permissions:
55
on:
66
push:
77
branches:
8-
- "**"
8+
- main
99
pull_request:
1010
branches:
11-
- "**"
11+
- main
1212
workflow_dispatch:
1313

1414
jobs:
@@ -17,7 +17,6 @@ jobs:
1717
strategy:
1818
matrix:
1919
node-version:
20-
- 18.x
2120
- 20.x
2221
- 22.x
2322
steps:
@@ -75,7 +74,7 @@ jobs:
7574
- uses: actions/setup-node@v6
7675
with:
7776
node-version: 20.x
78-
- uses: rlespinasse/github-slug-action@v3.x
77+
- uses: rlespinasse/github-slug-action@v4.x
7978
- name: Append commit hash to package version
8079
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
8180
- name: Disable pre- and post-publish actions

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ src/versionInfo.ts
55
.idea
66
.vscode
77
coverage
8-
Documentation/api
8+
docs/api
99
examples/storybook
1010
.history/
11-
Documentation/form-examples/main.js
11+
docs/form-examples/solid-ui.js

.npmignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.storybook/main.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,28 @@ export default {
1414

1515
docs: {
1616
autodocs: true
17+
},
18+
webpackFinal: async (config) => {
19+
// For Storybook, we DON'T externalize rdflib and solid-logic
20+
// Instead, we let webpack bundle them from node_modules
21+
22+
// Handle Node.js modules for browser
23+
config.resolve.fallback = {
24+
...config.resolve.fallback,
25+
path: false,
26+
fs: false,
27+
crypto: false,
28+
stream: false,
29+
util: false,
30+
buffer: false
31+
}
32+
33+
// Alias $rdf to rdflib for solid-logic compatibility
34+
config.resolve.alias = {
35+
...config.resolve.alias,
36+
$rdf: 'rdflib'
37+
}
38+
39+
return config
1740
}
1841
}

.storybook/preview.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// For backward compatibility, provide rdflib and solid-logic as globals
2+
import * as rdflib from 'rdflib'
3+
import * as solidLogic from 'solid-logic'
4+
5+
// Some legacy code might expect these as globals
6+
if (typeof window !== 'undefined') {
7+
window.$rdf = rdflib
8+
window.SolidLogic = solidLogic
9+
}
10+
111
export const parameters = {
212
actions: { argTypesRegex: '^on[A-Z].*' },
313
}

LICENSE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
Copyright 2019 - present
1+
MIT License
2+
3+
Copyright (c) 2019 Solid
24

35
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
46
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

0 commit comments

Comments
 (0)