@vyriy/create 0.9.9 → 0.9.11
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/package.json +3 -3
- package/preset/api.js +1 -1
- package/preset/base.js +1 -1
- package/preset/fullstack.js +1 -1
- package/preset/gql.js +1 -1
- package/preset/library.js +1 -1
- package/preset/mcp.js +1 -1
- package/preset/mfe.js +1 -1
- package/preset/rest.js +1 -1
- package/preset/spa.js +1 -1
- package/preset/ssg.js +1 -1
- package/preset/ssr.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vyriy/create",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.11",
|
|
4
4
|
"description": "Vyriy project creation CLI.",
|
|
5
5
|
"homepage": "https://vyriy.dev/docs/create/",
|
|
6
6
|
"type": "module",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"vyriy-create": "./bin/index.js"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@vyriy/check": "0.9.
|
|
17
|
-
"@vyriy/tooling": "0.9.
|
|
16
|
+
"@vyriy/check": "0.9.11",
|
|
17
|
+
"@vyriy/tooling": "0.9.11"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
package/preset/api.js
CHANGED
|
@@ -208,7 +208,7 @@ cdk.context.json
|
|
|
208
208
|
`,
|
|
209
209
|
'.npmrc': 'engine-strict=true\n',
|
|
210
210
|
'.nvmrc': 'lts/krypton\n',
|
|
211
|
-
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate:
|
|
211
|
+
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate: 5\n',
|
|
212
212
|
'.husky/commit-msg': '#!/bin/sh\n',
|
|
213
213
|
'.husky/post-checkout': '#!/bin/sh\n\nyarn\n',
|
|
214
214
|
'.husky/post-merge': '#!/bin/sh\n\nyarn\n',
|
package/preset/base.js
CHANGED
|
@@ -233,7 +233,7 @@ cdk.context.json
|
|
|
233
233
|
`,
|
|
234
234
|
'.npmrc': 'engine-strict=true\n',
|
|
235
235
|
'.nvmrc': 'lts/krypton\n',
|
|
236
|
-
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate:
|
|
236
|
+
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate: 5\n',
|
|
237
237
|
'.husky/commit-msg': '#!/bin/sh\n',
|
|
238
238
|
'.husky/post-checkout': '#!/bin/sh\n\nyarn\n',
|
|
239
239
|
'.husky/post-merge': '#!/bin/sh\n\nyarn\n',
|
package/preset/fullstack.js
CHANGED
|
@@ -348,7 +348,7 @@ cdk.context.json
|
|
|
348
348
|
`,
|
|
349
349
|
'.npmrc': 'engine-strict=true\n',
|
|
350
350
|
'.nvmrc': 'lts/krypton\n',
|
|
351
|
-
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate:
|
|
351
|
+
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate: 5\n',
|
|
352
352
|
'.husky/commit-msg': '#!/bin/sh\n',
|
|
353
353
|
'.husky/post-checkout': '#!/bin/sh\n\nyarn\n',
|
|
354
354
|
'.husky/post-merge': '#!/bin/sh\n\nyarn\n',
|
package/preset/gql.js
CHANGED
|
@@ -168,7 +168,7 @@ cdk.context.json
|
|
|
168
168
|
`,
|
|
169
169
|
'.npmrc': 'engine-strict=true\n',
|
|
170
170
|
'.nvmrc': 'lts/krypton\n',
|
|
171
|
-
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate:
|
|
171
|
+
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate: 5\n',
|
|
172
172
|
'.husky/commit-msg': '#!/bin/sh\n',
|
|
173
173
|
'.husky/post-checkout': '#!/bin/sh\n\nyarn\n',
|
|
174
174
|
'.husky/post-merge': '#!/bin/sh\n\nyarn\n',
|
package/preset/library.js
CHANGED
|
@@ -148,7 +148,7 @@ cdk.context.json
|
|
|
148
148
|
`,
|
|
149
149
|
'.npmrc': 'engine-strict=true\n',
|
|
150
150
|
'.nvmrc': 'lts/krypton\n',
|
|
151
|
-
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate:
|
|
151
|
+
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate: 5\n',
|
|
152
152
|
'.husky/commit-msg': '#!/bin/sh\n',
|
|
153
153
|
'.husky/post-checkout': '#!/bin/sh\n\nyarn\n',
|
|
154
154
|
'.husky/post-merge': '#!/bin/sh\n\nyarn\n',
|
package/preset/mcp.js
CHANGED
|
@@ -208,7 +208,7 @@ consumer
|
|
|
208
208
|
`,
|
|
209
209
|
'.npmrc': 'engine-strict=true\n',
|
|
210
210
|
'.nvmrc': 'lts/krypton\n',
|
|
211
|
-
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate:
|
|
211
|
+
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate: 5\n',
|
|
212
212
|
'.husky/commit-msg': '#!/bin/sh\n',
|
|
213
213
|
'.husky/post-checkout': '#!/bin/sh\n\nyarn\n',
|
|
214
214
|
'.husky/post-merge': '#!/bin/sh\n\nyarn\n',
|
package/preset/mfe.js
CHANGED
|
@@ -22,7 +22,7 @@ const rawProjectFiles = {
|
|
|
22
22
|
'.npmrc': 'engine-strict=true\n',
|
|
23
23
|
'.nvmrc': 'lts/krypton\n',
|
|
24
24
|
'.prettierignore': 'node_modules\ndist\ncoverage\nstorybook-static\nconsumer\n',
|
|
25
|
-
'.yarnrc.yml': 'nodeLinker: node-modules\n\nnpmMinimalAgeGate:
|
|
25
|
+
'.yarnrc.yml': 'nodeLinker: node-modules\n\nnpmMinimalAgeGate: 5\n',
|
|
26
26
|
...reactStyleToolingFiles,
|
|
27
27
|
'README.md': '# MFE\n\nProfile-card microfrontend starter for Vyriy and OpenMFE-oriented development.\n\nThe repository is split into reusable packages and runnable workspaces. Packages own typed component, API, event, query, and environment behavior.\nWorkspaces compose those packages into the local API server and browser custom element build.\n\n## Setup\n\n```bash\nyarn install\n```\n\n## Project Structure\n\n- `packages/api` builds demo HTML, prerendered custom element markup, JSON-LD, and the OpenMFE manifest.\n- `packages/components` provides the React profile-card component set.\n- `packages/env` reads required runtime environment values.\n- `packages/event` dispatches typed profile-card selection and analytics events.\n- `packages/query` parses API query strings into profile-card props.\n- `workspaces/api` serves the demo, prerender, semantic, and manifest endpoints.\n- `workspaces/ui` registers the `vyriy-profile-card` custom element and builds browser assets, including public images.\n\n## Start\n\nStart the API and UI dev server together:\n\n```bash\nyarn start\n```\n\nStart individual workspaces:\n\n```bash\nyarn start:api\nyarn start:ui\n```\n\n## Local URLs\n\nDefault ports and origins are defined in `workspaces/env.sh`:\n\n- API: `http://localhost:3000`\n- UI dev server: `http://localhost:3002`\n\nDefault runtime values:\n\n- `TAG=vyriy-profile-card`\n- `MODE=open`\n\nUseful API URLs:\n\n- Demo HTML: `http://localhost:3000/`\n- Prerendered custom element: `http://localhost:3000/prerender?name=Developer&title=Senior%20IT%20Professional&avatarUrl=http://localhost:3002/avatar.svg`\n- Semantic JSON-LD: `http://localhost:3000/semantic?name=Developer&title=Senior%20IT%20Professional&avatarUrl=http://localhost:3002/avatar.svg`\n- Manifest: `http://localhost:3000/manifest.yml`\n\n`/prerender` and `/semantic` require `name` and accept optional `title`, `description`, `avatarUrl`, and comma-separated `tags`.\n\n## Build\n\n```bash\nyarn build\n```\n\nThe build writes server output to `dist` and browser UI output to `dist/ui`.\n\n## Run Built Dist\n\n```bash\nyarn build\nsh start_dist.sh\n```\n\n`start_dist.sh` runs the generated `dist` output as a production-like local\nserver on `http://localhost:3000`. It expects `dist/index.js` and `dist/ui/*`\nto already exist, so run it after `yarn build`. The default runtime URLs are\nsame-origin: API routes are served from `http://localhost:3000`, and UI assets\nare served from `http://localhost:3000/ui`.\n\n## Validation\n\n```bash\nyarn check\n```\n\nFocused validation commands:\n\n```bash\nyarn lint\nyarn test\nyarn build\n```\n\n## Project Guidance\n\nThese articles describe the development approach behind this preset and provide practical guidance for evolving a project on top of it:\n\n- [Calm Development Environment: Node.js, Corepack, Yarn and Static Preview](https://vyriy.dev/blog/calm-development-setup/) - how to keep the local development environment predictable and easy to reproduce.\n- [Calm App Structure for the Vyriy Ecosystem](https://vyriy.dev/blog/vyriy-calm-app-structure/) - a practical project structure for Vyriy applications: shared configs, small packages, thin workspaces, Storybook docs, tests, and deployable entry points.\n- [One Handler, Many Runtimes](https://vyriy.dev/examples/one-handler-many-runtimes/) - how @vyriy/handler, @vyriy/router, and @vyriy/server compose a calm Lambda-compatible API that can run locally, in Docker, Fargate-style HTTP runtimes, and AWS Lambda.\n- [Calm Component Structure](https://vyriy.dev/blog/calm-component-structure/) - how to organize component code, tests, stories, and public exports.\n- [Storybook as Project Documentation](https://vyriy.dev/blog/storybook-as-project-documentation/) - how to use Storybook as living project documentation and a component playground.\n',
|
|
28
28
|
'doc.mdx': "import { Meta, Markdown } from '@storybook/addon-docs/blocks';\nimport ReadMe from './README.md?raw';\n\n<Meta title=\"MFE\" />\n\n<Markdown>{ReadMe}</Markdown>\n",
|
package/preset/rest.js
CHANGED
|
@@ -248,7 +248,7 @@ cdk.context.json
|
|
|
248
248
|
`,
|
|
249
249
|
'.npmrc': 'engine-strict=true\n',
|
|
250
250
|
'.nvmrc': 'lts/krypton\n',
|
|
251
|
-
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate:
|
|
251
|
+
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate: 5\n',
|
|
252
252
|
'.husky/commit-msg': '#!/bin/sh\n',
|
|
253
253
|
'.husky/post-checkout': '#!/bin/sh\n\nyarn\n',
|
|
254
254
|
'.husky/post-merge': '#!/bin/sh\n\nyarn\n',
|
package/preset/spa.js
CHANGED
|
@@ -254,7 +254,7 @@ cdk.context.json
|
|
|
254
254
|
`,
|
|
255
255
|
'.npmrc': 'engine-strict=true\n',
|
|
256
256
|
'.nvmrc': 'lts/krypton\n',
|
|
257
|
-
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate:
|
|
257
|
+
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate: 5\n',
|
|
258
258
|
'.husky/commit-msg': '#!/bin/sh\n',
|
|
259
259
|
'.husky/post-checkout': '#!/bin/sh\n\nyarn\n',
|
|
260
260
|
'.husky/post-merge': '#!/bin/sh\n\nyarn\n',
|
package/preset/ssg.js
CHANGED
|
@@ -239,7 +239,7 @@ cdk.context.json
|
|
|
239
239
|
`,
|
|
240
240
|
'.npmrc': 'engine-strict=true\n',
|
|
241
241
|
'.nvmrc': 'lts/krypton\n',
|
|
242
|
-
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate:
|
|
242
|
+
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate: 5\n',
|
|
243
243
|
'.husky/commit-msg': '#!/bin/sh\n',
|
|
244
244
|
'.husky/post-checkout': '#!/bin/sh\n\nyarn\n',
|
|
245
245
|
'.husky/post-merge': '#!/bin/sh\n\nyarn\n',
|
package/preset/ssr.js
CHANGED
|
@@ -238,7 +238,7 @@ cdk.context.json
|
|
|
238
238
|
`,
|
|
239
239
|
'.npmrc': 'engine-strict=true\n',
|
|
240
240
|
'.nvmrc': 'lts/krypton\n',
|
|
241
|
-
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate:
|
|
241
|
+
'.yarnrc.yml': 'nodeLinker: node-modules\nnpmMinimalAgeGate: 5\n',
|
|
242
242
|
'.husky/commit-msg': '#!/bin/sh\n',
|
|
243
243
|
'.husky/post-checkout': '#!/bin/sh\n\nyarn\n',
|
|
244
244
|
'.husky/post-merge': '#!/bin/sh\n\nyarn\n',
|