create-outsystems-astro 0.8.2 → 0.10.0

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.
Files changed (56) hide show
  1. package/README.md +1 -1
  2. package/bin/cli.js +62 -1
  3. package/integrations/.prettierignore +15 -0
  4. package/integrations/.yarn/releases/yarn-4.15.0.cjs +940 -0
  5. package/integrations/.yarnrc.yml +6 -0
  6. package/integrations/bun.lock +1225 -0
  7. package/integrations/bunfig.toml +3 -0
  8. package/integrations/deno.json +4 -0
  9. package/integrations/deno.lock +3896 -0
  10. package/integrations/eslint.config.mjs +61 -0
  11. package/integrations/html/client.ts +30 -0
  12. package/integrations/html/index.ts +57 -0
  13. package/integrations/html/server.ts +54 -0
  14. package/integrations/package-lock.json +8898 -0
  15. package/integrations/package.json +39 -0
  16. package/integrations/pnpm-lock.yaml +5499 -0
  17. package/integrations/pnpm-workspace.yaml +4 -0
  18. package/integrations/tsconfig.json +15 -0
  19. package/integrations/yarn.lock +6305 -0
  20. package/package.json +3 -1
  21. package/template/.github/workflows/bun-test.yml +127 -0
  22. package/template/.github/workflows/deno-test.yml +127 -0
  23. package/template/.github/workflows/{test.yml → npm-test.yml} +7 -7
  24. package/template/.github/workflows/pnpm-test.yml +158 -0
  25. package/template/.github/workflows/yarn-test.yml +158 -0
  26. package/template/.gitignore +4 -0
  27. package/template/.prettierignore +1 -0
  28. package/template/.yarn/releases/yarn-4.15.0.cjs +940 -0
  29. package/template/.yarnrc.yml +8 -0
  30. package/template/AGENTS.md +46 -1
  31. package/template/README.md +15 -0
  32. package/template/astro.config.mjs +8 -3
  33. package/template/bun.lock +580 -966
  34. package/template/bunfig.toml +3 -0
  35. package/template/deno.json +3 -19
  36. package/template/deno.lock +1416 -1548
  37. package/template/eslint.config.mjs +1 -0
  38. package/template/package-lock.json +7332 -9398
  39. package/template/package.json +69 -93
  40. package/template/patches/@analogjs+astro-angular+2.5.2.patch +26 -0
  41. package/template/pnpm-lock.yaml +2638 -2683
  42. package/template/pnpm-workspace.yaml +11 -6
  43. package/template/src/framework/html/Demo.ts +105 -0
  44. package/template/src/framework/html/Store.ts +47 -0
  45. package/template/src/images/html.png +0 -0
  46. package/template/src/pages/html/html-demo.astro +61 -0
  47. package/template/src/pages/multi/store.astro +3 -1
  48. package/template/src/stores/framework.ts +1 -0
  49. package/template/test/e2e/html/html-demo.spec.ts +36 -0
  50. package/template/test/integration/html/Demo.test.ts +83 -0
  51. package/template/tsconfig.json +1 -1
  52. package/template/vitest.config.ts +9 -0
  53. package/template/yarn.lock +14730 -10574
  54. package/template/patches/@analogjs+astro-angular+2.3.1.patch +0 -13
  55. package/template/patches-deno/playwright+1.58.2.patch +0 -26
  56. /package/template/patches/{@angular+build+21.2.5.patch → @angular+build+21.2.12.patch} +0 -0
@@ -7,77 +7,79 @@
7
7
  "audit:deno": "deno audit",
8
8
  "audit:npm": "better-npm-audit audit",
9
9
  "audit:pnpm": "pnpm audit",
10
- "audit:yarn": "yarn run improved-yarn-audit",
10
+ "audit:yarn": "yarn npm audit",
11
11
  "build": "astro build",
12
12
  "dev": "astro dev",
13
13
  "format": "prettier . --check",
14
14
  "format:write": "prettier --write .",
15
- "lint": "eslint",
16
- "lint:fix": "eslint --fix",
15
+ "lint": "cross-env NODE_OPTIONS=--max-old-space-size=4096 eslint",
16
+ "lint:fix": "cross-env NODE_OPTIONS=--max-old-space-size=4096 eslint --fix",
17
17
  "output": "cross-env NODE_ENV=production astro build && ts-node ./output.ts",
