@sarimarcus/content-sites-core 0.1.0-rc.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.
- package/CHANGELOG.md +10 -0
- package/LICENSE +21 -0
- package/README.md +12 -0
- package/package.json +38 -0
- package/src/config/index.ts +2 -0
- package/src/dates/index.ts +2 -0
- package/src/dom/index.ts +2 -0
- package/src/types/index.ts +2 -0
- package/src/url/index.ts +2 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All packages in the platform release in lockstep; entries are per release version.
|
|
4
|
+
|
|
5
|
+
## 0.1.0-rc.0 (2026-09-29)
|
|
6
|
+
|
|
7
|
+
First release candidate.
|
|
8
|
+
|
|
9
|
+
- Package scaffold: named subpath exports per folder (`url`, `dates`, `dom`, `config`, `types`), MIT (SLA-2734).
|
|
10
|
+
- No runtime code yet; published so `ui` can pin it as its exact lockstep peer.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Olivier Depiesse
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# @sarimarcus/content-sites-core
|
|
2
|
+
|
|
3
|
+
Non-visual code shared by the content sites: generic utilities, Astro config builders, SEO schema assembly,
|
|
4
|
+
and the type contracts `ui` and `tourism` build on (for example the card item and tag-link shapes that
|
|
5
|
+
today's ui components import from tourism code).
|
|
6
|
+
|
|
7
|
+
Named entry points: `url`, `dates`, `dom`, `config` and `types` (`src/internal` is never exported). No `.astro`
|
|
8
|
+
files. Lowest layer: imports nothing from the other packages. Ownership per path is in
|
|
9
|
+
`.planning/platform/catalogue.json` (owner `core`).
|
|
10
|
+
|
|
11
|
+
Code Node loads directly (config builders imported by `astro.config.mjs`) ships compiled to `dist/` with
|
|
12
|
+
type declarations. Node will not strip types from files under `node_modules`.
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sarimarcus/content-sites-core",
|
|
3
|
+
"version": "0.1.0-rc.0",
|
|
4
|
+
"description": "Non-visual utilities, Astro config builders and SEO schema assembly shared by the content sites.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/Sarimarcus/content-sites-factory.git"
|
|
13
|
+
},
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=22.12.0"
|
|
16
|
+
},
|
|
17
|
+
"sideEffects": [
|
|
18
|
+
"**/*.css"
|
|
19
|
+
],
|
|
20
|
+
"files": [
|
|
21
|
+
"src",
|
|
22
|
+
"dist",
|
|
23
|
+
"README.md",
|
|
24
|
+
"CHANGELOG.md",
|
|
25
|
+
"LICENSE"
|
|
26
|
+
],
|
|
27
|
+
"exports": {
|
|
28
|
+
"./package.json": "./package.json",
|
|
29
|
+
"./url": "./src/url/index.ts",
|
|
30
|
+
"./dates": "./src/dates/index.ts",
|
|
31
|
+
"./dom": "./src/dom/index.ts",
|
|
32
|
+
"./config": "./src/config/index.ts",
|
|
33
|
+
"./types": "./src/types/index.ts"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"astro": "^7.0.6"
|
|
37
|
+
}
|
|
38
|
+
}
|
package/src/dom/index.ts
ADDED
package/src/url/index.ts
ADDED