-
Notifications
You must be signed in to change notification settings - Fork 8
Improved library #100
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
Open
timea-solid
wants to merge
36
commits into
main
Choose a base branch
from
newFace
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Improved library #100
Changes from 12 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
a2abcb4
updated inrupt authn lib to latest
timea-solid f327aa5
merge main
timea-solid c8d34ed
Update src/authn/SolidAuthnLogic.ts
timea-solid 908c8cf
ESM lib
timea-solid 92ca4c6
updated configs && linting fixes
timea-solid e5f3f7d
replaced webpack with rollup
timea-solid f9d5d21
replaced webpack with rollup
timea-solid cc7e1b6
added jest coverage
timea-solid f51524a
drop node18
timea-solid b095cf0
updated ci versions
timea-solid 47c4eab
moved form lib to dist and imporved npm publishing content
timea-solid 616b9f9
updated readme
timea-solid 183049d
cleaned up rollup config
timea-solid 74baf17
small improvements
timea-solid 22c8d8a
imporved jest and lint
timea-solid 8e431bd
Update test/helpers/dataSetup.ts
timea-solid 78ce629
revert copilot code change
timea-solid 75b5e6d
added safe for tree-shaking
timea-solid c3986c3
deleted unused release file
timea-solid 3e818fd
found a missing dep for jest
timea-solid caa433a
small improvements
timea-solid 66a8779
updated teh release.yml
timea-solid 4ce7677
merged main & updated readme with release info
timea-solid e3fbc78
decided to have only one release way
timea-solid 42252ae
bundle test, polyfills, minified versions
timea-solid a4b452e
merge branch updateAuthn
timea-solid 6d50cf3
bundle test and globals
timea-solid 29d7a0d
clean SolidAuthnLogic
timea-solid 08b6da4
switched out rollup for webpack
timea-solid 1c3e6ea
decided to bundle everything, including rdflib
timea-solid c188582
improved docs and test example, added externalbundles
timea-solid 509ddc5
renamed solid-logic umd to be without umd
timea-solid e368b0b
linting tests
timea-solid 1c75a86
cleanup dep
timea-solid 8f392e6
cleaned tsconfig
timea-solid 7898142
minor improvements
timea-solid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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,6 +1,11 @@ | ||
node_modules | ||
lib | ||
dist | ||
coverage | ||
|
||
### VisualStudioCode Patch ### | ||
# Ignore all local history of files | ||
.history | ||
.idea | ||
.vscode | ||
|
||
src/versionInfo.ts |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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,6 @@ | ||
export default { | ||
presets: [ | ||
['@babel/preset-env', { targets: { node: 'current' } }], | ||
'@babel/preset-typescript' | ||
] | ||
} |
This file contains hidden or 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,29 +1,30 @@ | ||
const { | ||
defineConfig, | ||
} = require("eslint/config"); | ||
import tsParser from '@typescript-eslint/parser' | ||
import tseslintPlugin from '@typescript-eslint/eslint-plugin' | ||
import tseslint from 'typescript-eslint' | ||
import importPlugin from 'eslint-plugin-import' | ||
|
||
const tsParser = require("@typescript-eslint/parser"); | ||
const typescriptEslint = require("@typescript-eslint/eslint-plugin"); | ||
const js = require("@eslint/js"); | ||
|
||
const { | ||
FlatCompat, | ||
} = require("@eslint/eslintrc"); | ||
|
||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all | ||
}); | ||
|
||
module.exports = defineConfig([{ | ||
export default [ | ||
...tseslint.configs.recommended, | ||
{ | ||
files: ['src/**/*.ts', 'test/**/*.test.ts'], | ||
ignores: ['dist/**', 'node_modules/**'], | ||
languageOptions: { | ||
parser: tsParser, | ||
parser: tsParser, | ||
parserOptions: { | ||
project: ['./tsconfig.json', './tsconfig.test.json'], | ||
sourceType: 'module', | ||
}, | ||
}, | ||
|
||
plugins: { | ||
"@typescript-eslint": typescriptEslint, | ||
'@typescript-eslint': tseslintPlugin, | ||
import: importPlugin, | ||
}, | ||
|
||
extends: compat.extends("eslint:recommended", "plugin:@typescript-eslint/recommended"), | ||
}]); | ||
rules: { | ||
'semi': ['error', 'never'], | ||
'quotes': ['error', 'single'], | ||
'no-unused-vars': 'off', // handled by TS | ||
'@typescript-eslint/no-unused-vars': ['warn'], | ||
'@typescript-eslint/no-explicit-any': 'warn', | ||
}, | ||
}, | ||
] |
This file contains hidden or 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,10 +1,17 @@ | ||
module.exports = { | ||
verbose: true, | ||
/** @type {import('jest').Config} */ | ||
export default { | ||
// verbose: true, // Uncomment for detailed test output | ||
collectCoverage: true, | ||
coverageDirectory: 'coverage', | ||
testEnvironment: 'jsdom', | ||
testEnvironmentOptions: { | ||
customExportConditions: ['node'] | ||
customExportConditions: ['node'], | ||
}, | ||
setupFilesAfterEnv: [ | ||
'./test/helpers/setup.ts' | ||
] | ||
} | ||
testPathIgnorePatterns: ['/node_modules/', '/dist/'], | ||
transform: { | ||
'^.+\\.[tj]sx?$': ['babel-jest', { configFile: './babel.config.js' }], | ||
}, | ||
setupFilesAfterEnv: ['./test/helpers/setup.ts'], | ||
testMatch: ['**/__tests__/**/*.ts?(x)', '**/?(*.)+(spec|test).ts?(x)'], | ||
roots: ['<rootDir>/src', '<rootDir>/test'], | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.