squared 0.3.11 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 249f3799dc2e8a511a03aec91e04dc84f707cf7b21eb194b89e53805321001c6
4
- data.tar.gz: 4906775ef2c64fae979a3b21a142a19b1f4d17ad4e659b577a41dc971e1c7b4d
3
+ metadata.gz: a6a70feacca1b87fbe9d6da4e71045212f5dc5e9add78e93e8223a5f73b6f6d9
4
+ data.tar.gz: b73756bef57213d92fe4ed5f0763945645315a06a8d084bb32e40105ce78d64e
5
5
  SHA512:
6
- metadata.gz: a575c60ad790e1852dad7220d2783bd32e03bfd62d0a04326e5ee72a1868d89ed49b3a50f85504d097ba06d9bd673997770abd091fc0a6da661c7253186b861f
7
- data.tar.gz: fb026dc84454c92e2c09ee52d1fc3fddf0f6f33a071f389abbbc0de6ec584d696e1feed133e05502d5f431d2b67998133e6e5f79b98dd5d382c337e000469d98
6
+ metadata.gz: 34c45acd9506ad1bc7018c0b0f73e1e2db7623d6b42b7b3199ee7cb7394716a1ec13484d15a71d343415ccd4090a1217579416fba8010b5977cbc324bbf7b849
7
+ data.tar.gz: 62ac8c5ea8289fcb08dbf1c5e2cca60e06ea5470eb1f8ec1ce667bcce5cc0eec5d67448ac1b2642a7b5af0c2f3e30530f6513374d2642baa2993aca3ad769608
data/CHANGELOG.md CHANGED
@@ -1,123 +1,54 @@
1
1
  # Changelog
2
2
 
3
- ## [0.3.11] - 2025-05-15
3
+ ## [0.4.0] - 2025-03-06
4
4
 
5
- - See `0.2.11`.
6
-
7
- ## [0.2.11] - 2025-05-15
8
-
9
- ### Fixed
10
-
11
- - Disabled batch and alias tasks were not hidden.
12
- - Workspace git did not parse multiple download URIs.
13
-
14
- ## [0.1.8] - 2025-05-15
15
-
16
- ### Fixed
17
-
18
- - Disabled batch and alias tasks were not hidden.
19
- - Log messages were written to terminal twice when emphasized.
20
- - Node outdated interactive for major would sometimes deactivate.
21
- - Node outdated interactive for major was mislabeled as minor.
22
-
23
- ## [0.3.10] - 2025-04-27
24
-
25
- ### Fixed
26
-
27
- - Git command reset action commit used invalid delimeter.
28
- - Git single option values were not merged as per specification.
29
- - Project script task did not fire first and last callbacks.
30
- - Git task status did not display branch information.
31
- - Git checkout action commit did not include options.
32
-
33
- ### Removed
34
-
35
- - Git command files action ignored could not be used alone.
36
-
37
- ## [0.2.10] - 2025-04-27
38
-
39
- ### Fixed
40
-
41
- - Project run and script tasks did not fire first and last callbacks.
42
- - Git command clone did not read booleans for recurse-submodules.
43
-
44
- ## [0.1.7] - 2025-04-27
45
-
46
- ### Fixed
47
-
48
- - Project directory context method option pass was inverted.
49
- - Shell options with spaces and without quotes were not escaped.
50
- - Git task status did not display branch information.
51
- - Ruby copy method argument include was ignored when used directly.
52
- - Git commit could not push branch without same name as remote.
53
-
54
- ## [0.3.9] - 2025-04-17
55
-
56
- ### Fixed
57
-
58
- - Project option parser did not separate custom values.
5
+ ### Added
59
6
 
60
- ## [0.2.9] - 2025-04-17
7
+ - Git global command revbuild was created.
8
+ - Git rev command action build was implemented.
9
+ - Log messages can be hidden with ENV setting LOG_LEVEL.
10
+ - Project base command unpack was created.
11
+ - Project global task archive was created.
12
+ - Workspace style subject was created.
13
+ - Python command build was implemented.
14
+ - Python command publish was implemented.
15
+ - Project base class Docker was created.
16
+ - Docker command container action run was implemented.
17
+ - Docker command container action exec was implemented.
18
+ - Docker command container targets were implemented.
19
+ - Project build args can be constructed from a hash.
20
+ - Docker commands commit with push were implemented.
21
+ - Docker images can be built from Compose or Bake.
22
+ - Docker command compose with actions were implemented.
23
+ - Docker default files for Compose and Bake are detected.
24
+ - Docker command compose action up was implemented.
25
+ - Project base tasks can call methods in a series.
26
+ - Docker command image action list with run was implemented.
27
+ - Repo build ENV option REPO_DRYRUN was created.
28
+ - Unicode borders can be activated using enable_aixterm.
29
+ - Git program options are available to sub-commands.
30
+ - Git command mv and rm were implemented.
31
+ - Git command clean was implemented.
32
+ - Git command merge was implemented.
33
+ - Git command revert was implemented.
34
+ - Git global command branch was created.
61
35
 
