Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix versions of npm, yarn and pnpm #266

Merged
merged 12 commits into from
Jul 9, 2022
Merged
2 changes: 2 additions & 0 deletions examples/node-npm-old-lockfile/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules
/dist
1 change: 1 addition & 0 deletions examples/node-npm-old-lockfile/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Hello from NPM");
748 changes: 748 additions & 0 deletions examples/node-npm-old-lockfile/package-lock.json

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions examples/node-npm-old-lockfile/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "npm",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"dev": "nodemon index.ts",
"build": "tsc -p tsconfig.json",
"start": "node dist/index.js"
},
"dependencies": {
"fastify": "^3.15.1"
},
"devDependencies": {
"@types/node": "^15.6.1",
"nodemon": "^2.0.7",
"ts-node": "^10.0.0",
"typescript": "^4.2.4"
}
}
14 changes: 14 additions & 0 deletions examples/node-npm-old-lockfile/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

{
"compilerOptions": {
"outDir": "dist",

"incremental": true,
"target": "es6",
"module": "commonjs",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
}
}
2 changes: 2 additions & 0 deletions examples/node-pnpm-v7/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules
/dist
1 change: 1 addition & 0 deletions examples/node-pnpm-v7/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Hello from PNPM");
20 changes: 20 additions & 0 deletions examples/node-pnpm-v7/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "npm",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"dev": "nodemon index.ts",
"build": "tsc -p tsconfig.json",
"start": "node dist/index.js"
},
"dependencies": {
"fastify": "^3.15.1"
},
"devDependencies": {
"@types/node": "^15.6.1",
"nodemon": "^2.0.7",
"ts-node": "^10.0.0",
"typescript": "^4.2.4"
}
}
Loading