Skip to content

refactor: switch to Astro #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .browserlistrc

This file was deleted.

31 changes: 31 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[*.json]
indent_size = 2

[*.{html,js,md}]
block_comment_start = /**
block_comment = *
block_comment_end = */

[*.scss]
indent_size = 4
22 changes: 6 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.DS_Store

# Runtime data
pids
Expand All @@ -17,15 +18,6 @@ lib-cov
# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

Expand All @@ -36,11 +28,12 @@ build/Release
/dist
/tmp
/out-tsc

/site
public/
src/data/

# Dependency directories
/node_modules/
/jspm_packages/

# IDE - VSCode/VS
.vscode/*
Expand All @@ -50,9 +43,6 @@ build/Release
!.vscode/launch.json
!.vscode/extensions.json

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

Expand All @@ -71,5 +61,5 @@ typings/
# dotenv environment variables file
.env

# next.js build output
.next
# astro build output
.astro
4 changes: 0 additions & 4 deletions .jshintrc

This file was deleted.

11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"plugins": ["prettier-plugin-astro"],
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
]
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2019 INFRAGISTICS.
Copyright 2025 INFRAGISTICS.

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,
Expand Down
43 changes: 43 additions & 0 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import { defineConfig } from "astro/config";
import expressiveCode from "astro-expressive-code";
import pagefind from "astro-pagefind";

export default defineConfig({
output: "static",
outDir: "./site",
build: {
assets: "_assets",
format: "file",
},
integrations: [
expressiveCode({
themes: ["github-light"],
styleOverrides: {
borderRadius: "0",
borderWidth: "1px",
borderColor: "var(--ig-gray-300)",
frames: {
shadowColor: "none",
},
},
shiki: {
bundledLangs: ["scss", "html"],
engine: "oniguruma",
},
defaultProps: {
wrap: true,
},
}),
pagefind(),
],
vite: {
css: {
preprocessorOptions: {
scss: {
quietDeps: true,
loadPaths: ["./node_modules/"],
},
},
},
},
});
224 changes: 0 additions & 224 deletions gulpfile.js

This file was deleted.

Loading
Loading