Skip to content

Commit

Permalink
fix(init): Fix workspace layout
Browse files Browse the repository at this point in the history
  • Loading branch information
krzotki committed Nov 18, 2024
1 parent e554000 commit 19d15af
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.2.0-alpha.2",
"version": "0.2.0-alpha.7",
"license": "Apache-2.0",
"name": "brainly-gene",
"scripts": {
Expand Down
13 changes: 8 additions & 5 deletions packages/create/bin/versions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"@brainly-gene/core": "0.2.0-alpha.2",
"@brainly-gene/next": "0.2.0-alpha.2",
"@brainly-gene/core": "0.2.0-alpha.7",
"@brainly-gene/next": "0.2.0-alpha.7",
"next": "14.0.4",
"ramda": "0.27.1",
"react": "18.3.1",
Expand All @@ -17,8 +17,8 @@
"classnames": "2.5.1"
},
"devDependencies": {
"@brainly-gene/tools": "0.2.0-alpha.2",
"@brainly-gene/eslint-plugin": "0.2.0-alpha.2",
"@brainly-gene/tools": "0.2.0-alpha.7",
"@brainly-gene/eslint-plugin": "0.2.0-alpha.7",
"eslint": "8.48.0",
"@types/react": "18.2.33",
"@types/ramda": "0.27.1",
Expand Down Expand Up @@ -51,6 +51,9 @@
"@nx/react": "17.3.0",
"@nx/web": "17.3.0",
"@nx/workspace": "17.3.0",
"@types/jest": "29.4.4"
"@types/jest": "29.4.4",
"inquirer-search-list": "1.2.6",
"@typescript-eslint/parser": "6.21.0",
"inquirer-search-checkbox": "1.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/create/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brainly-gene/create",
"version": "0.2.0-alpha.2",
"version": "0.2.0-alpha.7",
"type": "commonjs",
"bin": {
"create-gene-workspace": "./bin/create-gene-workspace.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brainly-gene/eslint-plugin",
"version": "0.2.0-alpha.2",
"version": "0.2.0-alpha.7",
"license": "Apache-2.0",
"main": "src/index.js",
"generators": "./generators.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/gene-apollo/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@brainly-gene/apollo",
"version": "0.2.0-alpha.2",
"version": "0.2.0-alpha.7",
"license": "Apache-2.0"
}
2 changes: 1 addition & 1 deletion packages/gene-next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brainly-gene/next",
"version": "0.2.0-alpha.2",
"version": "0.2.0-alpha.7",
"license": "Apache-2.0",
"dependencies": {
"@next/bundle-analyzer": "12.3.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/gene-sentry/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@brainly-gene/sentry",
"version": "0.2.0-alpha.2",
"version": "0.2.0-alpha.7",
"license": "Apache-2.0"
}
2 changes: 1 addition & 1 deletion packages/gene-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brainly-gene/tools",
"version": "0.2.0-alpha.2",
"version": "0.2.0-alpha.7",
"license": "Apache-2.0",
"generators": "./generators.json",
"executors": "./executors.json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ export default async function (tree: Tree) {
// Create empty jest.setup.js file in the root
tree.write('jest.setup.js', 'module.exports = {};');

// Create empty apps and libs directories
tree.write('apps/.gitkeep', '');
tree.write('libs/.gitkeep', '');

return () => {
installPackagesTask(tree);
};
Expand Down
2 changes: 1 addition & 1 deletion packages/gene/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brainly-gene/core",
"version": "0.2.0-alpha.2",
"version": "0.2.0-alpha.7",
"license": "Apache-2.0",
"main": "./src/index.js",
"dependencies": {
Expand Down

0 comments on commit 19d15af

Please sign in to comment.