Skip to content

Commit

Permalink
chore(config): installs stable release @kurocado-studio/styleguide (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
csantiago132 authored Dec 9, 2024
1 parent 106ae0f commit c4c2698
Show file tree
Hide file tree
Showing 51 changed files with 11,093 additions and 15,958 deletions.
15 changes: 11 additions & 4 deletions .codesandbox/template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"title": "Remix",
"description": "The official Remix Cloud Sandbox Template by the CodeSandbox team",
"iconUrl": "https://raw.githubusercontent.com/codesandbox/sandbox-templates/main/remix/.codesandbox/icon.png",
"tags": ["frontend", "starter", "react", "remix", "javascript", "typescript"],
"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
}
9 changes: 9 additions & 0 deletions .commitlintrc.js
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';
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules

/.cache
/build
/public/build
.env
83 changes: 0 additions & 83 deletions .eslintrc.cjs

This file was deleted.

50 changes: 50 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#
# 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: inherit
21 changes: 21 additions & 0 deletions .github/workflows/dependabot.yml
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ node_modules

/.cache
/build
/.idea
/public/build
.env
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/material_theme_project_new.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/prettier.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/styleguide-remix-template.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package-lock.json
package.json
pnpm-lock.yaml
.codesandbox
46 changes: 46 additions & 0 deletions Dockerfile
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"]
21 changes: 21 additions & 0 deletions LICENSE
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.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
* 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)
Expand Down Expand Up @@ -30,7 +39,8 @@ 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.
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`

Expand Down
6 changes: 6 additions & 0 deletions Writerside/c.list
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>
13 changes: 13 additions & 0 deletions Writerside/cfg/buildprofiles.xml
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>
Loading

0 comments on commit c4c2698

Please sign in to comment.