@owlmeans/create-app 0.1.18-rc.64 → 0.1.18-rc.65

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 CHANGED
@@ -9,7 +9,7 @@ bun create @owlmeans/app my-app
9
9
  # or
10
10
  yarn create @owlmeans/app my-app
11
11
  # or
12
- npx @owlmeans/create-app@^0.1.18-rc.64 my-app
12
+ npx @owlmeans/create-app@^0.1.18-rc.65 my-app
13
13
  ```
14
14
 
15
15
  ## What it generates
@@ -0,0 +1,24 @@
1
+ shadcn/ui — copied UI components
2
+ Source: https://github.com/shadcn-ui/ui
3
+
4
+ MIT License
5
+
6
+ Copyright (c) 2023 shadcn
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all
16
+ copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ SOFTWARE.
@@ -1,5 +1,5 @@
1
1
  import type { PackageManager } from './types.js';
2
- export declare const HELP = "@owlmeans/create-app \u2014 scaffold a fullstack OwlMeans Common app\n\nUsage:\n npm create @owlmeans/app@latest <dir> [options]\n bun create @owlmeans/app <dir> [options]\n yarn create @owlmeans/app <dir> [options]\n npx @owlmeans/create-app@^0.1.18-rc.64 <dir> [options]\n\nGenerates three workspaces (common + api + web) with shadcn UI navigation and\nlayout, no authentication, and a session-scoped in-memory resource on the\nbackend. With --bare the demo is left out and only the working shell remains.\nAgent skills are deployed into the project by default.\n\nOptions:\n --name <name> human-readable app name (default: derived from <dir>)\n --slug <slug> package slug (default: derived from <dir>)\n --lang <code> language of the generated UI text (default: en)\n --description <t> one-line project description for the generated docs\n --bare scaffold the shell only \u2014 no example/demo code\n --pm <bun|npm|yarn> package manager (default: bun)\n --no-install do not install dependencies\n --no-skills do not deploy agent skills via @owlmeans/agent-skills\n --no-git do not run \"git init\"\n --yes, -y proceed without prompts / into a non-empty directory\n --help, -h show this help\n";
2
+ export declare const HELP = "@owlmeans/create-app \u2014 scaffold a fullstack OwlMeans Common app\n\nUsage:\n npm create @owlmeans/app@latest <dir> [options]\n bun create @owlmeans/app <dir> [options]\n yarn create @owlmeans/app <dir> [options]\n npx @owlmeans/create-app@^0.1.18-rc.65 <dir> [options]\n\nGenerates three workspaces (common + api + web) with shadcn UI navigation and\nlayout, no authentication, and a session-scoped in-memory resource on the\nbackend. With --bare the demo is left out and only the working shell remains.\nAgent skills are deployed into the project by default.\n\nOptions:\n --name <name> human-readable app name (default: derived from <dir>)\n --slug <slug> package slug (default: derived from <dir>)\n --lang <code> language of the generated UI text (default: en)\n --description <t> one-line project description for the generated docs\n --bare scaffold the shell only \u2014 no example/demo code\n --pm <bun|npm|yarn> package manager (default: bun)\n --no-install do not install dependencies\n --no-skills do not deploy agent skills via @owlmeans/agent-skills\n --no-git do not run \"git init\"\n --yes, -y proceed without prompts / into a non-empty directory\n --help, -h show this help\n";
3
3
  export declare const PMS: PackageManager[];
4
4
  /** Dotfiles/dirs are shipped with an underscore prefix so npm does not strip them from the tarball. */
5
5
  export declare const DOTFILE_RENAMES: Record<string, string>;
@@ -5,7 +5,7 @@ Usage:
5
5
  npm create @owlmeans/app@latest <dir> [options]
6
6
  bun create @owlmeans/app <dir> [options]
7
7
  yarn create @owlmeans/app <dir> [options]
8
- npx @owlmeans/create-app@^0.1.18-rc.64 <dir> [options]
8
+ npx @owlmeans/create-app@^0.1.18-rc.65 <dir> [options]
9
9
 
10
10
  Generates three workspaces (common + api + web) with shadcn UI navigation and
11
11
  layout, no authentication, and a session-scoped in-memory resource on the
package/build/run.js CHANGED
@@ -50,7 +50,7 @@ export const run = async (args) => {
50
50
  log(args.install
51
51
  ? '\nDeploying agent skills via @owlmeans/agent-skills…'
52
52
  : '\nDeploying harness guidance via @owlmeans/agent-skills (general skills only — re-run'
53
- + '\n`npx @owlmeans/agent-skills@^0.1.18-rc.55` after installing to add the package-specific ones)…');
53
+ + '\n`npx @owlmeans/agent-skills@^0.1.18-rc.56` after installing to add the package-specific ones)…');
54
54
  try {
55
55
  const result = await installSkills({
56
56
  dir: dest,
@@ -62,7 +62,7 @@ export const run = async (args) => {
62
62
  help: false,
63
63
  });
64
64
  if (result.code !== 0) {
65
- process.stderr.write(` agent-skills exited with code ${result.code} — you can re-run \`npx @owlmeans/agent-skills@^0.1.18-rc.55\` later.\n`);
65
+ process.stderr.write(` agent-skills exited with code ${result.code} — you can re-run \`npx @owlmeans/agent-skills@^0.1.18-rc.56\` later.\n`);
66
66
  }
