@aiou/eslint-ignore 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/index.mjs +3 -0
  3. package/package.json +13 -3
package/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
 
2
- module.exports = ["**/logs","**/*.log","**/npm-debug.log*","**/yarn-debug.log*","**/yarn-error.log*","**/lerna-debug.log*","**/.pnpm-debug.log*","**/report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json","**/pids","**/*.pid","**/*.seed","**/*.pid.lock","**/lib-cov","**/coverage","**/*.lcov","**/.nyc_output","**/.grunt","**/bower_components","**/.lock-wscript","**/build/Release","**/node_modules/","**/jspm_packages/","**/web_modules/","**/*.tsbuildinfo","**/.npm","**/.eslintcache","**/.stylelintcache","**/.rpt2_cache/","**/.rts2_cache_cjs/","**/.rts2_cache_es/","**/.rts2_cache_umd/","**/.node_repl_history","**/*.tgz","**/.yarn-integrity","**/.env","**/.env.development.local","**/.env.test.local","**/.env.production.local","**/.env.local","**/.cache","**/.parcel-cache","**/.next","**/out","**/.nuxt","**/dist","**/.cache/","**/.vuepress/dist","**/.temp","**/.docusaurus","**/.serverless/","**/.fusebox/","**/.dynamodb/","**/.tern-port","**/.vscode-test","**/.yarn/cache","**/.yarn/unplugged","**/.yarn/build-state.yml","**/.yarn/install-state.gz","**/.pnp.*","**/.webpack/","**/.svelte-kit","**/debug/","**/target/","**/Cargo.lock","**/*.rs.bk","**/*.pdb","**/pnpm-lock.yaml","**/pnpm-workspace.yaml","**/dts","**/*.lock","**/dist","**/lib","**/jest","**/.next","**/.nuxt"]
2
+ module.exports = ["**/logs","**/*.log","**/npm-debug.log*","**/yarn-debug.log*","**/yarn-error.log*","**/lerna-debug.log*","**/.pnpm-debug.log*","**/report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json","**/pids","**/*.pid","**/*.seed","**/*.pid.lock","**/lib-cov","**/coverage","**/*.lcov","**/.nyc_output","**/.grunt","**/bower_components","**/.lock-wscript","**/build/Release","**/node_modules/","**/jspm_packages/","**/web_modules/","**/*.tsbuildinfo","**/.npm","**/.eslintcache","**/.stylelintcache","**/.rpt2_cache/","**/.rts2_cache_cjs/","**/.rts2_cache_es/","**/.rts2_cache_umd/","**/.node_repl_history","**/*.tgz","**/.yarn-integrity","**/.env","**/.env.development.local","**/.env.test.local","**/.env.production.local","**/.env.local","**/.cache","**/.parcel-cache","**/.next","**/out","**/.nuxt","**/dist","**/.cache/","**/.vuepress/dist","**/.temp","**/.docusaurus","**/.serverless/","**/.fusebox/","**/.dynamodb/","**/.tern-port","**/.vscode-test","**/.yarn/cache","**/.yarn/unplugged","**/.yarn/build-state.yml","**/.yarn/install-state.gz","**/.pnp.*","**/.webpack/","**/.svelte-kit","**/debug/","**/target/","**/Cargo.lock","**/*.rs.bk","**/*.pdb","**/pnpm-lock.yaml","**/pnpm-workspace.yaml","**/dts","**/*.lock","**/dist","**/lib","**/jest","**/.next","**/.nuxt","**/.vitepress"]
3
3
 
package/index.mjs ADDED
@@ -0,0 +1,3 @@
1
+
2
+ export default ["**/logs","**/*.log","**/npm-debug.log*","**/yarn-debug.log*","**/yarn-error.log*","**/lerna-debug.log*","**/.pnpm-debug.log*","**/report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json","**/pids","**/*.pid","**/*.seed","**/*.pid.lock","**/lib-cov","**/coverage","**/*.lcov","**/.nyc_output","**/.grunt","**/bower_components","**/.lock-wscript","**/build/Release","**/node_modules/","**/jspm_packages/","**/web_modules/","**/*.tsbuildinfo","**/.npm","**/.eslintcache","**/.stylelintcache","**/.rpt2_cache/","**/.rts2_cache_cjs/","**/.rts2_cache_es/","**/.rts2_cache_umd/","**/.node_repl_history","**/*.tgz","**/.yarn-integrity","**/.env","**/.env.development.local","**/.env.test.local","**/.env.production.local","**/.env.local","**/.cache","**/.parcel-cache","**/.next","**/out","**/.nuxt","**/dist","**/.cache/","**/.vuepress/dist","**/.temp","**/.docusaurus","**/.serverless/","**/.fusebox/","**/.dynamodb/","**/.tern-port","**/.vscode-test","**/.yarn/cache","**/.yarn/unplugged","**/.yarn/build-state.yml","**/.yarn/install-state.gz","**/.pnp.*","**/.webpack/","**/.svelte-kit","**/debug/","**/target/","**/Cargo.lock","**/*.rs.bk","**/*.pdb","**/pnpm-lock.yaml","**/pnpm-workspace.yaml","**/dts","**/*.lock","**/dist","**/lib","**/jest","**/.next","**/.nuxt","**/.vitepress"]
3
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiou/eslint-ignore",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "collection of eslint ignore patterns",
5
5
  "keywords": [
6
6
  "eslint",
@@ -20,9 +20,19 @@
20
20
  "author": "JW <jiangweixian1994@gmail.com> (https://twitter.com/jiangweixian)",
21
21
  "files": [
22
22
  "index.js",
23
+ "index.mjs",
23
24
  "index.d.ts"
24
25
  ],
26
+ "exports": {
27
+ "./package.json": "./package.json",
28
+ ".": {
29
+ "types": "./index.d.ts",
30
+ "import": "./index.mjs",
31
+ "require": "./index.js"
32
+ }
33
+ },
25
34
  "main": "index.js",
35
+ "module": "index.mjs",
26
36
  "typings": "index.d.ts",
27
37
  "lint-staged": {
28
38
  "**/**/*.{js,ts,vue,json}": [
@@ -34,17 +44,17 @@
34
44
  "@types/node": "^18.11.9",
35
45
  "@types/strip-comments": "^2.0.1",
36
46
  "axios": "^0.24.0",
37
- "esno": "^0.16.3",
38
47
  "jest": "27.4.7",
39
48
  "lint-staged": "^12.5.0",
40
49
  "npm-watch": "0.11.0",
41
50
  "rimraf": "3.0.2",
42
51
  "strip-comments": "^2.0.1",
43
52
  "tslib": "^2.4.1",
53
+ "tsx": "^4.20.0",
44
54
  "typescript": "^4.8.4"
45
55
  },
46
56
  "scripts": {
47
- "build": "esno ./src/index.ts",
57
+ "build": "tsx ./src/index.ts",
48
58
  "test": "jest"
49
59
  }
50
60
  }