Skip to content

Commit 6ccce84

Browse files
committed
Update dependencies
1 parent 74205f6 commit 6ccce84

9 files changed

Lines changed: 26 additions & 92 deletions

File tree

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"archive": "roll archive && rm -rf publish/tangible-blocks && unzip publish/tangible-blocks.zip -d publish/ && npm run test:archive",
1515
"// Test": "",
1616
"test": "roll run tests/index.ts",
17-
"test:all": "npm run test && npm run test:8.3 && npm run e2e",
18-
"test:8.3": "roll run tests/index.ts PHP_VERSION=8.3",
17+
"test:all": "npm run test && npm run test:8.4 && npm run e2e",
18+
"test:8.4": "roll run tests/index.ts PHP_VERSION=8.4",
1919
"test:archive": "roll run tests/index.ts TEST_ARCHIVE=1",
2020
"-- Local environment --": "https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env",
2121
"env": "wp-env",
@@ -34,19 +34,19 @@
3434
"e2e:watch": "chokidar 'tests/e2e/**/*.js' --initial -c 'npm run e2e -- --retries=0'"
3535
},
3636
"dependencies": {
37-
"@codemirror/view": "^6.35.0",
38-
"@react-aria/color": "^3.0.1",
39-
"react-aria": "^3.35.1",
40-
"react-stately": "^3.33.0"
37+
"@codemirror/view": "^6.36.2",
38+
"@react-aria/color": "^3.0.3",
39+
"react-aria": "^3.37.0",
40+
"react-stately": "^3.35.0"
4141
},
4242
"devDependencies": {
43-
"@playwright/test": "^1.49.0",
44-
"@tangible/now": "^1.1.3",
43+
"@playwright/test": "^1.49.1",
44+
"@tangible/now": "^2.0.0",
4545
"@tangible/roller": "^2.1.4",
46-
"@wordpress/e2e-test-utils-playwright": "^1.12.0",
47-
"@wordpress/env": "^10.12.0",
46+
"@wordpress/e2e-test-utils-playwright": "^1.16.0",
47+
"@wordpress/env": "^10.16.0",
4848
"chokidar-cli": "^3.0.0",
49-
"concurrently": "^9.1.0",
49+
"concurrently": "^9.1.2",
5050
"testra": "^2.1.4"
5151
},
5252
"homepage": "",

playwright.config.js

Lines changed: 0 additions & 72 deletions
This file was deleted.

tangible.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,19 @@ export default {
5656
],
5757
dest: 'publish/tangible-blocks.zip',
5858
exclude: [
59+
'.git',
60+
'**/artifacts',
61+
'**/publish',
62+
'**/node_modules',
5963
'assets/src',
6064
'docs',
6165
'**/tests',
6266
'**/*.scss',
6367
'**/*.jsx',
6468
'**/*.ts',
65-
'**/*.tsx'
69+
'**/*.tsx',
70+
'vendor/tangible/*/vendor',
71+
'vendor/tangible-dev/'
6672
],
6773
configs: [
6874
'./vendor/tangible/template-system/tangible.config.js'

tests/.wp-env.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"wp-content/plugins/beaver-builder-lite-version": "../vendor/tangible-dev/beaver-builder-lite-version",
55
"wp-content/plugins/elementor": "../vendor/tangible-dev/elementor",
66
"wp-content/plugins/tangible-blocks": "..",
7-
"wp-content/plugins/tangible-e2e-plugin": "../vendor/tangible/template-system/framework/env/e2e-plugin",
8-
"wp-content/themes/empty-block-theme": "../vendor/tangible/template-system/framework/empty-block-theme"
7+
"wp-content/plugins/tangible-e2e-plugin": "../vendor/tangible/framework/env/e2e-plugin",
8+
"wp-content/themes/empty-block-theme": "../vendor/tangible/framework/empty-block-theme"
99
}
1010
}

tests/e2e/.wp-env.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"mappings": {
33
"wp-content/plugins/tangible-blocks": "../..",
4-
"wp-content/plugins/e2e-plugin": "../../vendor/tangible/template-system/framework/env/e2e-plugin",
4+
"wp-content/plugins/e2e-plugin": "../../vendor/tangible/framework/env/e2e-plugin",
55
"wp-content/plugins/beaver-builder-lite-version": "../../vendor/tangible-dev/beaver-builder-lite-version",
66
"wp-content/plugins/elementor": "../../vendor/tangible-dev/elementor",
77
"wp-content/plugins/tangible-blocks-editor": "../../vendor/tangible-dev/blocks-editor"

tests/e2e/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, test, expect } from '../../vendor/tangible/template-system/framework/playwright/index.js'
1+
import { describe, test, expect } from '../../vendor/tangible/framework/playwright/index.js'
22

33
/**
44
* Tests to exercise the frontend and admin features of Tangible Blocks.

tests/e2e/playwright.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import path from 'node:path'
22
import { fileURLToPath } from 'url'
3-
import { createConfig } from '../../vendor/tangible/template-system/framework/playwright/config.js'
3+
import { createConfig } from '../../vendor/tangible/framework/playwright/config.js'
44

55
const __dirname = path.dirname(fileURLToPath(import.meta.url))
66

tests/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { test, is, ok, run } from 'testra'
2-
import { getServer } from '../vendor/tangible/template-system/framework/env'
2+
import { getServer } from '../vendor/tangible/framework/env'
33

44
async function ensurePlugin({ wpx }) {
55
return wpx/* php */ `
@@ -30,6 +30,7 @@ return true;
3030
* https://marketplace.visualstudio.com/items?itemName=bierner.comment-tagged-templates
3131
*/
3232
export default run(async () => {
33+
3334
// Set up server before running tests in Framework
3435
const {
3536
php,
@@ -56,5 +57,4 @@ export default run(async () => {
5657
is(true, result, 'activate plugin')
5758
})
5859

59-
await import(`../vendor/tangible/template-system/tests/index.ts`)
6060
})

tests/playwright.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import path, { dirname } from 'node:path'
22
import { fileURLToPath } from 'url'
3-
import { createConfig } from '../vendor/tangible/template-system/framework/playwright/config.js'
3+
import { createConfig } from '../vendor/tangible/framework/playwright/config.js'
44

55
const __dirname = dirname(fileURLToPath(import.meta.url))
66

0 commit comments

Comments
 (0)