Skip to content

Commit 4139859

Browse files
committed
feat: temp
1 parent 7374a03 commit 4139859

14 files changed

Lines changed: 3050 additions & 2179 deletions

File tree

.infisical.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"workspaceId": "5f47e968-f6f6-49fe-bbb8-0fdfabbd5874",
3+
"defaultEnvironment": "",
4+
"gitBranchToEnvironmentMapping": null
5+
}

nuxt.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// https://nuxt.com/docs/api/configuration/nuxt-config
2+
export default defineNuxtConfig({
3+
devtools: { enabled: true },
4+
compatibilityDate: "2025-11-11"
5+
})

orchestr-playground/fake-main.js

Whitespace-only changes.

orchestr-playground/nuxt.config.ts

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { fileURLToPath } from 'node:url';
12
import srcModule from '../src/module';
23

34
export default defineNuxtConfig({
@@ -8,16 +9,23 @@ export default defineNuxtConfig({
89
'@laioutr-core/orchestr',
910
'@laioutr-core/orchestr-devtools',
1011
],
11-
i18n: {
12-
bundle: {
13-
optimizeTranslationDirective: false,
14-
},
12+
alias: {
13+
'@laioutr-app/shopware': fileURLToPath(new URL('../src', import.meta.url)),
1514
},
1615
devtools: { enabled: true },
17-
compatibilityDate: '2025-09-11',
16+
telemetry: false,
17+
compatibilityDate: '2024-11-11',
18+
'@laioutr/app-shopware': {
19+
endpoint: import.meta.env.SHOPWARE_DEMO_ENDPOINT,
20+
accessToken: import.meta.env.SHOPWARE_DEMO_ACCESS_TOKEN,
21+
adminEndpoint: import.meta.env.SHOPWARE_DEMO_ADMIN_ENDPOINT,
22+
adminClientId: import.meta.env.SHOPWARE_DEMO_ADMIN_CLIENT_ID,
23+
adminClientSecret: import.meta.env.SHOPWARE_DEMO_ADMIN_CLIENT_SECRET,
24+
},
1825
vite: {
1926
optimizeDeps: {
20-
include: ['ajv', 'json-source-map', 'natural-compare-lite'],
27+
// This MUST be in the playground's config
28+
exclude: ['@nuxtjs/i18n'],
2129
},
2230
},
2331
});

orchestr-playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "my-laioutr-app-orchestr-playground",
2+
"name": "@laioutr-app/shopware-playground",
33
"private": true,
44
"type": "module",
55
"scripts": {

orchestr-playground/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<main class="px-4 py-4">
55
<!-- Main Menu -->
66
<div class="mb-16 text-center">
7-
<h1 class="mb-3 text-4xl font-bold text-gray-900">Orchestr Playground</h1>
7+
<h1 class="mb-3 text-4xl font-bold text-gray-900">Nimstrata Playground</h1>
88
<p class="text-xl text-gray-600">Choose a tool to test</p>
99
</div>
1010

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
1-
<script setup lang="ts"></script>
1+
<script setup lang="ts">
2+
import { ProductsByCategoryIdQuery } from '@laioutr-core/canonical-types/ecommerce';
3+
import type { QueryWireRequest } from '@laioutr-core/orchestr/types';
4+
5+
const defaultRequest = {
6+
queries: [
7+
{
8+
id: 'cp17r0j24ts002324tv1',
9+
queryName: ProductsByCategoryIdQuery,
10+
arguments: {
11+
categoryId: '01916af8b36d722693574e6f2043a719',
12+
},
13+
sort: 'popularity:desc',
14+
pagination: {
15+
offset: 0,
16+
limit: 36,
17+
},
18+
components: ['base'],
19+
},
20+
],
21+
clientEnv: {
22+
locale: 'de-DE',
23+
currency: 'EUR',
24+
isPreview: false,
25+
custom: {},
26+
},
27+
} satisfies QueryWireRequest;
28+
</script>
229

330
<template>
4-
<LfcOrchestrRequestEditor back-button-href="/" />
31+
<LfcOrchestrRequestEditor back-button-href="/" :default-request="defaultRequest" />
532
</template>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<LfcOrchestrRequestEditor />
3+
</template>

orchestr-playground/turbo.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://turbo.build/schema.json",
3+
"extends": ["//"],
4+
"tasks": {
5+
"dev": {
6+
"with": ["@laioutr-core/canonical-types#dev"]
7+
}
8+
}
9+
}

package.json

Lines changed: 68 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,92 @@
11
{
2-
"name": "@laioutr-app/shopware",
3-
"version": "0.8.5",
4-
"description": "Shopware integration for laioutr",
5-
"license": "UNLICENSED",
6-
"sideEffects": false,
2+
"name": "@laioutr/app-shopware",
3+
"version": "1.0.0",
4+
"description": "Shopware integration for Laioutr",
5+
"repository": "laioutr/app-shopware",
6+
"license": "MIT",
77
"type": "module",
88
"exports": {
99
".": {
1010
"types": "./dist/types.d.mts",
1111
"import": "./dist/module.mjs"
12-
},
13-
"./runtime": {
14-
"types": "./dist/runtime/index.d.ts",
15-
"import": "./dist/runtime/index.js"
1612
}
1713
},
1814
"main": "./dist/module.mjs",
15+
"typesVersions": {
16+
"*": {
17+
".": [
18+
"./dist/types.d.mts"
19+
]
20+
}
21+
},
1922
"files": [
2023
"dist"
2124
],
2225
"scripts": {
23-
"build": "rm -rf dist && nuxt-module-build build",
24-
"lint": "eslint --cache --cache-location ../../.eslintcache",
25-
"release": "pnpm build && pnpm publish",
26-
"setup": "nuxt-module-build prepare",
27-
"stub": "nuxt-module-build build --stub",
28-
"stub:setup": "pnpm run setup",
29-
"test": "vitest run && nuxi typecheck",
26+
"dev": "npm run dev:prepare && nuxi dev playground",
27+
"dev:build": "nuxi build playground",
28+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
29+
"lint": "eslint .",
30+
"orchestr-dev": "infisical run -c \"npm run orchestr-dev:prepare && nuxi dev --stack-trace orchestr-playground\"",
31+
"orchestr-dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare orchestr-playground",
32+
"prepack": "nuxt-module-build build",
33+
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
34+
"test": "vitest run",
35+
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
3036
"test:watch": "vitest watch"
3137
},
32-
"lint-staged": {
33-
"*.{js,mjs,jsx,ts,tsx,vue}": [
34-
"pnpm lint --fix",
35-
"prettier --cache --write"
36-
],
37-
"*.{css,scss,md,html,json}": "prettier --cache --write"
38-
},
3938
"dependencies": {
40-
"@laioutr-core/canonical-types": "workspace:*",
41-
"@laioutr-core/frontend-core": "workspace:*",
42-
"@laioutr-core/kit": "workspace:*",
43-
"@nuxt/kit": "catalog:nuxt-core",
44-
"@nuxt/schema": "catalog:nuxt-core",
39+
"@laioutr-core/canonical-types": "^0.14.0",
40+
"@laioutr-core/frontend-core": "^0.20.5",
41+
"@laioutr-core/kit": "^0.7.8",
42+
"@nuxt/kit": "3.16.2",
43+
"@pinia/colada": "0.17.1",
44+
"@pinia/colada-nuxt": "0.2.1",
4545
"@screeny05/ts-money": "1.1.0",
4646
"@shopware/api-client": "1.2.1",
47-
"defu": "6.1.4",
48-
"slug": "^8.2.3"
47+
"@vueuse/core": "13.1.0",
48+
"pinia": "3.0.2",
49+
"slug": "^8.2.3",
50+
"zod": "3.25.61"
4951
},
5052
"devDependencies": {
51-
"@laioutr/eslint-config": "catalog:repo-tools",
52-
"@nuxt/module-builder": "catalog:nuxt-core",
53-
"@nuxt/schema": "catalog:nuxt-core",
54-
"@nuxt/test-utils": "catalog:nuxt-core",
53+
"@laioutr-app/ui": "1.18.6",
54+
"@laioutr-core/orchestr-devtools": "1.5.3",
55+
"@laioutr/eslint-config": "1.5.0",
56+
"@laioutr/logger": "0.5.1",
57+
"@laioutr/prettier-config": "1.1.0",
58+
"@nuxt/devtools": "2.5.0",
59+
"@nuxt/devtools-ui-kit": "2.5.0",
60+
"@nuxt/module-builder": "1.0.1",
61+
"@nuxt/schema": "3.16.2",
62+
"@nuxt/test-utils": "3.19.1",
5563
"@types/node": "latest",
56-
"@types/slug": "^5.0.7",
57-
"@vue/test-utils": "^2.4.6",
58-
"nitropack": "catalog:nuxt-core",
59-
"nodemon": "^3.1.7",
60-
"nuxt": "catalog:nuxt-core",
61-
"typescript": "catalog:nuxt-core",
62-
"vitest": "catalog:nuxt-core",
63-
"vue-tsc": "catalog:nuxt-core"
64+
"changelogen": "0.6.2",
65+
"eslint": "9.35.0",
66+
"nuxt": "3.16.2",
67+
"typescript": "5.8.3",
68+
"vitest": "3.1.1",
69+
"vue-tsc": "2.2.10"
6470
},
65-
"publishConfig": {
66-
"registry": "https://npm.laioutr.cloud/"
71+
"pnpm": {
72+
"overrides": {
73+
"@nuxt/devtools": "2.5.0",
74+
"@nuxt/kit": "3.16.2",
75+
"@nuxt/module-builder": "1.0.1",
76+
"@nuxt/schema": "3.16.2",
77+
"@nuxt/test-utils": "3.19.1",
78+
"@nuxtjs/i18n": "8.4.0",
79+
"@types/node": "20.14.9",
80+
"nitropack": "2.9.6",
81+
"nuxt": "3.16.2",
82+
"typescript": "5.8.3",
83+
"unbuild": "3.5.0",
84+
"unenv": "1.10.0",
85+
"vite": "5.3.1",
86+
"vite-plugin-inspect": "0.8.3",
87+
"vitest": "3.1.1",
88+
"vue": "3.5.22",
89+
"vue-tsc": "2.2.10"
90+
}
6791
}
6892
}

0 commit comments

Comments
 (0)