-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/braze-waf
- Loading branch information
Showing
36 changed files
with
1,952 additions
and
440 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
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 |
---|---|---|
|
@@ -32,7 +32,7 @@ | |
"@pocket-tools/eslint-config": "workspace:*", | ||
"syncpack": "^12.4.0", | ||
"tsconfig": "workspace:*", | ||
"turbo": "^2.0.14" | ||
"turbo": "^2.1.0" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
|
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
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,8 @@ | ||
src | ||
.github | ||
.idea | ||
.prettier* | ||
.eslintrc.js | ||
.tsconfig.js | ||
*.spec.ts | ||
*.integration.ts |
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,3 @@ | ||
# Image Utils | ||
|
||
We use this repository as a place to keep code we use across our backend services that implement anything to do with image urls |
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,3 @@ | ||
import packages from '@pocket-tools/eslint-config/packages'; | ||
import tseslint from 'typescript-eslint'; | ||
export default tseslint.config(...packages); |
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,7 @@ | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
testMatch: ['**/?(*.)+(jest|spec).[jt]s?(x)'], | ||
testPathIgnorePatterns: ['/dist/'], | ||
setupFilesAfterEnv: ['jest-extended/all'], | ||
}; |
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,91 @@ | ||
{ | ||
"name": "@pocket-tools/image-utils", | ||
"version": "0.0.0-development", | ||
"description": "Utilities for working with image urls", | ||
"keywords": [ | ||
"image" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Pocket/pocket-monorepo.git" | ||
}, | ||
"license": "Apache-2.0", | ||
"author": "", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist", | ||
"package.json" | ||
], | ||
"scripts": { | ||
"build": "tsup src/index.ts --format cjs,esm --dts", | ||
"dev": "pnpm run build --watch", | ||
"format": "eslint --fix", | ||
"lint": "eslint --fix-dry-run", | ||
"semantic-release": "semantic-release", | ||
"test": "jest", | ||
"test:watch": "pnpm run test -- --watch" | ||
}, | ||
"release": { | ||
"branches": [ | ||
"main" | ||
], | ||
"extends": "semantic-release-monorepo", | ||
"plugins": [ | ||
[ | ||
"@semantic-release/commit-analyzer", | ||
{ | ||
"preset": "conventionalcommits", | ||
"parserOpts": { | ||
"noteKeywords": [ | ||
"BREAKING CHANGE", | ||
"BREAKING CHANGES", | ||
"BREAKING" | ||
] | ||
} | ||
} | ||
], | ||
[ | ||
"@semantic-release/release-notes-generator", | ||
{ | ||
"preset": "conventionalcommits", | ||
"parserOpts": { | ||
"noteKeywords": [ | ||
"BREAKING CHANGE", | ||
"BREAKING CHANGES", | ||
"BREAKING" | ||
] | ||
}, | ||
"writerOpts": { | ||
"commitsSort": [ | ||
"subject", | ||
"scope" | ||
] | ||
} | ||
} | ||
], | ||
"@semantic-release/npm", | ||
"@semantic-release/github" | ||
] | ||
}, | ||
"dependencies": { | ||
"parse-url": "9.2.0" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "29.7.0", | ||
"@pocket-tools/eslint-config": "workspace:*", | ||
"@types/jest": "29.5.12", | ||
"@types/node": "^20.16", | ||
"jest": "29.7.0", | ||
"jest-extended": "4.0.2", | ||
"semantic-release": "24.1.0", | ||
"semantic-release-monorepo": "8.0.2", | ||
"ts-jest": "29.2.4", | ||
"ts-node": "10.9.2", | ||
"tsconfig": "workspace:*", | ||
"tsup": "8.2.4", | ||
"typescript": "5.5.4" | ||
}, | ||
"peerDependencies": {} | ||
} |
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 @@ | ||
export * from './utils'; |
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
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
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,9 @@ | ||
{ | ||
"extends": "tsconfig/library.json", | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
"rootDir": "src" | ||
}, | ||
"exclude": ["node_modules", "dist"], | ||
"include": ["src/**/*.ts", "src/config"] | ||
} |
Oops, something went wrong.