Skip to content

Commit 6658173

Browse files
committed
fix: fetch assets after build
1 parent 823806c commit 6658173

9 files changed

+669
-3042
lines changed

.editorconfig

-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,3 @@ charset = utf-8
99
trim_trailing_whitespace = true
1010
insert_final_newline = true
1111
quote_type = single
12-
13-
[*.md]
14-
trim_trailing_whitespace = false

.eslintrc.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
module.exports = {
22
root: true,
33
extends: [
4-
require.resolve('@gera2ld/plaid-common-ts/eslint'),
4+
require.resolve('@gera2ld/plaid/eslint'),
55
],
66
parserOptions: {
77
project: './tsconfig.json',
88
},
99
rules: {
10+
'@typescript-eslint/no-explicit-any': 'off',
1011
'@typescript-eslint/no-implied-eval': 'off',
12+
'@typescript-eslint/no-unused-vars': 'off',
1113
'import/no-extraneous-dependencies': 'off',
1214
},
1315
};

babel.config.js babel.config.cjs

File renamed without changes.

gulpfile.mjs

-54
This file was deleted.

package.json

+8-14
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@
8484
},
8585
"scripts": {
8686
"prepare": "husky install",
87-
"vscode:prepublish": "run-s compile",
88-
"dev": "gulp dev",
89-
"build": "gulp build",
90-
"compile": "run-s lint build",
87+
"vscode:prepublish": "run-s build",
88+
"clean": "del-cli dist",
89+
"build:js": "rollup -c && node dist/postbuild.js",
90+
"build": "run-s lint clean build:js",
9191
"lint": "eslint --ext .ts,.tsx ."
9292
},
9393
"repository": "https://github.com/gera2ld/markmap-vscode",
@@ -98,24 +98,18 @@
9898
],
9999
"devDependencies": {
100100
"@babel/runtime": "^7.22.6",
101-
"@gera2ld/plaid": "~2.6.0",
102-
"@gera2ld/plaid-rollup": "~2.6.0",
101+
"@gera2ld/plaid": "^2.6.0",
102+
"@gera2ld/plaid-rollup": "^2.6.0",
103103
"@types/lodash.debounce": "^4.0.7",
104104
"@types/node": "^20.4.2",
105105
"@types/vscode": "~1.75.0",
106-
"d3": "^7.8.5",
107-
"del": "^7.0.0",
108-
"fancy-log": "^2.0.0",
109-
"gulp": "^4.0.2",
110-
"highlight.js": "^11.8.0",
106+
"del-cli": "^5.1.0",
111107
"husky": "^8.0.3",
112108
"lodash.debounce": "^4.0.8",
113109
"markmap-common": "^0.15.6",
114110
"markmap-lib": "^0.15.7",
115111
"markmap-toolbar": "^0.15.6",
116-
"markmap-view": "^0.15.6",
117112
"read-pkg-up": "^10.0.0",
118-
"vscode-uri": "^3.0.7",
119-
"webfontloader": "^1.6.28"
113+
"vscode-uri": "^3.0.7"
120114
}
121115
}

0 commit comments

Comments
 (0)