@icebreakers/monorepo-templates 0.1.4 → 0.1.5

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.
@@ -21,17 +21,17 @@
21
21
  *.bat text eol=crlf
22
22
  *.cmd text eol=crlf
23
23
  *.coffee text
24
- *.css text diff=css
25
- *.htm text diff=html
26
- *.html text diff=html
24
+ *.css text eol=lf diff=css
25
+ *.htm text eol=lf diff=html
26
+ *.html text eol=lf diff=html
27
27
  *.inc text
28
28
  *.ini text
29
- *.js text
30
- *.mjs text
31
- *.cjs text
32
- *.json text
33
- *.jsx text
34
- *.less text
29
+ *.js text eol=lf
30
+ *.mjs text eol=lf
31
+ *.cjs text eol=lf
32
+ *.json text eol=lf
33
+ *.jsx text eol=lf
34
+ *.less text eol=lf
35
35
  *.ls text
36
36
  *.map text -diff
37
37
  *.od text
@@ -41,16 +41,16 @@
41
41
  *.ps1 text eol=crlf
42
42
  *.py text diff=python
43
43
  *.rb text diff=ruby
44
- *.sass text
44
+ *.sass text eol=lf
45
45
  *.scm text
46
- *.scss text diff=css
46
+ *.scss text eol=lf diff=css
47
47
  *.sh text eol=lf
