Skip to content

Commit

Permalink
otg: new extension to show the otg notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
diocas committed Sep 5, 2023
1 parent 6adf6e3 commit 360bf51
Show file tree
Hide file tree
Showing 10 changed files with 3,033 additions and 0 deletions.
10 changes: 10 additions & 0 deletions otg/.bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[bumpversion]
current_version = 0.0.0
commit = True
tag = True
tag_name = top-bar/v{new_version}
message = top-bar v{new_version}

[bumpversion:file:package.json]
search = "version": "{current_version}"
replace = "version": "{new_version}"
8 changes: 8 additions & 0 deletions otg/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "@ownclouders",
"settings": {
"jest": {
"version": "remove jest rules from @ownclouders/eslint-config and remove this"
}
}
}
6 changes: 6 additions & 0 deletions otg/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"printWidth": 100,
"singleQuote": true,
"semi": false,
"trailingComma": "none"
}
14 changes: 14 additions & 0 deletions otg/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
NAME := otg

release: release/$(NAME).tar.gz

clean:
rm -rf dist release node_modules

dist:
pnpm install
pnpm build

release/$(NAME).tar.gz: dist
mkdir -p release
tar -C dist -czf release/$(NAME).tar.gz .
41 changes: 41 additions & 0 deletions otg/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "otg",
"version": "0.0.0",
"description": "otg notification",
"license": "AGPL-3.0",
"author": "CERNBox",
"type": "module",
"private": true,
"homepage": "https://github.com/cernbox/web-extensions",
"scripts": {
"lint": "eslint 'src/**/*.{js,ts,vue}' --color",
"build": "pnpm vite build",
"build:w": "pnpm vite build --watch --mode development"
},
"browserslist": [
"last 1 year",
"> .2%",
"not dead",
"not Explorer > 0",
"not ExplorerMobile > 0",
"not BlackBerry > 0",
"not OperaMini all",
"not OperaMobile > 0"
],
"devDependencies": {
"@ownclouders/eslint-config": "0.0.1",
"@ownclouders/extension-sdk": "0.0.1-alpha.1",
"@ownclouders/prettier-config": "0.0.1",
"@ownclouders/tsconfig": "0.0.4",
"@vitejs/plugin-vue": "4.0.0",
"eslint": "8.31.0",
"prettier": "2.6.2",
"sass": "1.58.0",
"typescript": "~4.9.5",
"vite": "4.1.1",
"vue": "3.2.47"
},
"dependencies": {
"vuex": "^4.1.0"
}
}
Loading

0 comments on commit 360bf51

Please sign in to comment.