create-outsystems-astro 0.4.2 → 0.6.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 (39) hide show
  1. package/README.md +5 -0
  2. package/bin/cli.js +6 -1
  3. package/package.json +1 -1
  4. package/template/.prettierignore +4 -1
  5. package/template/.prettierrc +4 -0
  6. package/template/AGENTS.md +104 -15
  7. package/template/astro.config.mjs +2 -0
  8. package/template/bun.lock +621 -656
  9. package/template/deno.json +1 -5
  10. package/template/deno.lock +1303 -977
  11. package/template/eslint.config.mjs +19 -0
  12. package/template/output.ts +14 -2
  13. package/template/package-lock.json +3949 -4042
  14. package/template/package.json +62 -58
  15. package/template/pnpm-lock.yaml +2431 -1927
  16. package/template/pnpm-workspace.yaml +6 -0
  17. package/template/src/framework/angular/Counter.component.ts +25 -13
  18. package/template/src/framework/react/Counter.tsx +41 -9
  19. package/template/src/framework/svelte/Counter.svelte +77 -0
  20. package/template/src/framework/vue/Counter.vue +49 -14
  21. package/template/src/pages/angular/angular-counter.astro +30 -10
  22. package/template/src/pages/react/react-counter.astro +58 -16
  23. package/template/src/pages/svelte/svelte-counter.astro +63 -0
  24. package/template/src/pages/vue/vue-counter.astro +61 -15
  25. package/template/src/stores/.gitkeep +0 -0
  26. package/template/src/styles/index.css +65 -0
  27. package/template/svelte.config.js +5 -0
  28. package/template/test/e2e/react/react-counter.spec.ts +12 -2
  29. package/template/test/e2e/svelte/svelte-counter.spec.ts +42 -0
  30. package/template/test/e2e/vue/vue-counter.spec.ts +12 -2
  31. package/template/test/integration/angular/Counter.component.spec.ts +1 -1
  32. package/template/test/integration/react/Counter.test.tsx +35 -10
  33. package/template/test/integration/svelte/Counter.test.ts +81 -0
  34. package/template/test/integration/svelte/SlotCounter.wrapper.svelte +27 -0
  35. package/template/test/integration/vue/Counter.test.ts +42 -4
  36. package/template/vitest.config.ts +17 -2
  37. package/template/yarn.lock +3656 -2059
  38. /package/template/patches/{@analogjs+astro-angular+2.2.2.patch → @analogjs+astro-angular+2.3.0.patch} +0 -0
  39. /package/template/patches/{@angular+build+21.1.0.patch → @angular+build+21.2.0.patch} +0 -0
@@ -3,6 +3,11 @@
3
3
  "type": "module",
4
4
  "scripts": {
5
5
  "astro": "astro",
6
+ "audit:bun": "bun audit",
7
+ "audit:deno": "deno audit",
8
+ "audit:npm": "better-npm-audit audit",
9
+ "audit:pnpm": "pnpm audit",
10
+ "audit:yarn": "yarn run improved-yarn-audit",
6
11
  "build": "astro build",
7
12
  "dev": "astro dev",
8
13
  "format": "prettier . --check",
@@ -24,85 +29,84 @@
24
29
  "typecheck": "tsc"
25
30
  },
26
31
  "dependencies": {
27
- "@analogjs/astro-angular": "^2.2.2",
28
- "@angular/animations": "^21.1.0",
29
- "@angular/build": "^21.1.0",
30
- "@angular/common": "^21.1.0",
31
- "@angular/compiler": "^21.1.0",
32
- "@angular/compiler-cli": "^21.1.0",
33
- "@angular/core": "^21.1.0",
34
- "@angular/language-service": "^21.1.0",
35
- "@angular/platform-browser": "^21.1.0",
36
- "@angular/platform-server": "^21.1.0",
32
+ "@analogjs/astro-angular": "^2.3.0",
33
+ "@angular/animations": "^21.1.6",
34
+ "@angular/build": "^21.1.5",
35
+ "@angular/common": "^21.1.6",
36
+ "@angular/compiler": "^21.1.6",
37
+ "@angular/compiler-cli": "^21.1.6",
38
+ "@angular/core": "^21.1.6",
39
+ "@angular/language-service": "^21.1.6",
40
+ "@angular/platform-browser": "^21.1.6",
41
+ "@angular/platform-server": "^21.1.6",
37
42
  "@astrojs/react": "^4.4.2",
43
+ "@astrojs/svelte": "^7.2.5",
38
44
  "@astrojs/vue": "^5.1.4",
39
- "astro": "^5.16.11",
40
- "react": "^19.2.3",
41
- "react-dom": "^19.2.3",
45
+ "@nanostores/react": "^1.0.0",
46
+ "@nanostores/vue": "^1.0.1",
47
+ "astro": "^5.18.0",
48
+ "nanostores": "^1.1.1",
49
+ "react": "^19.2.4",
50
+ "react-dom": "^19.2.4",
42
51
  "rxjs": "^7.8.2",
43
- "vue": "^3.5.26"
52
+ "svelte": "^5.53.6",
53
+ "vue": "^3.5.29"
44
54
  },
