-
-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add files. * More stuff. * More stuff. * Update docs. * Fix globs. * Add files. * Dont apply to root. * Fix root handling.
- Loading branch information
Showing
37 changed files
with
344 additions
and
25 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
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
1 change: 1 addition & 0 deletions
1
nextgen/project-graph/tests/__fixtures__/locate-configs/a/moon.yml
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 @@ | ||
{} |
Empty file.
1 change: 1 addition & 0 deletions
1
nextgen/project-graph/tests/__fixtures__/locate-configs/c/moon.yml
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 @@ | ||
{} |
Empty file.
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 @@ | ||
.moon/cache |
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,35 @@ | ||
fileGroups: | ||
sources: | ||
- '**/*' | ||
projectConfigs: | ||
- '*.json' | ||
- '*.js' | ||
|
||
tasks: | ||
buildComponent: | ||
# command: 'node ../../scripts/build-component.js .' | ||
command: 'echo $project' | ||
deps: | ||
- '^:buildComponent' | ||
- '~:buildComponentTypes' | ||
inputs: | ||
- '@globs(sources)' | ||
- '@group(projectConfigs)' | ||
# outputs: | ||
# - 'dist/index.js' | ||
# - 'dist/index.js.map' | ||
# - 'dist/index.mjs' | ||
# - 'dist/index.mjs.map' | ||
platform: 'system' | ||
buildComponentTypes: | ||
command: 'tsc --build' | ||
deps: | ||
- '^:build' | ||
inputs: | ||
- '@globs(sources)' | ||
- '@group(projectConfigs)' | ||
outputs: | ||
# - 'dist/src' | ||
# - 'dist/test' | ||
# - 'dist/tsconfig.tsbuildinfo' | ||
- 'dist' |
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,63 @@ | ||
# Configures Node.js within the toolchain. moon manages its own version of Node.js | ||
# instead of relying on a version found on the host machine. This ensures deterministic | ||
# and reproducible builds across any machine. | ||
node: | ||
# The version to use. Must be a semantic version that includes major, minor, and patch. | ||
# We suggest using the latest active LTS version: https://nodejs.org/en/about/releases | ||
version: '18.17.0' | ||
|
||
# The package manager to use when managing dependencies. | ||
# Accepts "npm" (default), "pnpm", or "yarn". | ||
packageManager: 'pnpm' | ||
|
||
# The version of the package manager (above) to use. | ||
# yarn: | ||
# version: '3.6.3' | ||
|
||
# Add `node.version` as a constraint in the root `package.json` `engines`. | ||
addEnginesConstraint: true | ||
|
||
# Dedupe dependencies after the lockfile has changed. | ||
dedupeOnLockfileChange: true | ||
|
||
# Version format to use when syncing dependencies within the project's `package.json`. | ||
dependencyVersionFormat: 'workspace-caret' | ||
|
||
# Infer and automatically create moon tasks from `package.json` scripts, per project. | ||
# BEWARE: Tasks and scripts are not 1:1 in functionality, so please refer to the documentation. | ||
inferTasksFromScripts: false | ||
|
||
# Sync a project's `dependsOn` as dependencies within the project's `package.json`. | ||
syncProjectWorkspaceDependencies: true | ||
|
||
# Sync `node.version` to a 3rd-party version manager's config file. | ||
# Accepts "nodenv" (.node-version), "nvm" (.nvmrc), or none. | ||
# syncVersionManagerConfig: 'nvm' | ||
|
||
# Configures how moon integrates with TypeScript. | ||
typescript: | ||
# When `syncProjectReferences` is enabled and a dependent project reference | ||
# *does not* have a `tsconfig.json`, automatically create one. | ||
createMissingConfig: true | ||
|
||
# Name of `tsconfig.json` file in each project root. | ||
# projectConfigFileName: 'tsconfig.json' | ||
|
||
# Name of `tsconfig.json` file in the workspace root. | ||
# rootConfigFileName: 'tsconfig.json' | ||
|
||
# Name of the config file in the workspace root that defines shared compiler | ||
# options for all project reference based config files. | ||
# rootOptionsConfigFileName: 'tsconfig.options.json' | ||
|
||
# Update a project's `tsconfig.json` to route the `outDir` compiler option | ||
# to moon's `.moon/cache` directory. | ||
routeOutDirToCache: false | ||
|
||
# Sync a project's `dependsOn` as project references within the | ||
# project's `tsconfig.json` and the workspace root `tsconfig.json`. | ||
syncProjectReferences: false | ||
|
||
# Sync a project's project references as import aliases to the `paths` | ||
# compiler option in each applicable project. | ||
syncProjectReferencesToPaths: false |
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,2 @@ | ||
projects: | ||
- '*' |
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,8 @@ | ||
tags: [component] | ||
|
||
workspace: | ||
inheritedTasks: | ||
exclude: | ||
- 'build' | ||
rename: | ||
buildComponent: build |
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,4 @@ | ||
{ | ||
"name": "base", | ||
"version": "1.0.0" | ||
} |
Empty file.
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,6 @@ | ||
{ | ||
"compilerOptions": { | ||
"outDir": "dist" | ||
}, | ||
"include": ["**/*"] | ||
} |
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,8 @@ | ||
tags: [component] | ||
|
||
workspace: | ||
inheritedTasks: | ||
exclude: | ||
- 'build' | ||
rename: | ||
buildComponent: build |
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,15 @@ | ||
{ | ||
"name": "chat", | ||
"version": "1.0.0", | ||
"peerDependencies": { | ||
"container": "^1.0.0", | ||
"base": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"container": "workspace:1.0.0", | ||
"base": "workspace:1.0.0" | ||
}, | ||
"dependencies": { | ||
"typescript": "^5.2.2" | ||
} | ||
} |
Empty file.
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,6 @@ | ||
{ | ||
"compilerOptions": { | ||
"outDir": "dist" | ||
}, | ||
"include": ["**/*"] | ||
} |
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,8 @@ | ||
tags: [component] | ||
|
||
workspace: | ||
inheritedTasks: | ||
exclude: | ||
- 'build' | ||
rename: | ||
buildComponent: build |
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,4 @@ | ||
{ | ||
"name": "container", | ||
"version": "1.0.0" | ||
} |
Empty file.
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,6 @@ | ||
{ | ||
"compilerOptions": { | ||
"outDir": "dist" | ||
}, | ||
"include": ["**/*"] | ||
} |
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,10 @@ | ||
{ | ||
"workspaces": [ | ||
"base", | ||
"chat", | ||
"container" | ||
], | ||
"engines": { | ||
"node": "18.17.0" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.