Skip to content

Commit aaae115

Browse files
committed
chore: wip
1 parent 044804f commit aaae115

File tree

165 files changed

+1110
-692
lines changed

Some content is hidden

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

165 files changed

+1110
-692
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3838

3939
- name: Publish framework to npm
40-
run: pnpm --filter './.stacks' --filter './.stacks/buddy' --filter './.stacks/core/**' --filter './.stacks/vscode' publish --access public --no-git-checks
40+
run: pnpm --filter './.stacks' --filter './.stacks/core/**' --filter './.stacks/vscode' publish --access public --no-git-checks
4141
env:
4242
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
4343

.npmignore

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ node_modules
44
.cache
55
.temp
66
.pnpm-debug.log
7-
.stacks/core/server/.nitro
8-
.stacks/core/server/.output
9-
.stacks/components/vue/.vite-inspect/*
10-
.stacks/components/vue/dist/*
11-
.stacks/components/web/dist/*
7+
.vite-inspect/*
8+
.stacks/components/**/dist/*
129
.stacks/docs/dist/*
1310
.stacks/functions/dist/*
14-
!.stacks/dist/*

.stacks/core/actions/src/build-core.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.
File renamed without changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { frameworkPath } from '@stacksjs/path'
2+
import { runCommands } from '@stacksjs/cli'
3+
4+
await runCommands([
5+
'pnpm --filter ./core/** --filter=!./core/config --filter=!./core/x-ray --filter=!./core/buddy build', // command to build the core packages, excluding the config & x-ray package
6+
'pnpm --filter ./core/config build', // command to build the config package
7+
], { verbose: true, cwd: frameworkPath(), shell: true })
File renamed without changes.

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,11 +286,9 @@ export async function createModel(options: MakeOptions) {
286286
try {
287287
await writeTextFile({
288288
path: `${path}`,
289-
data: `interface ModelData {
290-
[key: string]: any
291-
}
289+
data: `import type { Model } from '@stacksjs/types'
292290
293-
const ${name}: ModelData = {
291+
const ${name}: Model = {
294292
name: '${name}',
295293
fields: [
296294
{
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { runCommands } from '@stacksjs/cli'
2+
import { frameworkPath } from '@stacksjs/path'
3+
4+
await runCommands([
5+
'pnpm install',
6+
], { cwd: frameworkPath(), verbose: true })
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)