Skip to content

Commit

Permalink
Rename heft-rig package to shared-config
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Oct 25, 2023
1 parent 334c218 commit c72f0af
Show file tree
Hide file tree
Showing 62 changed files with 157 additions and 211 deletions.
2 changes: 1 addition & 1 deletion .changeset/swift-moons-act.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
'@kadena/cookbook': patch
'@kadena-dev/eslint-config': patch
'@kadena-dev/eslint-plugin': patch
'@kadena-dev/heft-rig': patch
'@kadena-dev/shared-config': patch
'@kadena/kda-cli': patch
'@kadena-dev/lint-package': patch
'@kadena/pactjs-cli': patch
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
/packages/libs/types @alber70g
/packages/tools/eslint-config @alber70g
/packages/tools/eslint-plugin @alber70g
/packages/tools/heft-rig @alber70g
/packages/tools/pactjs-cli @alber70g
/packages/tools/shared-config @alber70g
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Overview of the main packages maintained in this repository:
| :----------------------------------- | :------------------- |
| [@kadena-dev/eslint-config][5] | [![version][7]][6] |
| [@kadena-dev/eslint-plugin][8] | [![version][10]][9] |
| [@kadena-dev/heft-rig][11] | [![version][13]][12] |
| [@kadena-dev/shared-config][11] | [![version][13]][12] |
| [@kadena/chainweb-node-client][14] | [![version][16]][15] |
| [@kadena/chainweb-stream-client][17] | [![version][19]][18] |
| [@kadena/chainwebjs][20] | [![version][22]][21] |
Expand Down Expand Up @@ -60,9 +60,9 @@ Special thanks to the wonderful people who have contributed to this project:
[9]: packages/tools/eslint-plugin/CHANGELOG.md
[10]: https://img.shields.io/npm/v/@kadena-dev/eslint-plugin.svg
[11]:
https://github.com/kadena-community/kadena.js/tree/main/packages/tools/heft-rig
[12]: packages/tools/heft-rig/CHANGELOG.md
[13]: https://img.shields.io/npm/v/@kadena-dev/heft-rig.svg
https://github.com/kadena-community/kadena.js/tree/main/packages/tools/shared-config
[12]: packages/tools/shared-config/CHANGELOG.md
[13]: https://img.shields.io/npm/v/@kadena-dev/shared-config.svg
[14]:
https://github.com/kadena-community/kadena.js/tree/main/packages/libs/chainweb-node-client
[15]: packages/libs/chainweb-node-client/CHANGELOG.md
Expand Down
12 changes: 6 additions & 6 deletions packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,6 @@
"private": false,
"path": "packages/tools/eslint-plugin"
},
{
"name": "@kadena-dev/heft-rig",
"version": "0.1.0",
"private": false,
"path": "packages/tools/heft-rig"
},
{
"name": "@kadena-dev/lint-package",
"version": "0.1.0",
Expand All @@ -167,6 +161,12 @@
"private": true,
"path": "packages/tools/scripts"
},
{
"name": "@kadena-dev/shared-config",
"version": "0.1.0",
"private": false,
"path": "packages/tools/shared-config"
},
{
"name": "kadena.js",
"version": "0.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"devDependencies": {
"@7-docs/cli": "^0.5.1",
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@percy/cli": "~1.24.0",
"@percy/cypress": "~3.1.2",
"@rushstack/eslint-config": "~3.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": ["node", "@types/gtag.js"],
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/graph-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
"@graphql-codegen/typescript-operations": "~2.5.10",
"@graphql-codegen/typescript-react-apollo": "~3.3.7",
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@kadena/pactjs-cli": "workspace:*",
"@rushstack/eslint-config": "~3.3.0",
"@types/lodash.isequal": "~4.5.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/graph-client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": ["node"],
"target": "ES2020",
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/graph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
},
"devDependencies": {
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@kadena/pactjs-cli": "workspace:*",
"@kadena/types": "workspace:*",
"@rushstack/eslint-config": "~3.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/graph/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": [".kadena/pactjs-generated", "node"],
"target": "ES2020"
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/immutable-records/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
},
"devDependencies": {
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@rushstack/eslint-config": "~3.3.0",
"@types/gtag.js": "~0.0.12",
"@types/node": "^18.17.14",
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/immutable-records/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"rootDir": "./",
"types": ["node", "@types/gtag.js"],
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
},
"devDependencies": {
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@kadena/pactjs-cli": "workspace:*",
"@kadena/types": "workspace:*",
"@rushstack/eslint-config": "~3.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/tools/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": ["vitest/globals", "node", ".kadena/pactjs-generated"],
"target": "ES2020",
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/bootstrap-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
},
"devDependencies": {
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@kadena/types": "workspace:*",
"@microsoft/api-extractor": "^7.38.0",
"@rushstack/eslint-config": "~3.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/bootstrap-lib/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": ["vitest/globals"]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/chainweb-node-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
},
"devDependencies": {
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@kadena/types": "workspace:*",
"@microsoft/api-extractor": "^7.38.0",
"@rushstack/eslint-config": "~3.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/chainweb-node-client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": ["vitest/globals"]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/chainweb-stream-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
},
"devDependencies": {
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@microsoft/api-extractor": "^7.38.0",
"@rushstack/eslint-config": "~3.3.0",
"@types/eventsource": "1.1.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/chainweb-stream-client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": ["vitest/globals"]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/chainwebjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
},
"devDependencies": {
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@microsoft/api-extractor": "^7.38.0",
"@rushstack/eslint-config": "~3.3.0",
"@types/eventsource": "1.1.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/chainwebjs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": ["vitest/globals"],
"resolveJsonModule": true
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/client-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
},
"devDependencies": {
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@kadena/pactjs-cli": "workspace:*",
"@kadena/types": "workspace:*",
"@rushstack/eslint-config": "~3.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/client-examples/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": [".kadena/pactjs-generated", "node"],
"skipLibCheck": true
Expand Down
7 changes: 3 additions & 4 deletions packages/libs/client/TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ pnpm run build

## Unit Tests

Kadena Client uses the default code coverage profile, found [here][2].
Kadena Client uses the default code coverage profile.

## Integration Tests (with devnet)

To run integration tests against devnet it requires starting devnet and exposing
the pact endpoints at [http://localhost:8080][3]. To do this, simply execute the
the pact endpoints at [http://localhost:8080][2]. To do this, simply execute the
following command: Always pulling will ensure you're always using the latest
available version of devnet.

Expand All @@ -38,5 +38,4 @@ pnpm run test:integration
```

[1]: https://www.docker.com/
[2]: /packages/tools/heft-rig/jest.config.json
[3]: http://localhost:8080
[2]: http://localhost:8080
2 changes: 1 addition & 1 deletion packages/libs/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
},
"devDependencies": {
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@kadena/pactjs-cli": "workspace:*",
"@kadena/types": "workspace:*",
"@microsoft/api-extractor": "^7.38.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": ["vitest/globals"],
"lib": ["es2019", "DOM"]
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/cryptography-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
},
"devDependencies": {
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@kadena/types": "workspace:*",
"@microsoft/api-extractor": "^7.38.0",
"@rushstack/eslint-config": "~3.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/cryptography-utils/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": ["vitest/globals", "node"]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/kadena.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
},
"devDependencies": {
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@kadena/types": "workspace:*",
"@rushstack/eslint-config": "~3.3.0",
"eslint": "^8.45.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/kadena.js/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": ["vitest/globals"]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/pactjs-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
},
"devDependencies": {
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@microsoft/api-extractor": "^7.38.0",
"@rushstack/eslint-config": "~3.3.0",
"@types/moo": "~0.5.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/pactjs-generator/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": ["vitest/globals", "node"]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/pactjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
},
"devDependencies": {
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@kadena/types": "workspace:*",
"@microsoft/api-extractor": "^7.38.0",
"@rushstack/eslint-config": "~3.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/pactjs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": ["vitest/globals"]
}
Expand Down
3 changes: 0 additions & 3 deletions packages/libs/react-components/config/jest.config.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/libs/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.0",
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@rushstack/eslint-config": "~3.3.0",
"@storybook/addon-actions": "^7.4.0",
"@storybook/addon-essentials": "^7.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/react-components/tsconfig.esm.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": [],
"target": "ES2017",
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/react-components/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@kadena-dev/heft-rig/tsconfig-base.json",
"extends": "./node_modules/@kadena-dev/shared-config/tsconfig-base.json",
"compilerOptions": {
"types": [],
"skipLibCheck": true
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/react-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.0",
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/heft-rig": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/markdown": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
"@rushstack/eslint-config": "~3.3.0",
"@storybook/addon-a11y": "^7.4.0",
"@storybook/addon-controls": "^7.4.0",
Expand Down
Loading

0 comments on commit c72f0af

Please sign in to comment.