62
36
  ### Changed
63
37
 
64
- - Project log file naming supports more date formats.
38
+ - Node copy method will only override when key exists.
39
+ - Base command copy and clean can accept a hash.
40
+ - Character methods in Shell common module were removed.
41
+ - ENV build options are merged with base options.
42
+ - Git command diff action cached was removed.
43
+ - Git log and diff uses H0 alias for HEAD~n commit.
44
+ - Project events support multiple associated routines.
45
+ - Git command restore was relocated to "git" task namespace.
65
46
 
66
47
  ### Fixed
67
48
 
68
- - Environment options did not always pass session object.
69
- - Git command pull actions used unknown flags.
70
- - Workspace describe did not merge multiple invocations.
71
-
72
- ## [0.1.6] - 2025-04-17
73
-
74
- ### Fixed
75
-
76
- - User-defined program paths were not reduced to bare name.
77
- - Project path validation did not include separator.
78
-
79
- ## [0.3.8] - 2025-04-12
80
-
81
- ### Fixed
82
-
83
- - Project class did not parse verbose string values.
84
-
85
- ## [0.2.8] - 2025-04-12
86
-
87
- ### Fixed
88
-
89
- - User-defined program paths were not sanitized for ENV.
90
- - Project clean task used incompatible rmtree flag.
91
- - Git branch unset-upstream used undefined variable.
92
-
93
- ## [0.3.7] - 2025-04-08
94
-
95
- - See `0.2.7`.
96
-
97
- ## [0.2.7] - 2025-04-08
98
-
99
- ### Fixed
100
-
101
- - Paths that conflict with git options can be quoted.
102
- - Bundle command update did not append package names.
103
- - Git result status type was truncated.
104
- - Log messages were concatenated without separator.
105
- - Python pip environment options used undefined session.
106
- - Regexp "o" modifier was not used properly.
107
- - Rake did not run individual project Rakefile.
108
- - Ruby commands did not delimit exec arguments.
109
-
110
- ## [0.3.6] - 2025-03-12
111
-
112
- ### Added
113
-
114
- - Git command stash action clear was implemented.
115
-
116
- ### Fixed
117
-
118
- - Git command stash did not validate index argument.
119
- - Project graph command does not require arguments.
120
- - Ruby gem command exec did not add project name.
49
+ - Git base class did not check for null Logger instance.
50
+ - Banner border width extended past terminal edge.
51
+ - Task program command options used unrecognized symbol.
121
52
 
122
53
  ## [0.3.5] - 2025-03-06
123
54
 
@@ -144,7 +75,6 @@
144
75
 
145
76
  - Project exceptions were hard coded preventing override.
146
77
  - Project clean events were called twice.
147
- - Git events were fired for internal background tasks.
148
78
  - Git list display did not support single grep pattern.
149
79
  - Gem outdated did not pass -C option for PWD.
150
80
 
@@ -335,6 +265,7 @@
335
265
  - Git commit hash uses string interpolation format.
336
266
  - Git options ending with "!" use conventional "no-" prefix.
337
267
  - Git pull and reset commands were reduced.
268
+ - Project graph uses ASCII characters by default.
338
269
 
339
270
  ### Fixed
340
271
 
@@ -342,7 +273,7 @@
342
273
  - Node tasks without any action are not displayed.
343
274
  - Git fetch commands that do not apply to pull are rejected.
344
275
 
345
- ## [0.1.3] - 2025-01-02
276
+ ## [0.1.3] - 2024-01-02
346
277
 
347
278
  ### Fixed
348
279
 
@@ -421,23 +352,13 @@
421
352
 
422
353
  - Changelog was created.
423
354
 
424
- [0.3.11]: https://github.com/anpham6/squared/releases/tag/v0.3.11-ruby
425
- [0.3.10]: https://github.com/anpham6/squared/releases/tag/v0.3.10-ruby
426
- [0.3.9]: https://github.com/anpham6/squared/releases/tag/v0.3.9-ruby
427
- [0.3.8]: https://github.com/anpham6/squared/releases/tag/v0.3.8-ruby
428
- [0.3.7]: https://github.com/anpham6/squared/releases/tag/v0.3.7-ruby
429
- [0.3.6]: https://github.com/anpham6/squared/releases/tag/v0.3.6-ruby
355
+ [0.4.0]: https://github.com/anpham6/squared/releases/tag/v0.4.0-ruby
430
356
  [0.3.5]: https://github.com/anpham6/squared/releases/tag/v0.3.5-ruby
