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

techor

Package Overview
Dependencies
Maintainers
1
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

techor - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

package.json

@@ -1,1 +0,1 @@

{"name":"techor","scripts":{"build:main":"rollup --config rollup.config.mjs","build:type":"tsc --emitDeclarationOnly --preserveWatchOutput","build":"pnpm run \"/^build:.*/\"","dev":"pnpm run \"/^build:.*/\" --watch","test":"cd tests && pnpm i && cd ../ && jest","type-check":"tsc --noEmit","lint":"eslint src"},"type":"module","license":"MIT","description":"Author technology like a top leader","author":{"name":"Aron","email":"i@aron.tw","url":"https://aron.tw"},"homepage":"https://github.com/1aron/techor","bugs":{"url":"https://github.com/1aron/techor/issues"},"repository":{"type":"git","url":"https://github.com/1aron/techor.git","directory":"packages/techor"},"keywords":["author","technology","creator","config","opensource","plugin","package","framework","tool","software","pack","version","bump","bundle","commonjs","esm","esmodule"],"bin":{"techor":"./dist/bin/index.mjs"},"main":"./dist/index.cjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"sideEffects":false,"publishConfig":{"access":"public"},"dependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-swc":"^0.3.0","@swc/core":"^1.3.106","@techor/extend":"^3.0.0","@techor/fs":"^3.0.0","@techor/glob":"^3.0.0","@techor/log":"^3.0.0","@techor/npm":"^3.0.0","clsx":"^2.0.0","commander":"^11.0.0","esbuild":"^0.20.1","escodegen":"^2.1.0","execa":"^7.2.0","explore-config":"^3.0.0","hrtime":"^0.5.0","lodash.isequal":"^4.5.0","magic-string":"^0.30.7","pkg-types":"^1.0.1","pretty-bytes":"^6.1.0","pretty-hrtime":"^1.0.3","rollup":"^4.11.0","rollup-plugin-swc-minify":"^1.1.0","rollup-plugin-ts":"^3.4.5","trim-newlines":"^5.0.0","upath":"^2.0.1","wide-align":"^1.1.5"},"devDependencies":{"dedent":"^0.7.0"},"version":"3.0.0"}
{"name":"techor","scripts":{"build:main":"rollup --config rollup.config.mjs","build:type":"tsc --emitDeclarationOnly --preserveWatchOutput","build":"pnpm run \"/^build:.*/\"","dev":"pnpm run \"/^build:.*/\" --watch","test":"cd tests && pnpm i && cd ../ && jest","type-check":"tsc --noEmit","lint":"eslint src"},"type":"module","license":"MIT","description":"Author technology like a top leader","author":{"name":"Aron","email":"i@aron.tw","url":"https://aron.tw"},"homepage":"https://github.com/1aron/techor","bugs":{"url":"https://github.com/1aron/techor/issues"},"repository":{"type":"git","url":"https://github.com/1aron/techor.git","directory":"packages/techor"},"keywords":["author","technology","creator","config","opensource","plugin","package","framework","tool","software","pack","version","bump","bundle","commonjs","esm","esmodule"],"bin":{"techor":"./dist/bin/index.mjs"},"main":"./dist/index.cjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"sideEffects":false,"publishConfig":{"access":"public"},"dependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-swc":"^0.3.0","@swc/core":"^1.3.106","@techor/extend":"^3.0.1","@techor/fs":"^3.0.1","@techor/glob":"^3.0.1","@techor/log":"^3.0.1","@techor/npm":"^3.0.1","clsx":"^2.0.0","commander":"^11.0.0","esbuild":"^0.20.1","escodegen":"^2.1.0","execa":"^7.2.0","explore-config":"^3.0.1","hrtime":"^0.5.0","lodash.isequal":"^4.5.0","magic-string":"^0.30.7","pkg-types":"^1.0.1","pretty-bytes":"^6.1.0","pretty-hrtime":"^1.0.3","rollup":"^4.11.0","rollup-plugin-swc-minify":"^1.1.0","rollup-plugin-ts":"^3.4.5","trim-newlines":"^5.0.0","upath":"^2.0.1","wide-align":"^1.1.5"},"devDependencies":{"dedent":"^0.7.0"},"version":"3.0.1"}

@@ -93,39 +93,2 @@ <br>

You can now use [Turborepo](https://turbo.build/repo) to easily build complex systems and run commands in one-linear.
![turborepo-excalidraw](https://user-images.githubusercontent.com/33840671/204613029-cc4eaef9-ed82-400f-aa65-a1f1ec5864c7.jpeg)
Set up the `/turbo.json`:
```json
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"dev": {
"cache": false,
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"test": {
"outputs": [],
"inputs": [
"src/**/*.tsx",
"src/**/*.ts",
"tests/**/*.ts"
]
},
"lint": {
"outputs": []
},
"type-check": {
"outputs": ["dist/**"]
}
}
}
```
Set up the scripts of `/package.json`:

@@ -135,48 +98,11 @@ ```json

"scripts": {
"dev": "turbo run dev",
"build": "turbo run build",
"test": "turbo run test --parallel",
"lint": "turbo run lint --parallel",
"type-check": "turbo run type-check --parallel"
"dev": "pnpm dev",
"build": "pnpm build",
"test": "pnpm --parallel test",
"lint": "pnpm --parallel lint",
"type-check": "pnpm --parallel type-check"
}
}
```
In most cases, `dev` and `build` cannot add the `--parallel` flag, which breaks their dependencies.
Typical workspace scripts for authoring a package:
```json
{
"scripts": {
"build": "ts-node ../techor/src/bin pack",
"dev": "pnpm run build --watch",
"test": "jest",
"type-check": "tsc --noEmit",
"lint": "eslint src"
}
}
```
From now on, you only need to **run the command in the project root** after opening the project.
```bash
pnpm run dev
```
Build your application or package:
```bash
pnpm run build
```
Test your business logic or UI by running scripts:
```bash
pnpm run test
```
Find and fix problems in JavaScript code before building:
```bash
pnpm run lint
```
Improve reliability with TypeScript's type checking:
```bash
pnpm run type-check
```
### Continuous Integration

@@ -183,0 +109,0 @@

Sorry, the diff of this file is not supported yet

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