45
55
  "devDependencies": {
46
- "@analogjs/vite-plugin-angular": "^2.2.2",
47
- "@analogjs/vitest-angular": "^2.2.2",
48
- "@angular/router": "^21.1.0",
49
- "@eslint/compat": "^2.0.1",
50
- "@eslint/js": "^9.39.2",
56
+ "@analogjs/vite-plugin-angular": "^2.3.0",
57
+ "@analogjs/vitest-angular": "^2.3.0",
58
+ "@angular-devkit/architect": "^0.2102.0",
59
+ "@angular-devkit/schematics": "^21.2.0",
60
+ "@angular/cli": "^21.2.0",
61
+ "@angular/router": "^21.1.6",
62
+ "@eslint/compat": "^2.0.2",
63
+ "@eslint/js": "^9.39.3",
51
64
  "@eslint/markdown": "^7.5.1",
52
- "@playwright/test": "^1.57.0",
53
- "@testing-library/angular": "^19.0.0",
65
+ "@playwright/test": "1.57.0",
66
+ "@sveltejs/vite-plugin-svelte": "^6.2.4",
67
+ "@testing-library/angular": "^19.1.0",
54
68
  "@testing-library/dom": "^10.4.1",
55
69
  "@testing-library/jest-dom": "^6.9.1",
56
- "@testing-library/react": "^16.3.1",
70
+ "@testing-library/react": "^16.3.2",
71
+ "@testing-library/svelte": "^5.3.1",
57
72
  "@testing-library/user-event": "^14.6.1",
58
73
  "@testing-library/vue": "^8.1.0",
59
74
  "@types/js-beautify": "^1.14.3",
60
- "@types/node": "^25.0.9",
61
- "@types/react": "^19.2.8",
75
+ "@types/node": "^25.3.2",
76
+ "@types/react": "^19.2.14",
62
77
  "@types/react-dom": "^19.2.3",
63
- "@vitejs/plugin-react": "^5.1.2",
64
- "@vitejs/plugin-vue": "^6.0.3",
65
- "angular-eslint": "^21.1.0",
66
- "dotenv": "^17.2.3",
67
- "eslint": "^9.39.2",
78
+ "@vitejs/plugin-react": "^5.1.4",
79
+ "@vitejs/plugin-vue": "^6.0.4",
80
+ "angular-eslint": "^21.2.0",
81
+ "better-npm-audit": "^3.11.0",
82
+ "dotenv": "^17.3.1",
83
+ "eslint": "^9.39.3",
68
84
  "eslint-config-prettier": "^10.1.8",
69
- "eslint-plugin-astro": "^1.5.0",
85
+ "eslint-plugin-astro": "^1.6.0",
70
86
  "eslint-plugin-import": "^2.32.0",
71
- "eslint-plugin-jest": "^29.12.1",
87
+ "eslint-plugin-jest": "^29.15.0",
72
88
  "eslint-plugin-jest-dom": "^5.5.0",
73
- "eslint-plugin-perfectionist": "^5.3.1",
74
- "eslint-plugin-playwright": "^2.5.0",
89
+ "eslint-plugin-perfectionist": "^5.6.0",
90
+ "eslint-plugin-playwright": "^2.8.0",
75
91
  "eslint-plugin-react": "^7.37.5",
76
92
  "eslint-plugin-react-hooks": "^7.0.1",
77
- "eslint-plugin-testing-library": "^7.15.4",
78
- "eslint-plugin-vue": "^10.7.0",
79
- "globals": "^17.0.0",
80
- "happy-dom": "^20.3.1",
93
+ "eslint-plugin-svelte": "^3.15.0",
94
+ "eslint-plugin-testing-library": "^7.16.0",
95
+ "eslint-plugin-vue": "^10.8.0",
96
+ "globals": "^17.3.0",
97
+ "happy-dom": "^20.7.0",
98
+ "improved-yarn-audit": "^3.0.4",
81
99
  "js-beautify": "^1.15.4",
82
100
  "patch-package": "^8.0.1",
83
- "prettier": "^3.8.0",
101
+ "prettier": "^3.8.1",
102
+ "prettier-plugin-svelte": "^3.5.0",
103
+ "svelte-eslint-parser": "^1.5.1",
84
104
  "ts-node": "^10.9.2",
85
105
  "tslib": "^2.8.1",
86
106
  "typescript": "^5.9.3",
87
- "typescript-eslint": "^8.53.0",
88
- "vitest": "^4.0.17",
89
- "vue-eslint-parser": "^10.2.0"
90
- },
91
- "overrides": {
92
- "diff": "^8.0.3",
93
- "undici": "^7.18.2",
94
- "tar": "^7.5.4"
95
- },
96
- "resolutions": {
97
- "diff": "^8.0.3",
98
- "undici": "^7.18.2",
99
- "tar": "^7.5.4"
100
- },
101
- "pnpm": {
102
- "overrides": {
103
- "diff": "^8.0.3",
104
- "undici": "^7.18.2",
105
- "tar": "^7.5.4"
106
- }
107
+ "typescript-eslint": "^8.56.1",
108
+ "vite": "^6.4.1",
109
+ "vitest": "^4.0.18",
110
+ "vue-eslint-parser": "^10.4.0"
107
111
  }
108
112
  }