Skip to content
Permalink
Browse files

big rename

  • Loading branch information...
FredKSchott committed Jan 22, 2019
1 parent 949e03c commit 70f5fb2150dfbf4154616d9b4801e666abb25071
Showing with 833 additions and 7,522 deletions.
  1. +0 βˆ’5,966 package-lock.json
  2. +1 βˆ’1 package.json
  3. +1 βˆ’1 packages/babel-plugin-esm-import-rewrite/package-lock.json
  4. +5 βˆ’5 packages/babel-plugin-esm-import-rewrite/package.json
  5. +4 βˆ’11 packages/babel-plugin-esm-import-rewrite/tsconfig.json
  6. +0 βˆ’12 packages/deno-builder/tsconfig.json
  7. +0 βˆ’12 packages/node-builder/tsconfig.json
  8. +2 βˆ’2 packages/{deno-builder β†’ plugin-build-deno}/package-lock.json
  9. +4 βˆ’5 packages/{deno-builder β†’ plugin-build-deno}/package.json
  10. 0 packages/{deno-builder β†’ plugin-build-deno}/pkg/dist-node/index.js
  11. 0 packages/{deno-builder β†’ plugin-build-deno}/pkg/dist-src/index.js
  12. +1 βˆ’1 packages/{deno-builder β†’ plugin-build-deno}/pkg/package.json
  13. 0 packages/{deno-builder β†’ plugin-build-deno}/src/index.ts
  14. +5 βˆ’0 packages/plugin-build-deno/tsconfig.json
  15. 0 ...ges/{node-builder β†’ plugin-build-node}/custom-types/babel-plugin-dynamic-import-node-babel-7.d.ts
  16. +2 βˆ’2 packages/{node-builder β†’ plugin-build-node}/package-lock.json
  17. +4 βˆ’4 packages/{node-builder β†’ plugin-build-node}/package.json
  18. +27 βˆ’1 packages/{node-builder β†’ plugin-build-node}/pkg/dist-node/index.js
  19. +17 βˆ’0 packages/{node-builder β†’ plugin-build-node}/pkg/dist-src/index.js
  20. +1 βˆ’1 packages/{node-builder β†’ plugin-build-node}/pkg/package.json
  21. +13 βˆ’1 packages/{node-builder β†’ plugin-build-node}/src/index.ts
  22. +5 βˆ’0 packages/plugin-build-node/tsconfig.json
  23. +2 βˆ’2 packages/{types-builder β†’ plugin-build-types}/package-lock.json
  24. +4 βˆ’5 packages/{types-builder β†’ plugin-build-types}/package.json
  25. 0 packages/{types-builder β†’ plugin-build-types}/pkg/dist-node/index.js
  26. 0 packages/{types-builder β†’ plugin-build-types}/pkg/dist-src/index.js
  27. +1 βˆ’1 packages/{types-builder β†’ plugin-build-types}/pkg/package.json
  28. 0 packages/{types-builder β†’ plugin-build-types}/src/index.ts
  29. +5 βˆ’0 packages/plugin-build-types/tsconfig.json
  30. +2 βˆ’2 packages/{web-builder β†’ plugin-build-web}/package-lock.json
  31. +6 βˆ’6 packages/{web-builder β†’ plugin-build-web}/package.json
  32. +27 βˆ’1 packages/{web-builder β†’ plugin-build-web}/pkg/dist-node/index.js
  33. +17 βˆ’0 packages/{web-builder β†’ plugin-build-web}/pkg/dist-src/index.js
  34. +1 βˆ’1 packages/{web-builder β†’ plugin-build-web}/pkg/package.json
  35. +13 βˆ’3 packages/{web-builder β†’ plugin-build-web}/src/index.ts
  36. +5 βˆ’0 packages/plugin-build-web/tsconfig.json
  37. +2 βˆ’2 packages/{node-bundler β†’ plugin-bundle-node}/package-lock.json
  38. +6 βˆ’6 packages/{node-bundler β†’ plugin-bundle-node}/package.json
  39. +28 βˆ’2 packages/{node-bundler β†’ plugin-bundle-node}/pkg/dist-node/index.js
  40. +18 βˆ’1 packages/{node-bundler β†’ plugin-bundle-node}/pkg/dist-src/index.js
  41. +1 βˆ’1 packages/{node-bundler β†’ plugin-bundle-node}/pkg/package.json
  42. +14 βˆ’2 packages/{node-bundler β†’ plugin-bundle-node}/src/index.ts
  43. +5 βˆ’0 packages/plugin-bundle-node/tsconfig.json
  44. +2 βˆ’2 packages/{web-bundler β†’ plugin-bundle-web}/package-lock.json
  45. +6 βˆ’6 packages/{web-bundler β†’ plugin-bundle-web}/package.json
  46. +27 βˆ’1 packages/{web-bundler β†’ plugin-bundle-web}/pkg/dist-node/index.js
  47. +17 βˆ’0 packages/{web-bundler β†’ plugin-bundle-web}/pkg/dist-src/index.js
  48. +1 βˆ’1 packages/{web-bundler β†’ plugin-bundle-web}/pkg/package.json
  49. +13 βˆ’1 packages/{web-bundler β†’ plugin-bundle-web}/src/index.ts
  50. +5 βˆ’0 packages/plugin-bundle-web/tsconfig.json
  51. +2 βˆ’2 packages/{simple-bin β†’ plugin-simple-bin}/package-lock.json
  52. +6 βˆ’6 packages/{simple-bin β†’ plugin-simple-bin}/package.json
  53. +70 βˆ’9 packages/{simple-bin β†’ plugin-simple-bin}/pkg/dist-node/index.js
  54. +24 βˆ’8 packages/{simple-bin β†’ plugin-simple-bin}/pkg/dist-src/index.js
  55. +1 βˆ’1 packages/{simple-bin β†’ plugin-simple-bin}/pkg/package.json
  56. +21 βˆ’8 packages/{simple-bin β†’ plugin-simple-bin}/src/index.js
  57. +39 βˆ’37 packages/plugin-standard-pkg/package-lock.json
  58. +7 βˆ’6 packages/plugin-standard-pkg/package.json
  59. +19 βˆ’2 packages/plugin-standard-pkg/pkg/dist-node/index.js
  60. +9 βˆ’1 packages/plugin-standard-pkg/pkg/dist-src/index.js
  61. +2 βˆ’1 packages/plugin-standard-pkg/pkg/package.json
  62. +8 βˆ’1 packages/plugin-standard-pkg/src/index.ts
  63. +4 βˆ’11 packages/plugin-standard-pkg/tsconfig.json
  64. +51 βˆ’74 packages/plugin-ts-standard-pkg/package-lock.json
  65. +6 βˆ’5 packages/plugin-ts-standard-pkg/package.json
  66. +56 βˆ’8 packages/plugin-ts-standard-pkg/pkg/dist-node/index.js
  67. +40 βˆ’4 packages/plugin-ts-standard-pkg/pkg/dist-src/index.js
  68. +2 βˆ’1 packages/plugin-ts-standard-pkg/pkg/package.json
  69. +24 βˆ’4 packages/plugin-ts-standard-pkg/src/index.ts
  70. +4 βˆ’11 packages/plugin-ts-standard-pkg/tsconfig.json
  71. +2 βˆ’2 packages/{assemblyscript-builder β†’ plugin-wasm-assemblyscript}/package-lock.json
  72. +6 βˆ’6 packages/{assemblyscript-builder β†’ plugin-wasm-assemblyscript}/package.json
  73. 0 packages/{assemblyscript-builder β†’ plugin-wasm-assemblyscript}/pkg/dist-node/index.js
  74. 0 packages/{assemblyscript-builder β†’ plugin-wasm-assemblyscript}/pkg/dist-src/index.js
  75. +1 βˆ’1 packages/{assemblyscript-builder β†’ plugin-wasm-assemblyscript}/pkg/package.json
  76. 0 packages/{assemblyscript-builder β†’ plugin-wasm-assemblyscript}/src/index.js
  77. +5 βˆ’0 packages/plugin-wasm-assemblyscript/tsconfig.json
  78. +2 βˆ’2 packages/{simple-wasm-wrapper β†’ plugin-wasm-bindings}/package-lock.json
  79. +6 βˆ’6 packages/{simple-wasm-wrapper β†’ plugin-wasm-bindings}/package.json
  80. 0 packages/{simple-wasm-wrapper β†’ plugin-wasm-bindings}/pkg/dist-node/index.js
  81. 0 packages/{simple-wasm-wrapper β†’ plugin-wasm-bindings}/pkg/dist-src/index.js
  82. +1 βˆ’1 packages/{simple-wasm-wrapper β†’ plugin-wasm-bindings}/pkg/package.json
  83. 0 packages/{simple-wasm-wrapper β†’ plugin-wasm-bindings}/src/index.js
  84. +2 βˆ’2 packages/{bucklescript-builder β†’ plugin-wasm-bucklescript}/package-lock.json
  85. +6 βˆ’6 packages/{bucklescript-builder β†’ plugin-wasm-bucklescript}/package.json
  86. 0 packages/{bucklescript-builder β†’ plugin-wasm-bucklescript}/pkg/dist-node/index.js
  87. 0 packages/{bucklescript-builder β†’ plugin-wasm-bucklescript}/pkg/dist-src/index.js
  88. +1 βˆ’1 packages/{bucklescript-builder β†’ plugin-wasm-bucklescript}/pkg/package-lock.json
  89. +1 βˆ’1 packages/{bucklescript-builder β†’ plugin-wasm-bucklescript}/pkg/package.json
  90. 0 packages/{bucklescript-builder β†’ plugin-wasm-bucklescript}/src/index.ts
  91. +5 βˆ’0 packages/plugin-wasm-bucklescript/tsconfig.json
  92. +0 βˆ’12 packages/types-builder/tsconfig.json
  93. +12 βˆ’0 packages/types/dist-node/index.js
  94. +6 βˆ’0 packages/types/dist-src/index.js
  95. +24 βˆ’0 packages/types/dist-types/index.d.ts
  96. +12 βˆ’1,157 packages/types/package-lock.json
  97. +18 βˆ’10 packages/types/package.json
  98. +0 βˆ’9 packages/types/pkg/package.json
  99. +0 βˆ’23 packages/types/pkg/types.d.ts
  100. +0 βˆ’12 packages/web-builder/tsconfig.json
  101. +8 βˆ’0 tsconfig.json