18
- "output:bun": "cross-env NODE_ENV=production astro build && bun run ./output.ts",
19
- "output:deno": "cross-env NODE_ENV=production astro build && deno run -A ./output.ts",
18
+ "output:bun": "cross-env NODE_ENV=production bun run --bun astro build && bun run ./output.ts",
19
+ "output:deno": "cross-env NODE_ENV=production deno run -A npm:astro build && deno run -A ./output.ts",
20
20
  "postinstall": "patch-package",
21
- "postinstall:deno": "patch-package && patch-package --patch-dir patches-deno",
22
21
  "preview": "astro preview",
23
22
  "test": "vitest",
24
23
  "test:e2e": "playwright test",
24
+ "test:e2e:bun": "bun run --bun playwright test",
25
25
  "test:e2e:deno": "cross-env PW_DISABLE_TS_ESM=true deno run --allow-all npm:playwright test",
26
- "test:e2e:ui": "playwright test --ui",
26
+ "test:e2e:ui": "bun run --bun playwright test --ui",
27
+ "test:e2e:ui:bun": "playwright test --ui",
27
28
  "test:e2e:ui:deno": "cross-env PW_DISABLE_TS_ESM=true deno run --allow-all npm:playwright test --ui",
28
29
  "test:e2e:install": "playwright install --with-deps",
29
30
  "test:run": "vitest run",
30
31
  "typecheck": "tsc"
31
32
  },
32
33
  "dependencies": {
33
- "@analogjs/astro-angular": "^2.3.1",
34
- "@angular/animations": "^21.2.6",
35
- "@angular/common": "^21.2.6",
36
- "@angular/core": "^21.2.6",
37
- "@angular/platform-browser": "^21.2.6",
38
- "@angular/platform-server": "^21.2.6",
39
- "@angular/router": "^21.2.6",
40
- "@astrojs/preact": "^4.1.3",
41
- "@astrojs/react": "^4.4.2",
42
- "@astrojs/solid-js": "^5.1.3",
43
- "@astrojs/svelte": "^7.2.5",
44
- "@astrojs/vue": "^5.1.4",
34
+ "@analogjs/astro-angular": "^2.5.2",
35
+ "@angular/animations": "^21.2.14",
36
+ "@angular/common": "^21.2.14",
37
+ "@angular/core": "^21.2.14",
38
+ "@angular/platform-browser": "^21.2.14",
39
+ "@angular/platform-server": "^21.2.14",
40
+ "@angular/router": "^21.2.14",
41
+ "@astrojs/preact": "^5.1.3",
42
+ "@astrojs/react": "^5.0.5",
43
+ "@astrojs/solid-js": "^6.0.1",
44
+ "@astrojs/svelte": "^8.1.1",
45
+ "@astrojs/vue": "^6.0.1",
45
46
  "@nanostores/preact": "^1.1.0",
46
47
  "@nanostores/react": "^1.1.0",
47
48
  "@nanostores/solid": "^1.1.1",
48
49
  "@nanostores/vue": "^1.1.0",
49
- "astro": "^5.18.1",
50
- "nanostores": "^1.2.0",
51
- "preact": "^10.29.0",
52
- "react": "^19.2.4",
53
- "react-dom": "^19.2.4",
50
+ "astro": "^6.3.7",
51
+ "islands-integrations": "file:./.integrations",
52
+ "nanostores": "^1.3.0",
53
+ "preact": "^10.29.2",
54
+ "react": "^19.2.6",
55
+ "react-dom": "^19.2.6",
54
56
  "rxjs": "^7.8.2",
55
- "solid-js": "^1.9.12",
56
- "svelte": "^5.55.0",
57
+ "solid-js": "^1.9.13",
58
+ "svelte": "^5.55.9",
57
59
  "tslib": "^2.8.1",
58
- "vue": "^3.5.31"
60
+ "vue": "^3.5.34"
59
61
  },
