mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
[PM-8448] Create BItwarden Send UI library package (#9402)
* Create the send-ui library package Create folder Create package.json Create jest config Create tsconfig and tsconfig.spec.json Create README Add empty barrel file for exporting future members * Register @bitwarden/send-ui with all clients and libs * Register with eslint * Fix linting issue with README --------- Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
42784b39f1
commit
86d6be3187
17
libs/tools/send/README.md
Normal file
17
libs/tools/send/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Bitwarden Send
|
||||
|
||||
This folder contains 2 packages that can be used to create and modify Sends.
|
||||
|
||||
## semd-core
|
||||
|
||||
Package name: `@bitwarden/send-core`
|
||||
|
||||
Contains all types, models, and services for Bitwarden Send
|
||||
|
||||
Currently in use by the Bitwarden Web Vault, CLI, desktop app and browser extension
|
||||
|
||||
## send-ui
|
||||
|
||||
Package name: `@bitwarden/send-ui`
|
||||
|
||||
Contains all UI components used for Bitwarden Send
|
||||
13
libs/tools/send/send-ui/jest.config.js
Normal file
13
libs/tools/send/send-ui/jest.config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const { pathsToModuleNameMapper } = require("ts-jest");
|
||||
|
||||
const { compilerOptions } = require("../../../shared/tsconfig.libs");
|
||||
|
||||
/** @type {import('jest').Config} */
|
||||
module.exports = {
|
||||
testMatch: ["**/+(*.)+(spec).+(ts)"],
|
||||
preset: "ts-jest",
|
||||
testEnvironment: "jsdom",
|
||||
moduleNameMapper: pathsToModuleNameMapper(compilerOptions?.paths || {}, {
|
||||
prefix: "<rootDir>/../../../",
|
||||
}),
|
||||
};
|
||||
23
libs/tools/send/send-ui/package.json
Normal file
23
libs/tools/send/send-ui/package.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "@bitwarden/send-ui",
|
||||
"version": "0.0.0",
|
||||
"description": "Angular components for Bitwarden Send",
|
||||
"keywords": [
|
||||
"bitwarden"
|
||||
],
|
||||
"author": "Bitwarden Inc.",
|
||||
"homepage": "https://bitwarden.com",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/bitwarden/clients"
|
||||
},
|
||||
"license": "GPL-3.0",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist",
|
||||
"build": "npm run clean && tsc",
|
||||
"build:watch": "npm run clean && tsc -watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@bitwarden/common": "file:../../../common"
|
||||
}
|
||||
}
|
||||
0
libs/tools/send/send-ui/src/index.ts
Normal file
0
libs/tools/send/send-ui/src/index.ts
Normal file
5
libs/tools/send/send-ui/tsconfig.json
Normal file
5
libs/tools/send/send-ui/tsconfig.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"extends": "../../../shared/tsconfig.libs",
|
||||
"include": ["src"],
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
||||
3
libs/tools/send/send-ui/tsconfig.spec.json
Normal file
3
libs/tools/send/send-ui/tsconfig.spec.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"extends": "./tsconfig.json"
|
||||
}
|
||||
Reference in New Issue
Block a user