-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(api-console-gui): attempt to get it working
- Loading branch information
Showing
8 changed files
with
165 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
NODE_ENV=development |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: Setup | ||
description: '' | ||
|
||
inputs: | ||
node-version: | ||
description: Node.js version | ||
required: true | ||
default: 18.7.1 | ||
|
||
pnpm-version: | ||
description: pnpm version | ||
required: true | ||
default: 8.7.4 | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: pnpm/action-setup@v2 | ||
name: Install pnpm | ||
with: | ||
version: ${{ inputs.pnpm-version }} | ||
|
||
- uses: actions/setup-node@v3 | ||
name: Install Node.js | ||
with: | ||
node-version: ${{ inputs.node-version }} | ||
registry-url: https://registry.npmjs.org | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
shell: bash | ||
env: | ||
CI: 'true' | ||
|
||
- name: Set GITHUB_BRANCH and NX_BRANCH environment variable in pull request | ||
if: github.event_name == 'pull_request' | ||
shell: bash | ||
run: | | ||
echo "GITHUB_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV | ||
echo "NX_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV | ||
- name: Set GITHUB_BRANCH and NX_BRANCH environment variable | ||
if: github.event_name != 'pull_request' | ||
shell: bash | ||
run: | | ||
echo "GITHUB_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV | ||
echo "NX_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV | ||
- name: Derive appropriate SHAs for base and head for `nx affected` commands | ||
uses: nrwl/nx-set-shas@v3 | ||
|
||
- name: Cache Nx | ||
uses: actions/cache@v2 | ||
with: | ||
path: node_modules/.cache/nx | ||
key: cache-nx-${{ env.NX_BASE }}-${{ env.NX_HEAD }} | ||
restore-keys: | | ||
cache-nx-${{ env.NX_BASE }}- | ||
cache-nx- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,68 +2,10 @@ | |
"name": "@deepkit/api-console-gui", | ||
"version": "1.0.1-alpha.97", | ||
"description": "API Console GUI", | ||
"scripts": { | ||
"ng": "ng", | ||
"start": "NODE_OPTIONS=--preserve-symlinks ng serve", | ||
"build": "rm -rf .angular && NODE_OPTIONS=--preserve-symlinks ng build --configuration production", | ||
"build:dev": "NODE_OPTIONS=--preserve-symlinks ng build", | ||
"watch": "NODE_OPTIONS=--preserve-symlinks ng build --watch", | ||
"test": "NODE_OPTIONS=--preserve-symlinks ng test", | ||
"lint": "NODE_OPTIONS=--preserve-symlinks ng lint", | ||
"e2e": "NODE_OPTIONS=--preserve-symlinks ng e2e" | ||
}, | ||
"repository": "https://github.com/deepkit/deepkit-framework", | ||
"author": "Marc J. Schmidt <[email protected]>", | ||
"license": "MIT", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"devDependencies": { | ||
"@angular-devkit/build-angular": "^15.0.0", | ||
"@angular/animations": "^15.0.0", | ||
"@angular/cdk": "^15.0.0", | ||
"@angular/cli": "~15.0.0", | ||
"@angular/common": "^15.0.0", | ||
"@angular/compiler": "^15.0.0", | ||
"@angular/compiler-cli": "^15.0.0", | ||
"@angular/core": "^15.0.0", | ||
"@angular/forms": "^15.0.0", | ||
"@angular/platform-browser": "^15.0.0", | ||
"@angular/platform-browser-dynamic": "^15.0.0", | ||
"@angular/router": "^15.0.0", | ||
"@deepkit/api-console-api": "^1.0.1-alpha.97", | ||
"@deepkit/bson": "^1.0.1-alpha.97", | ||
"@deepkit/core": "^1.0.1-alpha.97", | ||
"@deepkit/core-rxjs": "^1.0.1-alpha.97", | ||
"@deepkit/crypto": "^1.0.1-alpha.89", | ||
"@deepkit/desktop-ui": "^1.0.1-alpha.97", | ||
"@deepkit/event": "^1.0.1-alpha.97", | ||
"@deepkit/injector": "^1.0.1-alpha.97", | ||
"@deepkit/logger": "^1.0.1-alpha.97", | ||
"@deepkit/rpc": "^1.0.1-alpha.97", | ||
"@deepkit/stopwatch": "^1.0.1-alpha.97", | ||
"@deepkit/type": "^1.0.1-alpha.97", | ||
"@deepkit/type-compiler": "^1.0.1-alpha.97", | ||
"@deepkit/ui-library": "^1.0.1-alpha.56", | ||
"@types/jasmine": "~4.3.0", | ||
"@types/marked": "^4.0.3", | ||
"hammerjs": "^2.0.8", | ||
"jasmine-core": "~4.5.0", | ||
"karma": "~6.4.0", | ||
"karma-chrome-launcher": "~3.1.0", | ||
"karma-coverage": "~2.2.0", | ||
"karma-jasmine": "~5.1.0", | ||
"karma-jasmine-html-reporter": "~2.0.0", | ||
"marked": "^4.0.17", | ||
"ngx-markdown": "^15.0.0", | ||
"object-inspect": "^1.11.0", | ||
"prismjs": "^1.24.1", | ||
"rxjs": "~7.5.0", | ||
"tslib": "^2.3.0", | ||
"typescript": "~4.8.2", | ||
"zone.js": "~0.12.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { composePlugins, withNx } from '@nx/webpack'; | ||
import { withDeepkit } from '@deepkit/nx-webpack-plugin'; | ||
|
||
// FIXME: TypeError: transformer is not a function | ||
export default composePlugins(withNx(), withDeepkit()); |
Oops, something went wrong.