@politecnicoopenunixlabs/slidev-theme-poul 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/.gitlab-ci.yml +58 -0
  2. package/.vale.ini +21 -0
  3. package/.vscode/extensions.json +3 -0
  4. package/LICENSE +674 -0
  5. package/README.md +50 -0
  6. package/components/Map.vue +39 -0
  7. package/example.md +96 -0
  8. package/favicon.ico +0 -0
  9. package/layouts/cover.vue +7 -0
  10. package/layouts/image-bg.vue +28 -0
  11. package/layouts/images/cc.png +0 -0
  12. package/layouts/images/course.jpg +0 -0
  13. package/layouts/images/events.jpg +0 -0
  14. package/layouts/images/sede.jpg +0 -0
  15. package/layouts/intro.vue +7 -0
  16. package/layouts/poul-intro/poul-leafletmap.js +23 -0
  17. package/layouts/poul-intro.md +46 -0
  18. package/package.json +29 -0
  19. package/setup/mermaid.ts +10 -0
  20. package/setup/shiki.ts +10 -0
  21. package/styles/index.ts +3 -0
  22. package/styles/layout.css +99 -0
  23. package/styles/poul/css/buttons.css +16 -0
  24. package/styles/poul/css/loader.css +47 -0
  25. package/styles/poul/css/pdf.css +72 -0
  26. package/styles/poul/img/creativecommons-by-nc-sa.svg +41 -0
  27. package/styles/poul/img/creativecommons-by-sa.svg +199 -0
  28. package/styles/poul/img/creativecommons-by.svg +155 -0
  29. package/styles/poul/img/creativecommons0.svg +98 -0
  30. package/styles/poul/img/logo/corelogo/corelogo-horizontal-black.svg +1 -0
  31. package/styles/poul/img/logo/corelogo/corelogo-horizontal-darkbg.svg +1 -0
  32. package/styles/poul/img/logo/corelogo/corelogo-horizontal-lightbg.svg +1 -0
  33. package/styles/poul/img/logo/corelogo/corelogo-horizontal-white.svg +1 -0
  34. package/styles/poul/img/logo/corelogo/corelogo-lapid-black.svg +1 -0
  35. package/styles/poul/img/logo/corelogo/corelogo-lapid-darkbg.svg +1 -0
  36. package/styles/poul/img/logo/corelogo/corelogo-lapid-lightbg.svg +1 -0
  37. package/styles/poul/img/logo/corelogo/corelogo-lapid-white.svg +1 -0
  38. package/styles/poul/img/logo/corelogo/corelogo-minilapid-black.svg +1 -0
  39. package/styles/poul/img/logo/corelogo/corelogo-minilapid-darkbg.svg +1 -0
  40. package/styles/poul/img/logo/corelogo/corelogo-minilapid-lightbg.svg +1 -0
  41. package/styles/poul/img/logo/corelogo/corelogo-minilapid-white.svg +1 -0
  42. package/styles/poul/img/logo/logomark-black.svg +1 -0
  43. package/styles/poul/img/logo/logomark-darkbg.svg +1 -0
  44. package/styles/poul/img/logo/logomark-lightbg.svg +1 -0
  45. package/styles/poul/img/logo/logomark-white.svg +1 -0
  46. package/styles/poul.css +683 -0
  47. package/typecheck/.gitignore +3 -0
  48. package/typecheck/config/.gitignore +1 -0
  49. package/typecheck/config/dictionaries/en_US.aff +205 -0
  50. package/typecheck/config/dictionaries/en_US.dic +79579 -0
  51. package/typecheck/config/dictionaries/it_IT.aff +3376 -0
  52. package/typecheck/config/dictionaries/it_IT.dic +95194 -0
  53. package/typecheck/config/vocabularies/POuL/accept.txt +4 -0
  54. package/typecheck/config/vocabularies/POuL/reject.txt +0 -0
  55. package/uno.config.ts +3 -0
package/.gitlab-ci.yml ADDED
@@ -0,0 +1,58 @@
1
+ stages:
2
+ - lint
3
+ - build
4
+ - publish
5
+ - deploy
6
+
7
+ lint:
8
+ stage: lint
9
+ image: jdkato/vale:v3.13.0
10
+ script:
11
+ - vale sync
12
+ - vale components layouts example.md
13
+ when: manual
14
+ allow_failure: true
15
+
16
+ build:
17
+ stage: build
18
+ image: node:24-alpine
19
+ script:
20
+ - npm i
21
+ - npm run build
22
+ artifacts:
23
+ paths:
24
+ - dist
25
+
26
+ publish:
27
+ rules:
28
+ - if: ('$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH') && ('$CI_COMMIT_TAG =~ /^v([0-9]+\.[0-9]+\.[0-9]+)$/')
29
+ stage: publish
30
+ dependencies:
31
+ - build
32
+ image: node:23-alpine
33
+ script:
34
+ - export SCOPE=$(cat package.json | jq -r '.name')
35
+ - export COMPANY=$(echo "$SCOPE" | awk -F\/ '{print $1}')
36
+ - echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
37
+ - npm publish --access public
38
+
39
+ publish-nightly:
40
+ rules:
41
+ - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
42
+ stage: publish
43
+ dependencies:
44
+ - build
45
+ image: node:23-slim
46
+ before_script:
47
+ - apt update
48
+ - apt install -y jq
49
+ script:
50
+ - export SCOPE=$(cat package.json | jq -r '.name')
51
+ - export COMPANY=$(echo "$SCOPE" | awk -F\/ '{print $1}')
52
+ - export REGISTRY=${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/
53
+ - cat <<< $(jq ".publishConfig[\"${COMPANY}:registry\"] = \"https://${REGISTRY}\"" package.json) > package.json
54
+ - echo "${SCOPE}:registry=https://${REGISTRY}" > .npmrc
55
+ - echo "//${REGISTRY}:_authToken=${CI_JOB_TOKEN}" >> .npmrc
56
+ - npm version prerelease --preid=nightly.$CI_COMMIT_SHORT_SHA --no-git-tag-version
57
+ - npm publish
58
+
package/.vale.ini ADDED
@@ -0,0 +1,21 @@
1
+ StylesPath = typecheck
2
+
3
+ ; MinAlertLevel = suggestion
4
+
5
+
6
+ Packages = RedHat
7
+
8
+ Vocab = POuL
9
+
10
+ [*.{html,md}]
11
+ # ^ This section applies to only Markdown files.
12
+ #
13
+ # You can change (or add) file extensions here
14
+ # to apply these settings to other file types.
15
+ #
16
+ # For example, to apply these settings to both
17
+ # Markdown and reStructuredText:
18
+ #
19
+ # [*.{md,rst}]
20
+ BasedOnStyles = Vale, RedHat, POuL
21
+
@@ -0,0 +1,3 @@
1
+ {
2
+ "recommendations": ["antfu.slidev"]
3
+ }