Skip to content

Commit

Permalink
Rename all the things to redwoodjs.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterp committed Jan 4, 2020
1 parent fb10ca3 commit 04ee3eb
Show file tree
Hide file tree
Showing 38 changed files with 367 additions and 408 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@
"[typescriptreact]": {
"editor.formatOnSave": false,
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## [0.0.1-alpha.15] - 2020-01-04

### Changed

- Renamed `hammerframework` to `redwoodjs`

## [0.0.1-alpha.10.1] - 2019-10-23

### Added
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@babel/preset-env": "^7.6.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.6.0",
"@hammerframework/eslint-config-hammer": "^0.0.1-alpha.10",
"@redwoodjs/eslint-config-hammer": "^0.0.1-alpha.10",
"@types/node-fetch": "^2.5.4",
"babel-plugin-module-resolver": "^3.2.0",
"jest": "^24.8.0",
Expand All @@ -24,7 +24,7 @@
"typescript": "^3.5.3"
},
"eslintConfig": {
"extends": "@hammerframework/eslint-config-hammer"
"extends": "@redwoodjs/eslint-config-hammer"
},
"scripts": {
"build": "lerna run build",
Expand All @@ -33,4 +33,4 @@
"lint:fix": "yarn eslint --fix 'packages/*/src/**/*.js'"
},
"version": "0.0.0"
}
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The Hammer Development Server
# The API Development Server

The hamer dev server looks for "lambda functions" in the directory
(default: `./api/src/functions`) specified in your `hammer.toml`
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@hammerframework/hammer-dev-server",
"name": "@redwoodjs/api-dev-server",
"version": "0.0.1-alpha.14",
"bin": {
"hammer-dev-server": "./dist/main.js"
"api-dev-server": "./dist/main.js"
},
"files": [
"dist"
],
"license": "MIT",
"dependencies": {
"@babel/register": "^7.6.2",
"@hammerframework/hammer-core": "^0.0.1-alpha.14",
"@redwoodjs/core": "^0.0.1-alpha.14",
"args": "^5.0.1",
"body-parser": "^1.19.0",
"chokidar": "^3.2.2",
Expand All @@ -34,4 +34,4 @@
"clean": "rm -rf dist"
},
"gitHead": "32eaaa53d304aea1c49a42b4f15467a3d9114d64"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import path from 'path'

import { Response, Request } from 'express'
import { APIGatewayProxyResult, APIGatewayProxyEvent } from 'aws-lambda'
import { getHammerConfig } from '@hammerframework/hammer-core'
import { getHammerConfig } from '@redwoodjs/core'
import express from 'express'
// @ts-ignore
import expressLogging from 'express-logging'
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion packages/api/README.md

This file was deleted.

13 changes: 6 additions & 7 deletions packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@hammerframework/api",
"name": "@redwoodjs/api",
"version": "0.0.1-alpha.14",
"main": "dist/main.js",
"files": [
Expand All @@ -8,18 +8,17 @@
"types": "./dist/main.d.ts",
"license": "MIT",
"dependencies": {
"@hammerframework/hammer-core": "^0.0.1-alpha.14",
"@types/graphql-iso-date": "^3.3.3",
"@types/lodash.merge": "^4.6.6",
"@redwoodjs/core": "^0.0.1-alpha.14",
"apollo-server-lambda": "2.9.9",
"core-js": "3.6.0",
"graphql": "^14.5.8",
"graphql-iso-date": "^3.6.1",
"graphql-tools": "4.0.6",
"lodash.merge": "^4.6.2"
},
"eslintConfig": {
"extends": "@hammerframework/eslint-config-hammer"
"devDependencies": {
"@types/graphql-iso-date": "^3.3.3",
"@types/lodash.merge": "^4.6.6"
},
"scripts": {
"build": "yarn clean && yarn build:js && yarn build:types",
Expand All @@ -30,4 +29,4 @@
"clean": "rm -rf dist"
},
"gitHead": "32eaaa53d304aea1c49a42b4f15467a3d9114d64"
}
}
File renamed without changes.
6 changes: 3 additions & 3 deletions packages/hammer-cli/README.md → packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Installation

We recommend that you install Hammer's CLI globally
with npm `npm install -g @hammerframework/hammer-cli` or with
yarn `yarn global add @hammerframework/hammer-cli`.
We recommend that you install Redwood's CLI globally
with npm `npm install -g @redwoodjs/cli` or with
yarn `yarn global add @redwoodjs/cli`.

## Command line basics

