Socket
Socket
Sign inDemoInstall

remake

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remake - npm Package Compare versions

Comparing version 1.10.0 to 1.11.1

site-src/file-uploads.md

34

CHANGELOG.md

@@ -0,1 +1,31 @@

# 1.11.1 (August 9, 2020)
- Deprecated old repositories (https://github.com/panphora/remake & https://github.com/panphora/remake-framework) and switched them to the new official "remake" organization (https://github.com/remake/remake & https://github.com/remake/remake-framework)
# 1.11.0 (July 6, 2020)
- Breaking change: Renamed `username.hbs` to `app-index.hbs` (so it's clearer that it's supposed to be the dynamic home page of the app)
* Added ability to include an `{{else}}` clause in a `{{for}}` loop for when there are no items to iterate over
* Small change: Made adding a layout to a page have more forgiving syntax (no longer requires spaces between braces)
* Added an empty Remake app to `/_remake/empty-project` so users can get started more quickly with their own projects
* Added better README files to every directory of both the starter Remake app and the blank Remake app 🤩
# 1.10.1 (June 24, 2020)
- Massively improved the onboarding for new users by adding README files to each directory of the Remake starter app
- Added a nice getting started message showing users where to access the app after it starts up
- Updated npm dependencies to get rid of console warnings: both `caniuse-lite` and `shelljs` were causing issues
- Breaking change: Renamed the `asset-bundler/` directory to `_remake-asset-bundler` to differentiate it from files that are modifiable by the user
- Fixed: The `remake backup` command now works for file uploads
*Important:* If you're updating from an older version of Remake using the `remake update-framework` command, do this:
1. Run `remake update-framework`
2. Make sure all the dependencies from `https://github.com/remake/remake-framework/blob/master/package.json` are in your own `package.json`
3. Rename the `asset-bundler` directory to `_remake-asset-bundler`
You may also need to run `npm rebuild` if you get an error like `"Error: Could not locate the bindings file."`.
Sorry about this. It'll be easier to update in the future.
# 1.10.0 (April 15, 2020)

@@ -11,4 +41,4 @@

- Added a few helper file upload features:
• Upload progress notification
• Callbacks for file upload events
- Upload progress notification
- Callbacks for file upload events
- Changed the way the `data-i` attribute works

@@ -15,0 +45,0 @@ - By default it triggers a save unless its value is set to `dontTriggerSaveOnChange`

4

package.json
{
"name": "remake",
"version": "1.10.0",
"version": "1.11.1",
"description": "Generate a full-stack Remake web app",

@@ -45,4 +45,4 @@ "license": "MIT",

"rimraf": "^3.0.0",
"shelljs": "^0.8.3"
"shelljs": "^0.8.4"
}
}

@@ -12,5 +12,5 @@ ---

