Skip to content

Commit 0ca1899

Browse files
committed
not exporting solid-logic and rdf anymore
1 parent fceee6b commit 0ca1899

File tree

6 files changed

+24
-39
lines changed

6 files changed

+24
-39
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ All bundels, DO NOT bundle rdflin and solid-logic. These need to be provided sep
4646

4747
```html
4848
<!-- Load dependencies first -->
49-
<script src="https://unpkg.com/rdflib/dist/rdflib.min.js"></script>
49+
<script src="https://cdn.jsdelivr.net/npm/rdflib/dist/rdflib.min.js"></script>
5050
<!-- or -->
5151
<!-- script src="https://cdn.jsdelivr.net/npm/rdflib/dist/rdflib.min.js"></script -->
5252
<script src="https://unpkg.com/solid-logic/dist/solid-logic.min.js"></script>
@@ -98,7 +98,7 @@ or
9898
</script>
9999
<script type="module">
100100
import * as $rdf from 'rdflib'
101-
import { store } from 'https://esm.sh/solid-logic'
101+
import { store } from 'solid-logic'
102102
import { widgets } from 'solid-ui'
103103
104104
// Example usage

package-lock.json

Lines changed: 14 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@
6969
"@noble/hashes": "^1.8.0",
7070
"escape-html": "^1.0.3",
7171
"mime-types": "^3.0.1",
72-
"pane-registry": "2.5.1-4c50f58",
72+
"pane-registry": "^2.5.1-ee1545f",
7373
"solid-namespace": "^0.5.4",
7474
"uuid": "^11.1.0"
7575
},
7676
"peerDependencies": {
77-
"rdflib": "^2.2.37",
78-
"solid-logic": "3.1.1-d167ace"
77+
"rdflib": "^2.3.0",
78+
"solid-logic": "3.1.1-3343cc7"
7979
},
8080
"devDependencies": {
8181
"@babel/cli": "^7.28.3",
@@ -116,11 +116,11 @@
116116
"jsdom": "^26.1.0",
117117
"neostandard": "^0.12.2",
118118
"nock": "^13.5.6",
119-
"rdflib": "^2.2.37",
119+
"rdflib": "^2.3.0",
120120
"react": "^17.0.2",
121121
"react-dom": "^17.0.2",
122122
"react-is": "^17.0.2",
123-
"solid-logic": "3.1.1-d167ace",
123+
"solid-logic": "^3.1.1-3343cc7",
124124
"storybook": "^7.6.20",
125125
"terser-webpack-plugin": "^5.3.14",
126126
"typedoc": "^0.28.9",

src/index.ts

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,16 @@ https://github.com/solidos/solid
2727
'use strict'
2828
/**
2929
* Provides a Solid client helper object (which exposes various static modules).
30-
* @module solidUi.js
31-
* @main solidUi.js
30+
* @module UI.js
31+
* @main UI.js
3232
*/
3333

3434
/**
35-
* @class SolidUi
35+
* @class UI
3636
* @static
3737
*/
3838

3939
// REMOVE @ts-ignore as you migrate files to TypeScript
40-
import * as rdf from 'rdflib' // pull in first avoid cross-refs
4140
// @ts-ignore
4241
import ns from './ns'
4342
import { acl, aclControl } from './acl/index'
@@ -70,16 +69,12 @@ import * as widgets from './widgets/index'
7069
import { initHeader } from './header'
7170
import { initFooter } from './footer'
7271
import * as createTypes from './create/types'
73-
import { authn, store } from 'solid-logic'
7472

7573
const dom = window ? window.document : null // Idea that UI.dom can be adapted in non-browser environments
7674

7775
if (typeof window !== 'undefined') {
7876
;(<any>window).UI = {
79-
authn,
80-
store,
8177
ns,
82-
rdf,
8378
acl,
8479
aclControl,
8580
create,
@@ -108,10 +103,7 @@ if (typeof window !== 'undefined') {
108103

109104
// this variables are directly used in the storybook
110105
export {
111-
authn,
112-
store,
113106
ns,
114-
rdf,
115107
acl,
116108
aclControl,
117109
create,

test/unit/index.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ describe('Index', () => {
88
expect(Object.keys(Index).sort()).toEqual([
99
'acl',
1010
'aclControl',
11-
'authn',
1211
'create',
1312
'createTypes',
1413
'dom',
@@ -26,8 +25,6 @@ describe('Index', () => {
2625
'pad',
2726
'participation',
2827
'preferences',
29-
'rdf',
30-
'store',
3128
'style',
3229
'table',
3330
'tabs',

webpack.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ const common = {
3333
},
3434
fallback: { path: false }
3535
},
36-
devServer: {
37-
static: './dist'
38-
},
3936
devtool: 'source-map',
4037
module: {
4138
rules: [

0 commit comments

Comments
 (0)