Skip to content

Commit

Permalink
Rewrite to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
eoftedal committed Feb 6, 2023
1 parent ae0c399 commit 6be08e7
Show file tree
Hide file tree
Showing 25 changed files with 4,143 additions and 1,011 deletions.
29 changes: 0 additions & 29 deletions .eslintrc.js

This file was deleted.

13 changes: 13 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"env": {
"browser": false,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"]
}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
tmp/
.idea
.idea
lib/
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"semi": true,
"trailingComma": "all",
"singleQuote": false,
"tabWidth": 2,
"useTabs": true,
"printWidth": 120
}
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
26 changes: 21 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,79 +1,95 @@
# Changelog

## [1.0.0] - 2022-02-06

### Rewrite

- Rewritten to TypeScript

## [0.6.0] - 2022-02-03

### Added

- Support for config as .json-file

## [0.5.0] - 2022-01-19

### Added

- Support for adding environment variables similar to labels

### Fixed

- Don't try to add labels if none are specified

## [0.4.2] - 2023-01-19

### Fixed
- Initialize `config.container_config` in case it's `undefined`

- Initialize `config.container_config` in case it's `undefined`

## [0.4.1] - 2022-03-24

### Dependency update / security

- Update minimist due to vuln in 1.2.5: https://github.com/advisories/GHSA-xvch-5gv4-984h

## [0.4.0] - 2021-04-12

### Added

- Allow specifying multiple labels by using `--label` multiple times

## [0.3.2] - 2021-04-12

### Fixed
- Update help and readme

- Update help and readme

## [0.3.1] - 2021-02-10

### Fixed
- Unwanted debug logging

- Unwanted debug logging

## [0.3.0] - 2021-02-10

### Added
- Possible to add additional files/folders to specified destinations in the image with `--extraContent`

- Possible to add additional files/folders to specified destinations in the image with `--extraContent`

## [0.2.0] - 2020-08-05

### Added
- Support for setting the owner of the work folder (gid:uid)

- Support for setting the owner of the work folder (gid:uid)

## [0.1.0] - 2020-03-30

### Added

- Support custom layer (drops default entrypoint, user, workdir, node_modules layer and app layer). Only adds the specified files

## [0.0.11] - 2020-03-30

### Modified

- Don't include .git and .gitignore if in same folder

## [0.0.10] - 2020-03-08

### Modified

- Updated the README with improved example and missing option for the timestamp

## [0.0.9] - 2020-03-08

### Removed

- Removed files from npm package and simplified package.json to use defaults

## [0.0.8] - 2020-03-08

### Added

- Ability to set a specific timestamp on all files/tars/configs to support hermetic builds. Typically one would use the git commit time (`--setTimeStamp=$(git show -s --format="%aI" HEAD)`). If omitted, the timestamp is set to epoch 0. [`420e248`](https://github.com/eoftedal/doqr/commit/420e248e4daf5470e91834f11a52633a566f5783)
Loading

0 comments on commit 6be08e7

Please sign in to comment.