Skip to content

Commit e881a76

Browse files
refactor: migrate from Fractal to Fractality (#595)
## Overview Upgrades the project's component library and build tool — * from [frctl/fractal](https://github.com/frctl/fractal) * to [sitepark/fractality](https://github.com/sitepark/fractality) — because frctl/fractal#1167 (comment). ## Related - mirrors wesleyboar#2 ## Details > [!important] > See wesleyboar#2. --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Wesley B <wesleyboar@users.noreply.github.com>
1 parent 5f665da commit e881a76

File tree

11 files changed

+2267
-3357
lines changed

11 files changed

+2267
-3357
lines changed

.github/workflows/deploy-demo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Node.js
3131
uses: actions/setup-node@v4
3232
with:
33-
node-version: '18'
33+
node-version: '20'
3434

3535
- name: Install dependencies
3636
run: npm ci

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ node_modules
44
# PostCSS
55
.postcssrc.yml
66

7-
# Fractal
7+
# Fractality
88
demo
99
## Files used directly by demo but not clients, yet provided via dist
1010
dist/_utils
1111
## Empty file touched after auto-rebuild to trigger server live-refresh */
12-
fractal.server.refresh.css
12+
fractality.server.refresh.css
1313

1414
# IDE
1515
.vscode

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Notes:
171171
172172
### Prerequisites for Running
173173
174-
* Nodejs 15.x
174+
* Nodejs 20.x
175175
176176
### Quick Start
177177

bin/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const ARGS = mininmist( process.argv.slice( 2 ) );
99
const BUILD_ID = ARGS['build-id'] || '';
1010

1111
/* Theme: (default) */
12-
buildStylesheets('src/lib/_imports/**/*!(fractal.server.refresh).css', './dist', {
12+
buildStylesheets('src/lib/_imports/**/*!(fractality.server.refresh).css', './dist', {
1313
baseMirrorDir: 'src/lib/_imports',
1414
buildId: BUILD_ID
1515
});

docs/_fractal.md renamed to docs/_fractality.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# TACC Core Styles - Tips for Fractal Component Library
1+
# TACC Core Styles - Tips for Fractality Component Library
22

33
## Debugging
44

@@ -22,7 +22,7 @@ To see values available in a preview template, adapt this template code:
2222
To output values (like objects) in the console, adapt this config code:
2323

2424
```js
25-
const hbs = require('@frctl/handlebars')({
25+
const hbs = require('@fractality/handlebars')({
2626
helpers: {
2727
debug: function (optionalValue) {
2828
console.log('Current Context');
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
'use strict';
22

3-
const mandelbrot = require('@frctl/mandelbrot');
4-
const fractal = require('@frctl/fractal').create();
3+
const mandelbrotPackage = require('@fractality/mandelbrot');
4+
const fractal = require('@fractality/fractality').create();
5+
const mandelbrot = mandelbrotPackage.default || mandelbrotPackage;
56

67
// Get base theme
7-
const themeConfig = require('./fractal.theme.js');
8+
const themeConfig = require('./fractality.theme.js');
89
const theme = mandelbrot(themeConfig);
910

1011
// Configure UI
File renamed without changes.

0 commit comments

Comments
 (0)