@coze-arch/cli 0.0.1-alpha.a8e799 → 0.0.1-alpha.aea179

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/lib/__templates__/expo/.coze +1 -1
  2. package/lib/__templates__/expo/.cozeproj/scripts/dev_build.sh +19 -82
  3. package/lib/__templates__/expo/.cozeproj/scripts/dev_run.sh +62 -81
  4. package/lib/__templates__/expo/README.md +25 -16
  5. package/lib/__templates__/expo/client/app/index.tsx +1 -0
  6. package/lib/__templates__/expo/client/app.config.ts +64 -60
  7. package/lib/__templates__/expo/client/assets/images/coze-logo.png +0 -0
  8. package/lib/__templates__/expo/client/constants/theme.ts +20 -16
  9. package/lib/__templates__/expo/client/hooks/useColorScheme.ts +34 -1
  10. package/lib/__templates__/expo/client/package.json +3 -2
  11. package/lib/__templates__/expo/client/screens/home/index.tsx +8 -37
  12. package/lib/__templates__/expo/client/screens/home/styles.ts +16 -52
  13. package/lib/__templates__/expo/pnpm-lock.yaml +2125 -107
  14. package/lib/__templates__/expo/server/package.json +16 -2
  15. package/lib/__templates__/expo/server/src/index.ts +8 -2
  16. package/lib/__templates__/expo/server/tsconfig.json +24 -0
  17. package/lib/__templates__/expo/template.config.js +1 -0
  18. package/lib/__templates__/nextjs/.coze +1 -0
  19. package/lib/__templates__/nextjs/_npmrc +1 -0
  20. package/lib/__templates__/nextjs/next.config.ts +12 -0
  21. package/lib/__templates__/nextjs/package.json +3 -2
  22. package/lib/__templates__/nextjs/pnpm-lock.yaml +13 -5
  23. package/lib/__templates__/nextjs/scripts/prepare.sh +9 -0
  24. package/lib/__templates__/nextjs/src/app/globals.css +10 -2
  25. package/lib/__templates__/nextjs/src/app/layout.tsx +1 -12
  26. package/lib/__templates__/nextjs/src/app/page.tsx +33 -21
  27. package/lib/__templates__/nextjs/src/components/ui/resizable.tsx +29 -22
  28. package/lib/__templates__/nextjs/src/components/ui/sidebar.tsx +228 -230
  29. package/lib/__templates__/nextjs/template.config.js +30 -0
  30. package/lib/__templates__/templates.json +61 -43
  31. package/lib/__templates__/vite/.coze +1 -0
  32. package/lib/__templates__/vite/_npmrc +1 -0
  33. package/lib/__templates__/vite/eslint.config.mjs +9 -0
  34. package/lib/__templates__/vite/package.json +5 -1
  35. package/lib/__templates__/vite/pnpm-lock.yaml +3481 -14
  36. package/lib/__templates__/vite/scripts/prepare.sh +9 -0
  37. package/lib/__templates__/vite/template.config.js +28 -4
  38. package/lib/cli.js +189 -52
  39. package/package.json +5 -3
  40. package/lib/__templates__/nextjs/.vscode/settings.json +0 -121
  41. package/lib/__templates__/vite/.vscode/settings.json +0 -7
  42. /package/lib/__templates__/expo/client/app/{index.ts → home.tsx} +0 -0
@@ -0,0 +1,9 @@
1
+ #!/bin/bash
2
+ set -Eeuo pipefail
3
+
4
+ COZE_WORKSPACE_PATH="${COZE_WORKSPACE_PATH:-$(pwd)}"
5
+
6
+ cd "${COZE_WORKSPACE_PATH}"
7
+
8
+ echo "Installing dependencies..."
9
+ pnpm install --prefer-frozen-lockfile --prefer-offline --loglevel debug --reporter=append-only
@@ -37,7 +37,11 @@ export const paramsSchema = {
37
37
  additionalProperties: false,
38
38
  };
39
39
 
