Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
2451db2
feat: initialize Cache package with a readme and a license
threeal May 9, 2023
0c1c602
feat(cache): initialize the Node.js package project
threeal May 9, 2023
36c4056
feat(cache): add `format` script and depends on the @actions-kit/dev
threeal May 9, 2023
f37aa58
feat(cache): add source files and `build` script
threeal May 9, 2023
6b3b917
build(cache): add a `lint` script
threeal May 9, 2023
b92764c
feat(cache): add `save` function that implemented from @actions/cache…
threeal May 9, 2023
dafa448
feat(cache): add a `restore` function that implements `restoreCache` …
threeal May 9, 2023
ce8709e
test(cache): add a test for saving and restoring cache
threeal May 9, 2023
31c532d
ci: add a Dependabot config for @actions-kit/cache package
threeal May 9, 2023
9faf08b
test(cache): modify file mocking from list of string to use dictionar…
threeal May 10, 2023
17d534f
test(cache): use recursive function when copied entries of mock files
threeal May 10, 2023
e20eb6b
test(cache): add support to glob patterns when copying entries
threeal May 10, 2023
66e985e
ci: add Cache Package in the list of `deps-by` job matrix packages
threeal May 10, 2023
ba0dfb8
docs(pip): rename `wildcards` term with `glob expressions`
threeal May 10, 2023
f05d526
MERGE: pull request #140 from `threeal/add-cache-package`
threeal May 10, 2023
013f807
feat(pip): replace @actions/cache with @actions-kit/cache
threeal May 10, 2023
455944c
MERGE: pull request #142 from `threeal/pip-use-cache-pkg`
threeal May 10, 2023
956c64e
feat(cache): add a new `Info` class with a constructor
threeal May 10, 2023
23a4127
test(cache): add a test for constructing a new cache info object
threeal May 10, 2023
18c5053
feat(cache): add a save and a restore functions in the cache info object
threeal May 11, 2023
7b2ae6f
test(cache): move `Entry` and `copyEntry` to the `helper.test.ts`
threeal May 11, 2023
77333f6
test(cache): add test for saving and restoring cache using a cache in…
threeal May 11, 2023
4fbb771
feat(cache): add a save and a restore cache info object functions
threeal May 11, 2023
0a45044
test(cache): add support in `Entry` for mocking the content of a file
threeal May 11, 2023
7dc3b6c
test(cache): add test for saving and restoring a cache info object
threeal May 11, 2023
dac4a28
docs(cache): reword the description of `key` property in the `info.ts`
threeal May 12, 2023
3bb9124
test(cache): use `string` as an entry path input type of the `copyEnt…
threeal May 12, 2023
be61f82
test(cache): use a much reliable system for file and directory mocking
threeal May 12, 2023
953f16c
test(cache): ignore `.test.ts` files from coverage check
threeal May 12, 2023
81eb254
MERGE: pull request #144 from `threeal/cache-add-info`
threeal May 12, 2023
051ab95
test: add a package for handling the integration tests
threeal May 12, 2023
707264d
build: make root's `test` script ignore integration test package by d…
threeal May 12, 2023
ad23c7b
build(i-test): add ESLint support
threeal May 12, 2023
03efbf7
build(i-test): add a `format` script using Prettier
threeal May 12, 2023
827f56c
build: add `integration-test` script in replacement of `test` script …
threeal May 12, 2023
7a93e17
feat(dev): remove `jest-serial-runner` from the configured Jest runner
threeal May 12, 2023
8c2db4d
MERGE: pull request #150 from `threeal/dev-disable-run-in-band`
threeal May 13, 2023
18e3317
build(lerna): modify targets dependencies
threeal May 13, 2023
4f9b3f7
build(lerna): add back the `clean` target for removing the build outp…
threeal May 13, 2023
b598220
build(lerna): remove @actions-kit/dev from implicit dependency of mos…
threeal May 14, 2023
520f4eb
build(dev): remove `test` script in the `package.json`
threeal May 14, 2023
4e1b79b
MERGE: pull request #151 from `threeal/lerna-modify-flow`
threeal May 14, 2023
bf324d2
merge: branch `main` into `add-back-integration-tests`
threeal May 19, 2023
5f8a02e
build(lerna): modify dependency of the `integration-test` target
threeal May 19, 2023
8530167
build(lerna): remove `integration-test` target in favor of `test` target
threeal May 19, 2023
27d5190
build(root): separate `test` script into two, with and without privat…
threeal May 19, 2023
b5f03e5
ci: build and test all packages (includes integration test) on non pu…
threeal May 19, 2023
eaced72
MERGE: pull request #148 from `threeal/add-back-integration-tests`
threeal May 19, 2023
1a0214e
feat(dev): add a `dev` binary
threeal May 19, 2023
a7a86d1
feat(dev): use `commander` to setup commands for the `dev` binary
threeal May 19, 2023
7a0ec5e
feat(dev): add a `build` command in the `dev` binary
threeal May 19, 2023
7e1004c
fix(dev): use `chmod-cli` to make `lib/dev.js` output to be an execut…
threeal May 19, 2023
9d6f43f
feat(dev): add a `clean` command in the `dev` binary
threeal May 19, 2023
0dfd640
ci: build `@actions-kit/dev` first before calling other scripts
threeal May 19, 2023
b69b24d
build: use npm workspace to handle sub-packages dependencies
threeal May 19, 2023
ff7a38b
build: remove `bootstrap` script in the `package.json`
threeal May 19, 2023
16e6355
MERGE: pull request #155 from `threeal/migrate-to-npm-workspace`
threeal May 19, 2023
7637d10
merge: branch `main` into `dev-add-binary`
threeal May 19, 2023
52d9638
feat(dev): add a `format` command in the `dev` binary
threeal May 20, 2023
9aebc30
refactor(dev): simplify command execution using a function
threeal May 20, 2023
22f39b9
feat(dev): add a `lint` command in the `dev` binary
threeal May 20, 2023
fe12377
feat(dev): add a `test` command in the `dev` binary
threeal May 20, 2023
7ae52b8
MERGE: pull request #153 from `threeal/dev-add-binary`
threeal May 20, 2023
9867c2c
test(i-test): add an integration test for installing a pip package
threeal May 20, 2023
d9aee10
chore(i-test): remove template test
threeal May 20, 2023
9439da4
test(i-test): add an integration test for uninstalling a pip package
threeal May 20, 2023
1d5bed0
test(i-test): add an integration test for checking a pip package info
threeal May 20, 2023
1e8ebf2
build(lerna): change `build` target to always depends on `format` target
threeal May 20, 2023
a5c23cb
build(lerna): change `test` target to always depends on `format` and …
threeal May 20, 2023
2dd519e
MERGE: pull request #158 from `threeal/lerna-fix-format-and-lint-deps`
threeal May 20, 2023
ac5b737
build(lerna): use NPM workspace to determine package locations
threeal May 21, 2023
10fb370
MERGE: pull request #159 from `threeal/lerna-fix-workspace-warning`
threeal May 21, 2023
f4f464e
feat(dev): throws if the `spawnProcess` function contains an error
threeal May 21, 2023
712e0ce
fix(dev): execute process from `spawnSync` function in shell mode
threeal May 21, 2023
b903844
ci: remove `Disable auto CRLF on Windows` step
threeal May 21, 2023
71dbf38
docs(dev): add an instalation section in the `README.md`
threeal May 21, 2023
29aa7a8
docs(dev): rename package description to `Development tool library of…
threeal May 21, 2023
859e065
MERGE: pull request #161 from `threeal/dev-fix-bin-not-spawn-proc`
threeal May 21, 2023
d8f4677
merge: branch `main` into `integra-test-pip-pkg-install`
threeal May 21, 2023
2df3aee
chore: bump eslint from 8.40.0 to 8.41.0
dependabot[bot] May 22, 2023
09aecd9
chore: bump minimatch from 9.0.0 to 9.0.1
dependabot[bot] May 22, 2023
37e9d95
MERGE: pull request #164 from `threeal/dependabot/npm_and_yarn/minima…
threeal May 22, 2023
8fceaf6
test(i-test): fix not awaiting uninstall in beforeAll and afterAll
threeal May 22, 2023
7c8ee96
test(i-test): increase timeout when installing pip package
threeal May 22, 2023
a76003b
test(i-test): add further case for showing package info and rename te…
threeal May 22, 2023
6c4fdb4
fix(dev): fix binary does not return exit code from the child process
threeal May 22, 2023
e3fbb5d
MERGE: pull request #166 from `threeal/dev-fix-binary-exit-code`
threeal May 22, 2023
e4c1a52
merge: branch `main` into `integra-test-pip-pkg-install`
threeal May 22, 2023
e477b22
chore: update `package-lock.json`
threeal May 23, 2023
eeccd30
ci: reset Nx cache before building the packages
threeal May 23, 2023
99e379e
MERGE: pull request #167 from `threeal/update-package-lock`
threeal May 23, 2023
b2645f8
merge: branch `main` into `integra-test-pip-pkg-install`
threeal May 24, 2023
0308130
feat(i-test): implement repeat function for retrying failed tests due…
threeal May 25, 2023
1760dec
fix(i-test): extend timeout for pip installation tests
threeal May 26, 2023
4d49ba9
refactor(i-test): improve variable names and test descriptions in pip…
threeal May 26, 2023
c70bc6d
chore: merge pull request #157 from `threeal/integra-test-pip-pkg-ins…
threeal May 26, 2023
be9e00d
chore: Merge pull request #163 from `threeal/dependabot/npm_and_yarn/…
threeal May 28, 2023
313f09e
feat(dev): add support for running unit tests using Jest
threeal May 31, 2023
2c477de
refactor(dev): separate the default configuration of Jest into its ow…
threeal May 31, 2023
825d626
test(dev): add tests for Jest configuration creation
threeal May 31, 2023
81712d1
feat(dev): add support for using functions as parameters in `jestConf…
threeal May 31, 2023
1dc0326
feat(dev): export Jest configuration types
threeal May 31, 2023
179da57
refactor: rename `jestConfig` to `createJestConfig` in the Dev package
threeal May 31, 2023
806b312
refactor(dev): separate the default configuration of ESLint into its …
threeal May 31, 2023
981e1ab
test(dev): add tests for ESLint configuration creation
threeal May 31, 2023
f27e461
refactor(dev): organize `eslint.ts` and `jest.ts` into their own dire…
threeal May 31, 2023
7d8b2be
test(dev): mock default configuration when testing creation of Jest a…
threeal May 31, 2023
c1ee7d5
feat(dev): add support for using functions as parameters in `eslintCo…
threeal May 31, 2023
02f73d2
test(dev): mock `jsonfile.writeFileSync` in the create ESLint configu…
threeal May 31, 2023
ec89b94
refactor: rename `eslintConfig` to `createEslintConfig` in the Dev pa…
threeal May 31, 2023
b6a55d3
chore: merge pull request #170 from `threeal/dev-mod-config-gen-rule`
threeal Jun 1, 2023
0077c12
chore: bump typescript from 5.0.4 to 5.1.3
dependabot[bot] Jun 2, 2023
3cdd8f4
chore: merge pull request #171 from `threeal/dependabot/npm_and_yarn/…
threeal Jun 2, 2023
7d669dc
chore: bump eslint-plugin-github from 4.7.0 to 4.8.0
dependabot[bot] Jun 5, 2023
c33c7ce
chore(dev): bump eslint-plugin-github to 4.8.0
threeal Jun 5, 2023
9b53528
chore: merge pull request #172 from `threeal/dependabot/npm_and_yarn/…
threeal Jun 5, 2023
6ad704f
docs(dev): add dev tool usage section to `README.md`
threeal Jun 6, 2023
832daa1
chore: merge branch `main` into `dev-fill-docs`
threeal Jun 6, 2023
564270c
docs(dev): add TypeScript configuration usage section to `README.md`
threeal Jun 6, 2023
c6c4d4d
docs(dev): add Jest configuration usage section to `README.md`
threeal Jun 6, 2023
7c46845
docs(dev): add ESLint configuration usage section to `README.md`
threeal Jun 6, 2023
a0ac8e1
docs(dev): add section for including dev tool as a script in the `pac…
threeal Jun 6, 2023
7f3389f
docs(dev): change installation guide to install as a dev dependency
threeal Jun 6, 2023
f4a18ca
docs(dev): expand project description in the `README.md`
threeal Jun 6, 2023
85aa319
chore: merge pull request #162 from `threeal/dev-fill-docs`
threeal Jun 6, 2023
21f0937
feat(dev): use `deepmerge` package to deep merge configurations
threeal Jun 6, 2023
45c8bd7
chore: merge pull request #175 from `threeal/dev-object-deep-merge`
threeal Jun 6, 2023
d361e80
chore: bump eslint from 8.41.0 to 8.42.0
dependabot[bot] Jun 6, 2023
9c840ba
chore(dev): bump eslint to 8.42.0
threeal Jun 7, 2023
24ccd08
chore: merge pull request #173 from `threeal/dependabot/npm_and_yarn/…
threeal Jun 7, 2023
438a3e1
chore: bump lerna from 6.6.2 to 7.0.0
dependabot[bot] Jun 9, 2023
f4e8185
chore: bump actions/checkout from 3.5.2 to 3.5.3
dependabot[bot] Jun 12, 2023
2e2ac2c
chore: bump @actions-kit/dev version to v0.2.0 in the `README.md`
threeal Jun 12, 2023
7ea0e81
test(i-test): modify Jest config to use lambda function
threeal Jun 12, 2023
26d5e0c
test(cache): modify Jest config to use lambda function
threeal Jun 12, 2023
ce4595d
chore: merge pull request #179 from `threeal/dev-v0.2.0-prep`
threeal Jun 12, 2023
79e09ad
build(lerna): remove `useWorkspaces` in the `lerna.json`
threeal Jun 12, 2023
9c20c57
chore: merge pull request #177 from `threeal/dependabot/npm_and_yarn/…
threeal Jun 12, 2023
441f5e2
chore: bump lerna from 7.0.0 to 7.0.1
dependabot[bot] Jun 14, 2023
2ed2081
chore: bump lerna from to 7.0.1 in the `package.json`
threeal Jun 14, 2023
c9911c0
chore: merge pull request #180 from `threeal/dependabot/npm_and_yarn/…
threeal Jun 14, 2023
ae4fe9e
chore: merge pull request #139 from `threeal/main`
threeal Jun 14, 2023
62cc9ca
chore: bump eslint from 8.42.0 to 8.43.0
dependabot[bot] Jun 19, 2023
a3d57ef
chore(dev): bump eslint to 8.43.0
threeal Jun 19, 2023
e0119d0
chore: merge pull request #184 from `threeal/dependabot/npm_and_yarn/…
threeal Jun 19, 2023
7f4d338
chore: bump commander from 10.0.1 to 11.0.0
dependabot[bot] Jun 19, 2023
892cbfd
chore: bump eslint-plugin-jest from 27.2.1 to 27.2.2
dependabot[bot] Jun 20, 2023
3261b9e
chore: merge pull request #178 from `threeal/dependabot/github_action…
threeal Jun 20, 2023
599654d
chore(dev): bump eslint-plugin-jest to 27.2.2
threeal Jun 20, 2023
2688529
chore: merge pull request #185 from `threeal/dependabot/npm_and_yarn/…
threeal Jun 20, 2023
7696799
chore: merge pull request #181 from `threeal/dependabot/npm_and_yarn/…
threeal Jun 22, 2023
b9a6839
chore: bump minimatch from 9.0.1 to 9.0.2
dependabot[bot] Jun 26, 2023
721f19d
chore: bump minimatch to v9.0.2
threeal Jun 26, 2023
fb88b8d
chore: merge pull request #186 from `threeal/dependabot/npm_and_yarn/…
threeal Jun 26, 2023
da93bf3
ci: remove subpackage Dependabot configuration
threeal Jun 26, 2023
5e7e234
chore: merge pull request #188 from `threeal/dependabot-rm-subpkg`
threeal Jun 26, 2023
75f14ec
chore: bump lerna from 7.0.1 to 7.1.1
dependabot[bot] Jun 29, 2023
0d42fe9
chore: bump typescript from 5.1.3 to 5.1.6
dependabot[bot] Jun 29, 2023
dcfc36e
chore: bump lerna to 7.1.1
threeal Jun 30, 2023
109d9d7
chore: merge pull request #191 from `threeal/dependabot/npm_and_yarn/…
threeal Jun 30, 2023
a8016ca
chore: bump eslint from 8.43.0 to 8.44.0
dependabot[bot] Jul 3, 2023
d373953
chore: bump typescript to 5.1.6
threeal Jul 4, 2023
5d949fa
chore: merge pull request #192 from `threeal/dependabot/npm_and_yarn/…
threeal Jul 4, 2023
711dca7
chore: bump eslint to 8.44.0
threeal Jul 6, 2023
90b5bc7
chore: merge pull request #193 from `threeal/dependabot/npm_and_yarn/…
threeal Jul 6, 2023
82eaf2d
chore: bump minimatch from 9.0.2 to 9.0.3
dependabot[bot] Jul 7, 2023
483edbb
chore: merge pull request #198 from `threeal/dependabot/npm_and_yarn/…
threeal Jul 7, 2023
5a65f34
chore: bump ts-jest from 29.1.0 to 29.1.1
dependabot[bot] Jul 4, 2023
b1ace53
chore: merge pull request #194 from `threeal/dependabot/npm_and_yarn/…
threeal Jul 10, 2023
377beb7
chore: bump jest from 29.5.0 to 29.6.1
dependabot[bot] Jul 14, 2023
05d65f8
chore: merge pull request #197 from `threeal/dependabot/npm_and_yarn/…
threeal Jul 14, 2023
e2eeb37
chore: bump eslint-plugin-github from 4.8.0 to 4.9.0
dependabot[bot] Jul 17, 2023
dcdbd65
chore: merge pull request #201 from `threeal/dependabot/npm_and_yarn/…
threeal Jul 17, 2023
e9f8444
chore: bump lerna from 7.1.1 to 7.1.4
dependabot[bot] Jul 21, 2023
50f6eeb
chore: merge pull request #203 from `threeal/dependabot/npm_and_yarn/…
threeal Jul 21, 2023
79b2617
chore: bump semver from 5.7.1 to 5.7.2
dependabot[bot] Jul 21, 2023
4c0c001
chore: merge pull request #202 from `threeal/dependabot/npm_and_yarn/…
threeal Jul 22, 2023
c00ecf9
chore: bump eslint from 8.44.0 to 8.45.0
dependabot[bot] Jul 24, 2023
3d96fa5
chore: merge pull request #204 from `threeal/dependabot/npm_and_yarn/…
threeal Jul 24, 2023
3e47a4f
chore: bump eslint-plugin-github from 4.9.0 to 4.9.2
dependabot[bot] Jul 26, 2023
fe16da2
feat(dev): add `eslint-plugin-prettier` as the dependency
threeal Jul 26, 2023
ee608f3
chore: merge pull request #205 from `threeal/dependabot/npm_and_yarn/…
threeal Jul 26, 2023
e742f31
chore: bump eslint-plugin-jest from 27.2.2 to 27.2.3 (#200)
dependabot[bot] Jul 28, 2023
ed782be
chore: bump jest from 29.6.1 to 29.6.2 (#206)
dependabot[bot] Jul 30, 2023
b77f1b0
chore: bump eslint from 8.45.0 to 8.46.0 (#207)
dependabot[bot] Aug 4, 2023
5c9c3d2
chore: bump @actions/cache from 3.2.1 to 3.2.2 (#209)
dependabot[bot] Aug 13, 2023
86a5d0a
chore: bump prettier from 2.8.8 to 3.0.2 (#212)
dependabot[bot] Aug 16, 2023
adf168c
chore: bump lerna from 7.1.4 to 7.1.5 (#210)
dependabot[bot] Aug 17, 2023
c440e4e
chore: bump eslint from 8.46.0 to 8.47.0 (#211)
dependabot[bot] Aug 20, 2023
8ce2136
chore: bump jest from 29.6.2 to 29.6.4 (#216)
dependabot[bot] Aug 25, 2023
37ccba7
chore: bump typescript from 5.1.6 to 5.2.2 (#215)
dependabot[bot] Aug 25, 2023
d2be7ed
chore: bump eslint from 8.47.0 to 8.48.0 (#218)
dependabot[bot] Aug 28, 2023
8789b94
chore: bump actions/checkout from 3.5.3 to 3.6.0 (#217)
dependabot[bot] Aug 29, 2023
98a9a0b
chore: bump lerna from 7.1.5 to 7.2.0 (#220)
dependabot[bot] Aug 30, 2023
94f17e4
chore: bump eslint-plugin-github from 4.9.2 to 4.10.0 (#219)
dependabot[bot] Sep 3, 2023
3f3473b
ci(dependabot): set versioning strategy to always increase (#224)
threeal Sep 8, 2023
158e928
ci(dependabot): configure to use `chore` label (#225)
threeal Sep 8, 2023
290acfd
chore: bump prettier from 3.0.2 to 3.0.3 (#221)
dependabot[bot] Sep 8, 2023
da7a5cd
chore: bump actions/checkout from 3.6.0 to 4.0.0 (#222)
dependabot[bot] Sep 9, 2023
057cfca
chore: bump @actions/core from 1.10.0 to 1.10.1 (#227)
dependabot[bot] Sep 12, 2023
4f7d0f1
chore: bump actions/cache from 3.3.1 to 3.3.2 (#223)
dependabot[bot] Sep 16, 2023
0922d91
chore: bump eslint from 8.48.0 to 8.49.0 (#226)
dependabot[bot] Sep 20, 2023
d5d0eb8
chore: bump jest from 29.6.4 to 29.7.0 (#228)
dependabot[bot] Sep 23, 2023
ccb47c2
chore: bump lerna from 7.2.0 to 7.3.0 (#229)
dependabot[bot] Sep 23, 2023
757a891
chore: bump @types/jsonfile from 6.1.1 to 6.1.2 (#230)
dependabot[bot] Sep 23, 2023
449aa6d
chore: bump eslint-plugin-jest from 27.2.3 to 27.4.0 (#231)
dependabot[bot] Sep 24, 2023
789ca7e
chore: bump eslint from 8.49.0 to 8.50.0 (#233)
dependabot[bot] Sep 28, 2023
b82a6a2
chore: bump actions/checkout from 4.0.0 to 4.1.0 (#232)
dependabot[bot] Sep 28, 2023
cb8835c
chore: bump eslint-plugin-github from 4.10.0 to 4.10.1 (#235)
dependabot[bot] Oct 3, 2023
8b8e76e
chore: bump rimraf from 5.0.1 to 5.0.5 (#236)
dependabot[bot] Oct 4, 2023
5946bda
chore: bump eslint-plugin-jest from 27.4.0 to 27.4.2 (#237)
dependabot[bot] Oct 7, 2023
bf9eb17
ci(dependabot): rename config file to `dependabot.yaml` (#238)
threeal Oct 8, 2023
d95f154
chore: bump eslint from 8.50.0 to 8.51.0 (#239)
dependabot[bot] Oct 10, 2023
88928f8
chore: bump lerna from 7.3.0 to 7.3.1 (#240)
dependabot[bot] Oct 14, 2023
a18433a
chore: bump eslint-plugin-prettier from 5.0.0 to 5.0.1 (#241)
dependabot[bot] Oct 15, 2023
2d50c14
chore: bump commander from 11.0.0 to 11.1.0 (#242)
dependabot[bot] Oct 16, 2023
23308a6
chore: bump @babel/traverse from 7.21.5 to 7.23.2 (#243)
dependabot[bot] Oct 19, 2023
cc62b21
chore: bump actions/checkout from 4.1.0 to 4.1.1 (#244)
dependabot[bot] Oct 20, 2023
4e8f20b
chore: bump @types/jsonfile from 6.1.2 to 6.1.3 (#247)
dependabot[bot] Oct 22, 2023
1d0502a
chore: bump lerna from 7.3.1 to 7.4.1 (#246)
dependabot[bot] Oct 22, 2023
8b429ac
chore: bump eslint-plugin-jest from 27.4.2 to 27.4.3 (#249)
dependabot[bot] Oct 26, 2023
ef89f02
chore: bump eslint from 8.51.0 to 8.52.0 (#248)
dependabot[bot] Oct 26, 2023
c672284
chore: bump eslint-plugin-jest from 27.4.3 to 27.6.0 (#250)
dependabot[bot] Nov 4, 2023
b08a2ce
chore: bump lerna from 7.4.1 to 7.4.2 (#251)
dependabot[bot] Nov 5, 2023
f614a42
chore: bump eslint from 8.52.0 to 8.53.0 (#252)
dependabot[bot] Nov 8, 2023
35b80be
chore: bump @types/jsonfile from 6.1.3 to 6.1.4 (#253)
dependabot[bot] Nov 12, 2023
45018e3
chore: bump prettier from 3.0.3 to 3.1.0 (#254)
dependabot[bot] Nov 17, 2023
06f89cc
feat: remove internal packages (#259)
threeal Nov 23, 2023
c011c5e
feat: remove the pip package (#261)
threeal Nov 24, 2023
4c02d7f
chore: bump eslint from 8.53.0 to 8.54.0 (#255)
dependabot[bot] Nov 24, 2023
0e8d2d9
chore: bump lerna from 7.4.2 to 8.0.0 (#260)
dependabot[bot] Nov 26, 2023
625ad4c
fix(dev): add `@types/jsonfile` as a dev dependency (#273)
threeal Feb 4, 2024
1e29b4a
chore: bump ts-node from 10.9.1 to 10.9.2 (#265)
dependabot[bot] Feb 5, 2024
018c482
chore: bump eslint from 8.54.0 to 8.56.0 (#267)
dependabot[bot] Feb 5, 2024
845a793
chore: bump chmod-cli from 1.0.4 to 2.0.1 (#268)
dependabot[bot] Feb 6, 2024
96706a1
chore: bump actions/cache from 3.3.2 to 4.0.0 (#269)
dependabot[bot] Feb 6, 2024
f1fd54b
chore: bump follow-redirects from 1.15.3 to 1.15.5 (#270)
dependabot[bot] Feb 6, 2024
91bce03
chore: bump eslint-plugin-prettier from 5.0.1 to 5.1.3 (#274)
dependabot[bot] Feb 6, 2024
9fd1020
chore: bump prettier from 3.1.0 to 3.2.5 (#271)
dependabot[bot] Feb 6, 2024
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
18 changes: 18 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
commit-message:
prefix: chore
labels: [chore]

- package-ecosystem: npm
directory: /
schedule:
interval: daily
commit-message:
prefix: chore
labels: [chore]
versioning-strategy: increase
50 changes: 0 additions & 50 deletions .github/dependabot.yml

This file was deleted.

30 changes: 18 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,38 @@ jobs:
matrix:
os: [windows, ubuntu, macos]
steps:
- name: Disable auto CRLF on Windows
if: matrix.os == 'windows'
run: git config --global core.autocrlf false

- name: Checkout repository
uses: actions/checkout@v3.5.2
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0

- name: Cache dependencies
id: cache-npm
uses: actions/cache@v3.3.1
uses: actions/cache@v4.0.0
with:
path: node_modules
key: node-${{ runner.os }}-${{ hashFiles('package-lock.json') }}

- name: Install dependencies
run: npm run bootstrap
run: npm install

- name: Build and test
- name: Build and test all packages
if: github.event_name != 'pull_request'
run: npm test
run: |
npx nx reset
npm run clean -- --scope=@actions-kit/dev
npm run build -- --scope=@actions-kit/dev
npm run clean -- --ignore=@actions-kit/dev
npm run test

- name: Build and test since target branch
- name: Build and test changed packages
if: github.event_name == 'pull_request'
run: npm test -- "--since=origin/${{ github.base_ref }}"
run: |
npx nx reset
npm run clean -- --scope=@actions-kit/dev "--since=origin/${{ github.base_ref }}"
npm run build -- --scope=@actions-kit/dev "--since=origin/${{ github.base_ref }}"
npm run clean -- --ignore=@actions-kit/dev "--since=origin/${{ github.base_ref }}"
npm test -- "--since=origin/${{ github.base_ref }}"

- name: Check diff
run: git diff --exit-code HEAD
Expand All @@ -49,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
pkg: [dev, envi, exec, log]
pkg: [cache, dev, envi, exec, log]
steps:
- name: Init project
run: npm init --yes
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ An additional [toolKit](https://github.com/actions/toolkit) for developing [GitH

## Packages

- [@actions-kit/dev](./packages/dev)
[[v0.1.1]](https://github.com/threeal/actions-kit/releases/tag/dev%40v0.1.1),
a development configuration library.
- [@actions-kit/cache](./packages/cache)
[WIP],
a file caching library.
- [@actions-kit/dev](./packages/dev) [[v0.2.0]](https://github.com/threeal/actions-kit/releases/tag/dev%40v0.2.0),
a development tool library.
- [@actions-kit/envi](./packages/envi) [[v0.1.0]](https://github.com/threeal/actions-kit/releases/tag/envi%40v0.1.0), an environment management library.
- [@actions-kit/exec](./packages/exec) [[v0.2.0]](https://github.com/threeal/actions-kit/releases/tag/exec%40v0.2.0), a command execution library.
- [@actions-kit/log](./packages/log) [WIP], a console log library.
- [@actions-kit/pip](./packages/pip) [WIP], a [pip](https://pypi.org/project/pip) package management library.

## License

Expand Down
1 change: 0 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"packages": ["packages/*"],
"version": "independent"
}
10 changes: 3 additions & 7 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
},
"targetDefaults": {
"format": {
"dependsOn": ["^format"],
"inputs": [
"eslintConfig",
"jestConfig",
Expand All @@ -35,26 +34,23 @@
]
},
"lint": {
"dependsOn": ["^build", "^lint", "format"],
"implicitDependencies": ["@actions-kit/dev"],
"dependsOn": ["^build", "format"],
"inputs": [
"eslintConfig",
"packageConfig",
"sourceFiles"
]
},
"build": {
"dependsOn": ["^build", "lint"],
"implicitDependencies": ["@actions-kit/dev"],
"dependsOn": ["^build", "format", "lint"],
"inputs": [
"packageConfig",
"sourceNoTestFiles",
"typescriptConfig"
]
},
"test": {
"dependsOn": ["build"],
"implicitDependencies": ["@actions-kit/dev"],
"dependsOn": ["^build", "format", "lint", "build"],
"inputs": [
"jestConfig",
"packageConfig",
Expand Down
Loading