431
357
  [0.3.4]: https://github.com/anpham6/squared/releases/tag/v0.3.4-ruby
432
358
  [0.3.3]: https://github.com/anpham6/squared/releases/tag/v0.3.3-ruby
433
359
  [0.3.2]: https://github.com/anpham6/squared/releases/tag/v0.3.2-ruby
434
360
  [0.3.1]: https://github.com/anpham6/squared/releases/tag/v0.3.1-ruby
435
361
  [0.3.0]: https://github.com/anpham6/squared/releases/tag/v0.3.0-ruby
436
- [0.2.11]: https://github.com/anpham6/squared/releases/tag/v0.2.11-ruby
437
- [0.2.10]: https://github.com/anpham6/squared/releases/tag/v0.2.10-ruby
438
- [0.2.9]: https://github.com/anpham6/squared/releases/tag/v0.2.9-ruby
439
- [0.2.8]: https://github.com/anpham6/squared/releases/tag/v0.2.8-ruby
440
- [0.2.7]: https://github.com/anpham6/squared/releases/tag/v0.2.7-ruby
441
362
  [0.2.6]: https://github.com/anpham6/squared/releases/tag/v0.2.6-ruby
442
363
  [0.2.5]: https://github.com/anpham6/squared/releases/tag/v0.2.5-ruby
443
364
  [0.2.4]: https://github.com/anpham6/squared/releases/tag/v0.2.4-ruby
@@ -445,9 +366,6 @@
445
366
  [0.2.2]: https://github.com/anpham6/squared/releases/tag/v0.2.2-ruby
446
367
  [0.2.1]: https://github.com/anpham6/squared/releases/tag/v0.2.1-ruby
447
368
  [0.2.0]: https://github.com/anpham6/squared/releases/tag/v0.2.0-ruby
448
- [0.1.8]: https://github.com/anpham6/squared/releases/tag/v0.1.8-ruby
449
- [0.1.7]: https://github.com/anpham6/squared/releases/tag/v0.1.7-ruby
450
- [0.1.6]: https://github.com/anpham6/squared/releases/tag/v0.1.6-ruby
451
369
  [0.1.5]: https://github.com/anpham6/squared/releases/tag/v0.1.5-ruby
452
370
  [0.1.4]: https://github.com/anpham6/squared/releases/tag/v0.1.4-ruby
453
371
  [0.1.3]: https://github.com/anpham6/squared/releases/tag/v0.1.3-ruby
data/README.md CHANGED
@@ -137,19 +137,30 @@ rake clone # node + docs
137
137
  # DEV={0,1,local}
138
138
  # DOCS=any
139
139
  # PIPE_FAIL={0,1}
140
+ # PORT=3000
140
141
  docker build -t squared --build-arg MANIFEST=prod --build-arg SQUARED=prod .
141
142
  docker build -t node --build-arg NODE_TAG=20 --build-arg NODE_INSTALL=pnpm -f Dockerfile.slim . # no docs
143
+ docker buildx bake node
142
144
  # OR
143
145
  # RUBY_TAG=latest
144
146
  # NODE_VERSION=22.x
145
- docker build -t ruby --build-arg RUBY_TAG=3.0 --build-arg NODE_VERSION=20.x --build-arg PIPE_FAIL=0 -f Dockerfile.ruby .
147
+ docker build -t ruby --build-arg RUBY_TAG=3.0.0 --build-arg NODE_VERSION=20.x --build-arg PIPE_FAIL=0 -f Dockerfile.ruby .
148
+ docker buildx bake ruby
149
+ # OR
150
+ # NGINX_VERSION=1.27
151
+ # NGINX_VARIANT=bookworm
152
+ docker build -t nginx --build-arg NGINX_VERSION=1.27 --build-arg PORT=3000 --build-arg NODE_VERSION=18.x -f Dockerfile.nginx .
153
+ docker buildx bake nginx
146
154
 
147
155
  # Express
148
- docker run -it --name express --rm -p 127.0.0.1:80:80 \
156
+ docker run -it --name express --rm -p 3000:3000 \
149
157
  --mount type=bind,src=${PWD},dst=/workspaces/squared/.config \
150
158
  --mount type=bind,src=${PWD}/html,dst=/workspaces/squared/www \
151
159
  squared
152
160
 
161
+ docker run -it --name express --rm -p 443:443 --build-arg PORT=443 squared \
162
+ serve --access-all --https --env=production
163
+
153
164
  # Terminal
154
165
  docker run -it --name debian squared /bin/bash # irb
155
166
  ```