Skip to content

Commit

Permalink
chore: Move test apps into apps/ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsharvey committed Jun 2, 2024
1 parent 8a0e127 commit 544838e
Show file tree
Hide file tree
Showing 17 changed files with 13 additions and 13 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "testapp1-commonjs",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/testapp1-commonjs/src",
"sourceRoot": "apps/testapp1-commonjs/src",
"projectType": "library",
"tags": [],
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/testapp1-commonjs",
"main": "libs/testapp1-commonjs/src/index.ts",
"tsConfig": "libs/testapp1-commonjs/tsconfig.lib.json",
"assets": ["libs/testapp1-commonjs/*.md"]
"outputPath": "dist/apps/testapp1-commonjs",
"main": "apps/testapp1-commonjs/src/index.ts",
"tsConfig": "apps/testapp1-commonjs/tsconfig.lib.json",
"assets": ["apps/testapp1-commonjs/*.md"]
}
},
"test-js-node": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { testapp1Commonjs } from "./lib/testapp1-commonjs";
import { testapp1Commonjs } from './lib/testapp1-commonjs';

(async function() {
console.log('TEST', await testapp1Commonjs());
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "testapp2-esm",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/testapp2-esm/src",
"sourceRoot": "apps/testapp2-esm/src",
"projectType": "library",
"tags": [],
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/testapp2-esm",
"main": "libs/testapp2-esm/src/index.ts",
"tsConfig": "libs/testapp2-esm/tsconfig.lib.json",
"assets": ["libs/testapp2-esm/*.md"]
"outputPath": "dist/apps/testapp2-esm",
"main": "apps/testapp2-esm/src/index.ts",
"tsConfig": "apps/testapp2-esm/tsconfig.lib.json",
"assets": ["apps/testapp2-esm/*.md"]
}
},
"test-js-node": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"baseUrl": ".",
"paths": {
"@harves/nx-node-esm-plugin": ["libs/nx-node-esm-plugin/src/index.ts"],
"@harves/testapp1-commonjs": ["libs/testapp1-commonjs/src/index.ts"],
"@harves/testapp2-esm": ["libs/testapp2-esm/src/index.ts"],
"@harves/testapp1-commonjs": ["apps/testapp1-commonjs/src/index.ts"],
"@harves/testapp2-esm": ["apps/testapp2-esm/src/index.ts"],
"@harves/testlib1-commonjs": ["libs/testlib1-commonjs/src/index.ts"],
"@harves/testlib2-esm": ["libs/testlib2-esm/src/index.ts"],
"@nx-node-esm-plugin/node-runner": ["libs/node-runner/src/index.ts"]
Expand Down

0 comments on commit 544838e

Please sign in to comment.