Sukka
ce859e384f
refactor: replace fs-extra
with Node.js built-in fs methods ( #120 )
2024-04-16 11:26:31 +02:00
Erik Burton
1ee9c9d01d
feat!: node20 upgrade ( #110 )
...
* upgrade versions to latest
* remove usage of ts-schema-autogen
* fix: update pnpm sources
* update build/output
* use node20
* fix: run-install array output
* fix: maintain behaviour for parseRunInstall, error messages
* fix: another edge case for input.args
* fix: use zod for input validation
* fix: use zod.infer for exported RunInstall types
* fix: remove @types/js-yaml
---------
Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-02-08 11:22:15 +01:00
Khải
d882d12c64
feat: standalone binary ( #92 )
...
* feat: add an option to install the self-contained binary version of pnpm
* test: add a test about nodejs_bundled
* style: remove an empty line
* chore: use newer pnpm
* chore: update dependencies
* feat: rename `nodejs_bundled` to `standalone`
as @zkochan suggested
* docs: add
---------
Co-authored-by: Takashi Sato <takashi@tks.st>
2023-07-26 14:50:04 +03:00
Khải
2ed49cbb02
Merge pull request #88 from KengoTODA/make-path-configurable
...
support projects that have package.json in non-root directory
2023-07-25 16:59:00 +07:00
Kengo TODA
b27f801bf9
feat: add package_json_file option
...
Signed-off-by: Kengo TODA <skypencil@gmail.com>
2023-07-08 07:02:46 +08:00
zakuro
65db188e28
Remove corepack url in error message
2022-11-09 06:54:12 +09:00
Zoltan Kochan
958500fcab
fix: do not download pnpm from get.pnpm.io ( #46 )
...
* fix: do not download pnpm from get.pnpm.io
* fix: remove redundant files
2022-05-28 16:54:43 +03:00
Jack Works
35ab4267a1
fix: packageManager reader ( #35 )
...
* fix: packageManager reader
* chore: resolve review
* chore: run build
2022-02-25 12:43:26 +08:00
khai96_
11ba3424e0
fmt
2022-02-23 10:07:15 +07:00
Zoltan Kochan
777a50d72e
Update src/install-pnpm/run.ts
2022-02-22 11:32:59 +02:00
Jack Works
a576a70bc6
chore: resolve review
2022-02-22 13:37:35 +08:00
Jack Works
1d51e20937
feat: try support packageManager
2022-02-22 12:26:05 +08:00
Zoltan Kochan
d8ea532ac4
fix: retry fetch of pnpm script
...
close #22
2022-02-20 21:49:26 +02:00
Zoltan Kochan
9eb14dd77c
decrease bundle size
2022-02-08 14:44:50 +02:00
Zoltan Kochan
eafb777c56
download script from pnpm.io
2022-02-08 00:39:20 +02:00
Zoltan Kochan
e6378df420
PNPM_HOME_PATH=>PNPM_HOME
2022-02-08 00:21:53 +02:00
Zoltan Kochan
6ff6e97bc6
The pnpm home directory should be added to PATH and PNPM_HOME
...
This change is needed to make the action compatible with pnpm v7.
Related breaking change in pnpm: pnpm/pnpm#4280
2022-02-07 23:15:44 +02:00
Jon Lauridsen
76cc04cd5e
Spelling
2021-10-12 13:34:10 +02:00
khai96_
7c4472dbcf
Forgot to specify working directory
2021-03-23 12:48:54 +07:00
khai96_
aefcd1e623
Use pnpm.js to install pnpm
2021-03-23 12:42:43 +07:00
khai96_
3a2c7247e1
Fix js-yaml usage
2021-03-23 11:43:49 +07:00
khai96_
f87c8a916e
Fix TypeScript error
2020-10-05 21:45:20 +07:00
khai96_
83681c63a7
Make logs foldable
2020-05-09 21:50:47 +07:00
khai96_
6eb237a86d
Only warn on failure of post action
2020-05-09 21:43:19 +07:00
khai96_
b1febf84ed
Fix pruneStore
2020-05-09 21:41:25 +07:00
khai96_
c8fc1974e1
Run pnpm store prune post action
2020-05-09 21:15:50 +07:00
khai96_
291e58ad85
Enable post action
2020-05-09 21:02:32 +07:00
khai96_
1790ca7f76
Add pnpm install
2020-05-09 20:24:52 +07:00
khai96_
9a1617cf46
Rename install to install-pnpm
2020-05-09 20:03:45 +07:00
khai96_
6fe65dc1af
Move run-install to its own module
2020-05-09 20:01:25 +07:00
khai96_
91d3d73121
Correct validation error message
2020-05-09 19:52:48 +07:00
khai96_
e373fffa0a
Use ajv to validate schema
2020-05-09 19:45:31 +07:00
khai96_
bb24f595c2
Add schema generator
2020-05-09 19:24:07 +07:00
khai96_
d44b8c5e53
Add run_install input
2020-05-09 19:13:46 +07:00
khai96_
087311f996
refactor: Remove then
2020-05-08 21:55:03 +07:00
khai96_
9979c3d928
Use node-fetch
2020-05-08 21:34:25 +07:00
khai96_
fe4a915fbf
Return expanded paths
2020-05-08 14:26:14 +07:00
khai96_
59a67d7671
Support tilde
2020-05-08 14:24:25 +07:00
khai96_
fe1f80eaca
Exit
2020-05-08 14:17:43 +07:00
khai96_
cf0395bd79
Use glob
2020-05-08 14:12:16 +07:00
khai96_
e1bd3c6b13
Use execPath
2020-05-08 13:47:46 +07:00
khai96_
b223fef427
Debug
2020-05-08 13:44:22 +07:00
khai96_
696222a6f3
Complete source code
2020-05-08 13:12:01 +07:00
khai96_
7d62586afe
Complete basic
2020-05-08 13:06:16 +07:00
khai96_
79f6d4a8ee
Use default import
2020-05-08 11:52:02 +07:00
khai96_
cd1794a16e
Create some files
2020-05-08 11:29:39 +07:00