Expand Down
12 changes: 4 additions & 8 deletions packages/hammer-cli/package.json → packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"name": "@hammerframework/hammer-cli",
"description": "The Hammer Command Line",
"name": "@redwoodjs/cli",
"description": "The Redwood Command Line",
"version": "0.0.1-alpha.14",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/hammerframework/hammer.git/"
},
"bin": {
"hammer": "./dist/index.js"
},
Expand All @@ -23,7 +19,7 @@
"test:watch": "yarn test --watch"
},
"dependencies": {
"@hammerframework/hammer-core": "^0.0.1-alpha.14",
"@redwoodjs/core": "^0.0.1-alpha.14",
"axios": "^0.19.0",
"camelcase": "^5.3.1",
"concurrently": "^5.0.0",
Expand All @@ -40,4 +36,4 @@
"ink-testing-library": "^1.0.2"
},
"gitHead": "32eaaa53d304aea1c49a42b4f15467a3d9114d64"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import concurrently from 'concurrently'
import { getHammerBaseDir } from '@hammerframework/hammer-core'
import { getHammerBaseDir } from '@redwoodjs/core'

const Dev = () => {
const baseDir = getHammerBaseDir()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import path from 'path'

import React from 'react'
import { Box, Text, Color } from 'ink'
import { getHammerBaseDir } from '@hammerframework/hammer-core'
import { getHammerBaseDir } from '@redwoodjs/core'

import { writeFile, bytes } from 'src/lib'

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import path from 'path'

import requireDir from 'require-dir'
import parse from 'yargs-parser'
import { getHammerConfig } from '@hammerframework/hammer-core'
import { getHammerConfig } from '@redwoodjs/core'

export const writeFile = (
target,
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@hammerframework/hammer-core",
"name": "@redwoodjs/core",
"version": "0.0.1-alpha.14",
"main": "dist/main.js",
"files": [
Expand All @@ -23,4 +23,4 @@
"clean": "rm -rf dist"
},
"gitHead": "32eaaa53d304aea1c49a42b4f15467a3d9114d64"
}
}
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/eslint-config-hammer/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@hammerframework/eslint-config-hammer",
"name": "@redwoodjs/eslint-config-hammer",
"version": "0.0.1-alpha.14",
"main": "index.js",
"files": [
Expand Down
7 changes: 2 additions & 5 deletions packages/router/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@hammerframework/router",
"name": "@redwoodjs/router",
"version": "0.0.1-alpha.14.1",
"files": [
"dist"
Expand All @@ -9,13 +9,10 @@
"dependencies": {
"core-js": "3.6.0"
},
"devDependencies": {
"react": "16.12.0"
},
"scripts": {
"build": "yarn clean && babel src -d dist",
"build:watch": "nodemon --ignore dist --exec 'yarn build'",
"prepublish": "yarn build",
"clean": "rm -rf dist"
}
}
}
4 changes: 2 additions & 2 deletions packages/scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const DirectoryNamedWebpackPlugin = require('directory-named-webpack-plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const FaviconsWebpackPlugin = require('favicons-webpack-plugin')
const Dotenv = require('dotenv-webpack')
const { getHammerConfig } = require('@hammerframework/hammer-core')
const { getHammerConfig } = require('@redwoodjs/core')

const hammerConfig = getHammerConfig()
const BASE_DIR = hammerConfig.baseDir
Expand Down Expand Up @@ -73,7 +73,7 @@ module.exports = (webpackEnv) => {
new webpack.ProvidePlugin({
React: 'react',
PropTypes: 'prop-types',
gql: ['@hammerframework/web', 'gql'],
gql: ['@redwoodjs/web', 'gql'],
}),
new webpack.DefinePlugin({
'__HAMMER__.apiProxyPath': JSON.stringify(
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/config/webpackDevServer.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable import/no-extraneous-dependencies */
const merge = require('webpack-merge')
const escapeRegExp = require('lodash.escaperegexp')
const { getHammerConfig } = require('@hammerframework/hammer-core')
const { getHammerConfig } = require('@redwoodjs/core')

const webpackConfig = require('./webpack.config.js')

Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@hammerframework/scripts",
"name": "@redwoodjs/scripts",
"version": "0.0.1-alpha.14",
"license": "MIT",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@hammerframework/web",
"name": "@redwoodjs/web",
"version": "0.0.1-alpha.14",
"files": [
"dist"
Expand Down Expand Up @@ -32,4 +32,4 @@
"clean": "rm -rf dist"
},
"gitHead": "3d2b48923b7e0fc34f1737552d5870a77c2be02d"
}
}
2 changes: 1 addition & 1 deletion packages/web/src/graphql/withCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { Query } from '@apollo/react-components'
* // `src/ExampleComponent/index.js`. This file will be removed and
* // automatically dealt with in babel.
*
* import { withCell } from '@hammerframework/web'
* import { withCell } from '@redwoodjs/web'
* import * as cell from './ExampleComponent'
*
* export default withCell(cell)
Expand Down
Loading

0 comments on commit 04ee3eb

Please sign in to comment.