This file was deleted.

Oops, something went wrong.
@@ -2,7 +2,7 @@
"name": "root",
"private": true,
"scripts": {
"nuke": "rm -rf package-lock.json node_modules && npm install && lerna exec \"rm -f package-lock.json npm-shrinkwrap.json\" && lerna clean --yes && lerna bootstrap && lerna exec --stream -- \"test -f package-lock.json || npm install --package-lock-only\"",
"nuke": "rm -rf package-lock.json node_modules && npm install && lerna exec \"rm -f package-lock.json npm-shrinkwrap.json\" && lerna clean --yes && lerna bootstrap && lerna exec --stream -- \"test -f package-lock.json || npm install --package-lock-only\""
},
"devDependencies": {
"lerna": "^3.10.5"

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -11,18 +11,18 @@
],
"plugins": [
[
"@pika/node-builder"
"@pika/plugin-build-node"
]
]
},
"scripts": {
"build": "pika build",
"prepublishOnly": "npm run build"
"build": "pika build"
},
"gitHead": "88aa979a8caee0ea92510ef2f1006fcc2fdd8593",
"devDependencies": {
"@pika/node-builder": "^0.2.8",
"@pika/plugin-build-node": "^0.2.8",
"@pika/pack": "^0.1.7",
"@pika/types": "^0.2.8"
"@pika/types": "^0.2.8",
"@types/node": "^10.12.18"
}
}
@@ -1,12 +1,5 @@
{
"compilerOptions": {
"target": "es2018",
"module": "commonjs",
"moduleResolution": "node",
"declaration": true,
"outDir": "./lib",
"esModuleInterop": true
},
"include": ["src"],
"exclude": ["node_modules"]
}
"extends": "../../tsconfig.json",
"include": ["src"],
"exclude": ["node_modules"]
}

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -1,5 +1,5 @@
{
"name": "@pika/deno-builder",
"name": "@pika/plugin-build-deno",
"version": "0.2.8",
"main": "pkg/dist-node/index.js",
"publishConfig": {
@@ -9,7 +9,7 @@
"mkdirp": "^0.5.1"
},
"devDependencies": {
"@pika/node-builder": "^0.2.8",
"@pika/plugin-build-node": "^0.2.8",
"@pika/pack": "^0.1.7",
"@pika/types": "^0.2.8",
"@types/node": "^10.12.18"
@@ -20,13 +20,12 @@
],
"plugins": [
[
"@pika/node-builder"
"@pika/plugin-build-node"
]
]
},
"scripts": {
"build": "pika build",
"prepublishOnly": "npm run build"
"build": "pika build"
},
"gitHead": "88aa979a8caee0ea92510ef2f1006fcc2fdd8593"
}
@@ -1,5 +1,5 @@
{
"name": "@pika/deno-builder",
"name": "@pika/plugin-build-deno",
"version": "0.2.8",
"pika": true,
"keywords": [
@@ -0,0 +1,5 @@
{
"extends": "../../tsconfig.json",
"include": ["src"],
"exclude": ["node_modules"]
}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -1,5 +1,5 @@
{
"name": "@pika/node-builder",
"name": "@pika/plugin-build-node",
"version": "0.2.8",
"main": "pkg/dist-node/index.js",
"publishConfig": {
@@ -16,8 +16,7 @@
]
},
"scripts": {
"build": "pika build",
"prepublishOnly": "npm run build"
"build": "pika build"
},
"dependencies": {
"@babel/core": "^7.0.0",
@@ -31,6 +30,7 @@
"gitHead": "88aa979a8caee0ea92510ef2f1006fcc2fdd8593",
"devDependencies": {
"@pika/pack": "^0.1.7",
"@pika/types": "^0.2.8"
"@pika/types": "^0.2.8",
"@types/node": "^10.12.18"
}
}
@@ -4,13 +4,15 @@ Object.defineProperty(exports, '__esModule', { value: true });

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var fs = _interopDefault(require('fs'));
var path = _interopDefault(require('path'));
var babelPluginDynamicImportSyntax = _interopDefault(require('@babel/plugin-syntax-dynamic-import'));
var babelPluginImportMetaSyntax = _interopDefault(require('@babel/plugin-syntax-import-meta'));
var babelPresetEnv = _interopDefault(require('@babel/preset-env'));
var babelPluginDynamicImport = _interopDefault(require('babel-plugin-dynamic-import-node-babel-7'));
var builtinModules = _interopDefault(require('builtin-modules'));
var rollupBabel = _interopDefault(require('rollup-plugin-babel'));
var types = require('@pika/types');

function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
try {
@@ -51,7 +53,30 @@ function _asyncToGenerator(fn) {
function manifest(manifest) {
manifest.main = manifest.main || 'dist-node/index.js';
}
function build(_x) {
function beforeJob(_x) {
return _beforeJob.apply(this, arguments);
}

function _beforeJob() {
_beforeJob = _asyncToGenerator(function* ({
out
}) {
const srcDirectory = path.join(out, "dist-src/");

if (!fs.existsSync(srcDirectory)) {
throw new types.MessageError('"dist-src/" does not exist, or was not yet created in the pipeline.');
}

const srcEntrypoint = path.join(out, "dist-src/index.js");

if (!fs.existsSync(srcEntrypoint)) {
throw new types.MessageError('"dist-src/index.js" is the expected standard entrypoint, but it does not exist.');
}
});
return _beforeJob.apply(this, arguments);
}

function build(_x2) {
return _build.apply(this, arguments);
}

@@ -97,4 +122,5 @@ function _build() {
}

exports.manifest = manifest;
exports.beforeJob = beforeJob;
exports.build = build;
@@ -1,13 +1,30 @@
import fs from 'fs';
import path from 'path';
import babelPluginDynamicImportSyntax from '@babel/plugin-syntax-dynamic-import';
import babelPluginImportMetaSyntax from '@babel/plugin-syntax-import-meta';
import babelPresetEnv from '@babel/preset-env';
import babelPluginDynamicImport from 'babel-plugin-dynamic-import-node-babel-7';
import builtinModules from 'builtin-modules';
import rollupBabel from 'rollup-plugin-babel';
import { MessageError } from '@pika/types';
export function manifest(manifest) {
manifest.main = manifest.main || 'dist-node/index.js';
}
export async function beforeJob({
out
}) {
const srcDirectory = path.join(out, "dist-src/");

if (!fs.existsSync(srcDirectory)) {
throw new MessageError('"dist-src/" does not exist, or was not yet created in the pipeline.');
}

const srcEntrypoint = path.join(out, "dist-src/index.js");

if (!fs.existsSync(srcEntrypoint)) {
throw new MessageError('"dist-src/index.js" is the expected standard entrypoint, but it does not exist.');
}
}
export async function build({
out,
rollup,
@@ -1,5 +1,5 @@
{
"name": "@pika/node-builder",
"name": "@pika/plugin-build-node",
"version": "0.2.8",
"pika": true,
"keywords": [
@@ -1,16 +1,28 @@
import fs from 'fs';
import path from 'path';
import babelPluginDynamicImportSyntax from '@babel/plugin-syntax-dynamic-import';
import babelPluginImportMetaSyntax from '@babel/plugin-syntax-import-meta';
import babelPresetEnv from '@babel/preset-env';
import babelPluginDynamicImport from 'babel-plugin-dynamic-import-node-babel-7';
import builtinModules from 'builtin-modules';
import rollupBabel from 'rollup-plugin-babel';
import {BuilderOptions} from '@pika/types';
import {BuilderOptions, MessageError} from '@pika/types';

export function manifest(manifest) {
manifest.main = manifest.main || 'dist-node/index.js';
}

export async function beforeJob({out}: BuilderOptions) {
const srcDirectory = path.join(out, "dist-src/");
if (!fs.existsSync(srcDirectory)) {
throw new MessageError('"dist-src/" does not exist, or was not yet created in the pipeline.');
}
const srcEntrypoint = path.join(out, "dist-src/index.js");
if (!fs.existsSync(srcEntrypoint)) {
throw new MessageError('"dist-src/index.js" is the expected standard entrypoint, but it does not exist.');
}
}

export async function build({out, rollup, reporter}: BuilderOptions): Promise<void> {
const writeToNode = path.join(out, 'dist-node', 'index.js');

@@ -0,0 +1,5 @@
{
"extends": "../../tsconfig.json",
"include": ["src"],
"exclude": ["node_modules"]
}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -1,5 +1,5 @@
{
"name": "@pika/types-builder",
"name": "@pika/plugin-build-types",
"version": "0.2.8",
"main": "pkg/dist-node/index.js",
"publishConfig": {
@@ -11,21 +11,20 @@
],
"plugins": [
[
"@pika/node-builder"
"@pika/plugin-build-node"
]
]
},
"scripts": {
"build": "pika build",
"prepublishOnly": "npm run build"
"build": "pika build"
},
"dependencies": {
"execa": "^1.0.0",
"mkdirp": "^0.5.1",
"typescript": "^3.0.0"
},
"devDependencies": {
"@pika/node-builder": "^0.2.8",
"@pika/plugin-build-node": "^0.2.8",
"@pika/pack": "^0.1.7",
"@pika/types": "^0.2.8",
"@types/node": "^10.12.18"
@@ -1,5 +1,5 @@
{
"name": "@pika/types-builder",
"name": "@pika/plugin-build-types",
"version": "0.2.8",
"pika": true,
"keywords": [
@@ -0,0 +1,5 @@
{
"extends": "../../tsconfig.json",
"include": ["src"],
"exclude": ["node_modules"]
}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -1,5 +1,5 @@
{
"name": "@pika/web-builder",
"name": "@pika/plugin-build-web",
"version": "0.2.8",
"main": "pkg/dist-node/index.js",
"publishConfig": {
@@ -11,13 +11,12 @@
],
"plugins": [
[
"@pika/node-builder"
"@pika/plugin-build-node"
]
]
},
"scripts": {
"build": "pika build",
"prepublishOnly": "npm run build"
"build": "pika build"
},
"dependencies": {
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
@@ -27,9 +26,10 @@
"rollup-plugin-babel": "^4.3.0"
},
"devDependencies": {
"@pika/node-builder": "^0.2.8",
"@pika/plugin-build-node": "^0.2.8",
"@pika/pack": "^0.1.7",
"@pika/types": "^0.2.8"
"@pika/types": "^0.2.8",
"@types/node": "^10.12.18"
},
"gitHead": "88aa979a8caee0ea92510ef2f1006fcc2fdd8593"
}
Oops, something went wrong.

0 comments on commit 70f5fb2

Please sign in to comment.
You can’t perform that action at this time.