Skip to content

Commit

Permalink
Update packages and project files
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpereira committed Mar 10, 2023
1 parent 5d679b5 commit f8b0e35
Show file tree
Hide file tree
Showing 9 changed files with 1,788 additions and 2,239 deletions.
3,952 changes: 1,749 additions & 2,203 deletions package-lock.json

Large diffs are not rendered by default.

29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
{
"name": "taxonpages",
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src"
},
"dependencies": {
"axios": "^1.1.3",
"axios": "^1.3.4",
"js-yaml": "^4.1.0",
"leaflet": "^1.9.2",
"vue": "^3.2.41",
"leaflet": "^1.9.3",
"vue": "^3.2.47",
"vue-router": "^4.1.6"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.7",
"@vitejs/plugin-vue": "^3.2.0",
"autoprefixer": "^10.4.13",
"eslint": "^8.26.0",
"eslint-plugin-vue": "^9.7.0",
"postcss": "^8.4.18",
"sass": "^1.56.0",
"tailwindcss": "^3.2.1",
"vite": "^3.2.2",
"vite-plugin-md": "^0.20.4",
"vite-plugin-pages": "^0.27.1"
"@tailwindcss/typography": "^0.5.9",
"@vitejs/plugin-vue": "^4.0.0",
"autoprefixer": "^10.4.14",
"eslint": "^8.35.0",
"eslint-plugin-vue": "^9.9.0",
"postcss": "^8.4.21",
"sass": "^1.58.3",
"tailwindcss": "^3.2.7",
"vite": "^4.1.4",
"vite-plugin-md": "^0.21.5",
"vite-plugin-pages": "^0.28.0"
}
}
17 changes: 17 additions & 0 deletions postcss.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const fs = require('fs')
const {
userTailwindConfigPath,
defaultTailwindConfigPath
} = require('./src/constants/configPaths.cjs')

module.exports = {
plugins: {
'tailwindcss/nesting': {},
tailwindcss: {
config: fs.existsSync(userTailwindConfigPath)
? userTailwindConfigPath
: defaultTailwindConfigPath
},
autoprefixer: {}
}
}
17 changes: 0 additions & 17 deletions postcss.config.js

This file was deleted.

4 changes: 4 additions & 0 deletions src/constants/configPaths.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
userTailwindConfigPath: './config/vendor/tailwind.config.cjs',
defaultTailwindConfigPath: './tailwind.config.cjs'
}
4 changes: 0 additions & 4 deletions src/constants/configPaths.js

This file was deleted.

1 change: 1 addition & 0 deletions src/modules/otus/views/Distribution.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<template />
3 changes: 2 additions & 1 deletion src/utils/globalVars.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
global.__basedir = process.env.PWD
global.__tailwindCSSTaxonPagesConfigPath = process.env.PWD + '/tailwind.config.js'
global.__tailwindCSSTaxonPagesConfigPath =
process.env.PWD + '/tailwind.config.cjs'
File renamed without changes.

0 comments on commit f8b0e35

Please sign in to comment.