-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
// These tasks will run in order when initializing your CodeSandbox project. | ||
"setupTasks": [ | ||
{ | ||
"name": "Install Dependencies", | ||
"command": "pnpm install" | ||
} | ||
], | ||
|
||
// These tasks can be run from CodeSandbox. Running one will open a log in the app. | ||
"tasks": { | ||
"build": { | ||
"name": "build", | ||
"command": "pnpm run build", | ||
"runAtStart": false | ||
}, | ||
"dev": { | ||
"name": "dev", | ||
"command": "pnpm run dev", | ||
"runAtStart": true, | ||
"preview": { | ||
"port": 3000 | ||
} | ||
}, | ||
"start": { | ||
"name": "start", | ||
"command": "pnpm run start", | ||
"runAtStart": false | ||
}, | ||
"typecheck": { | ||
"name": "typecheck", | ||
"command": "pnpm run typecheck", | ||
"runAtStart": false | ||
}, | ||
"install": { | ||
"name": "install dependencies", | ||
"command": "pnpm install" | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"title": "Kurocado Studio Styleguide Remix Template", | ||
"description": "The official Remix Template used by Kurocado Studio", | ||
"iconUrl": "https://avatars.githubusercontent.com/u/148841069?s=200&v=4", | ||
"tags": [ | ||
"frontend", | ||
"starter", | ||
"react", | ||
"remix", | ||
"typescript", | ||
"kurocado studio" | ||
], | ||
"published": true | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* Made with ❤️ and adobo by Kurocado Studio | ||
* Copyright (c) 2024. All Rights Reserved. | ||
* | ||
* Learn more about Kurocado Studio: {@link https://www.kurocado.studio} | ||
* | ||
* Explore our open-source projects: {@link https://github.com/kurocado-studio} | ||
*/ | ||
export { commitLintConfig as default } from '@kurocado-studio/styleguide'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "Devcontainer", | ||
"image": "ghcr.io/codesandbox/devcontainers/typescript-node:latest" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
node_modules | ||
|
||
/.cache | ||
/build | ||
/public/build | ||
.env |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# | ||
# Made with ❤️ and adobo by Kurocado Studio | ||
# Copyright (c) 2024. All Rights Reserved. | ||
# | ||
# Learn more about Kurocado Studio: {@link https://www.kurocado.studio} | ||
# | ||
# Explore our open-source projects: {@link https://github.com/kurocado-studio} | ||
# | ||
|
||
name: CI/CD Pipeline | ||
|
||
permissions: | ||
contents: write | ||
id-token: write | ||
pages: write | ||
pull-requests: write | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
|
||
jobs: | ||
lint: | ||
uses: kurocado-studio/styleguide/.github/workflows/workflow.lint.yml@main | ||
secrets: inherit | ||
|
||
test: | ||
needs: lint | ||
uses: kurocado-studio/styleguide/.github/workflows/workflow.test.yml@main | ||
secrets: inherit | ||
|
||
document: | ||
needs: test | ||
uses: kurocado-studio/styleguide/.github/workflows/workflow.document.yml@main | ||
secrets: inherit | ||
|
||
release: | ||
needs: document | ||
uses: kurocado-studio/styleguide/.github/workflows/workflow.release.yml@main | ||
secrets: inherit | ||
with: | ||
branch_name: ${{ github.ref }} | ||
|
||
deploy: | ||
needs: release | ||
uses: kurocado-studio/styleguide/.github/workflows/workflow.deploy.yml@main | ||
secrets: | ||
fly_api_token: ${{ secrets.FLY_API_TOKEN }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# | ||
# Made with ❤️ and adobo by Kurocado Studio | ||
# Copyright (c) 2024. All Rights Reserved. | ||
# | ||
# Learn more about Kurocado Studio: {@link https://www.kurocado.studio} | ||
# | ||
# Explore our open-source projects: {@link https://github.com/kurocado-studio} | ||
# | ||
|
||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: pnpm # See documentation for possible values | ||
directory: '/' # Location of package manifests | ||
schedule: | ||
interval: weekly | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- dependencies | ||
- dependabot |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
node_modules | ||
|
||
/.cache | ||
/build | ||
/.idea | ||
/public/build | ||
.env |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package-lock.json | ||
package.json | ||
pnpm-lock.yaml | ||
.codesandbox |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# syntax = docker/dockerfile:1 | ||
|
||
# Adjust NODE_VERSION as desired | ||
ARG NODE_VERSION=20.10.0 | ||
FROM node:${NODE_VERSION}-slim as base | ||
|
||
LABEL fly_launch_runtime="NestJS" | ||
|
||
# NestJS app lives here | ||
WORKDIR /app | ||
|
||
# Set production environment | ||
ENV NODE_ENV="production" | ||
|
||
# Install pnpm | ||
ARG PNPM_VERSION=9 | ||
RUN npm install -g pnpm@$PNPM_VERSION | ||
|
||
|
||
# Throw-away build stage to reduce size of final image | ||
FROM base as build | ||
|
||
# Install packages needed to build node modules | ||
RUN apt-get update -qq && \ | ||
apt-get install --no-install-recommends -y build-essential node-gyp pkg-config python-is-python3 | ||
|
||
# Install node modules | ||
COPY package.json pnpm-lock.yaml ./ | ||
RUN pnpm install --frozen-lockfile --prod=false | ||
|
||
# Copy application code | ||
COPY . . | ||
|
||
# Build application | ||
RUN pnpm run build | ||
|
||
|
||
# Final stage for app image | ||
FROM base | ||
|
||
# Copy built application | ||
COPY --from=build /app /app | ||
|
||
# Start the server by default, this can be overwritten at runtime | ||
EXPOSE 3000 | ||
CMD ["pnpm", "start"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 Kurocado Studio | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!-- | ||
* Made with ❤️ and adobo by Kurocado Studio | ||
* Copyright (c) 2024. All Rights Reserved. | ||
* | ||
* Learn more about Kurocado Studio: {@link https://www.kurocado.studio} | ||
* | ||
* Explore our open-source projects: {@link https://github.com/kurocado-studio} | ||
--> | ||
|
||
# Welcome to Remix! | ||
|
||
- [Remix Docs](https://remix.run/docs) | ||
|
||
## Development | ||
|
||
From your terminal: | ||
|
||
```sh | ||
npm run dev | ||
``` | ||
|
||
This starts your app in development mode, rebuilding assets on file changes. | ||
|
||
## Deployment | ||
|
||
First, build your app for production: | ||
|
||
```sh | ||
npm run build | ||
``` | ||
|
||
Then run the app in production mode: | ||
|
||
```sh | ||
npm start | ||
``` | ||
|
||
Now you'll need to pick a host to deploy it to. | ||
|
||
### DIY | ||
|
||
If you're familiar with deploying node applications, the built-in Remix app server is | ||
production-ready. | ||
|
||
Make sure to deploy the output of `remix build` | ||
|
||
- `build/` | ||
- `public/build/` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE categories | ||
SYSTEM "https://resources.jetbrains.com/writerside/1.0/categories.dtd"> | ||
<categories> | ||
<category id="wrs" name="Writerside documentation" order="1"/> | ||
</categories> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE buildprofiles SYSTEM "https://resources.jetbrains.com/writerside/1.0/build-profiles.dtd"> | ||
<buildprofiles xsi:noNamespaceSchemaLocation="https://resources.jetbrains.com/writerside/1.0/build-profiles.xsd" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
|
||
<variables></variables> | ||
<build-profile instance="dcs"> | ||
<variables> | ||
<noindex-content>false</noindex-content> | ||
</variables> | ||
</build-profile> | ||
|
||
</buildprofiles> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE instance-profile | ||
SYSTEM "https://resources.jetbrains.com/writerside/1.0/product-profile.dtd"> | ||
|
||
<instance-profile id="dcs" | ||
name="styleguide-remix-template" | ||
start-page="starter-topic.md"> | ||
|
||
<toc-element topic="starter-topic.md"/> | ||
</instance-profile> |