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
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-outsystems-astro",
3
3
  "type": "module",
4
- "version": "0.8.2",
4
+ "version": "0.10.0",
5
5
  "description": "Create an OutSystems Astro Island project to import as a component into your OutSystems application",
6
6
  "repository": {
7
7
  "type": "git",
@@ -12,6 +12,8 @@
12
12
  },
13
13
  "files": [
14
14
  "bin",
15
+ "integrations",
16
+ "integrations/package.json",
15
17
  "template",
16
18
  "template/.gitignore"
17
19
  ],
@@ -0,0 +1,127 @@
1
+ name: Test
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches: [ main ]
7
+ schedule:
8
+ - cron: '0 12 * * *'
9
+
10
+ env:
11
+ BUN_VERSION: '1.3.14'
12
+
13
+ jobs:
14
+
15
+ format:
16
+ runs-on: ubuntu-latest
17
+
18
+ steps:
19
+ - name: Checkout code
20
+ uses: actions/checkout@v6.0.2
21
+
22
+ - name: Install Bun
23
+ uses: oven-sh/setup-bun@v2.2.0
24
+ with:
25
+ bun-version: ${{ env.BUN_VERSION }}
26
+
27
+ - name: Install dependencies
28
+ working-directory: template
29
+ run: bun install --frozen-lockfile
30
+
31
+ - name: Run format
32
+ run: bun run format
33
+
34
+ lint:
35
+ runs-on: ubuntu-latest
36
+
37
+ steps:
38
+ - name: Checkout code
39
+ uses: actions/checkout@v6.0.2
40
+
41
+ - name: Install Bun
42
+ uses: oven-sh/setup-bun@v2.2.0
43
+ with:
44
+ bun-version: ${{ env.BUN_VERSION }}
45
+
46
+ - name: Install dependencies
47
+ working-directory: template
48
+ run: bun install --frozen-lockfile
49
+
50
+ - name: Run lint
51
+ run: bun run lint
52
+
53
+ security:
54
+ runs-on: ubuntu-latest
55
+
56
+ steps:
57
+ - name: Checkout code
58
+ uses: actions/checkout@v6.0.2
59
+
60
+ - name: Install Bun
61
+ uses: oven-sh/setup-bun@v2.2.0
62
+ with:
63
+ bun-version: ${{ env.BUN_VERSION }}
64
+
65
+ - name: Install dependencies
66
+ working-directory: template
67
+ run: bun install --frozen-lockfile
68
+
69
+ - name: Run security check
70
+ run: bun run audit:bun
71
+
72
+ test:
73
+ runs-on: ubuntu-latest
74
+
75
+ steps:
76
+ - name: Checkout code
77
+ uses: actions/checkout@v6.0.2
78
+
79
+ - name: Install Bun
80
+ uses: oven-sh/setup-bun@v2.2.0
81
+ with:
82
+ bun-version: ${{ env.BUN_VERSION }}
83
+
84
+ - name: Install dependencies
85
+ run: bun install --frozen-lockfile
86
+
87
+ - name: Run tests
88
+ run: bun run test
89
+
90
+ teste2e:
91
+ runs-on: ubuntu-latest
92
+
93
+ steps:
94
+ - name: Checkout code
95
+ uses: actions/checkout@v6.0.2
96
+
97
+ - name: Install Bun
98
+ uses: oven-sh/setup-bun@v2.2.0
99
+ with:
100
+ bun-version: ${{ env.BUN_VERSION }}
101
+
102
+ - name: Install dependencies
103
+ run: bun install --frozen-lockfile
104
+
105
+ - name: Install Playwright
106
+ run: bun run test:e2e:install
107
+
108
+ - name: Run tests
109
+ run: bun run test:e2e:bun
110
+
111
+ typecheck:
112
+ runs-on: ubuntu-latest
113
+
114
+ steps:
115
+ - name: Checkout code
116
+ uses: actions/checkout@v6.0.2
117
+
118
+ - name: Install Bun
119
+ uses: oven-sh/setup-bun@v2.2.0
120
+ with:
121
+ bun-version: ${{ env.BUN_VERSION }}
122
+
123
+ - name: Install dependencies
124
+ run: bun install --frozen-lockfile
125
+
126
+ - name: Run type check
127
+ run: bun run typecheck
@@ -0,0 +1,127 @@
1
+ name: Test
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches: [ main ]
7
+ schedule:
8
+ - cron: '0 12 * * *'
9
+
10
+ env:
11
+ DENO_VERSION: '2.8.0'
12
+
13
+ jobs:
14
+
15
+ format:
16
+ runs-on: ubuntu-latest
17
+
18
+ steps:
19
+ - name: Checkout code
20
+ uses: actions/checkout@v6.0.2
21
+
22
+ - name: Install Deno
23
+ uses: denoland/setup-deno@v2.0.4
24
+ with:
25
+ deno-version: ${{ env.DENO_VERSION }}
26
+
27
+ - name: Install dependencies
28
+ working-directory: template
29
+ run: deno install --frozen && deno run postinstall
30
+
31
+ - name: Run format
32
+ run: deno run format
33
+
34
+ lint:
35
+ runs-on: ubuntu-latest
36
+
37
+ steps:
38
+ - name: Checkout code
39
+ uses: actions/checkout@v6.0.2
40
+
41
+ - name: Install Deno
42
+ uses: denoland/setup-deno@v2.0.4
43
+ with:
44
+ deno-version: ${{ env.DENO_VERSION }}
45
+
46
+ - name: Install dependencies
47
+ working-directory: template
48
+ run: deno install --frozen && deno run postinstall
49
+
50
+ - name: Run lint
51
+ run: deno run lint
52
+
53
+ security:
54
+ runs-on: ubuntu-latest
55
+
56
+ steps:
57
+ - name: Checkout code
58
+ uses: actions/checkout@v6.0.2
59
+
60
+ - name: Install Deno
61
+ uses: denoland/setup-deno@v2.0.4
62
+ with:
63
+ deno-version: ${{ env.DENO_VERSION }}
64
+
65
+ - name: Install dependencies
66
+ working-directory: template
67
+ run: deno install --frozen && deno run postinstall
68
+
69
+ - name: Run security check
70
+ run: deno run audit:deno
71
+
72
+ test:
73
+ runs-on: ubuntu-latest
74
+
75
+ steps:
76
+ - name: Checkout code
77
+ uses: actions/checkout@v6.0.2
78
+
79
+ - name: Install Deno
80
+ uses: denoland/setup-deno@v2.0.4
81
+ with:
82
+ deno-version: ${{ env.DENO_VERSION }}
83
+
84
+ - name: Install dependencies
85
+ run: deno install --frozen && deno run postinstall
86
+
87
+ - name: Run tests
88
+ run: deno run test
89
+
90
+ teste2e:
91
+ runs-on: ubuntu-latest
92
+
93
+ steps:
94
+ - name: Checkout code
95
+ uses: actions/checkout@v6.0.2
96
+
97
+ - name: Install Deno
98
+ uses: denoland/setup-deno@v2.0.4
99
+ with:
100
+ deno-version: ${{ env.DENO_VERSION }}
101
+
102
+ - name: Install dependencies
103
+ run: deno install --frozen && deno run postinstall
104
+
105
+ - name: Install Playwright
106
+ run: deno run test:e2e:install
107
+
108
+ - name: Run tests
109
+ run: deno run test:e2e:deno
110
+
111
+ typecheck:
112
+ runs-on: ubuntu-latest
113
+
114
+ steps:
115
+ - name: Checkout code
116
+ uses: actions/checkout@v6.0.2
117
+
118
+ - name: Install Deno
119
+ uses: denoland/setup-deno@v2.0.4
120
+ with:
121
+ deno-version: ${{ env.DENO_VERSION }}
122
+
123
+ - name: Install dependencies
124
+ run: deno install --frozen && deno run postinstall
125
+
126
+ - name: Run type check
127
+ run: deno run typecheck
@@ -8,7 +8,7 @@ on:
8
8
  - cron: '0 12 * * *'
