Skip to content

Commit 3e775d6

Browse files
committed
build: move to monorepo
1 parent adb530e commit 3e775d6

File tree

15 files changed

+2322
-1343
lines changed

15 files changed

+2322
-1343
lines changed

actions/run-lighthouse-tests/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ inputs:
1919

2020
runs:
2121
using: node20
22-
main: ./dist/index.cjs
22+
main: ./dist/index.js

actions/run-lighthouse-tests/dist/index.cjs renamed to actions/run-lighthouse-tests/dist/index.js

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "@elementor-editor-github-actions/run-lighthouse-tests",
3+
"author": "Elementor Team",
4+
"license": "GPL-3.0-or-later",
5+
"private": true,
6+
"scripts": {
7+
"build": "tsup --config ./tsup.config.ts",
8+
"dev": "npm run build -- --watch"
9+
},
10+
"dependencies": {
11+
"@actions/core": "^1.11.1",
12+
"@actions/exec": "^1.1.1",
13+
"fs-extra": "^11.3.0",
14+
"zod": "^3.24.2"
15+
},
16+
"devDependencies": {
17+
"tsup": "^8.4.0"
18+
}
19+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { defineConfig } from 'tsup';
2+
3+
export default defineConfig({
4+
entry: ['index.ts'],
5+
outDir: 'dist',
6+
format: 'cjs',
7+
noExternal: [/.+/],
8+
platform: 'node',
9+
minify: true,
10+
});

actions/setup-elementor-env/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ inputs:
1414
description: Elementor experiments to enable or disable, separated by new lines (e.g. `pages_panel:true \n editor_v2:false \n e_nested_atomic_repeaters:false`)
1515
runs:
1616
using: node20
17-
main: ./dist/index.cjs
17+
main: ./dist/index.js

actions/setup-elementor-env/dist/index.cjs renamed to actions/setup-elementor-env/dist/index.js

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "@elementor-editor-github-actions/setup-elementor-env",
3+
"author": "Elementor Team",
4+
"license": "GPL-3.0-or-later",
5+
"private": true,
6+
"scripts": {
7+
"build": "tsup --config ./tsup.config.ts",
8+
"dev": "npm run build -- --watch"
9+
},
10+
"dependencies": {
11+
"@actions/core": "^1.11.1",
12+
"@actions/exec": "^1.1.1",
13+
"zod": "^3.24.2"
14+
},
15+
"devDependencies": {
16+
"tsup": "^8.4.0"
17+
}
18+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { defineConfig } from 'tsup';
2+
3+
export default defineConfig({
4+
entry: ['index.ts'],
5+
outDir: 'dist',
6+
format: 'cjs',
7+
noExternal: [/.+/],
8+
platform: 'node',
9+
minify: true,
10+
});

actions/setup-wp-env/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ inputs:
3030

3131
runs:
3232
using: node20
33-
main: ./dist/index.cjs
33+
main: ./dist/index.js

actions/setup-wp-env/dist/index.cjs renamed to actions/setup-wp-env/dist/index.js

Lines changed: 32 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)