Skip to content

Commit

Permalink
[feat] move to a workspace (#118)
Browse files Browse the repository at this point in the history
* chore: move packages to a monorepo setup

* chore: setup monorepo for templates
  • Loading branch information
DominusKelvin authored Nov 1, 2024
1 parent e46e213 commit 416f0e0
Show file tree
Hide file tree
Showing 47 changed files with 9,600 additions and 1,638 deletions.
11,202 changes: 9,575 additions & 1,627 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"lint-staged": "^13.2.2",
"prettier": "2.8.8"
},
"workspaces": [
"packages/*",
"templates/*"
],
"lint-staged": {
"**/*": "prettier --config ./.prettierrc.js --write --ignore-unknown"
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,23 @@
"sails",
"senerator"
],
"author": "Kelvin Omereshone<[email protected]>",
"author": "Kelvin Omereshone <[email protected]>",
"license": "MIT",
"peerDependencies": {
"sails": ">=1"
},
"bugs": {
"url": "https://github.com/sailscastshq/boring-stack/issues"
},
"homepage": "https://github.com/sailscastshq/boring-stack/create-sails-generator#readme"
"homepage": "https://github.com/sailscastshq/boring-stack/tree/main/create-sails-generator#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/sailscastshq/boring-stack.git",
"directory": "packages/create-sails-generator"
},
"main": "index.js",
"directories": {
"test": "tests"
},
"devDependencies": {}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions create-sails/package.json → packages/create-sails/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
"description": "Quickly scaffold a fullstack Sails project with `npm init sails`",
"main": "index.js",
"bin": {
"create-sails": "./index.js"
"create-sails": "index.js"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "cd .. && husky install"
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"sails",
Expand All @@ -32,7 +31,7 @@
"repository": {
"type": "git",
"url": "git+https://github.com/sailscastshq/boring-stack.git",
"directory": "create-sails"
"directory": "packages/create-sails"
},
"homepage": "https://github.com/sailscastshq/boring-stack/tree/main/create-sails#readme",
"engines": {
Expand All @@ -43,5 +42,6 @@
"giget": "^1.1.2",
"minimist": "^1.2.8",
"picocolors": "^1.0.0"
}
},
"devDependencies": {}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@
"hookName": "inertia"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "cd .. && husky install"
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sailscastshq/boring-stack.git",
"directory": "inertia-sails"
"directory": "packages/inertia-sails"
},
"peerDependencies": {
"sails": ">=1",
Expand All @@ -29,5 +28,6 @@
"bugs": {
"url": "https://github.com/sailscastshq/boring-stack/issues"
},
"homepage": "https://github.com/sailscastshq/boring-stack/inertia-sails#readme"
"homepage": "https://github.com/sailscastshq/boring-stack/tree/main/inertia-sails#readme",
"devDependencies": {}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 416f0e0

Please sign in to comment.