Skip to content

Commit

Permalink
chore: resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
DominusKelvin committed Dec 25, 2023
2 parents cf4a5c0 + cacd980 commit 5a44d35
Show file tree
Hide file tree
Showing 38 changed files with 2,049 additions and 8,341 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
github: DominusKelvin
patreon: dominuskelvin
Binary file added .github/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ npx create-sails <project-name>
```

<div align="center">
<a href="https://sailscasts.com/boring"><img src="https://github.com/sailscastshq/boring-stack/blob/main/logo.png" alt="The Boring JavaScript Stack" width="25%" height="25%"></a>
<a href="https://sailscasts.com/boring"><img src="https://github.com/sailscastshq/boring-stack/blob/main/.github/banner.png" alt="The Boring JavaScript Stack"></a>
</div>

[The Boring JavaScript Stack](https://sailscasts.com/boring)
Expand Down Expand Up @@ -66,21 +66,21 @@ To launch the respective templates on StackBlitz, click on the 'Open in StackBli

### Vue Starter Template

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/sailscastshq/boring-stack/tree/develop/templates/mellow-vue)
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/sailscastshq/boring-stack/tree/main/templates/mellow-vue)

### React Starter Template

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/sailscastshq/boring-stack/tree/develop/templates/mellow-react)
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/sailscastshq/boring-stack/tree/main/templates/mellow-react)

### Svelte Starter Template

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/sailscastshq/boring-stack/tree/develop/templates/mellow-svelte)
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/sailscastshq/boring-stack/tree/main/templates/mellow-svelte)

<hr />

## Watch Kelvin's Introduction to The Boring JavaScript Stack

<a href="https://youtu.be/qX69jEyAIc0"><img src="https://github.com/sailscastshq/boring-stack/blob/main/thumbnail.png" alt="The Boring JavaScript Stack" width="100%"></a>
<a href="https://youtu.be/qX69jEyAIc0"><img src="https://github.com/sailscastshq/boring-stack/blob/main/.github/thumbnail.png" alt="The Boring JavaScript Stack" width="100%"></a>

[The Boring JavaScript - Kelvin Omereshone at #Sailsconf 2023](https://youtu.be/qX69jEyAIc0)

Expand All @@ -104,6 +104,10 @@ To launch the respective templates on StackBlitz, click on the 'Open in StackBli
</p>
</a>

## Sponsors

If you'd like to become a sponsor, check out [DominusKelvin](https://github.com/sponsors/DominusKelvin) sponsor page and tiers.

## Thanks

You rock 🤘🏾
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "boring-stack",
"version": "0.1.1",
"version": "0.1.2",
"private": "true",
"description": "The Boring JavaScript Stack 🥱 - an opinionated project starter for fullstack JavaScript",
"scripts": {
Expand Down
10 changes: 5 additions & 5 deletions templates/mellow-react/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# react
# mellow-react

This template should help get you started developing with a modern Sails fullstack application with Inertia and React.
This template should help get you started developing with a modern Sails fullstack application with Sails and React.

This scaffold contains:

- webpack
- tailwind
- react
- Sails
- React
- Tailwind
72 changes: 0 additions & 72 deletions templates/mellow-react/api/hooks/webpack/index.js

This file was deleted.

10 changes: 0 additions & 10 deletions templates/mellow-react/assets/js/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default function Index({ name }) {
<Link href="/example" className="text-purple-600 underline">
Go to example page
</Link>

<ul className="flex space-x-4 text-gray-400">
<li>
<a
Expand Down Expand Up @@ -52,15 +51,6 @@ export default function Index({ name }) {
Tailwind CSS
</a>
</li>
<li>
<a
href="https://webpack.org"
target="_blank"
className="hover:text-gray-600 hover:underline"
>
Webpack
</a>
</li>
</ul>
</div>
)
Expand Down
17 changes: 0 additions & 17 deletions templates/mellow-react/config/env/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
* http://sailsjs.com/docs/concepts/deployment
*/

const TerserPlugin = require('terser-webpack-plugin')

module.exports = {
hookTimeout: 80000,
/**************************************************************************
Expand Down Expand Up @@ -316,20 +314,5 @@ module.exports = {
// sails_custom__stripeSecret=sk_prod__fake_Nfgh82401348jaDa3lkZ0d9Hm
// ```
//--------------------------------------------------------------------------
},

/***************************************************************************
* *
* Override the default webpack plugin list to add the UglifyJsPlugin, *
* which minifies the outputted JavaScript. *
* *
***************************************************************************/

webpack: {
mode: 'production',
optimization: {
minimize: true,
minimizer: [new TerserPlugin()]
}
}
}
6 changes: 6 additions & 0 deletions templates/mellow-react/config/shipwright.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const { pluginReact } = require('@rsbuild/plugin-react')
module.exports.shipwright = {
build: {
plugins: [pluginReact()]
}
}
106 changes: 0 additions & 106 deletions templates/mellow-react/config/webpack.js

This file was deleted.

5 changes: 3 additions & 2 deletions templates/mellow-react/jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"include": ["api/**/*", "assets/js/**/*", "types/index.d.ts"],

"exclude": [".tmp/**/*"],
"compilerOptions": {
"types": ["node"],
"typeRoots": ["./types", "./node_modules/@types"],
Expand All @@ -17,7 +17,8 @@
"noErrorTruncation": true,
"baseUrl": ".",
"paths": {
"@/*": ["assets/js/*"]
"@/*": ["assets/js/*"],
"~/*": ["assets/*"]
}
}
}
Loading

0 comments on commit 5a44d35

Please sign in to comment.