Skip to content

Commit 289214b

Browse files
committed
Format with biome (change line endings)
1 parent e1dcfa2 commit 289214b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+80
-4164
lines changed

.changeset/config.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1 @@
1-
{
2-
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3-
"changelog": "@changesets/cli/changelog",
4-
"commit": false,
5-
"fixed": [],
6-
"linked": [],
7-
"access": "restricted",
8-
"baseBranch": "main",
9-
"updateInternalDependencies": "patch",
10-
"ignore": []
11-
}
1+
{ "$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", "changelog": "@changesets/cli/changelog", "commit": false, "fixed": [], "linked": [], "access": "restricted", "baseBranch": "main", "updateInternalDependencies": "patch", "ignore": []}

docs/package.json

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1 @@
1-
{
2-
"private": true,
3-
"type": "module",
4-
"scripts": {
5-
"docs:dev": "vitepress dev vitepress_docs",
6-
"docs:build": "vitepress build vitepress_docs",
7-
"docs:preview": "vitepress preview vitepress_docs"
8-
},
9-
"devDependencies": {
10-
"flexsearch": "^0.7.43",
11-
"vitepress": "1.1.3",
12-
"vitepress-plugin-search": "1.0.4-alpha.22",
13-
"vue": "^3.4.23"
14-
}
15-
}
1+
{ "private": true, "type": "module", "scripts": { "docs:dev": "vitepress dev vitepress_docs", "docs:build": "vitepress build vitepress_docs", "docs:preview": "vitepress preview vitepress_docs" }, "devDependencies": { "flexsearch": "^0.7.43", "vitepress": "1.1.3", "vitepress-plugin-search": "1.0.4-alpha.22", "vue": "^3.4.23" }}

docs/vitepress_docs/.vitepress/config.ts

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1 @@
1-
import { defineConfig } from "vitepress";
2-
import { SearchPlugin } from "vitepress-plugin-search";
3-
// https://vitepress.dev/reference/site-config
4-
export default defineConfig({
5-
title: "Solid-CLI Docs",
6-
description: "Documentation for the Solid CLI",
7-
themeConfig: {
8-
// https://vitepress.dev/reference/default-theme-config
9-
nav: [
10-
{ text: "Home", link: "/" },
11-
{ text: "Guide", link: "/about" },
12-
],
13-
14-
sidebar: [
15-
{
16-
text: "Getting started",
17-
items: [
18-
{ text: "About", link: "/about" },
19-
{ text: "Installation", link: "/installation" },
20-
{ text: "Basic Commands", link: "/basic-commands" },
21-
{ text: "Solid-Start Commands", link: "/start-commands" },
22-
],
23-
},
24-
{ text: "Supported Integrations", link: "/supported-integrations" },
25-
],
26-
socialLinks: [
27-
{
28-
icon: "github",
29-
link: "https://github.com/solidjs-community/solid-cli",
30-
},
31-
],
32-
},
33-
vite: { plugins: [SearchPlugin()] },
34-
});
1+
import { defineConfig } from "vitepress";import { SearchPlugin } from "vitepress-plugin-search";// https://vitepress.dev/reference/site-configexport default defineConfig({ title: "Solid-CLI Docs", description: "Documentation for the Solid CLI", themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [ { text: "Home", link: "/" }, { text: "Guide", link: "/about" }, ], sidebar: [ { text: "Getting started", items: [ { text: "About", link: "/about" }, { text: "Installation", link: "/installation" }, { text: "Basic Commands", link: "/basic-commands" }, { text: "Solid-Start Commands", link: "/start-commands" }, ], }, { text: "Supported Integrations", link: "/supported-integrations" }, ], socialLinks: [ { icon: "github", link: "https://github.com/solidjs-community/solid-cli", }, ], }, vite: { plugins: [SearchPlugin()] },});

docs/vitepress_docs/.vitepress/theme/index.ts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1 @@
1-
// https://vitepress.dev/guide/custom-theme
2-
import { h } from "vue";
3-
import Theme from "vitepress/theme";
4-
import "./style.css";
5-
6-
export default {
7-
extends: Theme,
8-
Layout: () => {
9-
return h(Theme.Layout, null, {
10-
// https://vitepress.dev/guide/extending-default-theme#layout-slots
11-
});
12-
},
13-
enhanceApp({ app, router, siteData }) {
14-
// ...
15-
},
16-
};
1+
// https://vitepress.dev/guide/custom-themeimport { h } from "vue";import Theme from "vitepress/theme";import "./style.css";export default { extends: Theme, Layout: () => { return h(Theme.Layout, null, { // https://vitepress.dev/guide/extending-default-theme#layout-slots }); }, enhanceApp({ app, router, siteData }) { // ... },};

examples/plugin_template/package.json

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1 @@
1-
{
2-
"name": "test_plugin",
3-
"version": "1.0.0",
4-
"description": "",
5-
"module": "./dist/index.mjs",
6-
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1",
8-
"build": "tsup"
9-
},
10-
"keywords": [],
11-
"author": "",
12-
"license": "ISC",
13-
"dependencies": {
14-
"cmd-ts": "^0.13.0"
15-
},
16-
"devDependencies": {
17-
"tsup": "^7.2.0"
18-
}
19-
}
1+
{ "name": "test_plugin", "version": "1.0.0", "description": "", "module": "./dist/index.mjs", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsup" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "cmd-ts": "^0.13.0" }, "devDependencies": { "tsup": "^7.2.0" }}

examples/plugin_template/src/index.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
1-
import { command } from "cmd-ts";
2-
3-
export default command({
4-
name: "custom",
5-
description: "A completely custom command dynamically imported at runtime!",
6-
args: {},
7-
handler() {
8-
console.log("CUSTOM COMMAND WORKS!!");
9-
},
10-
});
1+
import { command } from "cmd-ts";export default command({ name: "custom", description: "A completely custom command dynamically imported at runtime!", args: {}, handler() { console.log("CUSTOM COMMAND WORKS!!"); },});

examples/plugin_template/tsconfig.json

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1 @@
1-
{
2-
"compilerOptions": {
3-
"jsx": "preserve",
4-
"noEmit": true,
5-
"module": "ESNext",
6-
"target": "ESNext",
7-
"moduleResolution": "node",
8-
"strict": true,
9-
"esModuleInterop": true,
10-
"forceConsistentCasingInFileNames": true,
11-
"skipLibCheck": true,
12-
"resolveJsonModule": true
13-
}
14-
}
1+
{ "compilerOptions": { "jsx": "preserve", "noEmit": true, "module": "ESNext", "target": "ESNext", "moduleResolution": "node", "strict": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "skipLibCheck": true, "resolveJsonModule": true }}

examples/plugin_template/tsup.config.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
1-
import { defineConfig } from "tsup";
2-
3-
export default defineConfig({
4-
entry: ["src/index.ts"],
5-
target: "esnext",
6-
format: "esm",
7-
splitting: false,
8-
sourcemap: true,
9-
clean: true,
10-
});
1+
import { defineConfig } from "tsup";export default defineConfig({ entry: ["src/index.ts"], target: "esnext", format: "esm", splitting: false, sourcemap: true, clean: true,});

package.json

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1 @@
1-
{
2-
"name": "solid-cli",
3-
"private": true,
4-
"version": "0.0.1",
5-
"description": "A CLI for making the SolidJS development experience easier, faster, and less error prone.",
6-
"license": "MIT",
7-
"homepage": "https://solid-cli.netlify.app",
8-
"repository": {
9-
"type": "git",
10-
"url": "https://github.com/solidjs-community/solid-cli"
11-
},
12-
"scripts": {
13-
"test": "vitest",
14-
"test:all": "turbo run test",
15-
"build": "turbo run build",
16-
"release": "pnpm build && changeset publish",
17-
"watch:all": "nodemon --no-stdin -q --watch packages/core/src -e ts --exec 'turbo run build --scope=core' --watch packages/reactivity/src -e ts --exec 'turbo run build --scope=reactivity' --watch packages/ui/src -e ts --exec 'turbo run build --scope=ui' --watch packages/utils/src -e ts --exec 'turbo run build --scope=utils'",
18-
"watch:core": "nodemon --watch packages/core/src -e ts --exec 'turbo run build --scope=core'",
19-
"watch:reactivity": "nodemon --watch packages/reactivity/src -e ts --exec 'turbo run build --scope=reactivity'",
20-
"watch:ui": "nodemon --watch packages/ui/src -e ts --exec 'turbo run build --scope=ui'",
21-
"watch:utils": "nodemon --watch packages/utils/src -e ts --exec 'turbo run build --scope=utils'",
22-
"start": "cd packages/core && pnpm start",
23-
"format": "biome format ./ --write",
24-
"lint": "biome lint ."
25-
},
26-
"contributors": [
27-
{
28-
"name": "Thomas Beer"
29-
},
30-
{
31-
"name": "Rahul Batra"
32-
}
33-
],
34-
"workspaces": ["./packages/*"],
35-
"devDependencies": {
36-
"@biomejs/biome": "^1.7.3",
37-
"@changesets/cli": "2.27.3",
38-
"nodemon": "^3.1.0",
39-
"turbo": "^1.13.3",
40-
"vitest": "^1.6.0"
41-
}
42-
}
1+
{ "name": "solid-cli", "private": true, "version": "0.0.1", "description": "A CLI for making the SolidJS development experience easier, faster, and less error prone.", "license": "MIT", "homepage": "https://solid-cli.netlify.app", "repository": { "type": "git", "url": "https://github.com/solidjs-community/solid-cli" }, "scripts": { "test": "vitest", "test:all": "turbo run test", "build": "turbo run build", "release": "pnpm build && changeset publish", "watch:all": "nodemon --no-stdin -q --watch packages/core/src -e ts --exec 'turbo run build --scope=core' --watch packages/reactivity/src -e ts --exec 'turbo run build --scope=reactivity' --watch packages/ui/src -e ts --exec 'turbo run build --scope=ui' --watch packages/utils/src -e ts --exec 'turbo run build --scope=utils'", "watch:core": "nodemon --watch packages/core/src -e ts --exec 'turbo run build --scope=core'", "watch:reactivity": "nodemon --watch packages/reactivity/src -e ts --exec 'turbo run build --scope=reactivity'", "watch:ui": "nodemon --watch packages/ui/src -e ts --exec 'turbo run build --scope=ui'", "watch:utils": "nodemon --watch packages/utils/src -e ts --exec 'turbo run build --scope=utils'", "start": "cd packages/core && pnpm start", "format": "biome format ./ --write", "lint": "biome lint ." }, "contributors": [ { "name": "Thomas Beer" }, { "name": "Rahul Batra" } ], "workspaces": ["./packages/*"], "devDependencies": { "@biomejs/biome": "^1.7.3", "@changesets/cli": "2.27.3", "nodemon": "^3.1.0", "turbo": "^1.13.3", "vitest": "^1.6.0" }}

packages/commands/package.json

Lines changed: 1 addition & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1 @@
1-
{
2-
"name": "@solid-cli/commands",
3-
"version": "0.0.22",
4-
"description": "The main command handlers for the Solid CLI",
5-
"license": "MIT",
6-
"homepage": "https://solid-cli.netlify.app",
7-
"repository": {
8-
"type": "git",
9-
"url": "https://github.com/solidjs-community/solid-cli"
10-
},
11-
"files": ["dist", "types"],
12-
"main": "./dist/index.mjs",
13-
"module": "./dist/index.mjs",
14-
"types": "./types/index.d.ts",
15-
"exports": {
16-
".": {
17-
"import": "./dist/index.mjs",
18-
"require": "./dist/index.mjs",
19-
"types": "./types/index.d.ts"
20-
},
21-
"./new": {
22-
"import": "./dist/handlers/new.mjs",
23-
"require": "./dist/handlers/new.mjs",
24-
"types": "./types/handlers/new.d.ts"
25-
}
26-
},
27-
"scripts": {
28-
"test": "vitest run",
29-
"build": "tsc && tsup"
30-
},
31-
"devDependencies": {
32-
"@chialab/esbuild-plugin-meta-url": "^0.18.2",
33-
"@types/node": "^20.12.12",
34-
"prettier": "^3.2.5",
35-
"tsup": "^8.0.2",
36-
"typescript": "^5.4.5"
37-
},
38-
"publishConfig": {
39-
"access": "public"
40-
},
41-
"dependencies": {
42-
"@begit/core": "^0.0.16",
43-
"@clack/prompts": "0.7.0",
44-
"@solid-cli/reactivity": "workspace:*",
45-
"@solid-cli/ui": "workspace:*",
46-
"@solid-cli/utils": "workspace:*",
47-
"execa": "^9.1.0",
48-
"picocolors": "^1.0.1",
49-
"sucrase": "^3.35.0"
50-
}
51-
}
1+
{ "name": "@solid-cli/commands", "version": "0.0.22", "description": "The main command handlers for the Solid CLI", "license": "MIT", "homepage": "https://solid-cli.netlify.app", "repository": { "type": "git", "url": "https://github.com/solidjs-community/solid-cli" }, "files": ["dist", "types"], "main": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./types/index.d.ts", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.mjs", "types": "./types/index.d.ts" }, "./new": { "import": "./dist/handlers/new.mjs", "require": "./dist/handlers/new.mjs", "types": "./types/handlers/new.d.ts" } }, "scripts": { "test": "vitest run", "build": "tsc && tsup" }, "devDependencies": { "@chialab/esbuild-plugin-meta-url": "^0.18.2", "@types/node": "^20.12.12", "prettier": "^3.2.5", "tsup": "^8.0.2", "typescript": "^5.4.5" }, "publishConfig": { "access": "public" }, "dependencies": { "@begit/core": "^0.0.16", "@clack/prompts": "0.7.0", "@solid-cli/reactivity": "workspace:*", "@solid-cli/ui": "workspace:*", "@solid-cli/utils": "workspace:*", "execa": "^9.1.0", "picocolors": "^1.0.1", "sucrase": "^3.35.0" }}

0 commit comments

Comments
 (0)