Skip to content

Commit

Permalink
Remove create-r2-explorer in favor of using cloudflare c3
Browse files Browse the repository at this point in the history
  • Loading branch information
G4brym committed Dec 1, 2024
1 parent 66f5095 commit 1e7c97e
Show file tree
Hide file tree
Showing 36 changed files with 14 additions and 2,072 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
dist
node_modules
packages/create-r2-explorer/*
packages/github-action/*
packages/worker/bin/*
packages/worker/config/*
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ packages/github-action/src
packages/dashboard/.env
packages/dashboard/.quasar
.dev.vars

template/package-lock.json
template/node_modules/
10 changes: 0 additions & 10 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,6 @@ npm run build
wrangler pages publish --branch main --project-name r2-explorer-dashboard dist/
```

## Publish create-r2-explorer package

Increase version in `packages/create-r2-explorer/package.json`

```bash
cd packages/create-r2-explorer/
npm run build
npm publish --access public
```

## Manually publish worker

```bash
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Gabriel Massadas
Copyright (c) 2023-2024 Gabriel Massadas

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Read this in other languages: [Español](READMEes.md), [Português](READMEpt.md)
Run this command to get an example project setup

```bash
npm create r2-explorer@latest
npm create cloudflare@latest r2-explorer -- --template "G4brym/R2-Explorer/template"
```

## Upgrading your installation
Expand Down
2 changes: 1 addition & 1 deletion READMEes.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Leer esto en otros idiomas: [English](README.md), [Português](READMEpt.md), [Fr
Ejecuta este comando para configurar un proyecto de ejemplo

```bash
npm create r2-explorer@latest
npm create cloudflare@latest r2-explorer -- --template "G4brym/R2-Explorer/template"
```

## Actualizar tu instalación
Expand Down
2 changes: 1 addition & 1 deletion READMEfr.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Lisez ceci dans d'autres langues : [English](README.md), [Español](READMEes.md)
Exécutez cette commande pour configurer un projet exemple

```bash
npm create r2-explorer@latest
npm create cloudflare@latest r2-explorer -- --template "G4brym/R2-Explorer/template"
```

## Mise à jour de votre installation
Expand Down
2 changes: 1 addition & 1 deletion READMEpt.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Leia isso em outros idiomas: [English](README.md), [Español](READMEes.md), [Fra
Execute este comando para configurar um projeto de exemplo

```bash
npm create r2-explorer@latest
npm create cloudflare@latest r2-explorer -- --template "G4brym/R2-Explorer/template"
```

## Atualizar sua instalação
Expand Down
7 changes: 0 additions & 7 deletions c3.ts

This file was deleted.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
"scripts": {
"prepare": "husky install",
"lint": "(eslint . || (eslint . --fix; exit 1)) && (prettier --check '*.{json,js}' 'packages/*/src/**/*.{js,ts}' || (prettier -w '*.{json,js}' 'packages/*/src/**/*.{js,ts}'; exit 1))",
"build-create": "pnpm run --filter create-r2-explorer build",
"build-dashboard": "pnpm run --filter r2-explorer-dashboard build",
"build-worker": "pnpm run --filter r2-explorer build",
"build": "pnpm build-create && pnpm build-dashboard && pnpm build-worker",
"build": "pnpm build-dashboard && pnpm build-worker",
"deploy-dashboard": "pnpm run --filter r2-explorer-dashboard deploy",
"deploy-dashboard-dev": "pnpm run --filter r2-explorer-dashboard deploy-dev",
"deploy-dev-worker": "pnpm run --filter r2-explorer-dev-worker deploy",
Expand Down
26 changes: 0 additions & 26 deletions packages/create-r2-explorer/README.md

This file was deleted.

69 changes: 0 additions & 69 deletions packages/create-r2-explorer/package.json

This file was deleted.

37 changes: 0 additions & 37 deletions packages/create-r2-explorer/scripts/build.js

This file was deleted.

69 changes: 0 additions & 69 deletions packages/create-r2-explorer/src/cli.ts

This file was deleted.

Loading

0 comments on commit 1e7c97e

Please sign in to comment.