40
+ const description = `Vite(简单项目):\`coze init \${COZE_WORKSPACE_PATH} --template vite\`
41
+ - 适用:轻量级 SPA、纯前端交互、仪表盘等轻量级项目。`;
42
+
40
43
  const config = {
44
+ description: description,
41
45
  paramsSchema,
42
46
 
43
47
  defaultParams: {
@@ -55,11 +59,31 @@ const config = {
55
59
 
56
60
  onAfterRender: async (context, outputPath) => {
57
61
  console.log(`\nProject created at: ${outputPath}`);
58
- console.log(`\nConfiguration:`);
59
- console.log(` - TypeScript: enabled`);
60
- console.log(` - Framework: None (Vanilla JS/TS)`);
61
- console.log(` - Build Tool: Vite`);
62
+ console.log('\nConfiguration:');
63
+ console.log(' - Framework: vite');
64
+ console.log(' - TypeScript: enabled');
65
+ console.log(' - App Router: enabled');
62
66
  console.log(` - Port: ${context.port}`);
67
+
68
+ // Skip pnpm add in test environment to avoid monorepo workspace issues
69
+ if (process.env.NODE_ENV === 'test') {
70
+ console.log('⊘ Skipping dependency update in test environment');
71
+ return;
72
+ }
73
+
74
+ const cmd = `pnpm add coze-coding-dev-sdk@"^0.7.0"`;
75
+ console.log(`${cmd}`);
76
+ try {
77
+ const projectRoot = resolve(outputPath);
78
+ execSync(cmd, {
79
+ cwd: projectRoot,
80
+ stdio: 'inherit',
81
+ });
82
+ console.log('✓ coze-coding-dev-sdk updated successfully');
83
+ } catch (error) {
84
+ console.error('✗ Failed to update coze-coding-dev-sdk:', error);
85
+ throw error;
86
+ }
63
87
  },
64
88
  };
65
89
 
package/lib/cli.js CHANGED
@@ -7,10 +7,10 @@ var fs = require('fs');
7
7
  var shelljs = require('shelljs');
8
8
  var perf_hooks = require('perf_hooks');
9
9
  var fs$1 = require('fs/promises');
10
+ var os = require('os');
10
11
  var toml = require('@iarna/toml');
11
12
  var jsYaml = require('js-yaml');
12
13
  var child_process = require('child_process');
13
- var os = require('os');
14
14
  var addFormats = require('ajv-formats');
15
15
  var Ajv = require('ajv');
16
16
  var minimist = require('minimist');
@@ -826,23 +826,48 @@ const getCommandConfig = (
826
826
  function _nullishCoalesce$1(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
827
827
 
828
828
  /**
829
- * 创建日志管理器
829
+ * 日志文件名常量
830
830
  */
831
- const createLogManager = (logDir = '.coze-logs') => {
832
- const ensureLogDir = () => {
833
- if (!fs.existsSync(logDir)) {
834
- fs.mkdirSync(logDir, { recursive: true });
835
- }
836
- };
831
+ const LOG_FILE_NAME = 'dev.log';
832
+
833
+ /**
834
+ * 获取日志目录
835
+ * 优先使用环境变量 COZE_LOG_DIR,否则使用 ~/.coze-logs
836
+ */
837
+ const getLogDir = () =>
838
+ process.env.COZE_LOG_DIR || path.join(os.homedir(), '.coze-logs');
837
839
 
838
- const getLogPath = (logFile) => path.join(logDir, logFile);
840
+ /**
841
+ * 解析日志文件路径
842
+ * - 如果是绝对路径,直接使用
843
+ * - 如果是相对路径,基于 getLogDir() + 相对路径
844
+ * - 如果为空,使用 getLogDir() + LOG_FILE_NAME
845
+ */
846
+ const resolveLogFilePath = (logFile) => {
847
+ if (!logFile) {
848
+ return path.join(getLogDir(), LOG_FILE_NAME);
849
+ }
839
850
 
840
- return {
841
- createWriteStream: (logFile) => {
842
- ensureLogDir();
843
- return fs.createWriteStream(getLogPath(logFile), { flags: 'a' });
844
- },
845
- };
851
+ if (path.isAbsolute(logFile)) {
852
+ return logFile;
853
+ }
854
+
855
+ return path.join(getLogDir(), logFile);
856
+ };
857
+
858
+ /**
859
+ * 创建日志写入流
860
+ */
861
+ const createLogStream = (logFilePath) => {
862
+ const logDir = path.dirname(logFilePath);
863
+
864
+ // 确保日志目录存在
865
+ if (!fs.existsSync(logDir)) {
866
+ fs.mkdirSync(logDir, { recursive: true });
867
+ }
868
+
869
+ // 使用 'w' 标志覆盖之前的日志
870
+ return fs.createWriteStream(logFilePath, { flags: 'w' });
846
871
  };
847
872
 
848
873
  /**
@@ -860,16 +885,15 @@ const executeRun = async (
860
885
  const commandArgs = getCommandConfig(config, commandName);
861
886
 
862
887
  // 2. 准备日志
863
- const logManager = createLogManager();
864
- const logFile = options.logFile || `${commandName}.log`;
865
- const logStream = logManager.createWriteStream(logFile);
888
+ const logFilePath = resolveLogFilePath(options.logFile);
889
+ const logStream = createLogStream(logFilePath);
866
890
 
867
891
  // 3. 执行命令
868
892
  const commandString = commandArgs.join(' ');
869
893
 
870
894
  logger.info(`Executing: ${commandString}`);
871
895
  logger.info(`Working directory: ${process.cwd()}`);
872
- logger.info(`Log file: ${logFile}`);
896
+ logger.info(`Log file: ${logFilePath}`);
873
897
 
874
898
  const childProcess = shelljs.exec(commandString, {
875
899
  async: true,
@@ -898,11 +922,11 @@ const executeRun = async (
898
922
  logger.error(
899
923
  `Command exited with code ${_nullishCoalesce$1(code, () => ( 'unknown'))}${signal ? ` and signal ${signal}` : ''}`,
900
924
  );
901
- logger.error(`Check log file for details: ${logFile}`);
925
+ logger.error(`Check log file for details: ${logFilePath}`);
902
926
  process.exit(code || 1);
903
927
  } else {
904
928
  logger.success('Command completed successfully');
905
- logger.info(`Log file: ${logFile}`);
929
+ logger.info(`Log file: ${logFilePath}`);
906
930
  }
907
931
  });
908
932
 
@@ -1248,17 +1272,139 @@ const convertDotfileName = (filePath) => {
1248
1272
  };
1249
1273
 
1250
1274
  /**
1251
- * 复制并处理模板文件到目标目录
1275
+ * 执行文件渲染钩子
1252
1276
  *
1253
- * @param templatePath - 模板目录路径
1254
- * @param outputPath - 输出目录路径
1277
+ * @param templateConfig - 模板配置
1278
+ * @param fileInfo - 文件渲染信息
1255
1279
  * @param context - 模板上下文
1280
+ * @returns 处理后的文件信息,或 null 表示跳过该文件
1256
1281
  */
1257
- const processTemplateFiles = async (
1258
- templatePath,
1259
- outputPath,
1282
+ const executeFileRenderHook = async (
1283
+ templateConfig,
1284
+ fileInfo,
1260
1285
  context,
1261
1286
  ) => {
1287
+ if (!templateConfig.onFileRender) {
1288
+ return fileInfo;
1289
+ }
1290
+
1291
+ const result = await templateConfig.onFileRender(
1292
+ fileInfo,
1293
+ context,
1294
+ );
1295
+
1296
+ // false: 跳过文件
1297
+ if (result === false) {
1298
+ return null;
1299
+ }
1300
+
1301
+ // undefined/void: 使用默认内容
1302
+ if (result === undefined || result === null) {
1303
+ return fileInfo;
1304
+ }
1305
+
1306
+ // string: 作为 content,其他不变
1307
+ if (typeof result === 'string') {
1308
+ return {
1309
+ ...fileInfo,
1310
+ content: result,
1311
+ };
1312
+ }
1313
+
1314
+ // FileRenderInfo: 使用新对象的信息
1315
+ return result;
1316
+ };
1317
+
1318
+ /**
1319
+ * 处理单个文件
1320
+ */
1321
+ const processSingleFile = async (options
1322
+
1323
+
1324
+
1325
+
1326
+
1327
+ ) => {
1328
+ const { file, templatePath, outputPath, context, templateConfig } = options;
1329
+
1330
+ const srcPath = path.join(templatePath, file);
1331
+ const destFile = convertDotfileName(file);
1332
+
1333
+ logger.verbose(
1334
+ ` - Processing: ${file}${destFile !== file ? ` -> ${destFile}` : ''}`,
1335
+ );
1336
+
1337
+ // 判断是否为二进制文件
1338
+ const isBinary = !shouldRenderFile(srcPath);
1339
+ let content;
1340
+ let wasRendered = false;
1341
+
1342
+ if (isBinary) {
1343
+ // 二进制文件,读取为 buffer 然后转为 base64
1344
+ const buffer = await fs$1.readFile(srcPath);
1345
+ content = buffer.toString('base64');
1346
+ } else {
1347
+ // 文本文件,渲染后的内容
1348
+ content = await renderTemplate(srcPath, context);
1349
+ wasRendered = true;
1350
+ }
1351
+
1352
+ // 构造文件信息对象
1353
+ const fileInfo = {
1354
+ path: file,
1355
+ destPath: destFile,
1356
+ content,
1357
+ isBinary,
1358
+ wasRendered,
1359
+ };
1360
+
1361
+ // 执行文件渲染钩子
1362
+ const processedFileInfo = await executeFileRenderHook(
1363
+ templateConfig,
1364
+ fileInfo,
1365
+ context,
1366
+ );
1367
+
1368
+ // 如果返回 null,跳过该文件
1369
+ if (processedFileInfo === null) {
1370
+ logger.verbose(' ⊘ Skipped by onFileRender hook');
1371
+ return;
1372
+ }
1373
+
1374
+ // 使用处理后的目标路径
1375
+ const finalDestPath = path.join(outputPath, processedFileInfo.destPath);
1376
+
1377
+ // 确保目标目录存在
1378
+ await ensureDir(path.dirname(finalDestPath));
1379
+
1380
+ // 写入文件
1381
+ if (processedFileInfo.isBinary) {
1382
+ // 二进制文件:如果内容没变,直接复制;否则从 base64 解码写入
1383
+ if (processedFileInfo.content === content) {
1384
+ await fs$1.copyFile(srcPath, finalDestPath);
1385
+ logger.verbose(' ✓ Copied (binary)');
1386
+ } else {
1387
+ const buffer = Buffer.from(processedFileInfo.content, 'base64');
1388
+ await fs$1.writeFile(finalDestPath, buffer);
1389
+ logger.verbose(' ✓ Written (binary, modified by hook)');
1390
+ }
1391
+ } else {
1392
+ // 文本文件
1393
+ await fs$1.writeFile(finalDestPath, processedFileInfo.content, 'utf-8');
1394
+ logger.verbose(' ✓ Rendered and written');
1395
+ }
1396
+ };
1397
+
1398
+ /**
1399
+ * 复制并处理模板文件到目标目录
1400
+ */
1401
+ const processTemplateFiles = async (options
1402
+
1403
+
1404
+
1405
+
1406
+ ) => {
1407
+ const { templatePath, outputPath, context, templateConfig } = options;
1262
1408
  logger.verbose('Processing template files:');
1263
1409
  logger.verbose(` - Template path: ${templatePath}`);
1264
1410
  logger.verbose(` - Output path: ${outputPath}`);
@@ -1289,29 +1435,15 @@ const processTemplateFiles = async (
1289
1435
  }
1290
1436
 
1291
1437
  await Promise.all(
1292
- files.map(async file => {
1293
- const srcPath = path.join(templatePath, file);
1294
- const destFile = convertDotfileName(file);
1295
- const destPath = path.join(outputPath, destFile);
1296
-
1297
- logger.verbose(
1298
- ` - Processing: ${file}${destFile !== file ? ` -> ${destFile}` : ''}`,
1299
- );
1300
-
1301
- // 确保目标目录存在
1302
- await ensureDir(path.dirname(destPath));
1303
-
1304
- if (shouldRenderFile(srcPath)) {
1305
- // 渲染文本文件
1306
- const rendered = await renderTemplate(srcPath, context);
1307
- await fs$1.writeFile(destPath, rendered, 'utf-8');
1308
- logger.verbose(' ✓ Rendered and written');
1309
- } else {
1310
- // 直接复制二进制文件
1311
- await fs$1.copyFile(srcPath, destPath);
1312
- logger.verbose(' ✓ Copied');
1313
- }
1314
- }),
1438
+ files.map(file =>
1439
+ processSingleFile({
1440
+ file,
1441
+ templatePath,
1442
+ outputPath,
1443
+ context,
1444
+ templateConfig,
1445
+ }),
1446
+ ),
1315
1447
  );
1316
1448
 
1317
1449
  logger.verbose('✓ All files processed successfully');
@@ -1498,7 +1630,12 @@ const execute = async (
1498
1630
  const absoluteOutputPath = await prepareOutputDirectory(outputPath);
1499
1631
 
1500
1632
  // 6. 处理模板文件
1501
- await processTemplateFiles(templatePath, absoluteOutputPath, context);
1633
+ await processTemplateFiles({
1634
+ templatePath,
1635
+ outputPath: absoluteOutputPath,
1636
+ context,
1637
+ templateConfig,
1638
+ });
1502
1639
 
1503
1640
  // 7. 执行 onAfterRender 钩子
1504
1641
  await executeAfterRenderHook(templateConfig, context, absoluteOutputPath);
@@ -1741,7 +1878,7 @@ const registerCommand = program => {
1741
1878
  });
1742
1879
  };
1743
1880
 
1744
- var version = "0.0.1-alpha.a8e799";
1881
+ var version = "0.0.1-alpha.aea179";
1745
1882
  var packageJson = {
1746
1883
  version: version};
1747
1884
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coze-arch/cli",
3
- "version": "0.0.1-alpha.a8e799",
3
+ "version": "0.0.1-alpha.aea179",
4
4
  "private": false,
5
5
  "description": "coze coding devtools cli",
6
6
  "license": "MIT",
@@ -25,14 +25,13 @@
25
25
  "test": "vitest --run --passWithNoTests",
26
26
  "test:all": "bash scripts/test-coverage.sh",
27
27
  "test:cov": "vitest --run --passWithNoTests --coverage",
28
- "test:e2e": "bash scripts/e2e.sh",
28
+ "test:e2e": "NODE_ENV=test bash scripts/e2e.sh",
29
29
  "test:perf": "vitest bench --run --config vitest.perf.config.ts",
30
30
  "test:perf:compare": "bash scripts/compare-perf.sh",
31
31
  "test:perf:save": "bash scripts/run-perf-with-output.sh"
32
32
  },
33
33
  "dependencies": {
34
34
  "@iarna/toml": "^2.2.5",
35
- "@inquirer/prompts": "^3.2.0",
36
35
  "ajv": "^8.17.1",
37
36
  "ajv-formats": "^3.0.1",
38
37
  "change-case": "^5.4.4",
@@ -50,14 +49,17 @@
50
49
  "@coze-arch/ts-config": "workspace:*",
51
50
  "@coze-arch/vitest-config": "workspace:*",
52
51
  "@coze-coding/lambda": "workspace:*",
52
+ "@inquirer/prompts": "^3.2.0",
53
53
  "@types/ejs": "^3.1.5",
54
54
  "@types/iarna__toml": "^2.0.5",
55
55
  "@types/js-yaml": "^4.0.9",
56
+ "@types/minimatch": "^5.1.2",
56
57
  "@types/minimist": "^1.2.5",
57
58
  "@types/node": "^24",
58
59
  "@types/shelljs": "^0.10.0",
59
60
  "@vitest/coverage-v8": "~4.0.16",
60
61
  "json-schema-to-typescript": "^15.0.3",
62
+ "minimatch": "^10.0.1",
61
63
  "rollup": "^4.41.1",
62
64
  "sucrase": "^3.35.0",
63
65
  "tsx": "^4.20.6",
@@ -1,121 +0,0 @@
1
- {
2
- "[css]": {
3
- "editor.defaultFormatter": "esbenp.prettier-vscode"
4
- },
5
- "[dotenv]": {
6
- "editor.defaultFormatter": "foxundermoon.shell-format"
7
- },
8
- "[html]": {
9
- "editor.defaultFormatter": "esbenp.prettier-vscode"
10
- },
11
- "[ignore]": {
12
- "editor.defaultFormatter": "foxundermoon.shell-format"
13
- },
14
- "[javascript]": {
15
- "editor.defaultFormatter": "esbenp.prettier-vscode"
16
- },
17
- "[javascriptreact]": {
18
- "editor.defaultFormatter": "esbenp.prettier-vscode"
19
- },
20
- "[json]": {
21
- "editor.defaultFormatter": "esbenp.prettier-vscode"
22
- },
23
- "[jsonc]": {
24
- "editor.defaultFormatter": "esbenp.prettier-vscode"
25
- },
26
- "[less]": {
27
- "editor.defaultFormatter": "stylelint.vscode-stylelint"
28
- },
29
- "[scss]": {
30
- "editor.defaultFormatter": "esbenp.prettier-vscode"
31
- },
32
- "[shellscript]": {
33
- "editor.defaultFormatter": "foxundermoon.shell-format"
34
- },
35
- "[sql]": {
36
- "editor.defaultFormatter": "adpyke.vscode-sql-formatter"
37
- },
38
- "[svg]": {
39
- "editor.defaultFormatter": "jock.svg"
40
- },
41
- "[typescript]": {
42
- "editor.defaultFormatter": "esbenp.prettier-vscode"
43
- },
44
- "[typescriptreact]": {
45
- "editor.defaultFormatter": "esbenp.prettier-vscode"
46
- },
47
- "[xml]": {
48
- "editor.defaultFormatter": "mblode.pretty-formatter"
49
- },
50
- "[yaml]": {
51
- "editor.defaultFormatter": "esbenp.prettier-vscode"
52
- },
53
- "cSpell.diagnosticLevel": "Warning",
54
- "css.validate": false,
55
- "editor.codeActionsOnSave": {
56
- "source.fixAll": "never",
57
- "source.fixAll.eslint": "explicit",
58
- "source.organizeImports": "never",
59
- "source.removeUnused": "never",
60
- "source.removeUnused.ts": "never",
61
- "source.removeUnusedImports": "never",
62
- "source.sort.json": "never"
63
- // "source.sortImports": "always"
64
- },
65
- "editor.defaultFormatter": "esbenp.prettier-vscode",
66
- "editor.formatOnPaste": false,
67
- "editor.formatOnSave": true,
68
- "editor.formatOnType": false,
69
- "editor.insertSpaces": true,
70
- "editor.minimap.enabled": true,
71
- //
72
- "editor.rulers": [80, 120],
73
- "editor.semanticHighlighting.enabled": false,
74
- "editor.tabSize": 2,
75
- "emmet.triggerExpansionOnTab": true,
76
- "files.associations": {
77
- ".babelrc": "json",
78
- ".code-workspace": "jsonc",
79
- ".eslintrc": "jsonc",
80
- ".eslintrc*.json": "jsonc",
81
- ".htmlhintrc": "jsonc",
82
- ".stylelintrc": "javascript",
83
- "*.json": "jsonc",
84
- "*.log": "plaintext",
85
- "*.map": "plaintext",
86
- "**/coverage/**/*.*": "plaintext",
87
- "**/pnpm-lock.yaml": "plaintext",
88
- "htmlhintrc": "jsonc",
89
- "package.json": "json",
90
- "README": "markdown",
91
- "stylelintrc": "jsonc",
92
- ".coze": "toml"
93
- },
94
- "files.defaultLanguage": "plaintext",
95
- "files.eol": "\n",
96
- "files.exclude": {
97
- "**/.DS_Store": true,
98
- "**/.git": true,
99
- "**/.hg": true,
100
- "**/.svn": true,
101
- // "**/.lintcache": true,
102
- "**/.swc": true,
103
- "**/CVS": true,
104
- "**/Thumbs.db": true
105
- },
106
- "files.insertFinalNewline": true,
107
- "files.trimTrailingWhitespace": true,
108
- "files.watcherExclude": {
109
- "**/.git/objects/**": true,
110
- "**/.git/subtree-cache/**": true,
111
- "**/node_modules/*/**": true
112
- },
113
- "git.openRepositoryInParentFolders": "always",
114
- "search.exclude": {
115
- "**/dist": true,
116
- "**/node_modules": true
117
- },
118
- // "editor.formatOnSaveMode": "modificationsIfAvailable",
119
- "search.followSymlinks": false,
120
- "search.useIgnoreFiles": true
121
- }
@@ -1,7 +0,0 @@
1
- {
2
- "editor.formatOnSave": true,
3
- "editor.codeActionsOnSave": {
4
- "source.fixAll.eslint": "explicit"
5
- },
6
- "typescript.tsdk": "node_modules/typescript/lib"
7
- }