Skip to content

Commit 1d076ee

Browse files
committed
Prettier (again)
1 parent 5c7ec2f commit 1d076ee

File tree

10 files changed

+1628
-1629
lines changed

10 files changed

+1628
-1629
lines changed

.editorconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ root = true
44
charset = utf-8
55
end_of_line = lf
66
insert_final_newline = true
7-
indent_style = tab
7+
indent_style = space
88
indent_size = 4
99
trim_trailing_whitespace = true
1010

@@ -13,4 +13,3 @@ trim_trailing_whitespace = false
1313

1414
[*.{yml,yaml}]
1515
indent_size = 2
16-
indent_style = space

.eslintrc.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module.exports = {
2-
root: true,
3-
env: {
4-
node: true,
5-
},
6-
parser: "@typescript-eslint/parser",
7-
plugins: ["@typescript-eslint"],
8-
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
2+
root: true,
3+
env: {
4+
node: true,
5+
},
6+
parser: "@typescript-eslint/parser",
7+
plugins: ["@typescript-eslint"],
8+
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
99
};

UPGRADE.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ import coldbox from "coldbox-vite-plugin";
3737
// import vue from "@vitejs/plugin-vue";
3838

3939
export default defineConfig({
40-
plugins: [
41-
coldbox(["resources/assets/css/app.css", "resources/assets/js/app.js"]),
42-
// react(),
43-
// vue({
44-
// template: {
45-
// transformAssetUrls: {
46-
// base: null,
47-
// includeAbsolute: false,
48-
// },
49-
// },
50-
// }),
51-
],
40+
plugins: [
41+
coldbox(["resources/assets/css/app.css", "resources/assets/js/app.js"]),
42+
// react(),
43+
// vue({
44+
// template: {
45+
// transformAssetUrls: {
46+
// base: null,
47+
// includeAbsolute: false,
48+
// },
49+
// },
50+
// }),
51+
],
5252
});
5353
```
5454

@@ -60,14 +60,14 @@ If you are migrating aliases from your ColdBox Elixir's `webpack.config.js` file
6060

6161
```js
6262
export default defineConfig({
63-
plugins: [
64-
coldbox(["resources/assets/css/app.css", "resources/assets/js/app.js"]),
65-
],
66-
resolve: {
67-
alias: {
68-
"@": "/resources/assets/js",
69-
},
70-
},
63+
plugins: [
64+
coldbox(["resources/assets/css/app.css", "resources/assets/js/app.js"]),
65+
],
66+
resolve: {
67+
alias: {
68+
"@": "/resources/assets/js",
69+
},
70+
},
7171
});
7272
```
7373

@@ -193,10 +193,10 @@ Or, you can create it manually:
193193

194194
```js
195195
module.exports = {
196-
plugins: {
197-
tailwindcss: {},
198-
autoprefixer: {},
199-
},
196+
plugins: {
197+
tailwindcss: {},
198+
autoprefixer: {},
199+
},
200200
};
201201
```
202202

@@ -227,12 +227,12 @@ import { defineConfig } from "vite";
227227
import laravel from "laravel-vite-plugin";
228228

229229
export default defineConfig({
230-
plugins: [
231-
laravel({
232-
input: "resources/js/app.js",
233-
ssr: "resources/js/ssr.js",
234-
}),
235-
],
230+
plugins: [
231+
laravel({
232+
input: "resources/js/app.js",
233+
ssr: "resources/js/ssr.js",
234+
}),
235+
],
236236
});
237237
```
238238

package.json

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
11
{
2-
"name": "coldbox-vite-plugin",
3-
"version": "0.1.0",
4-
"description": "ColdBox plugin for Vite.",
5-
"keywords": [
6-
"coldbox",
7-
"vite",
8-
"vite-plugin"
9-
],
10-
"homepage": "https://github.com/ColdBox/coldbox-vite-plugin",
11-
"repository": {
12-
"type": "git",
13-
"url": "https://github.com/ColdBox/coldbox-vite-plugin"
14-
},
15-
"license": "MIT",
16-
"author": "Eric Peterson <[email protected]>",
17-
"main": "dist/index.js",
18-
"types": "dist/index.d.ts",
19-
"files": [
20-
"/dist",
21-
"/inertia-helpers"
22-
],
23-
"scripts": {
24-
"build": "npm run build-plugin && npm run build-inertia-helpers",
25-
"build-plugin": "rm -rf dist && tsc && cp src/dev-server-index.html dist/",
26-
"build-inertia-helpers": "rm -rf inertia-helpers && tsc --project tsconfig.inertia-helpers.json",
27-
"lint": "eslint --ext .ts ./src ./tests",
28-
"ssr:serve": "vite build --ssr && node storage/ssr/ssr.js",
29-
"test": "vitest run"
30-
},
31-
"devDependencies": {
32-
"@types/node": "^17.0.31",
33-
"@typescript-eslint/eslint-plugin": "^5.21.0",
34-
"@typescript-eslint/parser": "^5.21.0",
35-
"eslint": "^8.14.0",
36-
"picocolors": "^1.0.0",
37-
"prettier": "2.7.1",
38-
"typescript": "^4.6.4",
39-
"vite": "^2.9.6",
40-
"vitest": "^0.12.4"
41-
},
42-
"peerDependencies": {
43-
"vite": "^2.9.9"
44-
},
45-
"engines": {
46-
"node": ">=14"
47-
},
48-
"dependencies": {
49-
"vite-plugin-full-reload": "^1.0.1"
50-
}
2+
"name": "coldbox-vite-plugin",
3+
"version": "0.1.0",
4+
"description": "ColdBox plugin for Vite.",
5+
"keywords": [
6+
"coldbox",
7+
"vite",
8+
"vite-plugin"
9+
],
10+
"homepage": "https://github.com/ColdBox/coldbox-vite-plugin",
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/ColdBox/coldbox-vite-plugin"
14+
},
15+
"license": "MIT",
16+
"author": "Eric Peterson <[email protected]>",
17+
"main": "dist/index.js",
18+
"types": "dist/index.d.ts",
19+
"files": [
20+
"/dist",
21+
"/inertia-helpers"
22+
],
23+
"scripts": {
24+
"build": "npm run build-plugin && npm run build-inertia-helpers",
25+
"build-plugin": "rm -rf dist && tsc && cp src/dev-server-index.html dist/",
26+
"build-inertia-helpers": "rm -rf inertia-helpers && tsc --project tsconfig.inertia-helpers.json",
27+
"lint": "eslint --ext .ts ./src ./tests",
28+
"ssr:serve": "vite build --ssr && node storage/ssr/ssr.js",
29+
"test": "vitest run"
30+
},
31+
"devDependencies": {
32+
"@types/node": "^17.0.31",
33+
"@typescript-eslint/eslint-plugin": "^5.21.0",
34+
"@typescript-eslint/parser": "^5.21.0",
35+
"eslint": "^8.14.0",
36+
"picocolors": "^1.0.0",
37+
"prettier": "2.7.1",
38+
"typescript": "^4.6.4",
39+
"vite": "^2.9.6",
40+
"vitest": "^0.12.4"
41+
},
42+
"peerDependencies": {
43+
"vite": "^2.9.9"
44+
},
45+
"engines": {
46+
"node": ">=14"
47+
},
48+
"dependencies": {
49+
"vite-plugin-full-reload": "^1.0.1"
50+
}
5151
}

0 commit comments

Comments
 (0)