60
62
  "devDependencies": {
61
- "@analogjs/vite-plugin-angular": "^2.3.1",
62
- "@analogjs/vitest-angular": "^2.3.1",
63
- "@angular-devkit/architect": "^0.2102.5",
64
- "@angular-devkit/schematics": "^21.2.5",
65
- "@angular/build": "^21.2.5",
66
- "@angular/cli": "^21.2.5",
67
- "@angular/compiler": "^21.2.6",
68
- "@angular/compiler-cli": "^21.2.6",
69
- "@angular/language-service": "^21.2.6",
63
+ "@analogjs/vite-plugin-angular": "^2.5.2",
64
+ "@analogjs/vitest-angular": "^2.5.2",
65
+ "@angular-devkit/architect": "^0.2102.12",
66
+ "@angular-devkit/schematics": "^21.2.12",
67
+ "@angular/build": "^21.2.12",
68
+ "@angular/cli": "^21.2.12",
69
+ "@angular/compiler": "^21.2.14",
70
+ "@angular/compiler-cli": "^21.2.14",
71
+ "@angular/language-service": "^21.2.14",
70
72
  "@babel/core": "^7.29.0",
71
- "@eslint/compat": "^2.0.3",
73
+ "@eslint/compat": "^2.1.0",
72
74
  "@eslint/eslintrc": "^3.3.5",
73
75
  "@eslint/js": "^9.39.4",
74
- "@eslint/markdown": "^8.0.0",
75
- "@oxc-project/runtime": "^0.122.0",
76
- "@playwright/test": "1.58.2",
76
+ "@eslint/markdown": "^8.0.2",
77
+ "@oxc-project/runtime": "^0.132.0",
78
+ "@playwright/test": "1.60.0",
77
79
  "@preact/preset-vite": "^2.10.5",
78
80
  "@solidjs/testing-library": "^0.8.10",
79
- "@sveltejs/vite-plugin-svelte": "^7.0.0",
80
- "@testing-library/angular": "^19.1.10",
81
+ "@sveltejs/vite-plugin-svelte": "^7.1.2",
82
+ "@testing-library/angular": "^19.3.0",
81
83
  "@testing-library/dom": "^10.4.1",
82
84
  "@testing-library/jest-dom": "^6.9.1",
83
85
  "@testing-library/preact": "^3.2.4",
@@ -86,76 +88,50 @@
86
88
  "@testing-library/user-event": "^14.6.1",
87
89
  "@testing-library/vue": "^8.1.0",
88
90
  "@types/js-beautify": "^1.14.3",
89
- "@types/node": "^25.5.0",
90
- "@types/react": "^19.2.14",
91
+ "@types/node": "^25.9.1",
92
+ "@types/react": "^19.2.15",
91
93
  "@types/react-dom": "^19.2.3",
92
- "@vitejs/plugin-react": "^6.0.1",
93
- "@vitejs/plugin-vue": "^6.0.5",
94
- "angular-eslint": "^21.3.1",
94
+ "@vitejs/plugin-react": "^6.0.2",
95
+ "@vitejs/plugin-vue": "^6.0.7",
96
+ "angular-eslint": "^21.4.0",
95
97
  "better-npm-audit": "^3.11.0",
96
98
  "cross-env": "^10.1.0",
97
- "dotenv": "^17.3.1",
99
+ "dotenv": "^17.4.2",
98
100
  "eslint": "^9.39.4",
99
101
  "eslint-config-preact": "^2.0.0",
100
102
  "eslint-config-prettier": "^10.1.8",
101
- "eslint-plugin-astro": "^1.6.0",
103
+ "eslint-plugin-astro": "^1.7.0",
102
104
  "eslint-plugin-import": "^2.32.0",
103
- "eslint-plugin-jest": "^29.15.1",
105
+ "eslint-plugin-jest": "^29.15.2",
104
106
  "eslint-plugin-jest-dom": "^5.5.0",
105
- "eslint-plugin-perfectionist": "^5.7.0",
106
- "eslint-plugin-playwright": "^2.10.1",
107
+ "eslint-plugin-perfectionist": "^5.9.0",
108
+ "eslint-plugin-playwright": "^2.10.4",
107
109
  "eslint-plugin-react": "^7.37.5",
108
- "eslint-plugin-react-hooks": "^7.0.1",
110
+ "eslint-plugin-react-hooks": "^7.1.1",
109
111
  "eslint-plugin-solid": "^0.14.5",
110
- "eslint-plugin-svelte": "^3.16.0",
112
+ "eslint-plugin-svelte": "^3.17.1",
111
113
  "eslint-plugin-testing-library": "^7.16.2",
112
- "eslint-plugin-vue": "^10.8.0",
113
- "globals": "^17.4.0",
114
- "happy-dom": "^20.8.9",
115
- "improved-yarn-audit": "^3.0.4",
114
+ "eslint-plugin-vue": "^10.9.1",
115
+ "globals": "^17.6.0",
116
+ "happy-dom": "^20.9.0",
116
117
  "js-beautify": "^1.15.4",
117
118
  "patch-package": "^8.0.1",
118
- "prettier": "^3.8.1",
119
+ "prettier": "^3.8.3",
119
120
  "prettier-plugin-solidity": "^2.3.1",
120
- "prettier-plugin-svelte": "^3.5.1",
121
- "svelte-eslint-parser": "^1.6.0",
121
+ "prettier-plugin-svelte": "^4.0.1",
122
+ "svelte-eslint-parser": "^1.6.1",
122
123
  "ts-node": "^10.9.2",
123
124
  "typescript": "^5.9.3",
124
- "typescript-eslint": "^8.57.2",
125
- "vite-plugin-solid": "^2.11.11",
126
- "vite": "^8.0.5",
127
- "vitest": "^4.1.2",
125
+ "typescript-eslint": "^8.59.4",
126
+ "vite": "^8.0.14",
127
+ "vite-plugin-solid": "^2.11.12",
128
+ "vitest": "^4.1.7",
128
129
  "vue-eslint-parser": "^10.4.0"
129
130
  },