48
48
  .husky/* text eol=lf
49
49
  *.sql text
50
- *.styl text
50
+ *.styl text eol=lf
51
51
  *.tag text
52
- *.ts text
53
- *.tsx text
52
+ *.ts text eol=lf
53
+ *.tsx text eol=lf
54
54
  *.xml text
55
55
  *.xhtml text diff=html
56
56
 
@@ -59,14 +59,14 @@ Dockerfile text
59
59
 
60
60
  # Documentation
61
61
  *.ipynb text eol=lf
62
- *.markdown text diff=markdown
63
- *.md text diff=markdown
64
- *.mdwn text diff=markdown
65
- *.mdown text diff=markdown
66
- *.mkd text diff=markdown
67
- *.mkdn text diff=markdown
68
- *.mdtxt text
69
- *.mdtext text
62
+ *.markdown text eol=lf diff=markdown
63
+ *.md text eol=lf diff=markdown
64
+ *.mdwn text eol=lf diff=markdown
65
+ *.mdown text eol=lf diff=markdown
66
+ *.mkd text eol=lf diff=markdown
67
+ *.mkdn text eol=lf diff=markdown
68
+ *.mdtxt text eol=lf
69
+ *.mdtext text eol=lf
70
70
  *.txt text
71
71
  AUTHORS text
72
72
  CHANGELOG text
@@ -100,7 +100,7 @@ TODO text
100
100
  *.tmpl text
101
101
  *.tpl text
102
102
  *.twig text
103
- *.vue text
103
+ *.vue text eol=lf
104
104
 
105
105
  # Configs
106
106
  *.cnf text
@@ -215,4 +215,4 @@ Procfile text
215
215
  *.*ignore text
216
216
 
217
217
  # Prevents massive diffs from built files
218
- dist/* binary
218
+ dist/* binary
@@ -3,5 +3,14 @@ import { icebreaker } from '@icebreakers/eslint-config'
3
3
  export default icebreaker(
4
4
  {
5
5
  ignores: ['**/fixtures/**'],
6
+ formatters: {
7
+ css: true,
8
+ graphql: true,
9
+ html: true,
10
+ markdown: true,
11
+ prettierOptions: {
12
+ endOfLine: 'lf',
13
+ },
14
+ },
6
15
  },
7
16
  )
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "version": "0.0.0",
5
5
  "private": true,
6
- "packageManager": "pnpm@10.28.1",
6
+ "packageManager": "pnpm@10.28.2",
7
7
  "author": "ice breaker <1324318532@qq.com>",
8
8
  "repository": {
9
9
  "type": "git",
@@ -46,17 +46,17 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@changesets/cli": "^2.29.8",
49
- "@commitlint/cli": "^20.3.1",
49
+ "@commitlint/cli": "^20.4.0",
50
50
  "@icebreakers/changelog-github": "^0.1.0",
51
- "@icebreakers/commitlint-config": "^1.2.5",
52
- "@icebreakers/eslint-config": "^1.6.15",
51
+ "@icebreakers/commitlint-config": "^1.2.6",
52
+ "@icebreakers/eslint-config": "^1.6.16",
53
53
  "@icebreakers/monorepo": "workspace:*",
54
54
  "@icebreakers/stylelint-config": "^2.0.1",
55
55
  "@types/fs-extra": "^11.0.4",
56
- "@types/node": "^25.0.9",
56
+ "@types/node": "^25.2.0",
57
57
  "@types/semver": "^7.7.1",
58
- "@vitest/coverage-v8": "~4.0.17",
59
- "ci-info": "^4.3.1",
58
+ "@vitest/coverage-v8": "~4.0.18",
59
+ "ci-info": "^4.4.0",
60
60
  "cross-env": "^10.1.0",
61
61
  "defu": "^6.1.4",
62
62
  "es-toolkit": "^1.44.0",
@@ -69,16 +69,16 @@
69
69
  "pathe": "^2.0.3",
70
70
  "pkg-types": "^2.3.0",
71
71
  "rimraf": "^6.1.2",
72
- "stylelint": "^17.0.0",
73
- "tsdown": "0.19.0",
72
+ "stylelint": "^17.1.0",
73
+ "tsdown": "0.20.1",
74
74
  "tslib": "^2.8.1",
75
75
  "tsup": "^8.5.1",
76
76
  "tsx": "^4.21.0",
77
- "turbo": "^2.7.5",
78
- "type-fest": "^5.4.1",
77
+ "turbo": "^2.8.1",
78
+ "type-fest": "^5.4.3",
79
79
  "typescript": "^5.9.3",
80
80
  "unbuild": "^3.6.1",
81
- "vitest": "~4.0.17",
81
+ "vitest": "~4.0.18",
82
82
  "yaml": "^2.8.2"
83
83
  },
84
84
  "publishConfig": {
package/dist/index.mjs CHANGED
@@ -108,14 +108,14 @@ const skeletonDir = assetsDir;
108
108
  //#region src/utils/gitignore.ts
109
109
  const publishBasename = "gitignore";
110
110
  const workspaceBasename = ".gitignore";
111
- function detectSeparator(input$1) {
112
- if (input$1.includes("\\") && !input$1.includes("/")) return "\\";
111
+ function detectSeparator(input) {
112
+ if (input.includes("\\") && !input.includes("/")) return "\\";
113
113
  return "/";
114
114
  }
115
- function replaceBasename(input$1, from, to) {
116
- if (!input$1) return input$1;
117
- const separator = detectSeparator(input$1);
118
- const normalized = input$1.replace(/[\\/]/g, separator);
115
+ function replaceBasename(input, from, to) {
116
+ if (!input) return input;
117
+ const separator = detectSeparator(input);
118
+ const normalized = input.replace(/[\\/]/g, separator);
119
119
  const hasTrailingSeparator = normalized.endsWith(separator);
120
120
  const segments = normalized.split(separator);
121
121
  if (hasTrailingSeparator && segments[segments.length - 1] === "") segments.pop();
@@ -125,13 +125,13 @@ function replaceBasename(input$1, from, to) {
125
125
  const rebuilt = segments.join(separator);
126
126
  return hasTrailingSeparator ? `${rebuilt}${separator}` : rebuilt;
127
127
  }
128
- return input$1;
128
+ return input;
129
129
  }
130
- function toPublishGitignorePath(input$1) {
131
- return replaceBasename(input$1, workspaceBasename, publishBasename);
130
+ function toPublishGitignorePath(input) {
131
+ return replaceBasename(input, workspaceBasename, publishBasename);
132
132
  }
133
- function toWorkspaceGitignorePath(input$1) {
134
- return replaceBasename(input$1, publishBasename, workspaceBasename);
133
+ function toWorkspaceGitignorePath(input) {
134
+ return replaceBasename(input, publishBasename, workspaceBasename);
135
135
  }
136
136
  function isGitignoreFile(name) {
137
137
  return toPublishGitignorePath(name) !== name || toWorkspaceGitignorePath(name) !== name;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icebreakers/monorepo-templates",
3
3
  "type": "module",
4
- "version": "0.1.4",
4
+ "version": "0.1.5",
5
5
  "description": "Template assets for icebreaker monorepo scaffolding",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -42,7 +42,7 @@
42
42
  "@inquirer/checkbox": "^5.0.4",
43
43
  "@inquirer/input": "^5.0.4",
44
44
  "@inquirer/select": "^5.0.4",
45
- "commander": "^14.0.2",
45
+ "commander": "^14.0.3",
46
46
  "execa": "^9.6.1"
47
47
  },
48
48
  "publishConfig": {
@@ -15,38 +15,38 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@faker-js/faker": "^10.2.0",
18
- "@tanstack/vue-query": "^5.92.8",
19
- "@tanstack/vue-query-devtools": "^6.1.3",
18
+ "@tanstack/vue-query": "^5.92.9",
19
+ "@tanstack/vue-query-devtools": "^6.1.4",
20
20
  "@tanstack/vue-table": "^8.21.3",
21
21
  "@tanstack/vue-virtual": "^3.13.18",
22
- "@trpc/client": "^11.8.1",
22
+ "@trpc/client": "^11.9.0",
23
23
  "clsx": "^2.1.1",
24
24
  "pinia": "^3.0.4",
25
25
  "tailwind-merge": "^3.4.0",
26
26
  "tailwind-variants": "^3.2.2",
27
27
  "vue": "^3.5.27",
28
28
  "vue-i18n": "^11.2.8",
29
- "vue-router": "^4.6.4"
29
+ "vue-router": "^5.0.1"
30
30
  },
31
31
  "devDependencies": {
32
- "@cloudflare/vite-plugin": "^1.21.1",
32
+ "@cloudflare/vite-plugin": "^1.22.1",
33
33
  "@hono/node-server": "^1.19.9",
34
34
  "@hono/trpc-server": "^0.4.2",
35
35
  "@tailwindcss/vite": "^4.1.18",
36
- "@trpc/server": "^11.8.1",
36
+ "@trpc/server": "^11.9.0",
37
37
  "@vitejs/plugin-vue": "^6.0.3",
38
38
  "@vitejs/plugin-vue-jsx": "^5.1.3",
39
39
  "@vue/tsconfig": "^0.8.1",
40
40
  "consola": "^3.4.2",
41
- "hono": "^4.11.4",
41
+ "hono": "^4.11.7",
42
42
  "tailwindcss": "^4.1.18",
43
43
  "typescript": "~5.9.3",
44
44
  "unplugin-vue-router": "^0.19.2",
45
45
  "vite": "^7.3.1",
46
46
  "vite-plugin-vue-devtools": "^8.0.5",
47
- "vite-tsconfig-paths": "^6.0.4",
48
- "vue-tsc": "3.2.2",
49
- "wrangler": "^4.59.3",
50
- "zod": "^4.3.5"
47
+ "vite-tsconfig-paths": "^6.0.5",
48
+ "vue-tsc": "3.2.4",
49
+ "wrangler": "^4.61.1",
50
+ "zod": "^4.3.6"
51
51
  }
52
52
  }
@@ -53,8 +53,8 @@
53
53
  "devDependencies": {
54
54
  "@hono/node-server": "^1.19.9",
55
55
  "consola": "^3.4.2",
56
- "hono": "^4.11.4",
57
- "wrangler": "^4.59.3",
58
- "zod": "^4.3.5"
56
+ "hono": "^4.11.7",
57
+ "wrangler": "^4.61.1",
58
+ "zod": "^4.3.6"
59
59
  }
60
60
  }
@@ -25,7 +25,7 @@
25
25
  "vue": "^3.5.27"
26
26
  },
27
27
  "devDependencies": {
28
- "@braintree/sanitize-url": "^7.1.1",
28
+ "@braintree/sanitize-url": "^7.1.2",
29
29
  "@tailwindcss/vite": "^4.1.18",
30
30
  "cytoscape": "^3.33.1",
31
31
  "cytoscape-cose-bilkent": "^4.1.0",
@@ -46,10 +46,10 @@
46
46
  "@vitejs/plugin-vue": "^6.0.3",
47
47
  "@vue/test-utils": "^2.4.6",
48
48
  "@vue/tsconfig": "^0.8.1",
49
- "jsdom": "^27.4.0",
49
+ "jsdom": "^28.0.0",
50
50
  "vite": "^7.3.1",
51
51
  "vite-plugin-dts": "^4.5.4",
52
52
  "vue": "^3.5.27",
53
- "vue-tsc": "^3.2.2"
53
+ "vue-tsc": "^3.2.4"
54
54
  }
55
55
  }