Skip to content

Commit b3c6509

Browse files
committed
Import interweb-utils history into history/interweb-utils/
2 parents 4bd26bb + e50d21a commit b3c6509

26 files changed

Lines changed: 7538 additions & 0 deletions
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
"node": true,
6+
"jest": true
7+
},
8+
"extends": [
9+
"eslint:recommended",
10+
"plugin:@typescript-eslint/recommended",
11+
"prettier"
12+
],
13+
"overrides": [],
14+
"parser": "@typescript-eslint/parser",
15+
"parserOptions": {
16+
"ecmaVersion": "latest",
17+
"sourceType": "module"
18+
},
19+
"plugins": [
20+
"@typescript-eslint",
21+
"simple-import-sort",
22+
"unused-imports",
23+
"prettier"
24+
],
25+
"rules": {
26+
"indent": [
27+
"error",
28+
2
29+
],
30+
"quotes": [
31+
"error",
32+
"single",
33+
{
34+
"avoidEscape": true,
35+
"allowTemplateLiterals": true
36+
}
37+
],
38+
"quote-props": [
39+
"error",
40+
"as-needed"
41+
],
42+
"semi": [
43+
"error",
44+
"always"
45+
],
46+
"simple-import-sort/imports": 1,
47+
"simple-import-sort/exports": 1,
48+
"unused-imports/no-unused-imports": 1,
49+
"@typescript-eslint/no-unused-vars": [
50+
1,
51+
{
52+
"argsIgnorePattern": "React|res|next|^_"
53+
}
54+
],
55+
"@typescript-eslint/no-explicit-any": 0,
56+
"@typescript-eslint/no-var-requires": 0,
57+
"no-console": 0,
58+
"@typescript-eslint/ban-ts-comment": 0,
59+
"prefer-const": 0,
60+
"no-case-declarations": 0,
61+
"no-implicit-globals": 0,
62+
"@typescript-eslint/no-unsafe-declaration-merging": 0,
63+
"prettier/prettier": [
64+
"error",
65+
{
66+
"trailingComma": "es5",
67+
"tabWidth": 2,
68+
"semi": true,
69+
"useTabs": false,
70+
"singleQuote": true
71+
}
72+
]
73+
},
74+
"ignorePatterns": [
75+
"node_modules/",
76+
"dist/",
77+
"**/node_modules/",
78+
"**/dist/"
79+
]
80+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
6+
pull_request:
7+
types: [opened, reopened]
8+
9+
workflow_dispatch:
10+
11+
jobs:
12+
run-tests:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: checkout 🛎️
16+
uses: actions/checkout@v4
17+
18+
- name: node
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 20.9.0
22+
23+
- name: Deps
24+
run: |
25+
yarn
26+
yarn build
27+
28+
- name: Test @interweb-utils/casing
29+
run: |
30+
cd ./packages/casing && yarn test
31+
32+
- name: Test @interweb-utils/find-pkg
33+
run: |
34+
cd ./packages/find-pkg && yarn test

history/interweb-utils/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
**/node_modules/
2+
**/.DS_Store
3+
**/dist
4+
**/yarn-error.log
5+
lerna-debug.log

history/interweb-utils/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2024 Dan Lynch <pyramation@gmail.com>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

