Skip to content

Commit

Permalink
Merge branch 'Gandi-IDE:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
MoreBugOfDog authored Apr 13, 2024
2 parents 666bd3c + 135eae3 commit baac85e
Show file tree
Hide file tree
Showing 6 changed files with 264 additions and 234 deletions.
29 changes: 29 additions & 0 deletions YUEN/FeishuExtension/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
module.exports = {
'env': {
'browser': true,
'es2021': true
},
'extends': 'eslint:recommended',
'parserOptions': {
'ecmaVersion': 12,
'sourceType': 'module'
},
'rules': {
'indent': [
'error',
2
],
'linebreak-style': [
'error',
'unix'
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'always'
]
}
};
3 changes: 2 additions & 1 deletion YUEN/FeishuExtension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,18 @@
"license": "MIT",
"author": "yuen619 <[email protected]>",
"scripts": {
"dev": "npm run build && webpack serve --mode development",
"build": "npm run clean && webpack --config webpack.config.js",
"build:pre": "npm run clean && cross-env DEPLOY_ENV=pre webpack --config webpack.config.js",
"watch": "npm run clean && webpack --watch --progress",
"watch:pre": "npm run clean && cross-env DEPLOY_ENV=pre webpack --watch --progress",
"lint": "eslint src/**/*.js",
"clean": "rimraf ./dist"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"babel-loader": "^8.2.5",
"copy-webpack-plugin": "^11.0.0",
"eslint": "^7.32.0",
"css-loader": "^6.7.1",
"file-loader": "^6.2.0",
"rimraf": "^5.0.5",
Expand Down
9 changes: 9 additions & 0 deletions YUEN/FeishuExtension/src/constants.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import Cover from './assets/cover.png';
import Icon from './assets/icon.png';

export { Cover, Icon };

export const extensionNS = 'YUEN';

// eslint-disable-next-line no-undef
export const extensionId = `${extensionNS}.feishu${DEPLOY_ENV && DEPLOY_ENV === 'pre' ? '1' : ''}`;
Loading

0 comments on commit baac85e

Please sign in to comment.