Skip to content

Commit 4d0f81f

Browse files
author
oleksandr_taruraiev
committed
Migrate to pnpm: add lockfile and CI configs
1 parent d8792af commit 4d0f81f

File tree

7 files changed

+10847
-12006
lines changed

7 files changed

+10847
-12006
lines changed

.gitignore

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,45 @@
1-
node_modules/
1+
node_modules/
2+
build/
3+
dist/
4+
coverage/
5+
6+
# pnpm
7+
pnpm-debug.log*
8+
.pnpm-debug.log*
9+
.pnpm-cache/
10+
.pnpm-store/
11+
12+
# npm (legacy)
13+
package-lock.json
14+
npm-debug.log*
15+
16+
# yarn (если был)
17+
yarn.lock
18+
yarn-debug.log*
19+
yarn-error.log*
20+
21+
# Environment variables
22+
.env
23+
.env.local
24+
.env.development.local
25+
.env.test.local
26+
.env.production.local
27+
28+
# IDE
29+
.vscode/
30+
.idea/
31+
*.swp
32+
*.swo
33+
34+
# OS
35+
.DS_Store
36+
Thumbs.db
37+
38+
# Logs
39+
logs
40+
*.log
41+
42+
# Test results
43+
/coverage
44+
/build
45+
/.nyc_output

.npmrc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# pnpm configuration
2+
auto-install-peers=false
3+
strict-peer-dependencies=false
4+
prefer-frozen-lockfile=true
5+
shamefully-hoist=false
6+
node-linker=isolated
7+
enable-pre-post-scripts=true
8+
9+
# Registry settings
10+
registry=https://registry.npmjs.org/
11+
12+
# Build settings
13+
save-exact=true
14+
15+
# Cache settings
16+
store-dir=.pnpm-store
17+
cache-dir=.pnpm-cache
18+
19+
# CI/CD compatibility
20+
frozen-lockfile=true

.npmrc-ci

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# CI-specific pnpm configuration
2+
auto-install-peers=false
3+
strict-peer-dependencies=false
4+
frozen-lockfile=true
5+
prefer-frozen-lockfile=true
6+
shamefully-hoist=false
7+
node-linker=isolated
8+
enable-pre-post-scripts=true
9+
10+
# Registry settings (будет переопределено в pipeline)
11+
registry=https://registry.npmjs.org/
12+
13+
# Authentication (будет добавлено в pipeline)
14+
# //${NEXUS_HOST}/:_auth=${upBase64}
15+
# //${NEXUS_HOST}/:always-auth=true
16+
17+
# Cache settings
18+
store-dir=/tmp/.pnpm-store
19+
cache-dir=${NPM_CACHE_DIR}
20+
21+
# Build settings
22+
save-exact=true

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM nginxinc/nginx-unprivileged:1.25-alpine3.18-slim
22

3+
# Copy pre-built artifacts from CI/CD pipeline
34
COPY build/ /usr/share/nginx/html/
45
COPY default.conf /etc/nginx/conf.d/
56

6-
CMD ["nginx", "-g", "daemon off;"]
7+
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy