Skip to content

Commit 1ace667

Browse files
committed
feat: prepare for next version
1 parent 62e5c18 commit 1ace667

17 files changed

+4508
-5494
lines changed

.gitignore

+32-24
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,39 @@
1-
# Nuxt dev/build outputs
2-
.output
3-
.nuxt
4-
.nitro
5-
.cache
6-
dist
7-
.env.docker
8-
build
9-
__pycache__
10-
.vercel
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
112

12-
# Node dependencies
3+
# dependencies
134
node_modules
5+
.pnp
6+
.pnp.js
7+
8+
# testing
9+
coverage
1410

15-
# Logs
16-
logs
17-
*.log
18-
cookie.txt
19-
token.txt
11+
# build outputs
12+
.nuxt/
13+
.output/
14+
out/
15+
build
2016

21-
# Misc
17+
# misc
2218
.DS_Store
23-
.fleet
24-
.idea
19+
*.pem
20+
21+
# debug
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*
2525

26-
# Local env files
26+
# local env files
2727
.env
28-
.env.*
29-
!.env.example
30-
!.env.*.example
31-
.turbo
28+
.env.local
29+
.env.development.local
30+
.env.test.local
31+
.env.production.local
32+
33+
# turbo
34+
.turbo
35+
36+
# vercel
37+
.vercel
38+
39+
.idea

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
auto-install-peers = true

.vscode/settings.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"eslint.workingDirectories": [
3+
{
4+
"mode": "auto"
5+
}
6+
]
7+
}

apps/docs/.eslintrc.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module.exports = {
22
root: true,
33
extends: ["custom/nuxt"],
4-
}
4+
};

apps/docs/nuxt.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// https://nuxt.com/docs/api/configuration/nuxt-config
22
export default defineNuxtConfig({
33
devtools: { enabled: true },
4-
})
4+
});

apps/web/.eslintrc.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-env node */
2-
require("@rushstack/eslint-patch/modern-module-resolution")
2+
require("@rushstack/eslint-patch/modern-module-resolution");
33

44
module.exports = {
55
root: true,
66
extends: ["plugin:vue/vue3-essential", "custom/vue"],
7-
}
7+
};

apps/web/src/app.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
2-
import { Page } from "ui"
3-
import { name } from "../package.json"
2+
import { Page } from "ui";
3+
import { name } from "../package.json";
44
</script>
55

66
<template>

apps/web/src/main.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createApp } from "vue"
2-
import App from "./app.vue"
1+
import { createApp } from "vue";
2+
import App from "./app.vue";
33

4-
createApp(App).mount("#app")
4+
createApp(App).mount("#app");

apps/web/vite.config.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { fileURLToPath, URL } from "node:url"
2-
import { defineConfig } from "vite"
3-
import vue from "@vitejs/plugin-vue"
1+
import { fileURLToPath, URL } from "node:url";
2+
import { defineConfig } from "vite";
3+
import vue from "@vitejs/plugin-vue";
44

55
// https://vitejs.dev/config/
66
export default defineConfig({
@@ -10,4 +10,4 @@ export default defineConfig({
1010
"@": fileURLToPath(new URL("./src", import.meta.url)),
1111
},
1212
},
13-
})
13+
});

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
"prettier": "^3.2.5",
1212
"turbo": "^2.3.3"
1313
},
14-
"packageManager": "pnpm@9.15.1"
14+
"packageManager": "pnpm@8.15.6"
1515
}

packages/eslint-config-custom/nuxt.js

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// noinspection JSCheckFunctionSignatures
2-
31
const { resolve } = require("node:path");
42

53
const project = resolve(process.cwd(), "tsconfig.json");
@@ -17,7 +15,7 @@ module.exports = {
1715
"@nuxtjs/eslint-config-typescript",
1816
"@vercel/style-guide/eslint/node",
1917
"@vercel/style-guide/eslint/browser",
20-
"turbo"
18+
"turbo",
2119
].map(require.resolve),
2220
parserOptions: {
2321
sourceType: "module",
@@ -30,13 +28,10 @@ module.exports = {
3028
},
3129
},
3230
ignorePatterns: ["node_modules/", "dist/", ".eslintrc.cjs", "nuxt.config.ts"],
33-
// ignorePatterns: ["node_modules/", "dist/", ".nuxt/"],
3431
rules: {
3532
"comma-dangle": "off",
36-
// semi: "off",
33+
semi: "off",
3734
"no-undef": "off",
3835
// add specific rules configurations here
39-
semi: ["error", "never"],
40-
"eslint-comments/require-description": "off",
4136
},
4237
};

packages/eslint-config-custom/vue.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// noinspection JSCheckFunctionSignatures
2-
31
const { resolve } = require("node:path");
42

53
const project = resolve(process.cwd(), "tsconfig.json");
@@ -28,14 +26,11 @@ module.exports = {
2826
},
2927
},
3028
},
31-
// ignorePatterns: ["node_modules/", "dist/", ".eslintrc.js"],
32-
ignorePatterns: ["node_modules/", "dist/"],
29+
ignorePatterns: ["node_modules/", "dist/", ".eslintrc.js"],
3330

3431
rules: {
3532
"import/no-default-export": "off",
3633
"vue/multi-word-component-names": "off",
3734
// add specific rules configurations here
38-
semi: ["error", "never"],
39-
"eslint-comments/require-description": "off",
4035
},
4136
};

packages/ui/index.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Card from "./src/card.vue"
2-
import Gradient from "./src/gradient.vue"
3-
import Page from "./src/page.vue"
1+
import Card from "./src/card.vue";
2+
import Gradient from "./src/gradient.vue";
3+
import Page from "./src/page.vue";
44

5-
export { Card, Gradient, Page }
5+
export { Card, Gradient, Page };

packages/ui/src/card.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const props = defineProps<{
33
class?: string;
44
title: string;
55
href: string;
6-
}>()
6+
}>();
77
</script>
88

99
<template>

packages/ui/src/gradient.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const props = withDefaults(
66
class?: string;
77
}>(),
88
{},
9-
)
9+
);
1010
</script>
1111

1212
<template>

packages/ui/src/page.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
2-
import Card from "./card.vue"
3-
import Gradient from "./gradient.vue"
2+
import Card from "./card.vue";
3+
import Gradient from "./gradient.vue";
44
55
const LINKS = [
66
{
@@ -24,11 +24,11 @@ const LINKS = [
2424
description:
2525
"Instantly deploy your Turborepo to a shareable URL with Vercel.",
2626
},
27-
]
27+
];
2828
2929
const props = defineProps<{
3030
appName: string;
31-
}>()
31+
}>();
3232
</script>
3333

3434
<template>

0 commit comments

Comments
 (0)