Skip to content

Commit 4aa171e

Browse files
committed
init
0 parents  commit 4aa171e

95 files changed

Lines changed: 11501 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/bright-beds-grow.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@learningmap/learningmap": patch
3+
"@learningmap/web-component": patch
4+
"web": patch
5+
---
6+
7+
Initial commit

.changeset/config.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@1.6.0/schema.json",
3+
"access": "public",
4+
"baseBranch": "main",
5+
"changelog": [
6+
"@changesets/changelog-github",
7+
{
8+
"repo": "openpatch/learningmap"
9+
}
10+
],
11+
"privatePackages": {
12+
"version": true,
13+
"tag": true
14+
},
15+
"commit": false,
16+
"ignore": [],
17+
"updateInternalDependencies": "patch"
18+
}

.github/FUNDING.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: [openpatch]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: #
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Create Pull Request or Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
name: Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Repo
14+
uses: actions/checkout@v4
15+
with:
16+
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
17+
fetch-depth: 0
18+
19+
- uses: pnpm/action-setup@v4
20+
with:
21+
version: 9.1.1
22+
23+
- uses: actions/setup-node@v3
24+
with:
25+
node-version: 22
26+
cache: "pnpm"
27+
- name: Install dependencies
28+
run: pnpm install
29+
- name: Build packages
30+
run: |
31+
pnpm build
32+
33+
- name: Create Release Pull Request or Publish to npm
34+
id: changesets
35+
uses: changesets/action@v1
36+
with:
37+
publish: pnpm release
38+
version: pnpm version-packages
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/docs.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
javadocs:
10+
runs-on: ubuntu-latest
11+
12+
permissions:
13+
pages: write # needed to publish to GitHub Pages
14+
id-token: write # required for GitHub Pages deployment
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: 22
23+
24+
- name: Generate docs
25+
run: cd docs && npx hyperbook build
26+
27+
- name: Setup Pages
28+
uses: actions/configure-pages@v5
29+
30+
- name: Upload docs artifact
31+
uses: actions/upload-pages-artifact@v3
32+
with:
33+
path: docs/.hyperbook/out
34+
35+
- name: Deploy docs to GitHub Pages
36+
id: deployment
37+
uses: actions/deploy-pages@v4
38+

.github/workflows/pull-request.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Pull Request
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
test:
10+
name: Test
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: pnpm/action-setup@v4
15+
with:
16+
version: 9.1.1
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: 22
20+
cache: "pnpm"
21+
- name: Install dependencies
22+
run: pnpm install
23+
- name: Test packages
24+
run: pnpm test
25+
- name: Build packages
26+
run: pnpm build

.gitignore

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
vdirectory.book.json
2+
vdirectory.snippets.json
3+
vdirectory.archives.json
4+
vdirectory.glossary.json
5+
vdirectory.public.json
6+
vfiles.json
7+
8+
packages/markdown/index.html
9+
packages/markdown/public
10+
11+
*.zip
12+
13+
activity
14+
.env
15+
storybook-static
16+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
17+
*.tsbuildinfo
18+
19+
dist
20+
!packages/markdown/assets/directive-h5p/libraries/H5P.MathDisplay-1.0/dist
21+
# dependencies
22+
node_modules
23+
/.pnp
24+
.pnp.js
25+
26+
# testing
27+
coverage
28+
29+
# next.js
30+
.next
31+
out
32+
33+
# production
34+
build
35+
36+
# misc
37+
.DS_Store
38+
*.pem
39+
40+
# debug
41+
npm-debug.log*
42+
.pnpm-debug.log*
43+
yarn-debug.log*
44+
yarn-error.log*
45+
lerna-debug.log*
46+
47+
# local env files
48+
.env.local
49+
.env.development.local
50+
.env.test.local
51+
.env.production.local
52+
53+
# vercel
54+
.vercel

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm test

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
*.hbs
2+
hyperbook.schema.json
3+
hyperlibrary.schema.json
4+
pnpm-lock.yaml

0 commit comments

Comments
 (0)