@modern-js/plugin-tailwindcss 1.2.7 → 1.2.10

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # @modern-js/plugin-tailwindcss
2
2
 
3
+ ## 1.2.10
4
+
5
+ ### Patch Changes
6
+
7
+ - d32f35134: chore: add modern/jest/eslint/ts config files to .npmignore
8
+ - Updated dependencies [d32f35134]
9
+ - Updated dependencies [6ae4a34ae]
10
+ - Updated dependencies [b80229c79]
11
+ - Updated dependencies [16ca3151b]
12
+ - Updated dependencies [948cc4436]
13
+ - @modern-js/plugin-design-token@1.0.7
14
+ - @modern-js/utils@1.7.3
15
+
16
+ ## 1.2.9
17
+
18
+ ### Patch Changes
19
+
20
+ - 69a728375: fix: remove exports.jsnext:source after publish
21
+ - 0f86e133b: fix react & react-dom types problem
22
+ - Updated dependencies [cd7346b0d]
23
+ - Updated dependencies [69a728375]
24
+ - @modern-js/utils@1.7.2
25
+ - @modern-js/plugin-design-token@1.0.6
26
+
27
+ ## 1.2.8
28
+
29
+ ### Patch Changes
30
+
31
+ - 04ae5262: chore: bump @modern-js/utils to v1.4.1 in dependencies
32
+ - 60f7d8bf: feat: add tests dir to npmignore
33
+ - Updated dependencies [b8599d09]
34
+ - Updated dependencies [04ae5262]
35
+ - Updated dependencies [60f7d8bf]
36
+ - Updated dependencies [3bf4f8b0]
37
+ - @modern-js/utils@1.5.0
38
+ - @modern-js/plugin-design-token@1.0.4
39
+
3
40
  ## 1.2.7
4
41
 
5
42
  ### Patch Changes
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.2.7",
14
+ "version": "1.2.10",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -33,13 +33,13 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@babel/runtime": "^7",
36
- "@modern-js/utils": "^1.4.0",
37
- "@modern-js/plugin-design-token": "^1.0.3"
36
+ "@modern-js/utils": "^1.7.3",
37
+ "@modern-js/plugin-design-token": "^1.0.7"
38
38
  },
39
39
  "devDependencies": {
40
- "@modern-js/core": "1.7.0",
40
+ "@modern-js/core": "1.10.2",
41
41
  "@scripts/build": "0.0.0",
42
- "@types/jest": "^26",
42
+ "@types/jest": "^27",
43
43
  "@types/node": "^14",
44
44
  "@types/tailwindcss": "^2.2.1",
45
45
  "typescript": "^4",
@@ -55,11 +55,33 @@
55
55
  "registry": "https://registry.npmjs.org/",
56
56
  "access": "public"
57
57
  },
58
+ "wireit": {
59
+ "build": {
60
+ "command": "modern build",
61
+ "files": [
62
+ "src/**/*",
63
+ "tsconfig.json",
64
+ "package.json"
65
+ ],
66
+ "output": [
67
+ "dist/**/*"
68
+ ]
69
+ },
70
+ "test": {
71
+ "command": "jest --passWithNoTests",
72
+ "files": [
73
+ "src/**/*",
74
+ "tsconfig.json",
75
+ "package.json"
76
+ ],
77
+ "output": []
78
+ }
79
+ },
58
80
  "scripts": {
59
81
  "new": "modern new",
60
82
  "dev": "modern build --watch",
61
- "build": "modern build",
62
- "test": "jest --passWithNoTests"
83
+ "build": "wireit",
84
+ "test": "wireit"
63
85
  },
64
86
  "readme": "\n<p align=\"center\">\n <a href=\"https://modernjs.dev\" target=\"blank\"><img src=\"https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png\" width=\"300\" alt=\"Modern.js Logo\" /></a>\n</p>\n<p align=\"center\">\n现代 Web 工程体系\n <br/>\n <a href=\"https://modernjs.dev\" target=\"blank\">\n modernjs.dev\n </a>\n</p>\n<p align=\"center\">\n The meta-framework suite designed from scratch for frontend-focused modern web development\n</p>\n\n# Introduction\n\n> The doc site ([modernjs.dev](https://modernjs.dev)) and articles are only available in Chinese for now, we are planning to add English versions soon.\n\n- [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)\n\n## Getting Started\n\n- [Quick Start](https://modernjs.dev/docs/start)\n- [Guides](https://modernjs.dev/docs/guides)\n- [API References](https://modernjs.dev/docs/apis)\n\n## Contributing\n\n- [Contributing Guide](https://github.com/modern-js-dev/modern.js/blob/main/CONTRIBUTING.md)\n"
65
87
  }
package/.eslintrc.js DELETED
@@ -1,10 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- extends: ['@modern-js'],
4
- parserOptions: {
5
- // the base path used to search for `tsconfig.json`
6
- tsconfigRootDir: __dirname,
7
- // the relative path to sub-package's `tsconfig.json`
8
- project: ['./tsconfig.json'],
9
- },
10
- };
package/jest.config.js DELETED
@@ -1,7 +0,0 @@
1
- const sharedConfig = require('@scripts/jest-config');
2
-
3
- /** @type {import('@jest/types').Config.InitialOptions} */
4
- module.exports = {
5
- ...sharedConfig,
6
- rootDir: __dirname,
7
- };
package/modern.config.js DELETED
@@ -1,8 +0,0 @@
1
- /** @type {import('@modern-js/module-tools').UserConfig} */
2
- module.exports = {
3
- output: {
4
- packageFields: {
5
- main: 'CJS+ES6',
6
- },
7
- },
8
- };
@@ -1,7 +0,0 @@
1
- import plugin from '../src';
2
-
3
- describe('plugin-tailwind', () => {
4
- it('default', () => {
5
- expect(plugin).toBeDefined();
6
- });
7
- });
@@ -1,13 +0,0 @@
1
- {
2
- "extends": "@modern-js/tsconfig/base",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "jsx": "preserve",
6
- "baseUrl": "./",
7
- "outDir": "./out",
8
- "emitDeclarationOnly": true,
9
- "isolatedModules": true,
10
- "paths": {},
11
- "types": ["node", "jest"]
12
- }
13
- }
package/tsconfig.json DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "extends": "@modern-js/tsconfig/base",
3
- "compilerOptions": {
4
- "declaration": false,
5
- "jsx": "preserve",
6
- "baseUrl": "./",
7
- "isolatedModules": true,
8
- "paths": {}
9
- },
10
- "include": ["src"]
11
- }