Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@travetto/compiler

Package Overview
Dependencies
Maintainers
1
Versions
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/compiler - npm Package Compare versions

Comparing version 3.0.0-rc.33 to 3.0.0-rc.34

4

bin/trv.js

@@ -19,2 +19,6 @@ #!/usr/bin/env node

const $getLauncher = async (ctx) => {
const tsconfigFile = path.resolve(ctx.workspacePath, 'tsconfig.json');
if (!(await fs.stat(tsconfigFile).catch(() => undefined))) {
await fs.writeFile(tsconfigFile, JSON.stringify({ extends: '@travetto/compiler/tsconfig.trv.json' }), 'utf8');
}
const compPkg = createRequire(path.resolve(ctx.workspacePath, 'node_modules')).resolve('@travetto/compiler/package.json');

@@ -21,0 +25,0 @@ const files = [];

8

package.json
{
"name": "@travetto/compiler",
"version": "3.0.0-rc.33",
"version": "3.0.0-rc.34",
"description": "The compiler infrastructure for the Travetto framework",

@@ -34,8 +34,8 @@ "keywords": [

"@parcel/watcher": "^2.1.0",
"@travetto/manifest": "^3.0.0-rc.18",
"@travetto/manifest": "^3.0.0-rc.19",
"@travetto/terminal": "^3.0.0-rc.11",
"@travetto/transformer": "^3.0.0-rc.22"
"@travetto/transformer": "^3.0.0-rc.23"
},
"peerDependencies": {
"@travetto/cli": "^3.0.0-rc.24"
"@travetto/cli": "^3.0.0-rc.25"
},

@@ -42,0 +42,0 @@ "peerDependenciesMeta": {

@@ -26,3 +26,3 @@ <!-- This file was generated by @travetto/doc and should not be modified directly -->

The cli, [trv](https://github.com/travetto/travetto/tree/main/module/compiler/bin/trv.js#L56) is a compilation aware entry point, that has the ability to check for active builds, and ongoing watch operations to ensure only one process is building at a time. Within the framework, regardless of mono-repo or not, always builds the entire project. With the efficient caching behavior, this leads to generally a minimal overhead but allows for centralization of all operations.
The cli, [trv](https://github.com/travetto/travetto/tree/main/module/compiler/bin/trv.js#L60) is a compilation aware entry point, that has the ability to check for active builds, and ongoing watch operations to ensure only one process is building at a time. Within the framework, regardless of mono-repo or not, always builds the entire project. With the efficient caching behavior, this leads to generally a minimal overhead but allows for centralization of all operations.

@@ -71,3 +71,3 @@ The CLI supports the following operations:

Given that the framework is distributed as [Typescript](https://typescriptlang.org) only files, there is a bootstrapping problem that needs to be mitigated. The [trv](https://github.com/travetto/travetto/tree/main/module/compiler/bin/trv.js#L56) entrypoint, along with a small context utility in [Manifest](https://github.com/travetto/travetto/tree/main/module/manifest#readme "Support for project indexing, manifesting, along with file watching") are the only [Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) files needed to run the project. The [trv](https://github.com/travetto/travetto/tree/main/module/compiler/bin/trv.js#L56) entry point will compile `@travetto/compiler/support/*` files as the set that is used at startup. These files are also accessible to the compiler as they get re-compiled after the fact.
Given that the framework is distributed as [Typescript](https://typescriptlang.org) only files, there is a bootstrapping problem that needs to be mitigated. The [trv](https://github.com/travetto/travetto/tree/main/module/compiler/bin/trv.js#L60) entrypoint, along with a small context utility in [Manifest](https://github.com/travetto/travetto/tree/main/module/manifest#readme "Support for project indexing, manifesting, along with file watching") are the only [Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) files needed to run the project. The [trv](https://github.com/travetto/travetto/tree/main/module/compiler/bin/trv.js#L60) entry point will compile `@travetto/compiler/support/*` files as the set that is used at startup. These files are also accessible to the compiler as they get re-compiled after the fact.

@@ -74,0 +74,0 @@ ### Lock Management

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc