solid-logic 3.0.9-15abc0b → 3.0.9-22c8d8a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -2
- package/dist/solid-logic.js +35 -0
- package/dist/solid-logic.js.map +1 -0
- package/package.json +11 -4
- package/babel.config.js +0 -6
- package/eslint.config.js +0 -28
- package/jest.config.js +0 -17
- package/lib/solid-logic.js +0 -107
- package/lib/solid-logic.js.map +0 -1
- package/rollup.config.js +0 -29
- package/src/acl/aclLogic.ts +0 -156
- package/src/authSession/authSession.ts +0 -13
- package/src/authn/SolidAuthnLogic.ts +0 -126
- package/src/authn/authUtil.ts +0 -70
- package/src/chat/chatLogic.ts +0 -226
- package/src/inbox/inboxLogic.ts +0 -59
- package/src/index.ts +0 -21
- package/src/issuer/issuerLogic.ts +0 -40
- package/src/logic/CustomError.ts +0 -29
- package/src/logic/solidLogic.ts +0 -76
- package/src/logic/solidLogicSingleton.ts +0 -20
- package/src/profile/profileLogic.ts +0 -125
- package/src/typeIndex/typeIndexLogic.ts +0 -198
- package/src/types.ts +0 -122
- package/src/util/containerLogic.ts +0 -53
- package/src/util/debug.ts +0 -16
- package/src/util/ns.ts +0 -5
- package/src/util/utilityLogic.ts +0 -156
- package/src/util/utils.ts +0 -52
- package/src/versionInfo.ts +0 -32
- package/test/aclLogic.test.ts +0 -24
- package/test/authUtil.test.ts +0 -23
- package/test/chatLogic.test.ts +0 -322
- package/test/container.test.ts +0 -58
- package/test/helpers/dataSetup.ts +0 -135
- package/test/helpers/setup.ts +0 -22
- package/test/inboxLogic.test.ts +0 -209
- package/test/logic.test.ts +0 -29
- package/test/profileLogic.test.ts +0 -248
- package/test/solidAuthLogic.test.ts +0 -49
- package/test/typeIndexLogic.test.ts +0 -255
- package/test/utilityLogic.test.ts +0 -180
- package/test/utils.test.ts +0 -32
- package/timestamp.sh +0 -13
- package/tsconfig.json +0 -77
- package/tsconfig.test.json +0 -8
- /package/{lib → dist}/acl/aclLogic.d.ts +0 -0
- /package/{lib → dist}/acl/aclLogic.d.ts.map +0 -0
- /package/{lib → dist}/authSession/authSession.d.ts +0 -0
- /package/{lib → dist}/authSession/authSession.d.ts.map +0 -0
- /package/{lib → dist}/authn/SolidAuthnLogic.d.ts +0 -0
- /package/{lib → dist}/authn/SolidAuthnLogic.d.ts.map +0 -0
- /package/{lib → dist}/authn/authUtil.d.ts +0 -0
- /package/{lib → dist}/authn/authUtil.d.ts.map +0 -0
- /package/{lib → dist}/chat/chatLogic.d.ts +0 -0
- /package/{lib → dist}/chat/chatLogic.d.ts.map +0 -0
- /package/{lib → dist}/inbox/inboxLogic.d.ts +0 -0
- /package/{lib → dist}/inbox/inboxLogic.d.ts.map +0 -0
- /package/{lib → dist}/index.d.ts +0 -0
- /package/{lib → dist}/index.d.ts.map +0 -0
- /package/{lib → dist}/issuer/issuerLogic.d.ts +0 -0
- /package/{lib → dist}/issuer/issuerLogic.d.ts.map +0 -0
- /package/{lib → dist}/logic/CustomError.d.ts +0 -0
- /package/{lib → dist}/logic/CustomError.d.ts.map +0 -0
- /package/{lib → dist}/logic/solidLogic.d.ts +0 -0
- /package/{lib → dist}/logic/solidLogic.d.ts.map +0 -0
- /package/{lib → dist}/logic/solidLogicSingleton.d.ts +0 -0
- /package/{lib → dist}/logic/solidLogicSingleton.d.ts.map +0 -0
- /package/{lib → dist}/profile/profileLogic.d.ts +0 -0
- /package/{lib → dist}/profile/profileLogic.d.ts.map +0 -0
- /package/{lib → dist}/typeIndex/typeIndexLogic.d.ts +0 -0
- /package/{lib → dist}/typeIndex/typeIndexLogic.d.ts.map +0 -0
- /package/{lib → dist}/types.d.ts +0 -0
- /package/{lib → dist}/types.d.ts.map +0 -0
- /package/{lib → dist}/util/containerLogic.d.ts +0 -0
- /package/{lib → dist}/util/containerLogic.d.ts.map +0 -0
- /package/{lib → dist}/util/debug.d.ts +0 -0
- /package/{lib → dist}/util/debug.d.ts.map +0 -0
- /package/{lib → dist}/util/ns.d.ts +0 -0
- /package/{lib → dist}/util/ns.d.ts.map +0 -0
- /package/{lib → dist}/util/utilityLogic.d.ts +0 -0
- /package/{lib → dist}/util/utilityLogic.d.ts.map +0 -0
- /package/{lib → dist}/util/utils.d.ts +0 -0
- /package/{lib → dist}/util/utils.d.ts.map +0 -0
package/package.json
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solid-logic",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.9-
|
|
4
|
+
"version": "3.0.9-22c8d8a",
|
|
5
5
|
"description": "Core business logic of SolidOS",
|
|
6
|
-
"main": "
|
|
6
|
+
"main": "dist/solid-logic.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/",
|
|
10
|
+
"README.md",
|
|
11
|
+
"LICENSE"
|
|
12
|
+
],
|
|
7
13
|
"scripts": {
|
|
8
|
-
"clean": "rm -rf
|
|
14
|
+
"clean": "rm -rf dist src/versionInfo.ts",
|
|
9
15
|
"build": "npm run clean && npm run build-types && npm run build-version && rollup -c",
|
|
10
16
|
"build-version": "./timestamp.sh > src/versionInfo.ts && eslint 'src/versionInfo.ts' --fix",
|
|
11
17
|
"build-types": "tsc --emitDeclarationOnly",
|
|
@@ -54,7 +60,8 @@
|
|
|
54
60
|
"rollup-plugin-terser": "^7.0.2",
|
|
55
61
|
"ts-loader": "^9.5.4",
|
|
56
62
|
"tslib": "^2.8.1",
|
|
57
|
-
"typescript": "^5.9.2"
|
|
63
|
+
"typescript": "^5.9.2",
|
|
64
|
+
"typescript-eslint": "^8.42.0"
|
|
58
65
|
},
|
|
59
66
|
"dependencies": {
|
|
60
67
|
"@inrupt/solid-client-authn-browser": "1.17",
|
package/babel.config.js
DELETED
package/eslint.config.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import tsParser from '@typescript-eslint/parser';
|
|
2
|
-
import tseslint from '@typescript-eslint/eslint-plugin';
|
|
3
|
-
import importPlugin from 'eslint-plugin-import';
|
|
4
|
-
|
|
5
|
-
export default [
|
|
6
|
-
{
|
|
7
|
-
files: ['src/**/*.ts', 'test/**/*.test.ts'],
|
|
8
|
-
ignores: ['lib/**', 'node_modules/**'],
|
|
9
|
-
languageOptions: {
|
|
10
|
-
parser: tsParser,
|
|
11
|
-
parserOptions: {
|
|
12
|
-
project: ['./tsconfig.json', './tsconfig.test.json'],
|
|
13
|
-
sourceType: 'module',
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
plugins: {
|
|
17
|
-
'@typescript-eslint': tseslint,
|
|
18
|
-
import: importPlugin,
|
|
19
|
-
},
|
|
20
|
-
rules: {
|
|
21
|
-
'semi': ['error', 'never'],
|
|
22
|
-
'quotes': ['error', 'single'],
|
|
23
|
-
'no-unused-vars': 'off', // handled by TS
|
|
24
|
-
'@typescript-eslint/no-unused-vars': ['warn'],
|
|
25
|
-
'@typescript-eslint/no-explicit-any': 'warn',
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
];
|
package/jest.config.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/** @type {import("jest").Config} */
|
|
2
|
-
export default {
|
|
3
|
-
// verbose: true, // Uncomment for detailed test output
|
|
4
|
-
collectCoverage: true,
|
|
5
|
-
coverageDirectory: "coverage",
|
|
6
|
-
testEnvironment: "jsdom",
|
|
7
|
-
testEnvironmentOptions: {
|
|
8
|
-
customExportConditions: ["node"],
|
|
9
|
-
},
|
|
10
|
-
testPathIgnorePatterns: ["/node_modules/", "/lib/"],
|
|
11
|
-
transform: {
|
|
12
|
-
"^.+\\.[tj]sx?$": ["babel-jest", { configFile: "./babel.config.js" }],
|
|
13
|
-
},
|
|
14
|
-
setupFilesAfterEnv: ["./test/helpers/setup.ts"],
|
|
15
|
-
testMatch: ["**/__tests__/**/*.ts?(x)", "**/?(*.)+(spec|test).ts?(x)"],
|
|
16
|
-
roots: ["<rootDir>/src", "<rootDir>/test"],
|
|
17
|
-
};
|