67
67
  }
68
68
  catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/create-app",
3
- "version": "0.1.18-rc.64",
3
+ "version": "0.1.18-rc.65",
4
4
  "license": "MIT",
5
5
  "description": "Scaffold a fullstack OwlMeans Common app — common + api + web workspaces, shadcn UI navigation/layout, no auth, and a session-scoped in-memory resource, or --bare for the demo-free shell. Also usable programmatically via scaffold(). Deploys agent skills via @owlmeans/agent-skills by default.",
6
6
  "type": "module",
@@ -27,10 +27,11 @@
27
27
  },
28
28
  "files": [
29
29
  "build",
30
- "template"
30
+ "template",
31
+ "THIRD-PARTY-NOTICES.txt"
31
32
  ],
32
33
  "dependencies": {
33
- "@owlmeans/agent-skills": "^0.1.18-rc.55"
34
+ "@owlmeans/agent-skills": "^0.1.18-rc.56"
34
35
  },
35
36
  "devDependencies": {
36
37
  "@owlmeans/dep-config": "workspace:*",
@@ -114,7 +114,7 @@ from the installed `@owlmeans/*` packages. Agents load a skill by topic, or you
114
114
  explicitly. Copilot and Codex read `.agents/skills/` directly; Claude Code reads the generated
115
115
  symlinks in `.claude/skills/` (see "Claude Code" below).
116
116
 
117
- - After adding or updating any `@owlmeans/*` dependency, run `npx @owlmeans/agent-skills@^0.1.18-rc.55` to refresh
117
+ - After adding or updating any `@owlmeans/*` dependency, run `npx @owlmeans/agent-skills@^0.1.18-rc.56` to refresh
118
118
  the deployed skills.
119
119
  - `/logging` — before adding any log line, catch block or `console` call (mechanics: `/log`).
120
120
  - Deployed files carry an `AUTO-GENERATED` banner and are refreshed in place — never hand-edit them.
@@ -66,5 +66,5 @@ them; write your own guidance as separate, un-bannered files. Refresh after addi
66
66
  `@owlmeans/*` packages:
67
67
 
68
68
  ```sh
69
- npx @owlmeans/agent-skills@^0.1.18-rc.55
69
+ npx @owlmeans/agent-skills@^0.1.18-rc.56
70
70
  ```
@@ -47,7 +47,7 @@ How you research the repo depends on whether `@owlmeans/*` is linked locally:
47
47
  **https://github.com/owlmeans/common** — `tree.md` and package READMEs — to find the right package.
48
48
 
49
49
  This is the same dev-linked detection `@owlmeans/agent-skills` uses (see its `detectLinked`). After
50
- adding an `@owlmeans/*` dependency, run `npx @owlmeans/agent-skills@^0.1.18-rc.55` to deploy its
50
+ adding an `@owlmeans/*` dependency, run `npx @owlmeans/agent-skills@^0.1.18-rc.56` to deploy its
51
51
  skill. Prefer an `@owlmeans/*` package over a third-party library or bespoke code whenever one fits.
52
52
 
53
53
  ### Never add an OwlMeans dependency without an explicit range
@@ -12,12 +12,12 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@owlmeans/log": "^0.1.18-rc.3",
15
- "@owlmeans/server-app": "^0.1.18-rc.56",
15
+ "@owlmeans/server-app": "^0.1.18-rc.57",
16
16
  "@owlmeans/static-resource": "^0.1.18-rc.39",
17
17
  "__APP_SLUG__-common": "workspace:^"
18
18
  },
19
19
  "devDependencies": {
20
- "@owlmeans/dep-config": "^0.1.18-rc.6",
20
+ "@owlmeans/dep-config": "^0.1.18-rc.7",
21
21
  "@types/node": "^26.6.4",
22
22
  "typescript": "^7.0.2"
23
23
  }
