Skip to content

Commit

Permalink
setup lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Aug 4, 2024
1 parent 1bfc739 commit 285324e
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 9 deletions.
18 changes: 18 additions & 0 deletions lerna-debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
35 error Error: Command failed with exit code 1: pnpm install --lockfile-only --ignore-scripts
35 error Scope: all 4 workspace projects
35 error  WARN  `node_modules` is present. Lockfile only installation will make it out-of-date
35 error Progress: resolved 1, reused 0, downloaded 0, added 0
35 error Progress: resolved 58, reused 0, downloaded 0, added 0
35 error /Users/os/Documents/code/biblio/lssdk/packages/react:
35 error  ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/@lootsurvivor%2Fcore: Not Found - 404
35 error
35 error This error happened while installing a direct dependency of /Users/os/Documents/code/biblio/lssdk/packages/react
35 error
35 error @lootsurvivor/core is not in the npm registry, or you have no permission to fetch it.
35 error
35 error An authorization header was used: Bearer npm_[hidden]
35 error at makeError (/Users/os/Documents/code/biblio/lssdk/node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:59:11)
35 error at handlePromise (/Users/os/Documents/code/biblio/lssdk/node_modules/.pnpm/[email protected]/node_modules/execa/index.js:114:26)
35 error at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
35 error at async VersionCommand.updatePackageVersions (/Users/os/Documents/code/biblio/lssdk/node_modules/.pnpm/[email protected][email protected]/node_modules/lerna/dist/index.js:9836:11)
35 error at async Promise.all (index 0)
13 changes: 8 additions & 5 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "0.0.1",
"packages": ["packages/*", "examples/*"],
"npmClient": "pnpm"
}
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "0.0.1",
"packages": [
"packages/*",
"examples/*"
],
"npmClient": "pnpm"
}
21 changes: 21 additions & 0 deletions packages/core/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 LS

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 2 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@
},
"devDependencies": {
"@vitest/coverage-v8": "^2.0.2"
}
},
"gitHead": "1bfc739aed9c4dd7e0f0713adbebafdfc6f2bd06"
}
2 changes: 1 addition & 1 deletion packages/react/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Dojo
Copyright (c) 2024 Biblio

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 3 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@
"typescript": "^5.0.3"
},
"dependencies": {
"@lootsurvivor/core": "workspace:^",
"@lootsurvivor/core": "^0.0.1",
"@tanstack/react-query": "^5.51.15",
"get-starknet-core": "^3.2.0",
"graphql-request": "^7.1.0"
}
},
"gitHead": "1bfc739aed9c4dd7e0f0713adbebafdfc6f2bd06"
}

0 comments on commit 285324e

Please sign in to comment.