Skip to content

Commit c685f73

Browse files
committed
chore: wip
chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip
1 parent 697be0f commit c685f73

File tree

364 files changed

+3771
-4180
lines changed

Some content is hidden

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

364 files changed

+3771
-4180
lines changed

.eslintrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.stacks/core/actions/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"Chris Breuer <chris@ow3.org>"
4141
],
4242
"files": [
43-
"dist",
44-
"README.md"
43+
"README.md",
44+
"dist"
4545
],
4646
"scripts": {
4747
"build": "bun --bun build.ts",

.stacks/core/actions/src/add.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { installPackage } from '@stacksjs/cli'
2-
import { type AddOptions } from '@stacksjs/types'
2+
import type { AddOptions } from '@stacksjs/types'
33

44
export async function invoke(options: AddOptions) {
55
if (options?.table)

.stacks/core/actions/src/domains/purchase.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import process from 'node:process'
2-
import { handleError } from '@stacksjs/error-handling'
32
import { log, parseOptions } from '@stacksjs/cli'
4-
import { ExitCode } from '@stacksjs/types'
5-
import { config } from '@stacksjs/config'
63
import type { PurchaseOptions } from '@stacksjs/cloud'
74
import { purchaseDomain } from '@stacksjs/cloud'
5+
import { config } from '@stacksjs/config'
6+
import { handleError } from '@stacksjs/error-handling'
7+
import { ExitCode } from '@stacksjs/types'
88

99
const c = config.dns.contactInfo
1010
if (!c) {
@@ -67,7 +67,6 @@ if (!options.domain) {
6767
const result = purchaseDomain(options.domain, options)
6868

6969
if (result.isErr()) {
70-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
7170
handleError(result.error)
7271
process.exit(ExitCode.FatalError)
7372
}

.stacks/core/actions/src/generate/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import process from 'node:process'
22
import { log } from '@stacksjs/logging'
33
import { Action, NpmScript } from '@stacksjs/types'
4-
import { type GeneratorOptions } from '@stacksjs/types'
4+
import type { GeneratorOptions } from '@stacksjs/types'
55
import { runNpmScript } from '@stacksjs/utils'
66

77
// import { files } from '@stacksjs/storage'

.stacks/core/actions/src/helpers/component-meta.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1+
import { frameworkPath, join, parse, projectPath } from '@stacksjs/path'
12
import { existsSync, glob, mkdirSync, writeFileSync } from '@stacksjs/storage'
23
import MarkdownIt from 'markdown-it'
3-
import { type ComponentMeta, type MetaCheckerOptions } from 'vue-component-meta'
4-
import { createComponentMetaChecker } from 'vue-component-meta'
5-
import { frameworkPath, join, parse, projectPath } from '@stacksjs/path'
4+
import { type ComponentMeta, type MetaCheckerOptions, createComponentMetaChecker } from 'vue-component-meta'
65

76
/**
87
* ℹ️ Useful Links
@@ -70,7 +69,6 @@ export function generateComponentMeta() {
7069

7170
// if meta dir doesn't exist create
7271

73-
// eslint-disable-next-line @typescript-eslint/no-misused-promises
7472
if (!existsSync(metaDirPath))
7573
mkdirSync(metaDirPath)
7674

.stacks/core/actions/src/helpers/lib-entries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import process from 'node:process'
22
import { log } from '@stacksjs/logging'
33
import { kebabCase } from '@stacksjs/strings'
4-
import { type LibraryType } from '@stacksjs/path'
4+
import type { LibraryType } from '@stacksjs/path'
55
import { componentsPath, functionsPath, libraryEntryPath } from '@stacksjs/path'
66
import { writeTextFile } from '@stacksjs/storage'
77
import { determineResetPreset } from '@stacksjs/utils'

.stacks/core/actions/src/make.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { italic } from '@stacksjs/cli'
33
import { log } from '@stacksjs/logging'
44
import { createFolder, doesFolderExist, writeTextFile } from '@stacksjs/storage'
55
import { frameworkPath, projectPath, resolve } from '@stacksjs/path'
6-
import { type MakeOptions } from '@stacksjs/types'
6+
import type { MakeOptions } from '@stacksjs/types'
77

88
export async function invoke(options: MakeOptions) {
99
if (options.component)

.stacks/core/actions/src/upgrade.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
21
import process from 'node:process'
32
import { intro, outro, runCommand } from '@stacksjs/cli'
43
import { log } from '@stacksjs/logging'
5-
import * as storage from '@stacksjs/storage'
64
import { projectPath } from '@stacksjs/path'
5+
import * as storage from '@stacksjs/storage'
76
import type { UpgradeOptions } from '@stacksjs/types'
87
import { version } from '../../../package.json'
98

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
describe('example test', () => {
2-
test('assert', () => {
2+
it('assert', () => {
33
expect(1).toBe(1)
44
})
55
})

0 commit comments

Comments
 (0)