Skip to content

Commit

Permalink
comando para facilitar as buscas dos nossos videos especiais (#59)
Browse files Browse the repository at this point in the history
* feat: add aulas command

* feat: create aulas command

* refactor: remove console.log

* chore: lock pnpm and node version and ajust ci

* refactor: remove empty space in regex

---------

Co-authored-by: PauloVTSilva <pilutechinformatica@gmail.com>
  • Loading branch information
hxsggsz and PiluVitu authored May 10, 2024
1 parent e5f62a8 commit b0827df
Show file tree
Hide file tree
Showing 9 changed files with 1,594 additions and 1,282 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
NODE_VERSION:
description: 'The version of Node.js to use'
required: true
default: '18.x'
default: '20.x'
PNPM_VERSION:
description: 'The version of PNPM to use'
required: true
Expand Down
53 changes: 53 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
## PNPM related ###############
## https://pnpm.io/npmrc #
###############################

# Not always possible to be strict, but if it works for you, keep it to true.
# https://pnpm.io/next/npmrc#strict-peer-dependencies
strict-peer-dependencies=true

# https://pnpm.io/npmrc#auto-install-peers
auto-install-peers=true

# Helps locating duplicates, default in v8
# https://pnpm.io/next/npmrc#use-lockfile-v6
use-lockfile-v6=true

# Will fix duplicates due to peer-dependencies (>=7.29.0), default in v8
# https://github.com/pnpm/pnpm/releases/tag/v7.29.0
dedupe-peer-dependents=true

# Helps with peer-deps (>=7.23.0), default in v8
# https://pnpm.io/npmrc#resolve-peers-from-workspace-root
resolve-peers-from-workspace-root=true

# default to 'lowest' in v8.5.0
# set to highest for reasons specified here: https://github.com/pnpm/pnpm/issues/6463
# https://pnpm.io/npmrc#resolution-mode
resolution-mode=highest

# Default in 8.1.0 to fix issues with root/workspaces hoisting
# https://pnpm.io/npmrc#dedupe-direct-deps
dedupe-direct-deps=false

# Pinlock to exact version (default is '^')
# https://pnpm.io/npmrc#save-prefix
# see also how save-workspace-protocol affect this https://pnpm.io/npmrc#save-workspace-protocol
save-prefix=''

# Most of the time, you want to use the rolling protocol for monorepos
# https://pnpm.io/npmrc#save-workspace-protocol
save-workspace-protocol=rolling

# Specifies which exact Node.js version should be used for the project's runtime.
# pnpm will automatically install the specified version of Node.js and use it
# for running pnpm run commands or the pnpm node command.
# https://pnpm.io/npmrc#save-workspace-protocol
use-node-version=20.10.0

# Prevent contributors of your project from adding new incompatible dependencies
# This way, even if someone is using Node.js v16, they will not be able to install
# a new dependency that doesn't support Node.js v20.10.0
# https://pnpm.io/npmrc#use-node-version
node-version=20.10.0
engine-strict=true
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"version": "1.0.0",
"description": "",
"main": "src/main.ts",
"engines": {
"node": "20.10.0",
"pnpm": "8.x"
},
"scripts": {
"build": "tsup",
"dev": "tsx src/main.ts",
Expand Down
Loading

0 comments on commit b0827df

Please sign in to comment.