Skip to content

Commit

Permalink
Pinlock build deps (babel) and add lockfile (#2011)
Browse files Browse the repository at this point in the history
* chore(dev-deps): lock all build dev dependencies (babel)

* chore(dev-deps): lock all build dev dependencies (babel)

* chore(dev-deps): fix missing rimraf

* chore(dev-scripts): rimraf

* chore(examples): allow ranges

* chore(lock): add lock file to repo to make it reproducible
  • Loading branch information
belgattitude authored Nov 8, 2022
1 parent f568823 commit 0c796cb
Show file tree
Hide file tree
Showing 5 changed files with 35,600 additions and 32 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ coverage/
cypress.json
!/cypress/cypress.json

# npm
# npm (all lock files except the root one)
package-lock.json
!/package-lock.json

# typescript
tsconfig.tsbuildinfo
18 changes: 11 additions & 7 deletions examples/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,24 @@
"dev": "next",
"build": "next build",
"start": "next start -p ${PORT:=3000}",
"typecheck": "tsc --project ./tsconfig.json --noEmit"
"typecheck": "tsc --project ./tsconfig.json --noEmit",
"clean": "rimraf .next",
"nuke:install": "rimraf ./node_modules ./package-lock.json"
},
"dependencies": {
"i18next": "22.0.4",
"next": "13.0.2",
"next-i18next": "12.1.0",
"react": "18.2.0",
"react-i18next": "12.0.0",
"react-dom": "18.2.0"
"i18next": "^22.0.4",
"next": "^13.0.2",
"next-i18next": "^12.1.0",
"react": "^18.2.0",
"react-i18next": "^12.0.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "^18.11.3",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"eslint-config-next": "^13.0.2",
"rimraf": "^3.0.2",
"picocolors": "^1.0.0",
"typescript": "^4.8.4"
}
Expand Down
22 changes: 12 additions & 10 deletions examples/ssg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,22 @@
"lint": "next lint",
"test": "npm run lint",
"serve": "http-server out -p 8080",
"downloadLocales": "locize download --project-id=0842ada9-1d1d-4d48-ab27-08f6a132f558 --ver=latest --clean=true --path=./public/locales"
"downloadLocales": "locize download --project-id=0842ada9-1d1d-4d48-ab27-08f6a132f558 --ver=latest --clean=true --path=./public/locales",
"clean": "rimraf .next out"
},
"dependencies": {
"i18next": "22.0.3",
"next": "13.0.0",
"next-i18next": "12.1.0",
"next-language-detector": "1.0.2",
"react": "18.2.0",
"react-i18next": "12.0.0",
"react-dom": "18.2.0"
"i18next": "^22.0.3",
"next": "^13.0.2",
"next-i18next": "^12.1.0",
"next-language-detector": "^1.0.2",
"react": "^18.2.0",
"react-i18next": "^12.0.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"eslint-config-next": "12.3.1",
"eslint-config-next": "^13.0.2",
"http-server": "14.1.1",
"locize-cli": "7.12.7"
"locize-cli": "7.12.7",
"rimraf": "^3.0.2"
}
}
Loading

0 comments on commit 0c796cb

Please sign in to comment.