Skip to content

Commit db6fc4b

Browse files
feat: remove abandoned packages, switch to bun, switch to mit license
Signed-off-by: Henry Gressmann <[email protected]>
1 parent abe955d commit db6fc4b

File tree

123 files changed

+305
-10453
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+305
-10453
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,20 @@ jobs:
1515
- name: Git Checkout
1616
uses: actions/checkout@v3
1717

18-
- name: Install Node.js
18+
- name: Use Node.js 20.x
1919
uses: actions/setup-node@v3
2020
with:
2121
node-version: 20
22-
registry-url: "https://npm.pkg.github.com"
2322

24-
- name: Install pnpm
25-
uses: pnpm/action-setup@v2
26-
id: pnpm-install
23+
- uses: oven-sh/setup-bun@v1
2724
with:
28-
version: 8
29-
run_install: true
25+
bun-version: latest
3026

3127
- name: Build
32-
run: pnpm run build
28+
run: bun run build
3329

3430
- name: Build
35-
run: pnpm run lint
31+
run: bun lint
3632

3733
- name: Test
38-
run: pnpm run test
34+
run: bun test
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
The MIT License (MIT)
2-
3-
Copyright (c) 2015-2016 Rico Sta. Cruz and other contributors
4-
Copyright (c) 2016-2023 Zoltan Kochan and other contributors
5-
Copyright (c) 2023 Henry Gressmann
1+
Copyright (c) 2022-2023 Henry Gressmann
62

73
Permission is hereby granted, free of charge, to any person obtaining a copy
84
of this software and associated documentation files (the "Software"), to deal
@@ -20,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2016
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2117
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2218
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23-
SOFTWARE.
19+
SOFTWARE.

LICENSE.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,18 @@
33
> A Monorepo with some of some of my smaller (TypeScript/JavaScript) libraries. <br/>
44
> As these grow, they might be split into their own repositories
55
6-
<br/>
7-
86
## Principles
97

108
- All packages are written in TypeScript
119
- 3rd party dependencies are kept to a minimum (if any)
1210
- Only the latest LTS version of Node.js is officially supported (currently 20)
1311

14-
<br />
15-
1612
## Projects
1713

