Skip to content

Commit

Permalink
add turborepo
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekTheWebDev committed Mar 13, 2024
1 parent 59d826e commit 0269cec
Show file tree
Hide file tree
Showing 6 changed files with 128 additions and 3,548 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ coverage
playground/app/*

.DS_Store
.turbo
15 changes: 0 additions & 15 deletions lerna.json

This file was deleted.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@
"license": "MIT",
"scripts": {
"vsf": "node vsf.mjs",
"build": "lerna run build",
"build": "turbo run build",
"build:cli": "cd cli && yarn build",
"dev": "concurrently --names \"ApiClient,Frontend,Middleware\" \"yarn dev:api-client\" \"yarn dev:app\" \"yarn dev:middleware\"",
"dev:app": "cd playground/app && yarn dev",
"dev:middleware": "cd playground/middleware && yarn dev",
"dev:api-client": "cd packages/api-client && yarn dev",
"test": "lerna run test",
"lint": "lerna run lint"
"test": "turbo run test",
"lint": "turbo run lint"
},
"devDependencies": {
"@vue-storefront/eslint-config-integrations": "^0.0.19",
"@vue-storefront/integrations-tsconfig": "^0.0.4",
"@vue-storefront/jest-config": "^0.0.4",
"@vue-storefront/rollup-config": "^0.0.7",
"concurrently": "^8.2.2",
"husky": "^8.0.3",
"lerna": "^6.6.2",
"lint-staged": "^13.2.2",
"rimraf": "^5.0.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5",
"concurrently": "^8.2.2"
"turbo": "^1.12.5",
"typescript": "^5"
},
"engines": {
"node": ">=16.x"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// import { exampleEndpoint } from '../../src/api';
// import { exampleMethod } from '../../src/api';
// import { contextMock } from '../../__mocks__/context.mock';
// import consola from 'consola';

describe("[Integration Boilerplate API] exampleEndpoint", () => {
describe("[Integration Boilerplate API] exampleMethod", () => {
beforeEach(() => {
jest.clearAllMocks();
});
Expand Down
16 changes: 16 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"cache": false
},
"test": {
"cache": false
},
"lint": {},
"dev": {
"cache": false,
"persistent": true
}
}
}
Loading

0 comments on commit 0269cec

Please sign in to comment.