feat: add url query to activity payload

This commit is contained in:
johnnyjoy
2024-09-22 14:12:33 +08:00
parent b15b070487
commit a7b3252096
10 changed files with 168 additions and 31 deletions

View File

@@ -1,18 +1,10 @@
{
"extends": "plasmo/templates/tsconfig.base",
"exclude": [
"node_modules"
],
"include": [
".plasmo/index.d.ts",
"./**/*.ts",
"./**/*.tsx",
],
"exclude": ["node_modules"],
"include": [".plasmo/index.d.ts", "./**/*.ts", "./**/*.tsx"],
"compilerOptions": {
"paths": {
"@/*": [
"./src/*"
],
"@/*": ["./src/*"]
},
"baseUrl": "."
}

View File

@@ -2,10 +2,11 @@
"name": "slash",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build": "vite build",
"serve": "vite preview",
"lint": "eslint --ext .js,.ts,.tsx, src",
"lint-fix": "eslint --ext .js,.ts,.tsx, src --fix",
"type-check": "tsc --noEmit --skipLibCheck",
"postinstall": "cd ../../proto && buf generate"
},
"dependencies": {
@@ -33,6 +34,7 @@
},
"devDependencies": {
"@bufbuild/buf": "^1.39.0",
"@bufbuild/protobuf": "^2.1.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/lodash-es": "^4.17.12",
"@types/react": "^18.3.5",

View File

@@ -78,6 +78,9 @@ importers:
'@bufbuild/buf':
specifier: ^1.39.0
version: 1.39.0
'@bufbuild/protobuf':
specifier: ^2.1.0
version: 2.1.0
'@trivago/prettier-plugin-sort-imports':
specifier: ^4.3.0
version: 4.3.0(prettier@3.3.3)
@@ -256,6 +259,9 @@ packages:
engines: {node: '>=12'}
hasBin: true
'@bufbuild/protobuf@2.1.0':
resolution: {integrity: sha512-+2Mx67Y3skJ4NCD/qNSdBJNWtu6x6Qr53jeNg+QcwiL6mt0wK+3jwHH2x1p7xaYH6Ve2JKOVn0OxU35WsmqI9A==}
'@emotion/babel-plugin@11.12.0':
resolution: {integrity: sha512-y2WQb+oP8Jqvvclh8Q55gLUyb7UFvgv7eJfsj7td5TToBrIUtPay2kMrZi4xjq9qw2vD0ZR5fSho0yqoFgX7Rw==}
@@ -2588,6 +2594,8 @@ snapshots:
'@bufbuild/buf-win32-arm64': 1.39.0
'@bufbuild/buf-win32-x64': 1.39.0
'@bufbuild/protobuf@2.1.0': {}
'@emotion/babel-plugin@11.12.0':
dependencies:
'@babel/helper-module-imports': 7.24.7

View File

@@ -16,11 +16,10 @@
"noEmit": true,
"jsx": "react-jsx",
"paths": {
"@/*": [
"./src/*"
],
"@/*": ["./src/*"]
},
"baseUrl": "."
},
"include": ["./src"]
"include": ["./src"],
"exclude": ["node_modules"]
}