130
- "overrides": {
131
- "@hono/node-server": "^1.19.13",
132
- "@vue/devtools-core": {
133
- "vite": "^7.3.2"
134
- },
135
- "defu": "^6.1.5",
136
- "hono": "^4.12.12",
137
- "vite@6": "^6.4.2",
138
- "vite@7": "^7.3.2"
131
+ "overrides": {
132
+ "tmp": "^0.2.6"
139
133
  },
140
134
  "resolutions": {
141
- "@hono/node-server": "^1.19.13",
142
- "defu": "^6.1.5",
143
- "hono": "^4.12.12"
144
- },
145
- "pnpm": {
146
- "overrides": {
147
- "@angular/build>vite": "^7.3.2",
148
- "@astrojs/preact>vite": "^6.4.2",
149
- "@astrojs/react>vite": "^6.4.2",
150
- "@astrojs/solid-js>vite": "^6.4.2",
151
- "@astrojs/svelte>vite": "^6.4.2",
152
- "@astrojs/vue>vite": "^6.4.2",
153
- "@hono/node-server": "^1.19.13",
154
- "@vue/devtools-core>vite": "^7.3.2",
155
- "astro>vite": "^6.4.2",
156
- "defu": "^6.1.5",
157
- "hono": "^4.12.12",
158
- "vitest>vite": "^8.0.8"
159
- }
135
+ "tmp": "^0.2.6"
160
136
  }
161
137
  }
@@ -0,0 +1,26 @@
1
+ diff --git a/node_modules/@analogjs/astro-angular/src/index.js b/node_modules/@analogjs/astro-angular/src/index.js
2
+ index 277cc8d..059ed0f 100644
3
+ --- a/node_modules/@analogjs/astro-angular/src/index.js
4
+ +++ b/node_modules/@analogjs/astro-angular/src/index.js
5
+ @@ -15,17 +15,18 @@ function getRenderer(ngHydration) {
6
+ function getViteConfiguration(options) {
7
+ return {
8
+ esbuild: {
9
+ - jsxDev: true,
10
+ + jsxDev: false,
11
+ },
12
+ optimizeDeps: {
13
+ include: [
14
+ - '@angular/platform-browser',
15
+ - '@angular/core',
16
+ options?.useAngularHydration
17
+ ? '@analogjs/astro-angular/client-ngh.js'
18
+ : '@analogjs/astro-angular/client.js',
19
+ ],
20
+ exclude: [
21
+ + '@angular/core',
22
+ + '@angular/common',
23
+ + '@angular/platform-browser',
24
+ '@angular/platform-server',
25
+ '@analogjs/astro-angular/server.js',
26
+ '@analogjs/astro-angular/server-ngh.js',