@@ -27,7 +27,7 @@
27
27
  "ajv": "^8.20.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@owlmeans/dep-config": "^0.1.18-rc.6",
30
+ "@owlmeans/dep-config": "^0.1.18-rc.7",
31
31
  "@types/node": "^26.6.4",
32
32
  "typescript": "^7.0.2"
33
33
  }
@@ -0,0 +1,24 @@
1
+ shadcn/ui — copied UI components
2
+ Source: https://github.com/shadcn-ui/ui
3
+
4
+ MIT License
5
+
6
+ Copyright (c) 2023 shadcn
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all
16
+ copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ SOFTWARE.
@@ -11,17 +11,17 @@
11
11
  "preview": "vite preview"
12
12
  },
13
13
  "dependencies": {
14
- "@owlmeans/client": "^0.1.18-rc.55",
14
+ "@owlmeans/client": "^0.1.18-rc.56",
15
15
  "@owlmeans/client-config": "^0.1.18-rc.45",
16
- "@owlmeans/client-context": "^0.1.18-rc.51",
17
- "@owlmeans/client-entrypoint": "^0.1.18-rc.50",
18
- "@owlmeans/client-i18n": "^0.1.18-rc.54",
16
+ "@owlmeans/client-context": "^0.1.18-rc.52",
17
+ "@owlmeans/client-entrypoint": "^0.1.18-rc.51",
18
+ "@owlmeans/client-i18n": "^0.1.18-rc.55",
19
19
  "@owlmeans/entrypoint": "^0.1.18-rc.41",
20
20
  "@owlmeans/log": "^0.1.18-rc.3",
21
21
  "@owlmeans/route": "^0.1.18-rc.35",
22
22
  "@owlmeans/state": "^0.1.18-rc.39",
23
- "@owlmeans/web-client": "^0.1.18-rc.66",
24
- "@owlmeans/web-panel": "^0.1.18-rc.77",
23
+ "@owlmeans/web-client": "^0.1.18-rc.67",
24
+ "@owlmeans/web-panel": "^0.1.18-rc.78",
25
25
  "@radix-ui/react-dropdown-menu": "^2.1.24",
26
26
  "@radix-ui/react-label": "^2.1.15",
27
27
  "@radix-ui/react-navigation-menu": "^1.2.22",
@@ -41,7 +41,7 @@
41
41
  "tailwindcss": "^4.3.3"
42
42
  },
43
43
  "devDependencies": {
44
- "@owlmeans/dep-config": "^0.1.18-rc.6",
44
+ "@owlmeans/dep-config": "^0.1.18-rc.7",
45
45
  "@tailwindcss/vite": "^4.3.3",
46
46
  "@types/react": "^19.3.0",
47
47
  "@types/react-dom": "^19.3.0",
@@ -10,5 +10,6 @@ export const SESSION_ID_KEY = '__APP_SLUG__-sid'
10
10
  // rendered by the shell itself (`NavLayout`'s `Footer`) and is never a footer link: an app link
11
11
  // list is places IN the app, and the credit is not one of those.
12
12
  export const footerLinks: PanelNavLink[] = [
13
+ { href: '/THIRD-PARTY-NOTICES.txt', label: 'Third-party notices' },
13
14
  { alias: HOME, label: '__APP_NAME__' },
14
15
  ]
@@ -19,5 +19,6 @@ export const navConfig: PanelNavConfig = {
19
19
  // rendered by the shell itself (`NavLayout`'s `Footer`) and is never a footer link: an app link
20
20
  // list is places IN the app, and the credit is not one of those.
21
21
  export const footerLinks: PanelNavLink[] = [
22
+ { href: '/THIRD-PARTY-NOTICES.txt', label: 'Third-party notices' },
22
23
  { alias: HOME, label: '__APP_NAME__' },
23
24
  ]
@@ -1,3 +1,4 @@
1
+ import { createThirdPartyNoticesPlugin } from '@owlmeans/dep-config/notices'
1
2
  import { defineConfig } from 'vite'
2
3
  import react from '@vitejs/plugin-react'
3
4
  import tailwindcss from '@tailwindcss/vite'
@@ -13,7 +14,7 @@ const owlMeansSingletons = [
13
14
  ]
14
15
 
15
16
  export default defineConfig({
16
- plugins: [react(), tailwindcss()],
17
+ plugins: [createThirdPartyNoticesPlugin({ root: import.meta.dirname, additionalPackages: ['tailwindcss'] }), react(), tailwindcss()],
17
18
  server: {
18
19
  port: 3001,
19
20
  host: '0.0.0.0',