-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd42511
commit 5b12733
Showing
16 changed files
with
14,262 additions
and
3,598 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,4 @@ | ||
{ | ||
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]], | ||
"plugins": ["babel-plugin-transform-vite-meta-env"] | ||
} |
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,15 +1,29 @@ | ||
# URL Processing | ||
|
||
## Github | ||
|
||
### URL Patterns | ||
|
||
| View | URL | | ||
| ------- | --------------------------------------------------------------------- | | ||
| Project | `https://github.com/<USER>/<REPO_NAME>` | | ||
| Folder | `https://github.com/<USER>/<REPO_NAME>/tree/<BRANCH_NAME>/<FOLDER>` | | ||
| File | `https://github.com/<USER>/<REPO_NAME>/blob/<BRANCH_NAME>/<FILE>.ext` | | ||
|
||
### Raw File Pattern | ||
|
||
- `https://raw.githubusercontent.com/<USER>/<REPO_NAME>/<BRANCH_NAME>/<FOLDER>/<FILE>.ext` | ||
|
||
## Gitlab | ||
|
||
### UI URL Patterns | ||
### URL Patterns | ||
|
||
| View | URL | | ||
| ----------- | ------------------------------------------------------------------------------------------ | | ||
| Project | `https://gitlab.com/<USER>/projects/<REPO_NAME>` | | ||
| Folder View | `https://gitlab.com/<USER>/projects/<REPO_NAME>/-/tree/<BRANCH_NAME>/<FOLDER>` | | ||
| File View | `https://gitlab.com/<USER>/projects/<REPO_NAME>/-/blob/<BRANCH_NAME>/<FOLDER>/<FILE>.html` | | ||
| View | URL | | ||
| ----------- | -------------------------------------------------------------------------------------------- | | ||
| Project | `https://gitlab.com/<USER>/<?SUBGROUP>/<REPO_NAME>` | | ||
| Folder View | `https://gitlab.com/<USER>/<?SUBGROUP>/<REPO_NAME>/-/tree/<BRANCH_NAME>/<FOLDER>` | | ||
| File View | `https://gitlab.com/<USER>/<?SUBGROUP>/<REPO_NAME>/-/blob/<BRANCH_NAME>/<FOLDER>/<FILE>.ext` | | ||
|
||
### Raw File Pattern | ||
|
||
- `https://gitlab.com/<USER>/projects/<REPO_NAME>/-/raw/<BRANCH_NAME>/<FOLDER>/<FILE>.md` | ||
- `https://gitlab.com/<USER>/<?SUBGROUP>/<REPO_NAME>/-/raw/<BRANCH_NAME>/<FOLDER>/<FILE>.ext` |
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,20 @@ | ||
/** @type {import('ts-jest').JestConfigWithTsJest} */ | ||
export default { | ||
preset: 'ts-jest', | ||
testEnvironment: 'jsdom', | ||
transform: { | ||
'^.+\\.js$': 'babel-jest', | ||
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': | ||
'jest-transform-stub', | ||
'^.+\\.svelte$': [ | ||
'svelte-jester', | ||
{ | ||
preprocess: true, | ||
}, | ||
], | ||
'^.+\\.ts$': 'ts-jest', | ||
}, | ||
|
||
moduleFileExtensions: ['svelte', 'js', 'ts'], | ||
setupFilesAfterEnv: ['@testing-library/jest-dom/extend-expect'], | ||
} |
Oops, something went wrong.