Skip to content

Commit

Permalink
chore: move shared dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jagoral committed Dec 18, 2023
1 parent be63a24 commit 78b55c8
Show file tree
Hide file tree
Showing 28 changed files with 4,037 additions and 698 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"@types/jest": "^26.0.24",
"@types/node": "^16",
"@vue-storefront/api-extractor-config": "^0.0.4",
"@vue-storefront/eslint-config": "~2.0.0-rc.7",
"@vue-storefront/eslint-config-integrations": "^0.0.19",
"@vue-storefront/integrations-tsconfig": "^0.0.4",
"@vue-storefront/jest-config": "^0.0.3",
Expand All @@ -38,8 +37,7 @@
},
"workspaces": {
"packages": [
"packages/*",
"packages/storefront/packages/*"
"packages/!(storefront)"
]
},
"engines": {
Expand Down
3 changes: 0 additions & 3 deletions packages/storefront/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,5 @@
"packages": [
"packages/**/*"
]
},
"engines": {
"node": ">=18.x"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"jsx": "preserve",
"incremental": true,
"paths": {
"@storefront/shared": ["../../../../shared"]
"@storefront/shared": ["../../../../../shared"]
},
"plugins": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"jsx": "preserve",
"incremental": true,
"paths": {
"@storefront/shared": ["../../../../shared"]
"@storefront/shared": ["../../../../../shared"]
},
"forceConsistentCasingInFileNames": true
},
Expand Down
4 changes: 2 additions & 2 deletions packages/storefront/packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
"build:pages-router": "cd __tests__/apps/pages-router && yarn build",
"dev:app-router": "cd __tests__/apps/app-router && yarn dev",
"dev:pages-router": "cd __tests__/apps/pages-router && yarn dev",
"dev:middleware": "cd ../shared/src/__tests__/middleware && yarn dev",
"dev:middleware": "cd ../../shared/src/__tests__/middleware && yarn dev",
"lint": "eslint . --ext .ts",
"test:app-router": "start-server-and-test dev:middleware localhost:4000/test_integration/success dev:app-router localhost:3000 \"yarn test:e2e\"",
"test:pages-router": "start-server-and-test dev:middleware localhost:4000/test_integration/success dev:pages-router localhost:3000 \"yarn test:e2e\"",
"test": "yarn test:app-router && yarn test:pages-router",
"test:e2e": "cd ../shared/ && yarn test:e2e",
"test:e2e": "cd ../../shared/ && yarn test:e2e",
"test:unit": "vitest run"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/storefront/packages/next/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"allowSyntheticDefaultImports": true,
"types": ["cypress"],
"paths": {
"@storefront/shared": ["../shared"]
"@storefront/shared": ["../../shared"]
}
},
"exclude": ["node_modules"],
Expand Down
4 changes: 2 additions & 2 deletions packages/storefront/packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"build": "nuxt-module-build build && yarn build:app",
"build:app": "cd __tests__/app && yarn build",
"dev": "cd __tests__/app && yarn dev",
"dev:middleware": "cd ../shared/src/__tests__/middleware && yarn dev",
"dev:middleware": "cd ../../shared/src/__tests__/middleware && yarn dev",
"lint": "eslint --ext .vue,.js,.ts .",
"test": "start-server-and-test dev:middleware localhost:4000/test_integration/success dev localhost:3000/ssr \"yarn test:e2e\"",
"test:e2e": "cd ../shared/ && yarn test:e2e",
"test:e2e": "cd ../../shared/ && yarn test:e2e",
"test:watch": "vitest watch",
"postinstall": "nuxi prepare"
},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 78b55c8

Please sign in to comment.