Skip to content

Commit

Permalink
chore: Revert commits (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas-Krahn authored Jan 16, 2025
2 parents 2677ffb + b9ac89a commit deede65
Show file tree
Hide file tree
Showing 295 changed files with 5,932 additions and 49,091 deletions.
File renamed without changes.
File renamed without changes.
9 changes: 5 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,29 @@ on:
branches-ignore:
- 'main'
- 'releases/**'
- 'develop'
paths-ignore:
- 'SBOM.json'
- '*.md'
- '.github/**/*'
- 'docs/**/*'
jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 20.x, 22.x ]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

# Install Turborepo
- run: npm i
- run: npm run test
- run: npm run build --if-present
- run: npm test
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '22.x'

# Install Turborepo
- run: npm i

- name: Build all packages and release them
- name: Install dependencies
run: npm install

- name: Build project
run: npm run build --if-present

- name: Run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run release
run: npm run release
14 changes: 6 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build
/lib

# Config, Logs etc.
# misc
.DS_Store
.env.local
.env.development.local
Expand All @@ -20,11 +22,7 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.idea/

.idea
**/.turbo

# Generated files
**/node_modules
**/dist
**/build
# example project
/example/dist
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ information about the section can be found [here](https://github.com/iavofficial

Here's a quick look of an example of the IAV Frontend Framework:

<img src="assets/login.png"/>
<img src="login.png"/>

<img src="assets/menu.png"/>
<img src="menu.png"/>

## License

Expand Down
Binary file modified SBOM.spdx
Binary file not shown.
179 changes: 0 additions & 179 deletions baseReleaseRc.json

This file was deleted.

File renamed without changes.
4 changes: 2 additions & 2 deletions docs/color-settings-and-dark-mode.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h2 id="introduction">Introduction</h2>
class="cell"
><code class="lang-typescript"><span class="hljs-keyword">import</span> {BLUE0} <span
class="hljs-keyword">from</span> <span
class="hljs-string">"@work-test/frontend-framework/constants"</span>;
class="hljs-string">"@iavofficial/frontend-framework/constants"</span>;
</code></pre>
<h1 id="overwrite-default-colors">Overwrite default colors</h1>
<h2 id="css">CSS</h2>
Expand Down Expand Up @@ -375,7 +375,7 @@ <h2 id="implement-dark-mode-using-the-colorsettings-context">
<span class="hljs-keyword">import</span> { ColorSettingsContext } <span class="hljs-keyword">from</span> <span
class="hljs-string">'disa-framework/colorSettingsContext'</span>;
<span class="hljs-keyword">import</span> <span
class="hljs-string">'@work-test/frontend-framework/globalColors.css'</span>;
class="hljs-string">'@iavofficial/frontend-framework/globalColors.css'</span>;

<span class="hljs-keyword">export</span> <span class="hljs-keyword">const</span> ExampleComponent = <span
class="hljs-function"><span class="hljs-params">()</span> =&gt;</span> {
Expand Down
6 changes: 3 additions & 3 deletions docs/content-area.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ <h3>The ContentLayout component</h3>
<pre class="cell"><code class="lang-typescript"><span
class="hljs-keyword">import</span> { CellPaddings, ContentCell } <span
class="hljs-keyword">from</span> <span
class="hljs-string">'@work-test/frontend-framework/contentCell'</span>;
class="hljs-string">'@iavofficial/frontend-framework/contentCell'</span>;
<span class="hljs-keyword">import</span> { ContentLayout, LayoutBehaviour } <span class="hljs-keyword">from</span> <span
class="hljs-string">'@work-test/frontend-framework/contentLayout'</span>;
class="hljs-string">'@iavofficial/frontend-framework/contentLayout'</span>;

<span class="hljs-keyword">export</span> <span class="hljs-keyword">const</span> ExampleComponent = <span
class="hljs-function"><span class="hljs-params">()</span> =&gt;</span> {
Expand Down Expand Up @@ -380,7 +380,7 @@ <h2 id="contentcell">ContentCell</h2>
class="cell"
><code class="lang-typescript"><span class="hljs-keyword">import</span> { ContentCell } <span
class="hljs-keyword">from</span> <span
class="hljs-string">'@work-test/frontend-framework/contentCell'</span>;
class="hljs-string">'@iavofficial/frontend-framework/contentCell'</span>;
<span class="hljs-keyword">import</span> React <span class="hljs-keyword">from</span> <span
class="hljs-string">'react'</span>;

Expand Down
2 changes: 1 addition & 1 deletion docs/information.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h2 id="imports">Imports</h2>
</p>
<pre class="cell"><code><span
class="pl-k">import</span> { <span class="pl-v">UILayer</span> } <span class="pl-k">from</span> <span
class="pl-s">"@work-test/frontend-framework/uiLayer";</span></code></pre>
class="pl-s">"@iavofficial/frontend-framework/uiLayer";</span></code></pre>

<h2 id="support-for-class-and-function-based-components">
Support for class and function based components
Expand Down
6 changes: 3 additions & 3 deletions docs/installation-guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h1 id="installation-guide">Installation Guide</h1>
<h3 id="npm-install">npm install</h3>
<pre
class="cell"
><code>npm install @work-test/frontend-framework</code></pre>
><code>npm install @iavofficial/frontend-framework</code></pre>

<h2 id="add-the-framework-to-a-new-react-application">
Add the framework to a new React application
Expand All @@ -51,8 +51,8 @@ <h2 id="add-the-framework-to-a-new-react-application">

<h3 id="codesnippet-app-tsx">Codesnippet App.tsx</h3>
<pre class="cell">
<code><span class="pl-k">import</span> { GlobalDataLayer } <span class="pl-k">from</span> <span class="pl-s">'@work-test/frontend-framework/globalDataLayer';</span>
<span class="pl-k">import</span> { UILayer } <span class="pl-k">from</span> <span class="pl-s">'@work-test/frontend-framework/uiLayer';</span>
<code><span class="pl-k">import</span> { GlobalDataLayer } <span class="pl-k">from</span> <span class="pl-s">'@iavofficial/frontend-framework/globalDataLayer';</span>
<span class="pl-k">import</span> { UILayer } <span class="pl-k">from</span> <span class="pl-s">'@iavofficial/frontend-framework/uiLayer';</span>

<span class="pl-k">const</span> App: React.FC = () => {
<span class="pl-k">return</span> (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit deede65

Please sign in to comment.