Skip to content

Commit

Permalink
chore(deps): upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofmagic committed Nov 4, 2024
1 parent c1525ee commit 965d1ff
Show file tree
Hide file tree
Showing 15 changed files with 1,939 additions and 1,932 deletions.
2 changes: 1 addition & 1 deletion apps/vite-native-skyline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"tailwindcss": "^3.4.14",
"typescript": "^5.6.3",
"weapp-tailwindcss": "workspace:*",
"weapp-vite": "^1.6.7"
"weapp-vite": "^1.7.0"
}
}
7 changes: 7 additions & 0 deletions apps/vite-native-skyline/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ export default defineConfig({
rem2rpx: true,
}),
],
css: {
preprocessorOptions: {
scss: {
silenceDeprecations: ['legacy-js-api'],
},
},
},
// build: {
// rollupOptions: {
// external: ['lodash'],
Expand Down
2 changes: 1 addition & 1 deletion apps/vite-native-ts-skyline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"tailwindcss": "^3.4.14",
"typescript": "^5.6.3",
"weapp-tailwindcss": "workspace:*",
"weapp-vite": "^1.6.7"
"weapp-vite": "^1.7.0"
}
}
2 changes: 1 addition & 1 deletion apps/vite-native-ts-skyline/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/// <reference types="vite/client" />
/// <reference types="weapp-vite/client" />
7 changes: 7 additions & 0 deletions apps/vite-native-ts-skyline/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,11 @@ export default defineConfig({
// weapp-vite options
srcRoot: './miniprogram',
},
css: {
preprocessorOptions: {
scss: {
silenceDeprecations: ['legacy-js-api'],
},
},
},
})
2 changes: 1 addition & 1 deletion apps/vite-native-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"tailwindcss": "^3.4.14",
"typescript": "^5.6.3",
"weapp-tailwindcss": "workspace:*",
"weapp-vite": "^1.6.7"
"weapp-vite": "^1.7.0"
}
}
7 changes: 7 additions & 0 deletions apps/vite-native-ts/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,11 @@ export default defineConfig({
// weapp-vite options
srcRoot: './miniprogram',
},
css: {
preprocessorOptions: {
scss: {
silenceDeprecations: ['legacy-js-api'],
},
},
},
})
4 changes: 2 additions & 2 deletions apps/vite-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"keywords": [],
"main": "index.js",
"scripts": {
"dev": "weapp-vite dev",
"dev": "weapp-vite dev -o",
"dev:0": "weapp-vite dev -m x",
"dev:1": "weapp-vite dev --mode xx",
"build": "weapp-vite build",
Expand All @@ -33,6 +33,6 @@
"postcss": "^8.4.47",
"tailwindcss": "^3.4.14",
"weapp-tailwindcss": "workspace:*",
"weapp-vite": "^1.6.7"
"weapp-vite": "^1.7.0"
}
}
2 changes: 1 addition & 1 deletion apps/vite-native/project.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
"appid": "wx6ffee4673b257014",
"miniprogramRoot": "dist/",
"srcMiniprogramRoot": "dist/"
}
}
2 changes: 1 addition & 1 deletion apps/vite-native/project.private.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@
}
]
}
}
}
2 changes: 1 addition & 1 deletion apps/vite-native/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
// 这里给出了一份 uni-app /taro 通用示例,具体要根据你自己项目的目录结构进行配置
// 不在 content 包括的文件内,你编写的 class,是不会生成对应的css工具类的
content: ['./public/index.html', './src/**/*.{wxml,html,js,ts,jsx,tsx,vue}'],
content: ['./pages/**/*.{wxml,html,js,ts,jsx,tsx,vue}'],
// 其他配置项
// ...
corePlugins: {
Expand Down
7 changes: 7 additions & 0 deletions apps/vite-native/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ export default defineConfig({
rem2rpx: true,
}),
],
css: {
preprocessorOptions: {
scss: {
silenceDeprecations: ['legacy-js-api'],
},
},
},
// build: {
// rollupOptions: {
// external: ['lodash'],
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
"@commitlint/prompt-cli": "^19.5.0",
"@commitlint/types": "^19.5.0",
"@eslint/config-inspector": "^0.5.6",
"@icebreakers/eslint-config": "^0.6.1",
"@icebreakers/monorepo": "^0.6.12",
"@icebreakers/eslint-config": "^0.7.0",
"@icebreakers/monorepo": "^0.6.13",
"@icebreakers/readme": "0.1.0",
"@icebreakers/stylelint-config": "^0.1.2",
"@rollup/plugin-alias": "^5.1.1",
Expand Down Expand Up @@ -147,7 +147,7 @@
"@types/lodash-es": "^4.17.12",
"@types/md5": "^2.3.5",
"@types/micromatch": "^4.0.9",
"@types/node": "^22.8.6",
"@types/node": "^22.8.7",
"@types/npm-registry-fetch": "^8.0.7",
"@types/postcss-js": "^4.0.4",
"@types/semver": "^7.5.8",
Expand Down Expand Up @@ -211,7 +211,7 @@
"prettier": "^3.3.3",
"promisify-loader-runner": "^1.0.1",
"rimraf": "^6.0.1",
"rollup": "^4.24.3",
"rollup": "^4.24.4",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.80.6",
"sass-embedded": "^1.80.6",
Expand Down
Loading

0 comments on commit 965d1ff

Please sign in to comment.