history/interweb-utils/README.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# interweb utils
2+
3+
<p align="center">
4+
<img src="https://github.com/cosmology-tech/interweb-utils/assets/545047/89c743c4-be88-409f-9a77-4b02cd7fe9a4" width="80">
5+
<br />
6+
Open-source utilities for the Interweb
7+
<br />
8+
<a href="https://github.com/cosmology-tech/interweb-utils/actions/workflows/run-tests.yml">
9+
<img height="20" src="https://github.com/cosmology-tech/interweb-utils/actions/workflows/run-tests.yml/badge.svg" />
10+
</a>
11+
<img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg">
12+
</p>
13+
14+
15+
16+
This workspace includes the following packages:
17+
18+
- [find-pkg](https://github.com/cosmology-tech/interweb-utils/tree/main/packages/find-pkg)
19+
- [casing](https://github.com/cosmology-tech/interweb-utils/tree/main/packages/casing)
20+
- [eslint](https://github.com/cosmology-tech/interweb-utils/tree/main/packages/eslint)
21+
22+
## Developing
23+
24+
25+
When first cloning the repo:
26+
```
27+
yarn
28+
yarn build
29+
```
30+
31+
## Related
32+
33+
Checkout these related projects:
34+
35+
* [@cosmology/telescope](https://github.com/cosmology-tech/telescope) Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules.
36+
* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) Convert your CosmWasm smart contracts into dev-friendly TypeScript classes.
37+
* [chain-registry](https://github.com/cosmology-tech/chain-registry) Everything from token symbols, logos, and IBC denominations for all assets you want to support in your application.
38+
* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface.
39+
* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) Set up a modern Cosmos app by running one command.
40+
* [interchain-ui](https://github.com/cosmology-tech/interchain-ui) The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit.
41+
* [starship](https://github.com/cosmology-tech/starship) Unified Testing and Development for the Interchain.
42+
43+
## Credits
44+
45+
🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.zone/validator)
46+
47+
48+
## Disclaimer
49+
50+
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
51+
52+
No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.

history/interweb-utils/lerna.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"lerna": "6",
3+
"conventionalCommits": true,
4+
"npmClient": "yarn",
5+
"npmClientArgs": [
6+
"--no-lockfile"
7+
],
8+
"packages": [
9+
"packages/*"
10+
],
11+
"version": "independent",
12+
"registry": "https://registry.npmjs.org",
13+
"command": {
14+
"create": {
15+
"homepage": "https://github.com/cosmology-tech/interweb-utils",
16+
"license": "SEE LICENSE IN LICENSE",
17+
"access": "restricted"
18+
},
19+
"publish": {
20+
"allowBranch": "main",
21+
"message": "chore(release): publish"
22+
}
23+
}
24+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"name": "interweb-utils",
3+
"version": "0.0.1",
4+
"author": "Dan Lynch <pyramation@gmail.com>",
5+
"private": true,
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/cosmology-tech/interweb-utils"
9+
},
10+
"license": "SEE LICENSE IN LICENSE",
11+
"publishConfig": {
12+
"access": "restricted"
13+
},
14+
"workspaces": [
15+
"packages/*"
16+
],
17+
"scripts": {
18+
"clean": "lerna run clean",
19+
"build": "lerna run build --stream",
20+
"lint": "lerna run lint --parallel",
21+
"symlink": "symlink-workspace --logLevel error",
22+
"postinstall": "yarn symlink"
23+
},
24+
"devDependencies": {
25+
"@types/jest": "^29.5.11",
26+
"@types/node": "^20.12.7",
27+
"@typescript-eslint/eslint-plugin": "^7.10.0",
28+
"@typescript-eslint/parser": "^7.10.0",
29+
"copyfiles": "^2.4.1",
30+
"eslint-config-prettier": "^9.1.0",
31+
"eslint": "^8.56.0",
32+
"eslint-plugin-prettier": "^5.1.3",
33+
"eslint-plugin-simple-import-sort": "^12.1.0",
34+
"eslint-plugin-unused-imports": "^4.0.0",
35+
"jest": "^29.6.2",
36+
"lerna": "^6",
37+
"prettier": "^3.0.2",
38+
"rimraf": "4.4.1",
39+
"strip-ansi": "^6",
40+
"symlink-workspace": "^1.9.0",
41+
"ts-jest": "^29.1.1",
42+
"ts-node": "^10.9.2",
43+
"typescript": "^5.1.6"
44+
}
45+
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
# [0.6.0](https://github.com/cosmology-tech/interweb-utils/compare/@interweb/casing@0.5.0...@interweb/casing@0.6.0) (2024-05-26)
7+
8+
**Note:** Version bump only for package @interweb/casing
9+
10+
11+
12+
13+
14+
# [0.5.0](https://github.com/cosmology-tech/interweb-utils/compare/@interweb/casing@0.4.0...@interweb/casing@0.5.0) (2024-05-25)
15+
16+
**Note:** Version bump only for package @interweb/casing
17+
18+
19+
20+
21+
22+
# 0.4.0 (2024-05-25)
23+
24+
**Note:** Version bump only for package @interweb/casing
25+
26+
27+
28+
29+
30+
# [0.3.0](https://github.com/cosmology-tech/interweb-utils/compare/@interweb-utils/casing@0.2.0...@interweb-utils/casing@0.3.0) (2024-05-25)
31+
32+
**Note:** Version bump only for package @interweb-utils/casing
33+
34+
35+
36+
37+
38+
# [0.2.0](https://github.com/cosmology-tech/interweb-utils/compare/@interweb-utils/casing@0.1.0...@interweb-utils/casing@0.2.0) (2024-05-25)
39+
40+
**Note:** Version bump only for package @interweb-utils/casing
41+
42+
43+
44+
45+
46+
# 0.1.0 (2024-05-25)
47+
48+
**Note:** Version bump only for package @interweb-utils/casing
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# @interweb-utils/casing
2+
3+
<p align="center">
4+
<img src="https://github.com/cosmology-tech/interweb-utils/assets/545047/89c743c4-be88-409f-9a77-4b02cd7fe9a4" width="80">
5+
<br />
6+
Casing utils
7+
<br />
8+
<a href="https://github.com/pyramation/schema-typescript/blob/main/LICENSE-MIT"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a>
9+
</p>
10+
11+
## install
12+
13+
```sh
14+
npm install @interweb-utils/casing
15+
```
16+
17+
## Developing
18+
19+
When first cloning the repo:
20+
21+
```
22+
yarn
23+
yarn build
24+
```
25+
26+
## Related
27+
28+
Checkout these related projects:
29+
30+
* [@cosmology/telescope](https://github.com/cosmology-tech/telescope) Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules.
31+
* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) Convert your CosmWasm smart contracts into dev-friendly TypeScript classes.
32+
* [chain-registry](https://github.com/cosmology-tech/chain-registry) Everything from token symbols, logos, and IBC denominations for all assets you want to support in your application.
33+
* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface.
34+
* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) Set up a modern Cosmos app by running one command.
35+
* [interchain-ui](https://github.com/cosmology-tech/interchain-ui) The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit.
36+
* [starship](https://github.com/cosmology-tech/starship) Unified Testing and Development for the Interchain.
37+
38+
## Credits
39+
40+
🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.zone/validator)
41+
42+
43+
## Disclaimer
44+
45+
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
46+
47+
No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.

0 commit comments

Comments
 (0)