Skip to content

Commit 93dc01d

Browse files
committed
Use Npmjs
1 parent 0088b7d commit 93dc01d

16 files changed

Lines changed: 46 additions & 52 deletions

File tree

.github/workflows/publish-core.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010

1111
permissions:
1212
contents: read
13-
packages: write
1413

1514
jobs:
1615
publish:
@@ -21,16 +20,15 @@ jobs:
2120
- uses: actions/setup-node@v4
2221
with:
2322
node-version: '24'
24-
registry-url: 'https://npm.pkg.github.com'
25-
scope: '@kodular'
23+
registry-url: 'https://registry.npmjs.org'
2624

2725
- name: Install dependencies
2826
run: npm ci
2927

3028
- name: Build core package
31-
run: npm run build -w @kodular/tinywebdb-core
29+
run: npm run build -w tinywebdb-core
3230

33-
- name: Publish to GitHub Packages
34-
run: npm publish -w @kodular/tinywebdb-core
31+
- name: Publish to npm
32+
run: npm publish -w tinywebdb-core
3533
env:
36-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

package-lock.json

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cloudflare-d1/.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/cloudflare-d1/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@kodular/tinywebdb-cloudflare-d1",
2+
"name": "tinywebdb-cloudflare-d1",
33
"version": "0.0.1",
44
"description": "TinyWebDB deployment for Cloudflare Workers with D1 (SQLite) storage",
55
"main": "dist/index.js",
@@ -26,7 +26,7 @@
2626
"node": ">=24.0.0"
2727
},
2828
"dependencies": {
29-
"@kodular/tinywebdb-core": "^0.0.1"
29+
"tinywebdb-core": "^0.0.1"
3030
},
3131
"devDependencies": {
3232
"@cloudflare/workers-types": "^4.20241230.0",

packages/cloudflare-d1/src/CloudflareD1Storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { StoragePort, StoredData } from '@kodular/tinywebdb-core';
1+
import { StoragePort, StoredData } from 'tinywebdb-core';
22

33
/**
44
* Cloudflare D1 Storage Adapter

packages/cloudflare-d1/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Cloudflare Workers entry point for TinyWebDB with D1 storage
33
*/
44

5-
import { Application, HttpRequest } from '@kodular/tinywebdb-core';
5+
import { Application, HttpRequest } from 'tinywebdb-core';
66
import { CloudflareD1Storage } from './CloudflareD1Storage';
77

88
/**

packages/cloudflare-kv/.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/cloudflare-kv/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@kodular/tinywebdb-cloudflare-kv",
2+
"name": "tinywebdb-cloudflare-kv",
33
"version": "0.0.1",
44
"description": "TinyWebDB deployment for Cloudflare Workers with KV storage",
55
"main": "dist/index.js",
@@ -22,7 +22,7 @@
2222
"node": ">=24.0.0"
2323
},
2424
"dependencies": {
25-
"@kodular/tinywebdb-core": "^0.0.1"
25+
"tinywebdb-core": "^0.0.1"
2626
},
2727
"devDependencies": {
2828
"@cloudflare/workers-types": "^4.20241230.0",

packages/cloudflare-kv/src/CloudflareKVStorage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { StoragePort, StoredData } from '@kodular/tinywebdb-core';
1+
import { StoragePort, StoredData } from 'tinywebdb-core';
22

33
/**
44
* Cloudflare KV Storage Adapter

0 commit comments

Comments
 (0)