18-
1914
<!-- START TABLE -->
20-
<table><thead><tr><th>NPM</th><th>Support</th><th>Description</th></tr></thead><tbody><tr><td><a href="https://npmjs.com/package/minify-literals"><img src="https://img.shields.io/npm/v/minify-literals.svg?style=flat-square" alt="minify-literals" /></a></td><td><strong>Stable</strong></td><td><a href="./packages/minify-literals"><strong><code>minify-literals</code></strong></a><br />Minify CSS and HTML literals</td></tr><tr><td><a href="https://npmjs.com/package/rollup-plugin-minify-template-literals"><img src="https://img.shields.io/npm/v/rollup-plugin-minify-template-literals.svg?style=flat-square" alt="rollup-plugin-minify-template-literals" /></a></td><td><strong>Stable</strong></td><td><a href="./packages/rollup-plugin-minify-template-literals"><strong><code>rollup-plugin-minify-template-literals</code></strong></a><br />A Vite/Rollup plugin that minifies template literals.</td></tr><tr><td><a href="https://npmjs.com/package/expo-plugin-aboutlibraries"><img src="https://img.shields.io/npm/v/expo-plugin-aboutlibraries.svg?style=flat-square" alt="expo-plugin-aboutlibraries" /></a></td><td><strong>Unstable</strong></td><td><a href="./packages/expo-plugin-aboutlibraries"><strong><code>expo-plugin-aboutlibraries</code></strong></a><br />A simple expo config plugin to add the aboutlibraries plugin to your app</td></tr><tr><td><a href="https://npmjs.com/package/lit-q"><img src="https://img.shields.io/npm/v/lit-q.svg?style=flat-square" alt="lit-q" /></a></td><td><strong>Unstable</strong></td><td><a href="./packages/lit-q"><strong><code>lit-q</code></strong></a><br />A simple async query/mutation library for Lit/LitElement inspired by react-query</td></tr><tr><td><a href="https://npmjs.com/package/spaify"><img src="https://img.shields.io/npm/v/spaify.svg?style=flat-square" alt="spaify" /></a></td><td><strong>Unstable</strong></td><td><a href="./packages/spaify"><strong><code>spaify</code></strong></a><br />Seamless page transitions for your static site in less than 2kb of JavaScript</td></tr><tr><td><a href="https://npmjs.com/package/ucmd"><img src="https://img.shields.io/npm/v/ucmd.svg?style=flat-square" alt="ucmd" /></a></td><td><strong>Unstable</strong></td><td><a href="./packages/ucmd"><strong><code>ucmd</code></strong></a><br />µCMD is a minimal and strictly typed argument parsing library for node.js</td></tr><tr><td><a href="https://npmjs.com/package/legalizer"><img src="https://img.shields.io/npm/v/legalizer.svg?style=flat-square" alt="legalizer" /></a></td><td><strong>Preview</strong></td><td><a href="./packages/legalizer"><strong><code>legalizer</code></strong></a><br />Generate License Information from all dependencies in a project</td></tr><tr><td><a href="https://npmjs.com/package/pnpm-lock"><img src="https://img.shields.io/npm/v/pnpm-lock.svg?style=flat-square" alt="pnpm-lock" /></a></td><td><strong>Preview</strong></td><td><a href="./packages/pnpm-lock"><strong><code>pnpm-lock</code></strong></a><br />A fork of @pnpm/lockfile-file without all the dependencies and only the lockfile parsing</td></tr><tr><td><a href="https://npmjs.com/package/unlocked"><img src="https://img.shields.io/npm/v/unlocked.svg?style=flat-square" alt="unlocked" /></a></td><td><strong>Preview</strong></td><td><a href="./packages/unlocked"><strong><code>unlocked</code></strong></a><br />Parse lockfiles from npm, yarn, and pnpm into a common format</td></tr><tr><td><a href="https://npmjs.com/package/unlocked-aboutlibraries"><img src="https://img.shields.io/npm/v/unlocked-aboutlibraries.svg?style=flat-square" alt="unlocked-aboutlibraries" /></a></td><td><strong>Preview</strong></td><td><a href="./packages/unlocked-aboutlibraries"><strong><code>unlocked-aboutlibraries</code></strong></a><br /></td></tr><tr><td><a href="https://npmjs.com/package/unlocked-cocoapods"><img src="https://img.shields.io/npm/v/unlocked-cocoapods.svg?style=flat-square" alt="unlocked-cocoapods" /></a></td><td><strong>Preview</strong></td><td><a href="./packages/unlocked-cocoapods"><strong><code>unlocked-cocoapods</code></strong></a><br /></td></tr><tr><td><a href="https://npmjs.com/package/unlocked-cyclconedx"><img src="https://img.shields.io/npm/v/unlocked-cyclconedx.svg?style=flat-square" alt="unlocked-cyclconedx" /></a></td><td><strong>Preview</strong></td><td><a href="./packages/unlocked-cyclonedx"><strong><code>unlocked-cyclconedx</code></strong></a><br />Create CycloneDX SBOMs from CommonLock files</td></tr></tbody></table>
15+
<table><thead><tr><th>NPM</th><th>Support</th><th>Description</th></tr></thead><tbody><tr><td><a href="https://npmjs.com/package/minify-literals"><img src="https://img.shields.io/npm/v/minify-literals.svg?style=flat-square" alt="minify-literals" /></a></td><td><strong>Stable</strong></td><td><a href="./packages/minify-literals"><strong><code>minify-literals</code></strong></a><br />Minify CSS and HTML literals</td></tr><tr><td><a href="https://npmjs.com/package/rollup-plugin-minify-template-literals"><img src="https://img.shields.io/npm/v/rollup-plugin-minify-template-literals.svg?style=flat-square" alt="rollup-plugin-minify-template-literals" /></a></td><td><strong>Stable</strong></td><td><a href="./packages/rollup-plugin-minify-template-literals"><strong><code>rollup-plugin-minify-template-literals</code></strong></a><br />A Vite/Rollup plugin that minifies template literals.</td></tr><tr><td><a href="https://npmjs.com/package/expo-plugin-aboutlibraries"><img src="https://img.shields.io/npm/v/expo-plugin-aboutlibraries.svg?style=flat-square" alt="expo-plugin-aboutlibraries" /></a></td><td><strong>Unstable</strong></td><td><a href="./packages/expo-plugin-aboutlibraries"><strong><code>expo-plugin-aboutlibraries</code></strong></a><br />A simple expo config plugin to add the aboutlibraries plugin to your app</td></tr><tr><td><a href="https://npmjs.com/package/lit-q"><img src="https://img.shields.io/npm/v/lit-q.svg?style=flat-square" alt="lit-q" /></a></td><td><strong>Unstable</strong></td><td><a href="./packages/lit-q"><strong><code>lit-q</code></strong></a><br />A simple async query/mutation library for Lit/LitElement inspired by react-query</td></tr><tr><td><a href="https://npmjs.com/package/spaify"><img src="https://img.shields.io/npm/v/spaify.svg?style=flat-square" alt="spaify" /></a></td><td><strong>Unstable</strong></td><td><a href="./packages/spaify"><strong><code>spaify</code></strong></a><br />Seamless page transitions for your static site in less than 2kb of JavaScript</td></tr><tr><td><a href="https://npmjs.com/package/ucmd"><img src="https://img.shields.io/npm/v/ucmd.svg?style=flat-square" alt="ucmd" /></a></td><td><strong>Unstable</strong></td><td><a href="./packages/ucmd"><strong><code>ucmd</code></strong></a><br />µCMD is a minimal and strictly typed argument parsing library for node.js</td></tr></tbody></table>
2116
<!-- END TABLE -->
2217

