Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pronist committed Dec 1, 2024
1 parent 37d31d9 commit 338e219
Show file tree
Hide file tree
Showing 17 changed files with 1,597 additions and 2,597 deletions.
3,917 changes: 1,443 additions & 2,474 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions packages/template/.eslintrc.yml

This file was deleted.

18 changes: 18 additions & 0 deletions packages/template/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
const js = require('@eslint/js')
const globals = require('globals')

module.exports = [
{
ignores: ['**/dist/*'],
},
js.configs.recommended,
{
languageOptions: {
sourceType: 'module',
globals: {
...globals.browser,
...globals.node
}
}
}
]
22 changes: 10 additions & 12 deletions packages/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,19 @@
"production": "tidory production",
"store": "tidory store",
"deploy": "tidory deploy",
"lint": "eslint --ext .js --ignore-path .gitignore . && pug-lint ."
"lint": "eslint && pug-lint ."
},
"devDependencies": {
"autoprefixer": "^10.4.8",
"eslint": "^8.22.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.5",
"eslint-plugin-promise": "^6.0.0",
"eslint-webpack-plugin": "^3.2.0",
"pug-lint": "^2.6.0"
"@eslint/js": "^9.15.0",
"autoprefixer": "^10.4.20",
"eslint": "^9.15.0",
"eslint-webpack-plugin": "^4.2.0",
"globals": "^15.12.0",
"pug-lint": "^2.7.0"
},
"dependencies": {
"alpinejs": "^3.11.1",
"tailwindcss": "3.2.4",
"tidory": "8.4.2"
"alpinejs": "^3.14.5",
"tailwindcss": "3.2.7",
"tidory": "8.4.3"
}
}
10 changes: 5 additions & 5 deletions packages/template/views/Header/Navigation.pug
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
-
const guidebook = [
{ text: '시작하기', href: 'https://github.com/tidory/tidory/wiki/Getting-Started' },
{ text: '템플릿', href: 'https://github.com/tidory/tidory/wiki/Templates' },
{ text: '설정', href: 'https://github.com/tidory/tidory/wiki/Configuration' },
{ text: '빌드 및 배포', href: 'https://github.com/tidory/tidory/wiki/Deployment' },
{ text: '프레임워크', href: 'https://github.com/tidory/tidory/wiki/Frameworks' }
{ text: '시작하기', href: 'https://github.com/pronist/tidory/wiki/Getting-Started' },
{ text: '템플릿', href: 'https://github.com/pronist/tidory/wiki/Templates' },
{ text: '설정', href: 'https://github.com/pronist/tidory/wiki/Configuration' },
{ text: '빌드 및 배포', href: 'https://github.com/pronist/tidory/wiki/Deployment' },
{ text: '프레임워크', href: 'https://github.com/pronist/tidory/wiki/Frameworks' }
];
nav(class="mt-9")
Expand Down
6 changes: 0 additions & 6 deletions packages/tidory-webpack-plugin/.eslintrc.yml

This file was deleted.

13 changes: 13 additions & 0 deletions packages/tidory-webpack-plugin/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const js = require('@eslint/js')
const globals = require('globals')

module.exports = [
js.configs.recommended,
{
languageOptions: {
globals: {
...globals.node
}
}
}
]
26 changes: 12 additions & 14 deletions packages/tidory-webpack-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
{
"name": "tidory-webpack-plugin",
"version": "1.3.2",
"version": "1.3.3",
"description": "Webpack plugin for Tidory Framework",
"main": "index.js",
"files": [
"lib"
],
"scripts": {
"lint": "eslint ."
"lint": "eslint"
},
"devDependencies": {
"eslint": "^8.22.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.5",
"eslint-plugin-promise": "^6.0.0",
"eslint-webpack-plugin": "^3.2.0"
"@eslint/js": "^9.15.0",
"eslint": "^9.15.0",
"globals": "^15.12.0"
},
"dependencies": {
"@babel/core": "^7.20.5",
"cheerio": "^1.0.0-rc.12",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"cheerio": "^1.0.0",
"cssesc": "^3.0.0",
"html-minifier-terser": "^5.1.1",
"html-webpack-plugin": "^5.5.0",
"js-beautify": "^1.14.7",
"tistory-skin": "^2.1.2"
"html-minifier-terser": "^7.2.0",
"html-webpack-plugin": "^5.6.3",
"js-beautify": "^1.15.1",
"tistory-skin": "^2.1.3"
}
}
6 changes: 0 additions & 6 deletions packages/tidory/.eslintrc.yml

This file was deleted.

3 changes: 2 additions & 1 deletion packages/tidory/bin/tidory
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node
const wd = process.cwd()

const tidory = require('commander')
const { Command } = require('commander')
const shelljs = require('shelljs')
const path = require('path')
const { Skin, Archive } = require('tistory-skin')
Expand All @@ -15,6 +15,7 @@ const tidoryConfig = require('../tidory.config')
const archive = new Archive(tidoryConfig.url, tidoryConfig.ts_session)
const skin = new Skin(tidoryConfig.url, tidoryConfig.ts_session)
const dist = path.join(wd, tidoryConfig.path.dist)
const tidory = new Command()

tidory.version(pkg.version)

