Skip to content

Commit 3f61440

Browse files
committed
chore: move integration tests out of packages dir
1 parent fb2f271 commit 3f61440

11 files changed

Lines changed: 6271 additions & 12520 deletions

File tree

integration-tests/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "integration-tests-root",
3+
"license": "MIT",
4+
"private": true,
5+
"workspaces": {
6+
"packages": [
7+
"./**",
8+
"../packages/**"
9+
]
10+
},
11+
"scripts": {
12+
"build": "yarn build:react",
13+
"build:react": "cd react-app && yarn build"
14+
}
15+
}

packages/test-integrations/react-app/package.json renamed to integration-tests/react-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "test-integrations-react-app",
2+
"name": "integration-test-react-app",
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/test-integrations/react-app/src/react-app-env.d.ts renamed to integration-tests/react-app/src/react-app-env.d.ts

File renamed without changes.
File renamed without changes.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
"reset": "yarn clean && (yarn || yarn || yarn) && yarn build",
1717
"clean": "npx rimraf ./**/node_modules ./**/yarn.lock ./**/build ./**/coverage ./**/.polywrap",
1818
"install:test-wraps": "lerna run generate:wraps --scope @polywrap/test-cases",
19-
"build": "yarn build:common && yarn build:client && yarn build:integrations && yarn install:test-wraps",
20-
"build:common": "lerna run build --ignore @polywrap/core-client-js --ignore @polywrap/client-js --ignore @polywrap/uri-resolver-extensions-js --ignore @polywrap/client-config-builder-js --ignore @polywrap/*-config-bundle-js --ignore test-integrations-*",
21-
"build:client": "lerna run build --scope @polywrap/core-client-js --scope @polywrap/client-js --scope @polywrap/uri-resolver-extensions-js --scope @polywrap/client-config-builder-js --scope @polywrap/*-config-bundle-js --ignore test-integrations-*",
22-
"build:integrations": "lerna run build --scope test-integrations-*",
19+
"build": "yarn build:common && yarn build:client && yarn install:test-wraps",
20+
"build:common": "lerna run build --ignore @polywrap/core-client-js --ignore @polywrap/client-js --ignore @polywrap/uri-resolver-extensions-js --ignore @polywrap/client-config-builder-js --ignore @polywrap/*-config-bundle-js",
21+
"build:client": "lerna run build --scope @polywrap/core-client-js --scope @polywrap/client-js --scope @polywrap/uri-resolver-extensions-js --scope @polywrap/client-config-builder-js --scope @polywrap/*-config-bundle-js",
2322
"build:docs": "lerna run build:docs",
2423
"lint": "lerna run lint",
2524
"lint:fix": "lerna run lint -- --fix",
2625
"lint:ci": "yarn lint",
2726
"test": "lerna run test --no-private --ignore @polywrap/client-js --concurrency 1 && lerna run test --scope @polywrap/client-js",
27+
"test:integrations": "cd integration-tests && yarn && yarn build",
2828
"version:apply": "lerna version $(cat VERSION) --exact --no-git-tag-version --yes",
2929
"postversion:apply": "git add . && git commit -m \"build(release): migrate to `cat ./VERSION`\"",
3030
"publish:npm": "lerna exec --no-private --concurrency 1 -- yarn publish --access public --non-interactive --verbose",

0 commit comments

Comments
 (0)