The entire app we're building in these tutorial videos fits inside of only one file, `app/username.hbs`, and is 73 lines long.
The entire app we're building in these tutorial videos fits inside of only one file, `app/app-index.hbs` (called <code>username.hbs</code> before <code>v1.11</code>), and is 73 lines long.
If you want to start with a blank slate, with only an HTML file, like we do in the video, you can replace your current `username.hbs` template with this one: [starter-username.hbs](https://gist.github.com/panphora/a1f39772ebc837b29173c5fb18887a8d).
If you want to start with a blank slate, with only an HTML file, like we do in the video, you can replace your current `app-index.hbs` template with this one: [starter-app-index.hbs](https://gist.github.com/panphora/a1f39772ebc837b29173c5fb18887a8d).

@@ -17,0 +17,0 @@ Also, make sure you're logged in to the app.

---
layout: layout.hbs
title: Remake Docs - A framework for building CRUD web apps quickly
meta:
<meta name="description" content="Remake is a framework that you build interactive websites with only HTML">
<meta name="image" content="https://docs.remaketheweb.com/static/og/og-site.png">
<meta itemprop="image" content="https://docs.remaketheweb.com/static/og/og-site.png">
---

@@ -46,3 +50,2 @@

* Automatic form handling
* Image uploads
* Image cropping and manipulation

@@ -54,2 +57,4 @@ * Sharing data between users

**[View the full Remake roadmap](https://roadmap.remaketheweb.com/roadmaps)**
### Build Something Great

@@ -56,0 +61,0 @@

@@ -8,5 +8,5 @@ ---

## Install & Setup
# Install & Setup
1. Install the Remake command line tool
**🛠 1. Install the Remake command line tool**

@@ -17,3 +17,3 @@ ```bash

2. Use the command line to to generate the starter project
**⚡️ 2. Generate a Remake project**

@@ -24,20 +24,33 @@ ```bash

3. Change into your new project's directory
**🚜 3. Start the local server**
```bash
cd projectName
npm run dev
```
4. Run the local server for your Remake app!
**📺 4. View your Remake app**
```bash
npm run dev
```
<br>
<a href="http://localhost:3000" target="_blank"><img class="border rounded image--small image--center" src="/static/kanban-screenshot.png"></a>
<br>
5. Go to `http://localhost:3000` in your browser to view your new Remake app!
Go to [http://localhost:3000](http://localhost:3000) in your browser to view the example app.
<img class="border rounded" src="/static/kanban-screenshot.png">
**🎨 5. Make your own app**
6. (Optional) Deploy your new app using Remake's hosting service!
The HTML & CSS used to create a Remake app is in the `app/` directory.
To start from scratch with an blank slate, simply replace the files in `app/` with the files in `_remake/empty-project/`.
**👩‍🎓 6. Learn Remake**
Learn how to create an app from [the official step-by-step tutorial](https://docs.remaketheweb.com/introducing-remake/).
In no time, you'll be making web apps faster than ever!
**🌏 7. Deploy your app**
After you're done creating your own app, share it with the world:
```bash

@@ -47,3 +60,5 @@ remake deploy

This will publish your app to **https://YOUR-APP-NAME.remakeapps.com** and you can share it with anyone!
See an example: [https://kanban.remakeapps.com/](https://kanban.remakeapps.com/)

@@ -10,3 +10,3 @@ ---

Here, `pageName` and `id` are optional. For example, if `username` is the only param, then `pages/username.hbs` is rendered. However, if `pageName` is there, then `pages/pageName.hbs` is rendered.
Here, `pageName` and `id` are optional. For example, if `username` is the only param, then `pages/app-index.hbs` (called <code>username.hbs</code> before <code>v1.11</code>) is rendered. However, if `pageName` is there, then `pages/pageName.hbs` is rendered.

@@ -40,4 +40,4 @@ And, finally, if `id` is also provided in the route, then `pages/pageName.hbs` is rendered and the `id` is looked up in the current username's data and loaded in under a template variable called `currentItem`.

For this case, Remake expects to find a `username.hbs` template in your page templates and it will render that file whenever a user goes to `/{username}`.
For this case, Remake expects to find a `app-index.hbs` (called <code>username.hbs</code> before <code>v1.11</code>) template in your page templates and it will render that file whenever a user goes to `/{username}`.
---
layout: layout.hbs
title: What is CRUD? - Remake Framework Docs
---

@@ -4,0 +5,0 @@

@@ -40,3 +40,3 @@ const fs = require('fs');

spinner = ora("Creating new project.").start();
shell.exec(`git clone --depth 1 https://github.com/panphora/remake-framework.git ${projectDir}`, { silent: true });
shell.exec(`git clone --depth 1 https://github.com/remake/remake-framework.git ${projectDir}`, { silent: true });
spinner.succeed();

@@ -192,3 +192,3 @@

spinner = ora("Copying latest framework into _remake directory.").start();
shell.exec("git clone --depth 1 https://github.com/panphora/remake-framework.git", { silent: true });
shell.exec("git clone --depth 1 https://github.com/remake/remake-framework.git", { silent: true });

@@ -195,0 +195,0 @@ // 4. MOVE THE _remake DIRECTORY TO WHERE THE OLD _remake DIRECTORY WAS

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc