frontpl 0.6.0 → 0.6.1
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.
- package/README.md +4 -0
- package/dist/cli.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{package-D5wcPeH8.mjs → package-BtUDK9bn.mjs} +10 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -177,6 +177,10 @@ What it does:
|
|
|
177
177
|
- `format:check`: `oxfmt --check`
|
|
178
178
|
- Ensures `devDependencies.oxfmt` exists (defaults to `latest` when missing)
|
|
179
179
|
- Creates or updates `.oxfmtrc.json`
|
|
180
|
+
- Rebuild mode writes baseline formatter options:
|
|
181
|
+
- `$schema: "./node_modules/oxfmt/configuration_schema.json"`
|
|
182
|
+
- `useTabs: false`, `indentWidth: 2`, `lineWidth: 100`
|
|
183
|
+
- `trailingComma: "all"`, `semi: true`, `singleQuote: false`, `arrowParens: "always"`
|
|
180
184
|
- Optionally removes `prettier` / `prettier-plugin-*` / `@prettier/plugin-*` dependencies, `package.json#prettier`, and Prettier config files (`.prettierrc*`, `prettier.config.*`)
|
|
181
185
|
- Optionally installs dependencies with detected package manager
|
|
182
186
|
|
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as runBump, i as runCi, n as runOxfmt, o as runAdd, r as runOxlint, s as runInit, t as runPackage } from "./package-
|
|
2
|
+
import { a as runBump, i as runCi, n as runOxfmt, o as runAdd, r as runOxlint, s as runInit, t as runPackage } from "./package-BtUDK9bn.mjs";
|
|
3
3
|
import bin from "tiny-bin";
|
|
4
4
|
|
|
5
5
|
//#region src/cli.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as runBump, c as validateProjectName, d as oxlintConfigTemplate, f as packageJsonTemplate, i as runCi, l as githubCliCiWorkflowTemplate, n as runOxfmt, o as runAdd, p as workspaceRootPackageJsonTemplate, r as runOxlint, s as runInit, t as runPackage, u as githubDependabotTemplate } from "./package-
|
|
1
|
+
import { a as runBump, c as validateProjectName, d as oxlintConfigTemplate, f as packageJsonTemplate, i as runCi, l as githubCliCiWorkflowTemplate, n as runOxfmt, o as runAdd, p as workspaceRootPackageJsonTemplate, r as runOxlint, s as runInit, t as runPackage, u as githubDependabotTemplate } from "./package-BtUDK9bn.mjs";
|
|
2
2
|
|
|
3
3
|
export { githubCliCiWorkflowTemplate, githubDependabotTemplate, oxlintConfigTemplate, packageJsonTemplate, runAdd, runBump, runCi, runInit, runOxfmt, runOxlint, runPackage, validateProjectName, workspaceRootPackageJsonTemplate };
|
|
@@ -136,7 +136,16 @@ function oxlintConfigTemplate({ useVitest }) {
|
|
|
136
136
|
].join("\n");
|
|
137
137
|
}
|
|
138
138
|
function oxfmtConfigTemplate() {
|
|
139
|
-
return JSON.stringify({
|
|
139
|
+
return JSON.stringify({
|
|
140
|
+
$schema: "./node_modules/oxfmt/configuration_schema.json",
|
|
141
|
+
useTabs: false,
|
|
142
|
+
indentWidth: 2,
|
|
143
|
+
lineWidth: 100,
|
|
144
|
+
trailingComma: "all",
|
|
145
|
+
semi: true,
|
|
146
|
+
singleQuote: false,
|
|
147
|
+
arrowParens: "always"
|
|
148
|
+
}, null, 2) + "\n";
|
|
140
149
|
}
|
|
141
150
|
function tsdownConfigTemplate() {
|
|
142
151
|
return [
|