Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Carson templates #60

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/fuzzy-suits-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@jakubmazanec/carson-templates': patch
---

Npm scripts in all project templates were fixed; `build`, `document` and `test` tasks now clean
their output directories beforehand.
6 changes: 6 additions & 0 deletions .changeset/great-crabs-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@jakubmazanec/changesets-changelog': patch
'@jakubmazanec/eslint-config': patch
---

Npm scripts were fixed; `build` and `test` tasks now clean their output directories beforehand.
14 changes: 14 additions & 0 deletions .changeset/silly-kangaroos-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
'@jakubmazanec/carson-templates': patch
'@jakubmazanec/zod-utils': patch
'@jakubmazanec/fs-utils': patch
'@jakubmazanec/template': patch
'@jakubmazanec/ts-utils': patch
'@jakubmazanec/carson': patch
'@jakubmazanec/error': patch
'@jakubmazanec/args': patch
'@jakubmazanec/cli': patch
---

Npm scripts were fixed; `build`, `document` and `test` tasks now clean their output directories
beforehand.
Binary file modified packages/args/.carson/project.snapshot
Binary file not shown.
6 changes: 3 additions & 3 deletions packages/args/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"src"
],
"scripts": {
"build": "swc src -d dist && tsc",
"build": "del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc",
"clean": "del-cli coverage dist *.tsbuildinfo",
"document": "typedoc --options typedoc.config.cjs",
"document": "del-cli docs && typedoc --options typedoc.config.cjs",
"format": "prettier . --write --ignore-unknown --ignore-path ../../.prettierignore",
"lint": "eslint .",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"test": "del-cli coverage && cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"typecheck": "tsc --project tsconfig.typecheck.json"
},
"dependencies": {
Expand Down
Binary file modified packages/carson-templates/.carson/project.snapshot
Binary file not shown.
6 changes: 3 additions & 3 deletions packages/carson-templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"templates"
],
"scripts": {
"build": "swc src -d dist && tsc",
"build": "del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc",
"clean": "del-cli coverage dist *.tsbuildinfo",
"document": "typedoc --options typedoc.config.cjs",
"document": "del-cli docs && typedoc --options typedoc.config.cjs",
"format": "prettier . --write --ignore-unknown --ignore-path ../../.prettierignore",
"lint": "eslint .",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"test": "del-cli coverage && cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"typecheck": "tsc --project tsconfig.typecheck.json"
},
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ let packageJson = {
},
files: ['dist', 'src', 'templates'],
scripts: {
build: 'swc src -d dist && tsc',
build: 'del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc',
clean: 'del-cli coverage dist *.tsbuildinfo',
document: 'typedoc --options typedoc.config.cjs',
document: 'del-cli docs && typedoc --options typedoc.config.cjs',
format: 'prettier . --write --ignore-unknown --ignore-path ../../.prettierignore',
lint: 'eslint .',
test: 'cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests',
test: 'del-cli coverage && cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests',
typecheck: 'tsc --project tsconfig.typecheck.json',
},
devDependencies: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ let packageJson = {
exports: './dist/main.js',
files: ['dist', 'src'],
scripts: {
build: 'swc src -d dist && tsc',
build: 'del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc',
clean: 'del-cli coverage dist *.tsbuildinfo',
format: 'prettier . --write --ignore-unknown --ignore-path ../../.prettierignore',
lint: 'eslint .',
test: 'jest --passWithNoTests',
test: 'del-cli coverage && jest --passWithNoTests',
typecheck: 'tsc --project tsconfig.typecheck.json',
},
packageManager: '[email protected]',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ let packageJson = {
},
files: ['dist', 'src'],
scripts: {
build: 'swc src -d dist && tsc',
build: 'del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc',
clean: 'del-cli coverage dist *.tsbuildinfo',
format: 'prettier . --write --ignore-unknown --ignore-path ../../.prettierignore',
lint: 'eslint .',
test: 'jest --passWithNoTests',
test: 'del-cli coverage && jest --passWithNoTests',
typecheck: 'tsc --project tsconfig.typecheck.json',
},
packageManager: '[email protected]',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ let packageJson = lodash.merge(
exports: './dist/main.js',
files: ['dist', 'src'],
scripts: {
build: 'swc src -d dist && tsc',
build: 'del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc',
clean: 'del-cli coverage dist *.tsbuildinfo',
document: 'typedoc --options typedoc.config.cjs',
document: 'del-cli docs && typedoc --options typedoc.config.cjs',
format:
'prettier . --write --ignore-unknown --ignore-path ../../.prettierignore',
lint: 'eslint .',
test: 'cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests',
test: 'del-cli coverage && cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests',
typecheck: 'tsc --project tsconfig.typecheck.json',
},
devDependencies: developmentDependencies,
Expand Down
Binary file modified packages/carson/.carson/project.snapshot
Binary file not shown.
6 changes: 3 additions & 3 deletions packages/carson/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
"src"
],
"scripts": {
"build": "swc src -d dist && tsc",
"build": "del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc",
"clean": "del-cli coverage dist *.tsbuildinfo",
"develop": "swc src -d dist --watch",
"document": "typedoc --options typedoc.config.cjs",
"document": "del-cli docs && typedoc --options typedoc.config.cjs",
"format": "prettier . --write --ignore-unknown --ignore-path ../../.prettierignore",
"lint": "eslint .",
"start": "node --loader ts-node/esm/transpile-only --inspect src/run.ts",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"test": "del-cli coverage && cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"typecheck": "tsc --project tsconfig.typecheck.json"
},
"dependencies": {
Expand Down
Binary file modified packages/changesets-changelog/.carson/project.snapshot
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/changesets-changelog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"src"
],
"scripts": {
"build": "swc src -d dist && tsc",
"build": "del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc",
"clean": "del-cli coverage dist *.tsbuildinfo",
"format": "prettier . --write --ignore-unknown --ignore-path ../../.prettierignore",
"lint": "eslint .",
"test": "jest --passWithNoTests",
"test": "del-cli coverage && jest --passWithNoTests",
"typecheck": "tsc --project tsconfig.typecheck.json"
},
"dependencies": {
Expand Down
Binary file modified packages/cli/.carson/project.snapshot
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"src"
],
"scripts": {
"build": "swc src -d dist && tsc",
"build": "del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc",
"clean": "del-cli coverage dist *.tsbuildinfo",
"develop": "concurrently \"swc src -d dist --watch\" \"tsc --watch\"",
"document": "typedoc --options typedoc.config.cjs",
"document": "del-cli docs && typedoc --options typedoc.config.cjs",
"format": "prettier . --write --ignore-unknown --ignore-path ../../.prettierignore",
"lint": "eslint .",
"test": "cross-env FORCE_COLOR=1 NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
Expand Down
Binary file modified packages/error/.carson/project.snapshot
Binary file not shown.
6 changes: 3 additions & 3 deletions packages/error/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"src"
],
"scripts": {
"build": "swc src -d dist && tsc",
"build": "del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc",
"clean": "del-cli coverage dist *.tsbuildinfo",
"document": "typedoc --options typedoc.config.cjs",
"document": "del-cli docs && typedoc --options typedoc.config.cjs",
"format": "prettier . --write --ignore-unknown --ignore-path ../../.prettierignore",
"lint": "eslint .",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"test": "del-cli coverage && cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"typecheck": "tsc --project tsconfig.typecheck.json"
},
"dependencies": {
Expand Down
Binary file modified packages/eslint-config/.carson/project.snapshot
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
"src"
],
"scripts": {
"build": "swc src -d dist && tsc",
"build": "del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc",
"check-rules": "ts-node --files --project tools/check-rules/tsconfig.json tools/check-rules/index.ts",
"clean": "del-cli coverage dist *.tsbuildinfo",
"format": "prettier . --write --ignore-unknown --ignore-path ../../.prettierignore",
"lint": "eslint .",
"test": "jest --passWithNoTests",
"test": "del-cli coverage && jest --passWithNoTests",
"typecheck": "tsc --project tsconfig.typecheck.json"
},
"dependencies": {
Expand Down
Binary file modified packages/fs-utils/.carson/project.snapshot
Binary file not shown.
6 changes: 3 additions & 3 deletions packages/fs-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"src"
],
"scripts": {
"build": "swc src -d dist && tsc",
"build": "del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc",
"clean": "del-cli coverage dist *.tsbuildinfo",
"document": "typedoc --options typedoc.config.cjs",
"document": "del-cli docs && typedoc --options typedoc.config.cjs",
"format": "prettier . --write --ignore-unknown --ignore-path ../../.prettierignore",
"lint": "eslint .",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"test": "del-cli coverage && cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"typecheck": "tsc --project tsconfig.typecheck.json"
},
"dependencies": {
Expand Down
Binary file modified packages/template/.carson/project.snapshot
Binary file not shown.
6 changes: 3 additions & 3 deletions packages/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"src"
],
"scripts": {
"build": "swc src -d dist && tsc",
"build": "del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc",
"clean": "del-cli coverage dist *.tsbuildinfo",
"document": "typedoc --options typedoc.config.cjs",
"document": "del-cli docs && typedoc --options typedoc.config.cjs",
"format": "prettier . --write --ignore-unknown --ignore-path ../../.prettierignore",
"lint": "eslint .",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"test": "del-cli coverage && cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"typecheck": "tsc --project tsconfig.typecheck.json"
},
"dependencies": {
Expand Down
Binary file modified packages/ts-utils/.carson/project.snapshot
Binary file not shown.
6 changes: 3 additions & 3 deletions packages/ts-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"src"
],
"scripts": {
"build": "swc src -d dist && tsc",
"build": "del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc",
"clean": "del-cli coverage dist *.tsbuildinfo",
"document": "typedoc --options typedoc.config.cjs",
"document": "del-cli docs && typedoc --options typedoc.config.cjs",
"format": "prettier . --write --ignore-unknown --ignore-path ../../.prettierignore",
"lint": "eslint .",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"test": "del-cli coverage && cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"typecheck": "tsc --project tsconfig.typecheck.json"
},
"devDependencies": {
Expand Down
Binary file modified packages/zod-utils/.carson/project.snapshot
Binary file not shown.
6 changes: 3 additions & 3 deletions packages/zod-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"src"
],
"scripts": {
"build": "swc src -d dist && tsc",
"build": "del-cli dist tsconfig.tsbuildinfo && swc src -d dist && tsc",
"clean": "del-cli coverage dist *.tsbuildinfo",
"document": "typedoc --options typedoc.config.cjs",
"document": "del-cli docs && typedoc --options typedoc.config.cjs",
"format": "prettier . --write --ignore-unknown --ignore-path ../../.prettierignore",
"lint": "eslint .",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"test": "del-cli coverage && cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
"typecheck": "tsc --project tsconfig.typecheck.json"
},
"dependencies": {
Expand Down
Loading