Revert "Change tag"

This reverts commit 5a36f14f056d5215716e86845c3cb38ad162747e.
amy-random-shapes
Adi Thakral 2 years ago
parent abf75af472
commit 45b9cfa0df
  1. 38
      .gitlab-ci.yml
  2. 17
      package-lock.json
  3. 6
      package.json

@ -0,0 +1,38 @@
default:
image: node:14
cache:
paths:
- node_modules/
- .next
stages:
- build
- staging
install_deps:
stage: .pre
script:
- npm install
lint:
stage: build
script:
- npm run lint
build:
stage: build
script:
- npm run build
pages:
stage: staging
script:
- npm run export
- mv public src-public
- mv out public
artifacts:
paths:
- public
only:
- main

17
package-lock.json generated

@ -13,6 +13,7 @@
"date-fns": "^2.11.1",
"gray-matter": "^4.0.2",
"next": "^10.0.0",
"prettier": "^2.3.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"remark": "^12.0.0",
@ -4802,11 +4803,9 @@
}
},
"node_modules/prettier": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz",
"integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==",
"dev": true,
"peer": true,
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz",
"integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==",
"bin": {
"prettier": "bin-prettier.js"
},
@ -9997,11 +9996,9 @@
"dev": true
},
"prettier": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz",
"integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==",
"dev": true,
"peer": true
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz",
"integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w=="
},
"prettier-linter-helpers": {
"version": "1.0.0",

@ -4,7 +4,10 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
"start": "next start",
"export": "next export",
"lint": "eslint '{pages,components}/**/*.{js,ts,tsx,jsx}' --quiet",
"lint:fix": "eslint '{pages,components}/**/*.{js,ts,tsx,jsx}' --quiet --fix"
},
"dependencies": {
"@mdx-js/loader": "^1.6.22",
@ -13,6 +16,7 @@
"date-fns": "^2.11.1",
"gray-matter": "^4.0.2",
"next": "^10.0.0",
"prettier": "^2.3.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"remark": "^12.0.0",

Loading…
Cancel
Save