23-
<br/>
24-
2518
## Packages contained in other repositories
2619

2720
Please open issues and pull requests for these packages in their respective repositories.

bun.lockb

192 KB
Binary file not shown.

configs/tsconfig.base.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"compilerOptions": {
3-
"lib": ["es2022"],
3+
"lib": [
4+
"es2022"
5+
],
46
"module": "es2022",
57
"target": "es2022",
68
"strict": true,
@@ -20,10 +22,15 @@
2022
"noUnusedLocals": false,
2123
"noUnusedParameters": false,
2224
"verbatimModuleSyntax": true,
23-
"outDir": "dist"
25+
"outDir": "dist",
26+
"types": [
27+
"bun-types"
28+
]
2429
},
25-
"exclude": ["dist/*"],
30+
"exclude": [
31+
"dist/*"
32+
],
2633
"ts-node": {
2734
"transpileOnly": true
2835
}
29-
}
36+
}

package.json

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,30 @@
11
{
2-
"name": "@explodingcamera/es",
3-
"private": true,
4-
"keywords": [],
5-
"license": "ISC",
6-
"scripts": {
7-
"build": "turbo run build --include-dependencies",
8-
"lint": "biome check packages",
9-
"format": "biome format packages",
10-
"publish-packages": "turbo run build test && changeset version && changeset publish",
11-
"test": "turbo run test --include-dependencies"
12-
},
13-
"devDependencies": {
14-
"@biomejs/biome": "1.4.1",
15-
"@biomejs/cli-linux-x64": "^1.4.1",
16-
"@changesets/changelog-github": "^0.5.0",
17-
"@changesets/cli": "^2.27.1",
18-
"@types/node": "^20.10.2",
19-
"scripts": "workspace:*",
20-
"turbo": "^1.10.16"
21-
},
22-
"dependencies": {
23-
"typescript": "^5.3.2"
24-
}
2+
"name": "@explodingcamera/esm",
3+
"private": true,
4+
"keywords": [],
5+
"license": "MIT",
6+
"workspaces": [
7+
"packages/*",
8+
"scripts"
9+
],
10+
"scripts": {
11+
"build": "turbo run build --include-dependencies",
12+
"lint": "biome check packages",
13+
"format": "biome format packages",
14+
"publish-packages": "turbo run build test && changeset version && changeset publish",
15+
"test": "bun test"
16+
},
17+
"devDependencies": {
18+
"@biomejs/biome": "1.4.1",
19+
"@biomejs/cli-linux-x64": "^1.4.1",
20+
"@changesets/changelog-github": "^0.5.0",
21+
"@changesets/cli": "^2.27.1",
22+
"@types/node": "^20.10.5",
23+
"bun-types": "^1.0.18",
24+
"scripts": "workspace:*",
25+
"turbo": "^1.11.2"
26+
},
27+
"dependencies": {
28+
"typescript": "^5.3.3"
29+
}
2530
}

packages/expo-plugin-aboutlibraries/lib/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { test, expect } from "vitest";
1+
import { test, expect } from "bun:test";
22

33
test("test", async () => {
44
expect(1).toBe(1);

packages/expo-plugin-aboutlibraries/package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"homepage": "https://github.com/explodingcamera/esm/tree/main/packages/expo-plugin-aboutlibraries",
1515
"repository": "https://github.com/explodingcamera/esm",
16-
"license": "ISC",
16+
"license": "MIT",
1717
"author": "Henry Gressmann <[email protected]> (https://henrygressmann.de)",
1818
"type": "module",
1919
"exports": {
@@ -30,14 +30,12 @@
3030
"dist"
3131
],
3232
"scripts": {
33-
"build": "scripts build --name expo-plugin-aboutlibraries",
34-
"test": "scripts test run"
33+
"build": "scripts build --name expo-plugin-aboutlibraries"
3534
},
3635
"devDependencies": {
37-
"scripts": "workspace:*",
38-
"vitest": "^0.34.6"
36+
"scripts": "workspace:*"
3937
},
4038
"dependencies": {
4139
"@expo/config-plugins": "^7.2.5"
4240
}
43-
}
41+
}

packages/legalizer/CHANGELOG.md

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)