Skip to content

Commit 11dda25

Browse files
committed
Rename frameworks to integration
1 parent 717df2a commit 11dda25

40 files changed

+10
-9
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ node_modules/
22
dist/
33
CHANGELOG.md
44
.yarn_home/
5-
src/test/frameworks/
5+
src/test/integration/
66
src/test/types/
77
src/tools/types/

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
src/test/frameworks/**/* linguist-documentation
1+
src/test/integration/**/* linguist-documentation
22
.eslintrc.js linguist-documentation
33
next.config.js linguist-documentation
44
src/bin/copy_dsfr_dist_to_public.ts -linguist-detectable

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ node_modules/
22
/dist/
33
/CHANGELOG.md
44
/.yarn_home/
5-
/test/frameworks/
5+
/test/integration/
66
/src/tools/types/
77
/dsfr/
88
/dist_test/

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"scripts": {
1212
"build": "rimraf dist/ && tsc -p src/bin && yarn copy_dsfr_dist_to_root && yarn css_to_ts && tsc -p src && yarn grant_exec_perms",
1313
"test": "vitest",
14-
"start_cra": "yarn yarn_link && cd test/frameworks/cra && yarn start",
15-
"start_next": "yarn yarn_link && cd test/frameworks/next && yarn dev",
16-
"start_vite": "yarn yarn_link && cd test/frameworks/vite && yarn dev",
14+
"start_cra": "yarn yarn_link && cd test/integration/cra && yarn start",
15+
"start_next": "yarn yarn_link && cd test/integration/next && yarn dev",
16+
"start_vite": "yarn yarn_link && cd test/integration/vite && yarn dev",
1717
"lint:check": "eslint . --ext .ts,.tsx",
1818
"lint": "yarn lint:check --fix",
1919
"_format": "prettier '**/*.{ts,tsx,json,md}'",
@@ -73,6 +73,7 @@
7373
"tsafe": "^1.1.1"
7474
},
7575
"devDependencies": {
76+
"css": "^3.0.0",
7677
"@emotion/react": "^11.10.4",
7778
"@emotion/styled": "^11.10.4",
7879
"@mui/material": "^5.10.7",

src/bin/yarn_link.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const execYarnLink = (params: { targetModuleName?: string; cwd: string }) => {
109109
const testAppNames = ["cra", "vite", "next"] as const;
110110

111111
const getTestAppPath = (testAppName: typeof testAppNames[number]) =>
112-
pathJoin(projectDirPath, "test", "frameworks", testAppName);
112+
pathJoin(projectDirPath, "test", "integration", testAppName);
113113

114114
testAppNames.forEach(testAppName =>
115115
execSync("yarn install", { "cwd": getTestAppPath(testAppName) })
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Frameworks tests
1+
# integration tests
22

33
In this directory we test the integration of the module against mainstream React frameworks.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)