9
9
 
10
10
  env:
11
- NODE_VERSION: '24.14.1'
11
+ NODE_VERSION: '24.16.0'
12
12
 
13
13
  jobs:
14
14
 
@@ -20,7 +20,7 @@ jobs:
20
20
  uses: actions/checkout@v6.0.2
21
21
 
22
22
  - name: Use Node.js
23
- uses: actions/setup-node@v6.3.0
23
+ uses: actions/setup-node@v6.4.0
24
24
  with:
25
25
  node-version: ${{ env.NODE_VERSION }}
26
26
 
@@ -39,7 +39,7 @@ jobs:
39
39
  uses: actions/checkout@v6.0.2
40
40
 
41
41
  - name: Use Node.js
42
- uses: actions/setup-node@v6.3.0
42
+ uses: actions/setup-node@v6.4.0
43
43
  with:
44
44
  node-version: ${{ env.NODE_VERSION }}
45
45
 
@@ -58,7 +58,7 @@ jobs:
58
58
  uses: actions/checkout@v6.0.2
59
59
 
60
60
  - name: Use Node.js
61
- uses: actions/setup-node@v6.3.0
61
+ uses: actions/setup-node@v6.4.0
62
62
  with:
63
63
  node-version: ${{ env.NODE_VERSION }}