Expand Down
18 changes: 17 additions & 1 deletion packages/tidory/config/webpack.base.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,23 @@ module.exports = async env => {
},
{
test: /\.css$/,
use: ['vue-style-loader', 'style-loader', 'css-loader', 'postcss-loader'].map(require.resolve)
use: [
{
loader: require.resolve('vue-style-loader')
},
{
loader: require.resolve('style-loader'),
options: {
esModule: false
}
},
{
loader: require.resolve('css-loader')
},
{
loader: require.resolve('postcss-loader')
}
]
},
{
test: /\.pug$/,
Expand Down
1 change: 0 additions & 1 deletion packages/tidory/config/webpack.dev.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ module.exports = async env => {
mode: 'development',
cache: false,
devServer: {
magicHtml: false,
watchFiles: tidoryConfig.path.devServer.watchFiles,
hot: false,
liveReload: true,
Expand Down
13 changes: 13 additions & 0 deletions packages/tidory/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const js = require('@eslint/js')
const globals = require('globals')

module.exports = [
js.configs.recommended,
{
languageOptions: {
globals: {
...globals.node
}
}
}
]
97 changes: 43 additions & 54 deletions packages/tidory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,73 +3,62 @@
"description": "It's awesome framework for Tistory Skin",
"license": "MIT",
"engines": {
"node": ">=12"
"node": ">=20"
},
"version": "8.4.2",
"version": "8.4.3",
"bin": {
"tidory": "./bin/tidory"
},
"scripts": {
"lint": "eslint ."
"lint": "eslint"
},
"files": [
"bin",
"config",
"lib",
"tidory.config.js"
],
"dependencies": {
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.14.2",
"@babel/preset-react": "^7.13.13",
"@vue/compiler-sfc": "^3.0.11",
"astroturf": "^1.0.1",
"babel-loader": "^8.2.2",
"cheerio": "^1.0.0-rc.12",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@vue/compiler-sfc": "^3.5.13",
"astroturf": "^1.2.0",
"babel-loader": "^9.2.1",
"cheerio": "^1.0.0",
"clean-webpack-plugin": "^4.0.0",
"commander": "^7.2.0",
"copy-webpack-plugin": "^9.0.0",
"css-loader": "^5.2.5",
"dotenv": "^10.0.0",
"dotenv-webpack": "^7.0.2",
"commander": "^12.1.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"dotenv": "^16.4.5",
"dotenv-webpack": "^8.1.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"postcss": "^8.4.20",
"postcss-loader": "^5.3.0",
"pug": "^3.0.2",
"html-webpack-plugin": "^5.6.3",
"postcss": "^8.4.49",
"postcss-loader": "^8.1.1",
"pug": "^3.0.3",
"pug-load": "^3.0.0",
"pug-plain-loader": "^1.1.0",
"randomstring": "^1.2.1",
"randomstring": "^1.3.0",
"raw-loader": "^4.0.2",
"shelljs": "^0.8.4",
"style-loader": "^2.0.0",
"svelte": "^3.38.2",
"svelte-loader": "^3.1.1",
"terser-webpack-plugin": "^5.2.4",
"tidory-webpack-plugin": "^1.3.2",
"tistory-skin": "^2.1.2",
"vue-loader": "^16.2.0",
"shelljs": "^0.8.5",
"style-loader": "^4.0.0",
"svelte": "^5.2.10",
"svelte-loader": "^3.2.4",
"terser-webpack-plugin": "^5.3.10",
"tidory-webpack-plugin": "^1.3.3",
"tistory-skin": "^2.1.3",
"vue-loader": "^17.4.2",
"vue-style-loader": "^4.1.3",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.10.0",
"webpack-merge": "^5.8.0",
"webpackbar": "^5.0.2"
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0",
"webpack-merge": "^6.0.1",
"webpackbar": "^7.0.0"
},
"devDependencies": {
"ajv": "^6.12.6",
"ajv-keywords": "^3.5.2",
"eslint": "^8.22.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.5",
"eslint-plugin-promise": "^6.0.0",
"eslint-webpack-plugin": "^3.2.0"
},
"files": [
"bin",
"config",
"lib",
"tidory.config.js"
],
"homepage": "https://tidory.com",
"keywords": [
"tistory",
"tistory skin",
"tidory"
]
"@eslint/js": "^9.15.0",
"eslint": "^9.15.0",
"globals": "^15.12.0"
}
}
6 changes: 0 additions & 6 deletions packages/tistory-skin/.eslintrc.yml

This file was deleted.

13 changes: 13 additions & 0 deletions packages/tistory-skin/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const js = require('@eslint/js')
const globals = require('globals')

module.exports = [
js.configs.recommended,
{
languageOptions: {
globals: {
...globals.node
}
}
}
]
19 changes: 8 additions & 11 deletions packages/tistory-skin/package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
{
"name": "tistory-skin",
"version": "2.1.2",
"version": "2.1.3",
"description": "Unofficial Tistory Skin API",
"main": "index.js",
"scripts": {
"lint": "eslint --ext .js index.js lib"
"lint": "eslint"
},
"files": [
"lib"
],
"devDependencies": {
"eslint": "^8.22.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.5",
"eslint-plugin-promise": "^6.0.0",
"eslint-webpack-plugin": "^3.2.0"
"@eslint/js": "^9.15.0",
"eslint": "^9.15.0",
"globals": "^15.12.0"
},
"dependencies": {
"axios": "^1.6.8",
"form-data": "^2.3.3",
"walk": "^2.3.14"
"axios": "^1.7.8",
"form-data": "^4.0.1",
"walk": "^2.3.15"
}
}

0 comments on commit 338e219

Please sign in to comment.