Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Mar 28, 2024
1 parent b900f66 commit a253652
Show file tree
Hide file tree
Showing 13 changed files with 14,428 additions and 5,732 deletions.
402 changes: 402 additions & 0 deletions .astro/types.d.ts

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions .github/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 90

# Number of days of inactivity before a stale issue is closed
daysUntilClose: 30

# Issues with these labels will never be considered stale
exemptLabels:
- feature
- enhancement
- bug

# Label to use when marking an issue as stale
staleLabel: wontfix

# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
27 changes: 27 additions & 0 deletions .github/workflows/general.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: general

on:
push:
branches:
- main
tags:
- v*.*.*
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: npm install
- name: Test software
run: npm test
165 changes: 30 additions & 135 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,158 +1,53 @@
# Logs
logs
*.log
npm-debug.log*
# server
*.python

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
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
# Mac
.DS_Store

# node-waf configuration
# Node
node_modules/
jspm_packages/
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# Livemark
blog/**/*.html
docs/**/*.html
index.html
404.html

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
.npm
*.so

# Distribution / packaging
.Python
.python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

pip-wheel-metadata/

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
# Testing
coverage
htmlcov/
lib-cov
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
.nyc_output
coverage.xml
*,cover
.hypothesis/
.eslintcache

# Translations
*.mo
*.pot

# Django stuff:
# Logs
logs
*.log
local_settings.py

# Flask instance folder
instance/

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# IPython Notebook
.ipynb_checkpoints

# pyenv
.python-version

# dotenv
.env
npm-debug.log*

# Spyder project settings
.spyderproject
# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Livemark
/blog/**/*.html
/docs/**/*.html
/index.html
/404.html
# Translations
*.mo
*.pot

# Extra
package-lock.json
.frictionless/
.server/
.env
static/
dist/
site/
lib/
tmp/
.vim
.vercel
.astro
.vim/
.yarn/
.user/
.cache/
.clinic/
.vscode/
.wrangler/
dist/
build/
18 changes: 3 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,12 @@ Data Package is a standard containing a set of lightweight specifications for de

One can contribute by clicking on the "Edit Page" button on a site page and create a pull request directly on Github.

Prerequisite for running the project locally:
Running the project locally:

```bash
brew install corepack # MacOs only
sudo corepack enable
```

Base commands:

```bash
pnpm install
npm install
npm start
```

Building profiles:

```bash
node build.js
npm run build
```

## Funding
Expand Down
56 changes: 28 additions & 28 deletions components/about.astro
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
---
import {funding} from '../assets'
import {Image} from 'astro:assets'
import { funding } from "../assets"
import { Image } from "astro:assets"
interface Props {
title: string;
title: string
}
const { title } = Astro.props;
const { title } = Astro.props
---

<article class="sl-flex not-content" aria-labelledby="about-astro-heading">
<small id="about-astro-heading">
{title}
<span class="sr-only">Astro</span>
</small>
<Image src={funding.okfn} alt="Open Knowledge Foundation" />
<slot />
<small id="about-astro-heading">
{title}
<span class="sr-only">Astro</span>
</small>
<Image src={funding.okfn} alt="Open Knowledge Foundation" />
<slot />
</article>

<style>
article {
max-width: 40rem;
margin-inline: auto;
padding-block: 5rem;
flex-direction: column;
align-items: center;
text-align: center;
gap: 0.5rem;
}
article > :global(*) {
max-width: 50ch;
}
small {
color: var(--sl-color-gray-3);
}
svg {
width: 15rem;
}
article {
max-width: 40rem;
margin-inline: auto;
padding-block: 5rem;
flex-direction: column;
align-items: center;
text-align: center;
gap: 0.5rem;
}
article > :global(*) {
max-width: 50ch;
}
small {
color: var(--sl-color-gray-3);
}
svg {
width: 15rem;
}
</style>
Loading

0 comments on commit a253652

Please sign in to comment.