64
64
 
@@ -77,7 +77,7 @@ jobs:
77
77
  uses: actions/checkout@v6.0.2
78
78
 
79
79
  - name: Use Node.js
80
- uses: actions/setup-node@v6.3.0
80
+ uses: actions/setup-node@v6.4.0
81
81
  with:
82
82
  node-version: ${{ env.NODE_VERSION }}
83
83
 
@@ -95,7 +95,7 @@ jobs:
95
95
  uses: actions/checkout@v6.0.2
96
96
 
97
97
  - name: Use Node.js
98
- uses: actions/setup-node@v6.3.0
98
+ uses: actions/setup-node@v6.4.0
99
99
  with:
100
100
  node-version: ${{ env.NODE_VERSION }}
101
101
 
@@ -116,7 +116,7 @@ jobs:
116
116
  uses: actions/checkout@v6.0.2
117
117
 
118
118
  - name: Use Node.js
119
- uses: actions/setup-node@v6.3.0
119
+ uses: actions/setup-node@v6.4.0
120
120
  with:
121
121
  node-version: ${{ env.NODE_VERSION }}
122
122
 
@@ -0,0 +1,158 @@
1
+ name: Test
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches: [ main ]
7
+ schedule:
8
+ - cron: '0 12 * * *'
9
+
10
+ env:
11
+ NODE_VERSION: '24.16.0'
12
+ PNPM_VERSION: '11.5.0'
13
+
14
+ jobs:
15
+
16
+ format:
17
+ runs-on: ubuntu-latest
18
+
19
+ steps:
20
+ - name: Checkout code
21
+ uses: actions/checkout@v6.0.2
22
+
23
+ - name: Use Node.js
24
+ uses: actions/setup-node@v6.4.0
25
+ with:
26
+ node-version: ${{ env.NODE_VERSION }}
27
+
28
+ - name: Install pnpm
29
+ uses: pnpm/action-setup@v6.0.8
30
+ with:
31
+ version: ${{ env.PNPM_VERSION }}
32
+
33
+ - name: Install dependencies
34
+ working-directory: template
35
+ run: pnpm install --frozen-lockfile
36
+
37
+ - name: Run format
38
+ run: pnpm run format
39
+
40
+ lint:
41
+ runs-on: ubuntu-latest
42
+
43
+ steps:
44
+ - name: Checkout code
45
+ uses: actions/checkout@v6.0.2
46
+
47
+ - name: Use Node.js
48
+ uses: actions/setup-node@v6.4.0
49
+ with:
50
+ node-version: ${{ env.NODE_VERSION }}
51
+
52
+ - name: Install pnpm
53
+ uses: pnpm/action-setup@v6.0.8
54
+ with:
55
+ version: ${{ env.PNPM_VERSION }}
56
+
57
+ - name: Install dependencies
58
+ working-directory: template
59
+ run: pnpm install --frozen-lockfile
60
+
61
+ - name: Run lint
62
+ run: pnpm run lint
63
+
64
+ security:
65
+ runs-on: ubuntu-latest
66
+
67
+ steps:
68
+ - name: Checkout code
69
+ uses: actions/checkout@v6.0.2
70
+
71
+ - name: Use Node.js
72
+ uses: actions/setup-node@v6.4.0
73
+ with:
74
+ node-version: ${{ env.NODE_VERSION }}
75
+
76
+ - name: Install pnpm
77
+ uses: pnpm/action-setup@v6.0.8
78
+ with:
79
+ version: ${{ env.PNPM_VERSION }}
80
+
81
+ - name: Install dependencies
82
+ working-directory: template
83
+ run: pnpm install --frozen-lockfile
84
+
85
+ - name: Run security check
86
+ run: pnpm run audit:pnpm
87
+
88
+ test:
89
+ runs-on: ubuntu-latest
90
+
91
+ steps:
92
+ - name: Checkout code
93
+ uses: actions/checkout@v6.0.2
94
+
95
+ - name: Use Node.js
96
+ uses: actions/setup-node@v6.4.0
97
+ with:
98
+ node-version: ${{ env.NODE_VERSION }}
99
+
100
+ - name: Install pnpm
101
+ uses: pnpm/action-setup@v6.0.8
102
+ with:
103
+ version: ${{ env.PNPM_VERSION }}
104
+
105
+ - name: Install dependencies
106
+ run: pnpm install --frozen-lockfile
107
+
108
+ - name: Run tests
109
+ run: pnpm run test
110
+
111
+ teste2e:
112
+ runs-on: ubuntu-latest
113
+
114
+ steps:
115
+ - name: Checkout code
116
+ uses: actions/checkout@v6.0.2
117
+
118
+ - name: Use Node.js
119
+ uses: actions/setup-node@v6.4.0
120
+ with:
121
+ node-version: ${{ env.NODE_VERSION }}
122
+
123
+ - name: Install pnpm
124
+ uses: pnpm/action-setup@v6.0.8
125
+ with:
126
+ version: ${{ env.PNPM_VERSION }}
127
+
128
+ - name: Install dependencies
129
+ run: pnpm install --frozen-lockfile
130
+
131
+ - name: Install Playwright
132
+ run: pnpm run test:e2e:install
133
+
134
+ - name: Run tests
135
+ run: pnpm run test:e2e
136
+
137
+ typecheck:
138
+ runs-on: ubuntu-latest
139
+
140
+ steps:
141
+ - name: Checkout code
142
+ uses: actions/checkout@v6.0.2
143
+
144
+ - name: Use Node.js
145
+ uses: actions/setup-node@v6.4.0
146
+ with:
147
+ node-version: ${{ env.NODE_VERSION }}
148
+
149
+ - name: Install pnpm
150
+ uses: pnpm/action-setup@v6.0.8
151
+ with:
152
+ version: ${{ env.PNPM_VERSION }}
153
+
154
+ - name: Install dependencies
155
+ run: pnpm install --frozen-lockfile
156
+
157
+ - name: Run type check
158
+ run: pnpm run typecheck
@@ -0,0 +1,158 @@
1
+ name: Test
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches: [ main ]
7
+ schedule:
8
+ - cron: '0 12 * * *'
9
+
10
+ env:
11
+ NODE_VERSION: '24.16.0'
12
+ YARN_VERSION: '4.15.0'
13
+
14
+ jobs:
15
+
16
+ format:
17
+ runs-on: ubuntu-latest
18
+
19
+ steps:
20
+ - name: Checkout code
21
+ uses: actions/checkout@v6.0.2
22
+
23
+ - name: Use Node.js
24
+ uses: actions/setup-node@v6.4.0
25
+ with:
26
+ node-version: ${{ env.NODE_VERSION }}
27
+
28
+ - name: Enable Corepack and Set Yarn Version
29
+ run: |
30
+ corepack enable
31
+ corepack prepare yarn@${{ env.YARN_VERSION }}
32
+
33
+ - name: Install dependencies
34
+ working-directory: template
35
+ run: yarn install --frozen-lockfile
36
+
37
+ - name: Run format
38
+ run: yarn run format
39
+
40
+ lint:
41
+ runs-on: ubuntu-latest
42
+
43
+ steps:
44
+ - name: Checkout code
45
+ uses: actions/checkout@v6.0.2
46
+
47
+ - name: Use Node.js
48
+ uses: actions/setup-node@v6.4.0
49
+ with:
50
+ node-version: ${{ env.NODE_VERSION }}
51
+
52
+ - name: Enable Corepack and Set Yarn Version
53
+ run: |
54
+ corepack enable
55
+ corepack prepare yarn@${{ env.YARN_VERSION }}
56
+
57
+ - name: Install dependencies
58
+ working-directory: template
59
+ run: yarn install --frozen-lockfile
60
+
61
+ - name: Run lint
62
+ run: yarn run lint
63
+
64
+ security:
65
+ runs-on: ubuntu-latest
66
+
67
+ steps:
68
+ - name: Checkout code
69
+ uses: actions/checkout@v6.0.2
70
+
71
+ - name: Use Node.js
72
+ uses: actions/setup-node@v6.4.0
73
+ with:
74
+ node-version: ${{ env.NODE_VERSION }}
75
+
76
+ - name: Enable Corepack and Set Yarn Version
77
+ run: |
78
+ corepack enable
79
+ corepack prepare yarn@${{ env.YARN_VERSION }}
80
+
81
+ - name: Install dependencies
82
+ working-directory: template
83
+ run: yarn install --frozen-lockfile
84
+
85
+ - name: Run security check
86
+ run: yarn run audit:yarn
87
+
88
+ test:
89
+ runs-on: ubuntu-latest
90
+
91
+ steps:
92
+ - name: Checkout code
93
+ uses: actions/checkout@v6.0.2
94
+
95
+ - name: Use Node.js
96
+ uses: actions/setup-node@v6.4.0
97
+ with:
98
+ node-version: ${{ env.NODE_VERSION }}
99
+
100
+ - name: Enable Corepack and Set Yarn Version
101
+ run: |
102
+ corepack enable
103
+ corepack prepare yarn@${{ env.YARN_VERSION }}
104
+
105
+ - name: Install dependencies
106
+ run: yarn install --frozen-lockfile
107
+
108
+ - name: Run tests
109
+ run: yarn run test
110
+
111
+ teste2e:
112
+ runs-on: ubuntu-latest
113
+
114
+ steps:
115
+ - name: Checkout code
116
+ uses: actions/checkout@v6.0.2
117
+
118
+ - name: Use Node.js
119
+ uses: actions/setup-node@v6.4.0
120
+ with:
121
+ node-version: ${{ env.NODE_VERSION }}
122
+
123
+ - name: Enable Corepack and Set Yarn Version
124
+ run: |
125
+ corepack enable
126
+ corepack prepare yarn@${{ env.YARN_VERSION }}
127
+
128
+ - name: Install dependencies
129
+ run: yarn install --frozen-lockfile
130
+
131
+ - name: Install Playwright
132
+ run: yarn run test:e2e:install
133
+
134
+ - name: Run tests
135
+ run: yarn run test:e2e
136
+
137
+ typecheck:
138
+ runs-on: ubuntu-latest
139
+
140
+ steps:
141
+ - name: Checkout code
142
+ uses: actions/checkout@v6.0.2
143
+
144
+ - name: Use Node.js
145
+ uses: actions/setup-node@v6.4.0
146
+ with:
147
+ node-version: ${{ env.NODE_VERSION }}
148
+
149
+ - name: Enable Corepack and Set Yarn Version
150
+ run: |
151
+ corepack enable
152
+ corepack prepare yarn@${{ env.YARN_VERSION }}
153
+
154
+ - name: Install dependencies
155
+ run: yarn install --frozen-lockfile
156
+
157
+ - name: Run type check
158
+ run: yarn run typecheck
@@ -12,6 +12,10 @@ yarn-debug.log*
12
12
  yarn-error.log*
13
13
  pnpm-debug.log*
14
14
 
15
+ # Yarn v4
16
+ .yarn/cache
17
+ .yarn/install-state.gz
18
+
15
19
 
16
20
  # environment variables
17
21
  .env
@@ -1,4 +1,5 @@
1
1
  .github/
2
+ .integrations/
2
3
  .prettierrc
3
4
  bun.lock
4
5
  deno.json