Migrate build setup
This commit is contained in:
@@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "./node_modules/gts/",
|
|
||||||
"parserOptions": {
|
|
||||||
"warnOnUnsupportedTypeScriptVersion": false
|
|
||||||
},
|
|
||||||
"rules": {
|
|
||||||
"@typescript-eslint/no-non-null-assertion": "off",
|
|
||||||
"@typescript-eslint/no-unused-vars": ["error", {"args": "none", "destructuredArrayIgnorePattern": "^_"}],
|
|
||||||
"@typescript-eslint/no-explicit-any": "off",
|
|
||||||
"@typescript-eslint/no-empty-interface": "off",
|
|
||||||
"@typescript-eslint/no-floating-promises": "off",
|
|
||||||
"@typescript-eslint/ban-ts-comment": "off",
|
|
||||||
"no-useless-escape": "off",
|
|
||||||
"prefer-const": ["error", {"destructuring": "all"}],
|
|
||||||
"object-curly-spacing": ["error", "never"],
|
|
||||||
"array-bracket-spacing": ["error", "never"],
|
|
||||||
"semi": ["error", "never"],
|
|
||||||
"quotes": ["error", "double"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+1
-2
@@ -1,2 +1 @@
|
|||||||
package-lock.json -diff
|
pnpm-lock.yaml -diff
|
||||||
yarn.lock -diff
|
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
name: tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
branches: [ $default-branch ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: pnpm/action-setup@v4.1.0
|
||||||
|
with:
|
||||||
|
version: 9
|
||||||
|
|
||||||
|
- name: Install Node
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
cache: 'pnpm'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pnpm i
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
run: pnpm run lint
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: pnpm run build
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: pnpm run test
|
||||||
+8
-8
@@ -1,11 +1,11 @@
|
|||||||
node_modules
|
node_modules
|
||||||
dist
|
**/dist
|
||||||
build
|
**/cached
|
||||||
|
**/cache
|
||||||
|
**/temp
|
||||||
|
**/reference
|
||||||
|
results
|
||||||
|
.nyc_output
|
||||||
|
*.tsbuildinfo
|
||||||
.vscode
|
.vscode
|
||||||
.svelte-kit
|
|
||||||
docs/.vitepress/dist
|
|
||||||
docs/.vitepress/cached
|
|
||||||
docs/.vitepress/cache
|
|
||||||
docs/.vitepress/temp
|
|
||||||
docs/reference
|
|
||||||
docs/**/*.html
|
docs/**/*.html
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
for package in $(./get_packages.py); do
|
|
||||||
./build_and_link.sh $package
|
|
||||||
|
|
||||||
if [[ $? -eq 1 ]]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
upstream=$1
|
|
||||||
|
|
||||||
npm run fix -w @welshman/$upstream
|
|
||||||
npm run build -w @welshman/$upstream
|
|
||||||
|
|
||||||
if [[ $? -eq 1 ]]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
for downstream in $(./get_packages.py); do
|
|
||||||
n=@welshman/$upstream
|
|
||||||
f=packages/$downstream/package.json
|
|
||||||
v=$(jq '.dependencies["'$n'"] // empty' $f)
|
|
||||||
|
|
||||||
if [[ ! -z $v ]]; then
|
|
||||||
rm -rf packages/$downstream/node_modules/@welshman/$upstream
|
|
||||||
cp -r packages/$upstream packages/$downstream/node_modules/@welshman/$upstream
|
|
||||||
rm -rf node_modules/@welshman/$upstream
|
|
||||||
cp -r packages/$upstream node_modules/@welshman/$upstream
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
import globals from "globals";
|
||||||
|
import js from "@eslint/js";
|
||||||
|
import tsEslint from "typescript-eslint";
|
||||||
|
import pluginReact from "eslint-plugin-react";
|
||||||
|
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
|
||||||
|
|
||||||
|
export default tsEslint.config(
|
||||||
|
{
|
||||||
|
ignores: [
|
||||||
|
"node_modules",
|
||||||
|
"!.*",
|
||||||
|
"**/dist",
|
||||||
|
"**/build",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
extends: [js.configs.recommended, ...tsEslint.configs.recommended],
|
||||||
|
files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"],
|
||||||
|
languageOptions: { globals: globals.node },
|
||||||
|
},
|
||||||
|
eslintPluginPrettierRecommended,
|
||||||
|
);
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
for package in $(./get_packages.py); do
|
|
||||||
if [ $(./show_changes.sh $package | wc -l) -gt 0 ]; then
|
|
||||||
echo $package
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
import os
|
|
||||||
import json
|
|
||||||
|
|
||||||
def get_deps(package):
|
|
||||||
with open(os.path.join('packages', package, 'package.json'), 'r') as f:
|
|
||||||
package_data = json.load(f)
|
|
||||||
|
|
||||||
dependencies = set()
|
|
||||||
for dep_type in ['dependencies', 'devDependencies', 'peerDependencies']:
|
|
||||||
if dep_type in package_data:
|
|
||||||
dependencies.update(package_data[dep_type].keys())
|
|
||||||
|
|
||||||
return [
|
|
||||||
dep.replace('@welshman/', '')
|
|
||||||
for dep in dependencies
|
|
||||||
if dep.startswith('@welshman/')
|
|
||||||
]
|
|
||||||
|
|
||||||
def main():
|
|
||||||
sorted_packages = []
|
|
||||||
remaining_packages = {}
|
|
||||||
for package in os.listdir('packages'):
|
|
||||||
deps = get_deps(package)
|
|
||||||
|
|
||||||
if not deps:
|
|
||||||
sorted_packages.append(package)
|
|
||||||
else:
|
|
||||||
remaining_packages[package] = deps
|
|
||||||
|
|
||||||
while remaining_packages:
|
|
||||||
for package, deps in remaining_packages.items():
|
|
||||||
if all([dep in sorted_packages for dep in deps]):
|
|
||||||
sorted_packages.append(package)
|
|
||||||
|
|
||||||
for package in sorted_packages:
|
|
||||||
if package in remaining_packages:
|
|
||||||
del remaining_packages[package]
|
|
||||||
|
|
||||||
for package in sorted_packages:
|
|
||||||
print(package)
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
main()
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
for package in $(./get_packages.py|sort); do
|
|
||||||
version=$(sed -nr 's/ +"version": "(.+)",/\1/p' packages/$package/package.json)
|
|
||||||
|
|
||||||
echo '"@welshman/'$package'": "^'$version'",'
|
|
||||||
done
|
|
||||||
-24
@@ -1,24 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
upstream=$1
|
|
||||||
|
|
||||||
if [[ -z $upstream ]]; then
|
|
||||||
echo "Please provide an upstream package name"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
version=$(sed -nr 's/ +"version": "(.+)",/\1/p' packages/$upstream/package.json)
|
|
||||||
|
|
||||||
for downstream in $(./get_packages.py); do
|
|
||||||
n=@welshman/$upstream
|
|
||||||
f=packages/$downstream/package.json
|
|
||||||
v=$(jq '.dependencies["'$n'"] // empty' $f)
|
|
||||||
|
|
||||||
if [[ ! -z $v ]]; then
|
|
||||||
jq '.dependencies["'$n'"]="'^$version'"' $f > $f.tmp
|
|
||||||
mv $f.tmp $f
|
|
||||||
mkdir -p packages/$downstream/node_modules/@welshman
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
npm i
|
|
||||||
Generated
-7932
File diff suppressed because it is too large
Load Diff
+13
-18
@@ -1,28 +1,23 @@
|
|||||||
{
|
{
|
||||||
|
"name": "@welshman",
|
||||||
"private": true,
|
"private": true,
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "vitest",
|
"clean": "pnpm run -r clean",
|
||||||
"docs:dev": "vitepress dev docs",
|
"build": "pnpm run -r build",
|
||||||
"docs:build": "npx typedoc && vitepress build docs",
|
"test": "pnpm run -r test",
|
||||||
"docs:preview": "vitepress preview docs"
|
"lint": "eslint ."
|
||||||
},
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/coracle-social/skiff.git"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vitest/coverage-v8": "^3.0.5",
|
"@eslint/js": "~9.23.0",
|
||||||
"fake-indexeddb": "^6.0.0",
|
"eslint": "~9.23.0",
|
||||||
"gts": "^6.0.2",
|
"eslint-plugin-prettier": "~5.2.5",
|
||||||
"happy-dom": "^17.1.0",
|
"eslint-plugin-react": "~7.37.4",
|
||||||
"typedoc": "^0.27.9",
|
"globals": "~16.0.0",
|
||||||
"typedoc-plugin-markdown": "^4.4.2",
|
"prettier": "~3.5.3",
|
||||||
"typedoc-vitepress-theme": "^1.1.2",
|
"typescript": "~5.8.0",
|
||||||
"typescript": "^5.6.3",
|
"typescript-eslint": "~8.29.0"
|
||||||
"vitepress": "^1.6.3",
|
|
||||||
"vitest": "^3.0.5"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+19
-21
@@ -8,36 +8,34 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"main": "dist/index",
|
||||||
|
"types": "dist/index",
|
||||||
"files": [
|
"files": [
|
||||||
"build"
|
"dist"
|
||||||
],
|
],
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"exports": {
|
|
||||||
".": {
|
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"import": "./build/src/index.js",
|
|
||||||
"require": "./build/src/index.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pub": "npm run lint && npm run build && npm publish",
|
"build": "pnpm run clean && pnpm run compile",
|
||||||
"build": "gts clean && tsc",
|
"clean": "rimraf ./dist",
|
||||||
"lint": "gts lint",
|
"compile": "tsc -p tsconfig.build.json",
|
||||||
"fix": "gts fix"
|
"prepublishOnly": "pnpm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/throttle-debounce": "^5.0.2",
|
"@types/throttle-debounce": "^5.0.2",
|
||||||
"@welshman/dvm": "^0.1.1",
|
"@welshman/dvm": "workspace:*",
|
||||||
"@welshman/feeds": "^0.1.1",
|
"@welshman/feeds": "workspace:*",
|
||||||
"@welshman/lib": "^0.1.1",
|
"@welshman/lib": "workspace:*",
|
||||||
"@welshman/relay": "^0.1.1",
|
"@welshman/relay": "workspace:*",
|
||||||
"@welshman/net": "^0.1.1",
|
"@welshman/net": "workspace:*",
|
||||||
"@welshman/signer": "^0.1.3",
|
"@welshman/signer": "workspace:*",
|
||||||
"@welshman/store": "^0.1.2",
|
"@welshman/store": "workspace:*",
|
||||||
"@welshman/util": "^0.1.2",
|
"@welshman/util": "workspace:*",
|
||||||
"fuse.js": "^7.0.0",
|
"fuse.js": "^7.0.0",
|
||||||
"idb": "^8.0.0",
|
"idb": "^8.0.0",
|
||||||
"svelte": "^4.2.18",
|
"svelte": "^4.2.18",
|
||||||
"throttle-debounce": "^5.0.2"
|
"throttle-debounce": "^5.0.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"rimraf": "~6.0.0",
|
||||||
|
"typescript": "~5.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.build.json",
|
||||||
|
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist"
|
||||||
|
},
|
||||||
|
|
||||||
|
"include": [
|
||||||
|
"src/**/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,14 +1,3 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../node_modules/gts/tsconfig-google.json",
|
"extends": "../../tsconfig.json"
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": ".",
|
|
||||||
"outDir": "build",
|
|
||||||
"module": "nodenext",
|
|
||||||
"moduleResolution": "nodenext",
|
|
||||||
"lib": ["esnext", "dom"]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"src/**/*.ts",
|
|
||||||
"test/**/*.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,30 +7,23 @@
|
|||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"main": "dist/index",
|
||||||
|
"types": "dist/index",
|
||||||
"files": [
|
"files": [
|
||||||
"build"
|
"dist"
|
||||||
],
|
],
|
||||||
"engines": {
|
|
||||||
"node": ">=12.0.0"
|
|
||||||
},
|
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"exports": {
|
|
||||||
".": {
|
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"import": "./build/src/index.js",
|
|
||||||
"require": "./build/src/index.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pub": "npm run lint && npm run build && npm publish",
|
"build": "pnpm run clean && pnpm run compile",
|
||||||
"build": "gts clean && tsc",
|
"clean": "rimraf ./dist",
|
||||||
"lint": "gts lint",
|
"compile": "tsc -p tsconfig.build.json",
|
||||||
"fix": "gts fix"
|
"prepublishOnly": "pnpm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@braintree/sanitize-url": "^7.0.2",
|
"@braintree/sanitize-url": "^7.0.2",
|
||||||
"@welshman/lib": "^0.1.1",
|
|
||||||
"nostr-tools": "^2.7.2"
|
"nostr-tools": "^2.7.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"rimraf": "~6.0.0",
|
||||||
|
"typescript": "~5.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.build.json",
|
||||||
|
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist"
|
||||||
|
},
|
||||||
|
|
||||||
|
"include": [
|
||||||
|
"src/**/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,14 +1,3 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../node_modules/gts/tsconfig-google.json",
|
"extends": "../../tsconfig.json"
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": ".",
|
|
||||||
"outDir": "build",
|
|
||||||
"module": "nodenext",
|
|
||||||
"moduleResolution": "nodenext",
|
|
||||||
"lib": ["esnext", "dom"]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"src/**/*.ts",
|
|
||||||
"test/**/*.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
+15
-18
@@ -7,29 +7,26 @@
|
|||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"main": "dist/index",
|
||||||
|
"types": "dist/index",
|
||||||
"files": [
|
"files": [
|
||||||
"build"
|
"dist"
|
||||||
],
|
],
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"exports": {
|
|
||||||
".": {
|
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"import": "./build/src/index.js",
|
|
||||||
"require": "./build/src/index.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pub": "npm run lint && npm run build && npm publish",
|
"build": "pnpm run clean && pnpm run compile",
|
||||||
"build": "gts clean && tsc",
|
"clean": "rimraf ./dist",
|
||||||
"lint": "gts lint",
|
"compile": "tsc -p tsconfig.build.json",
|
||||||
"fix": "gts fix"
|
"prepublishOnly": "pnpm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@noble/hashes": "^1.6.1",
|
"@noble/hashes": "^1.6.1",
|
||||||
"@welshman/lib": "^0.1.1",
|
"@welshman/lib": "workspace:*",
|
||||||
"@welshman/net": "^0.1.1",
|
"@welshman/net": "workspace:*",
|
||||||
"@welshman/util": "^0.1.2",
|
"@welshman/util": "workspace:*",
|
||||||
"@welshman/signer": "^0.1.3"
|
"@welshman/signer": "workspace:*"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"rimraf": "~6.0.0",
|
||||||
|
"typescript": "~5.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.build.json",
|
||||||
|
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist"
|
||||||
|
},
|
||||||
|
|
||||||
|
"include": [
|
||||||
|
"src/**/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,14 +1,3 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../node_modules/gts/tsconfig-google.json",
|
"extends": "../../tsconfig.json"
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": ".",
|
|
||||||
"outDir": "build",
|
|
||||||
"module": "nodenext",
|
|
||||||
"moduleResolution": "nodenext",
|
|
||||||
"lib": ["esnext", "dom"]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"src/**/*.ts",
|
|
||||||
"test/**/*.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,23 +8,19 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"files": [
|
"main": "dist/index",
|
||||||
"build"
|
"types": "dist/index",
|
||||||
],
|
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
"./index.css": "dist/index.css"
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"import": "./build/src/index.js",
|
|
||||||
"require": "./build/src/index.js"
|
|
||||||
},
|
|
||||||
"./index.css": "./build/src/index.css"
|
|
||||||
},
|
},
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pub": "npm run lint && npm run build && npm publish",
|
"build": "pnpm run clean && pnpm run compile",
|
||||||
"build": "gts clean && tsc && cp src/index.css build/src/index.css",
|
"clean": "rimraf ./dist",
|
||||||
"lint": "gts lint",
|
"compile": "tsc -p tsconfig.build.json",
|
||||||
"fix": "gts fix"
|
"prepublishOnly": "pnpm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tiptap/core": "^2.11.5",
|
"@tiptap/core": "^2.11.5",
|
||||||
@@ -40,10 +36,14 @@
|
|||||||
"@tiptap/extension-text": "^2.11.5",
|
"@tiptap/extension-text": "^2.11.5",
|
||||||
"@tiptap/pm": "^2.11.5",
|
"@tiptap/pm": "^2.11.5",
|
||||||
"@tiptap/suggestion": "^2.11.5",
|
"@tiptap/suggestion": "^2.11.5",
|
||||||
"@welshman/lib": "^0.1.1",
|
"@welshman/lib": "workspace:*",
|
||||||
"@welshman/util": "^0.1.2",
|
"@welshman/util": "workspace:*",
|
||||||
"nostr-editor": "^0.0.4-pre.13",
|
"nostr-editor": "^0.0.4-pre.13",
|
||||||
"nostr-tools": "^2.10.4",
|
"nostr-tools": "^2.10.4",
|
||||||
"tippy.js": "^6.3.7"
|
"tippy.js": "^6.3.7"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"rimraf": "~6.0.0",
|
||||||
|
"typescript": "~5.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.build.json",
|
||||||
|
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist"
|
||||||
|
},
|
||||||
|
|
||||||
|
"include": [
|
||||||
|
"src/**/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,15 +1,3 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../node_modules/gts/tsconfig-google.json",
|
"extends": "../../tsconfig.json"
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": ".",
|
|
||||||
"outDir": "build",
|
|
||||||
"module": "nodenext",
|
|
||||||
"moduleResolution": "nodenext",
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"lib": ["esnext", "dom"]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"src/**/*.ts",
|
|
||||||
"test/**/*.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
+13
-16
@@ -7,26 +7,23 @@
|
|||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"main": "dist/index",
|
||||||
|
"types": "dist/index",
|
||||||
"files": [
|
"files": [
|
||||||
"build"
|
"dist"
|
||||||
],
|
],
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"exports": {
|
|
||||||
".": {
|
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"import": "./build/src/index.js",
|
|
||||||
"require": "./build/src/index.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pub": "npm run lint && npm run build && npm publish",
|
"build": "pnpm run clean && pnpm run compile",
|
||||||
"build": "gts clean && tsc",
|
"clean": "rimraf ./dist",
|
||||||
"lint": "gts lint",
|
"compile": "tsc -p tsconfig.build.json",
|
||||||
"fix": "gts fix"
|
"prepublishOnly": "pnpm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@welshman/lib": "^0.1.1",
|
"@welshman/lib": "workspace:*",
|
||||||
"@welshman/util": "^0.1.2"
|
"@welshman/util": "workspace:*"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"rimraf": "~6.0.0",
|
||||||
|
"typescript": "~5.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.build.json",
|
||||||
|
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist"
|
||||||
|
},
|
||||||
|
|
||||||
|
"include": [
|
||||||
|
"src/**/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,14 +1,3 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../node_modules/gts/tsconfig-google.json",
|
"extends": "../../tsconfig.json"
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": ".",
|
|
||||||
"outDir": "build",
|
|
||||||
"module": "nodenext",
|
|
||||||
"moduleResolution": "nodenext",
|
|
||||||
"lib": ["esnext", "dom"]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"src/**/*.ts",
|
|
||||||
"test/**/*.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
+11
-13
@@ -12,25 +12,23 @@
|
|||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"files": [
|
"files": [
|
||||||
"build"
|
"dist"
|
||||||
],
|
],
|
||||||
"types": "./build/src/index.d.ts",
|
"main": "dist/index",
|
||||||
"exports": {
|
"types": "dist/index",
|
||||||
".": {
|
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"import": "./build/src/index.js",
|
|
||||||
"require": "./build/src/index.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pub": "npm run lint && npm run build && npm publish",
|
"build": "pnpm run clean && pnpm run compile",
|
||||||
"build": "gts clean && tsc",
|
"clean": "rimraf ./dist",
|
||||||
"lint": "gts lint",
|
"compile": "tsc -p tsconfig.build.json",
|
||||||
"fix": "gts fix"
|
"prepublishOnly": "pnpm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@scure/base": "^1.1.6",
|
"@scure/base": "^1.1.6",
|
||||||
"@types/events": "^3.0.3",
|
"@types/events": "^3.0.3",
|
||||||
"events": "^3.3.0"
|
"events": "^3.3.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"rimraf": "~6.0.0",
|
||||||
|
"typescript": "~5.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.build.json",
|
||||||
|
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist"
|
||||||
|
},
|
||||||
|
|
||||||
|
"include": [
|
||||||
|
"src/**/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,14 +1,3 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../node_modules/gts/tsconfig-google.json",
|
"extends": "../../tsconfig.json"
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": ".",
|
|
||||||
"outDir": "build",
|
|
||||||
"module": "nodenext",
|
|
||||||
"moduleResolution": "nodenext",
|
|
||||||
"lib": ["esnext", "dom"]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"src/**/*.ts",
|
|
||||||
"test/**/*.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
+14
-16
@@ -8,27 +8,25 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"main": "dist/index",
|
||||||
|
"types": "dist/index",
|
||||||
"files": [
|
"files": [
|
||||||
"build"
|
"dist"
|
||||||
],
|
],
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"exports": {
|
|
||||||
".": {
|
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"import": "./build/src/index.js",
|
|
||||||
"require": "./build/src/index.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pub": "npm run lint && npm run build && npm publish",
|
"build": "pnpm run clean && pnpm run compile",
|
||||||
"build": "gts clean && tsc",
|
"clean": "rimraf ./dist",
|
||||||
"lint": "gts lint",
|
"compile": "tsc -p tsconfig.build.json",
|
||||||
"fix": "gts fix"
|
"prepublishOnly": "pnpm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@welshman/lib": "^0.1.1",
|
"@welshman/lib": "workspace:*",
|
||||||
"@welshman/relay": "^0.1.1",
|
"@welshman/relay": "workspace:*",
|
||||||
"@welshman/util": "^0.1.2",
|
"@welshman/util": "workspace:*",
|
||||||
"isomorphic-ws": "^5.0.0"
|
"isomorphic-ws": "^5.0.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"rimraf": "~6.0.0",
|
||||||
|
"typescript": "~5.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.build.json",
|
||||||
|
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist"
|
||||||
|
},
|
||||||
|
|
||||||
|
"include": [
|
||||||
|
"src/**/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,14 +1,3 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../node_modules/gts/tsconfig-google.json",
|
"extends": "../../tsconfig.json"
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": ".",
|
|
||||||
"outDir": "build",
|
|
||||||
"module": "nodenext",
|
|
||||||
"moduleResolution": "nodenext",
|
|
||||||
"lib": ["esnext", "dom"]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"src/**/*.ts",
|
|
||||||
"test/**/*.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
+13
-15
@@ -8,25 +8,23 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"main": "dist/index",
|
||||||
|
"types": "dist/index",
|
||||||
"files": [
|
"files": [
|
||||||
"build"
|
"dist"
|
||||||
],
|
],
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"exports": {
|
|
||||||
".": {
|
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"import": "./build/src/index.js",
|
|
||||||
"require": "./build/src/index.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pub": "npm run lint && npm run build && npm publish",
|
"build": "pnpm run clean && pnpm run compile",
|
||||||
"build": "gts clean && tsc",
|
"clean": "rimraf ./dist",
|
||||||
"lint": "gts lint",
|
"compile": "tsc -p tsconfig.build.json",
|
||||||
"fix": "gts fix"
|
"prepublishOnly": "pnpm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@welshman/lib": "^0.1.1",
|
"@welshman/lib": "workspace:*",
|
||||||
"@welshman/util": "^0.1.2"
|
"@welshman/util": "workspace:*"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"rimraf": "~6.0.0",
|
||||||
|
"typescript": "~5.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.build.json",
|
||||||
|
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist"
|
||||||
|
},
|
||||||
|
|
||||||
|
"include": [
|
||||||
|
"src/**/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,14 +1,3 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../node_modules/gts/tsconfig-google.json",
|
"extends": "../../tsconfig.json"
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": ".",
|
|
||||||
"outDir": "build",
|
|
||||||
"module": "nodenext",
|
|
||||||
"moduleResolution": "nodenext",
|
|
||||||
"lib": ["esnext", "dom"]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"src/**/*.ts",
|
|
||||||
"test/**/*.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,34 +8,29 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"main": "dist/index",
|
||||||
|
"types": "dist/index",
|
||||||
"files": [
|
"files": [
|
||||||
"build"
|
"dist"
|
||||||
],
|
],
|
||||||
"engines": {
|
|
||||||
"node": ">=10.x"
|
|
||||||
},
|
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"exports": {
|
|
||||||
".": {
|
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"import": "./build/src/index.js",
|
|
||||||
"require": "./build/src/index.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pub": "npm run lint && npm run build && npm publish",
|
"build": "pnpm run clean && pnpm run compile",
|
||||||
"build": "gts clean && tsc",
|
"clean": "rimraf ./dist",
|
||||||
"lint": "gts lint",
|
"compile": "tsc -p tsconfig.build.json",
|
||||||
"fix": "gts fix"
|
"prepublishOnly": "pnpm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@noble/curves": "^1.7.0",
|
"@noble/curves": "^1.7.0",
|
||||||
"@noble/hashes": "^1.6.1",
|
"@noble/hashes": "^1.6.1",
|
||||||
"@welshman/lib": "^0.1.1",
|
"@welshman/lib": "workspace:*",
|
||||||
"@welshman/net": "^0.1.1",
|
"@welshman/net": "workspace:*",
|
||||||
"@welshman/util": "^0.1.2",
|
"@welshman/util": "workspace:*",
|
||||||
"nostr-tools": "^2.7.2"
|
"nostr-tools": "^2.7.2"
|
||||||
},
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"rimraf": "~6.0.0",
|
||||||
|
"typescript": "~5.8.0"
|
||||||
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"nostr-signer-capacitor-plugin": "^0.0.3"
|
"nostr-signer-capacitor-plugin": "^0.0.3"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.build.json",
|
||||||
|
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist"
|
||||||
|
},
|
||||||
|
|
||||||
|
"include": [
|
||||||
|
"src/**/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,14 +1,3 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../node_modules/gts/tsconfig-google.json",
|
"extends": "../../tsconfig.json"
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": ".",
|
|
||||||
"outDir": "build",
|
|
||||||
"module": "nodenext",
|
|
||||||
"moduleResolution": "nodenext",
|
|
||||||
"lib": ["esnext", "dom"]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"src/**/*.ts",
|
|
||||||
"test/**/*.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
+14
-16
@@ -8,27 +8,25 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"main": "dist/index",
|
||||||
|
"types": "dist/index",
|
||||||
"files": [
|
"files": [
|
||||||
"build"
|
"dist"
|
||||||
],
|
],
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"exports": {
|
|
||||||
".": {
|
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"import": "./build/src/index.js",
|
|
||||||
"require": "./build/src/index.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pub": "npm run lint && npm run build && npm publish",
|
"build": "pnpm run clean && pnpm run compile",
|
||||||
"build": "gts clean && tsc",
|
"clean": "rimraf ./dist",
|
||||||
"lint": "gts lint",
|
"compile": "tsc -p tsconfig.build.json",
|
||||||
"fix": "gts fix"
|
"prepublishOnly": "pnpm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@welshman/lib": "^0.1.1",
|
"@welshman/lib": "workspace:*",
|
||||||
"@welshman/util": "^0.1.2",
|
"@welshman/util": "workspace:*",
|
||||||
"@welshman/relay": "^0.1.1",
|
"@welshman/relay": "workspace:*",
|
||||||
"svelte": "^4.2.18"
|
"svelte": "^4.2.18"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"rimraf": "~6.0.0",
|
||||||
|
"typescript": "~5.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.build.json",
|
||||||
|
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist"
|
||||||
|
},
|
||||||
|
|
||||||
|
"include": [
|
||||||
|
"src/**/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,14 +1,3 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../node_modules/gts/tsconfig-google.json",
|
"extends": "../../tsconfig.json"
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": ".",
|
|
||||||
"outDir": "build",
|
|
||||||
"module": "nodenext",
|
|
||||||
"moduleResolution": "nodenext",
|
|
||||||
"lib": ["esnext", "dom"]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"src/**/*.ts",
|
|
||||||
"test/**/*.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
+12
-17
@@ -8,30 +8,25 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"main": "dist/index",
|
||||||
|
"types": "dist/index",
|
||||||
"files": [
|
"files": [
|
||||||
"build"
|
"dist"
|
||||||
],
|
],
|
||||||
"engines": {
|
|
||||||
"node": ">=10.4.0"
|
|
||||||
},
|
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"exports": {
|
|
||||||
".": {
|
|
||||||
"types": "./build/src/index.d.ts",
|
|
||||||
"import": "./build/src/index.js",
|
|
||||||
"require": "./build/src/index.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pub": "npm run lint && npm run build && npm publish",
|
"build": "pnpm run clean && pnpm run compile",
|
||||||
"build": "gts clean && tsc",
|
"clean": "rimraf ./dist",
|
||||||
"lint": "gts lint",
|
"compile": "tsc -p tsconfig.build.json",
|
||||||
"fix": "gts fix"
|
"prepublishOnly": "pnpm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@welshman/lib": "workspace:*",
|
||||||
"@types/ws": "^8.5.13",
|
"@types/ws": "^8.5.13",
|
||||||
"@welshman/lib": "^0.1.1",
|
|
||||||
"nostr-tools": "^2.7.2",
|
"nostr-tools": "^2.7.2",
|
||||||
"nostr-wasm": "^0.1.0"
|
"nostr-wasm": "^0.1.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"rimraf": "~6.0.0",
|
||||||
|
"typescript": "~5.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.build.json",
|
||||||
|
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist"
|
||||||
|
},
|
||||||
|
|
||||||
|
"include": [
|
||||||
|
"src/**/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,15 +1,3 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../node_modules/gts/tsconfig-google.json",
|
"extends": "../../tsconfig.json"
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": ".",
|
|
||||||
"outDir": "build",
|
|
||||||
"module": "nodenext",
|
|
||||||
"moduleResolution": "nodenext",
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"lib": ["esnext", "dom"]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"src/**/*.ts",
|
|
||||||
"test/**/*.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+3563
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,2 @@
|
|||||||
|
packages:
|
||||||
|
- 'packages/**'
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
for package in $(./get_packages.py); do
|
|
||||||
npm run pub -w "packages/$package"
|
|
||||||
done
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"extends": [
|
||||||
|
"config:recommended"
|
||||||
|
],
|
||||||
|
"ignorePresets": [
|
||||||
|
":ignoreModulesAndTests"
|
||||||
|
],
|
||||||
|
"rangeStrategy": "replace",
|
||||||
|
"automerge": true,
|
||||||
|
"automergeType": "branch",
|
||||||
|
"minimumReleaseAge": "14 days",
|
||||||
|
"internalChecksFilter": "strict"
|
||||||
|
}
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
package=$1
|
|
||||||
tag=$(git describe --tags --abbrev=0 --match=$package'/*')
|
|
||||||
|
|
||||||
git diff "$tag" "packages/$package"
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
status=$(git status | grep "nothing to commit")
|
|
||||||
|
|
||||||
if [[ -z "$status" ]]; then
|
|
||||||
echo "Can't tag with uncommitted changes"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
for pkg in $(./get_packages.py); do
|
|
||||||
version=$(sed -nr 's/ +"version": "(.+)",/\1/p' packages/$pkg/package.json)
|
|
||||||
|
|
||||||
git tag "$pkg/$version" >/dev/null 2>&1
|
|
||||||
done
|
|
||||||
|
|
||||||
git push
|
|
||||||
git push --tags
|
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "nodenext",
|
||||||
|
"moduleResolution": "nodenext",
|
||||||
|
"target": "esnext",
|
||||||
|
"sourceMap": true,
|
||||||
|
"strict": true,
|
||||||
|
"declaration": true,
|
||||||
|
"declarationMap": true,
|
||||||
|
"noEmitOnError": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"types": [],
|
||||||
|
"lib": ["esnext", "dom", "dom.iterable"],
|
||||||
|
"noEmit": false
|
||||||
|
},
|
||||||
|
"exclude": [
|
||||||
|
"node_modules",
|
||||||
|
"dist"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "./tsconfig.build.json",
|
||||||
|
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": ".",
|
||||||
|
"paths": {
|
||||||
|
"@welshman/*": ["packages/*/src"]
|
||||||
|
},
|
||||||
|
"noEmit": true
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "Welshman Docs",
|
|
||||||
"out": "./docs/reference",
|
|
||||||
"docsRoot": "./docs",
|
|
||||||
"entryPoints": ["packages/*"],
|
|
||||||
"entryPointStrategy": "packages",
|
|
||||||
"exclude": ["**/normalize-url/*"],
|
|
||||||
"plugin": ["typedoc-plugin-markdown", "typedoc-vitepress-theme"],
|
|
||||||
"hideGenerator": true
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user